Do you know why the box tests need the "minimal-fo...
# python-contributors
p
Do you know why the box tests need the "minimal-for-test" variant of the stdlib? https://github.com/krzema12/kotlin-python/blob/ab198949a5378bbdd62c905ac30e2b044f6f8d17/python/box.tests/build.gradle.kts#L72 I'm asking because when decoupling Python's stdlib from JS's I'm having some trouble with the minimal stdlib. Would be cool to understand and document the purpose of it 🙂
s
Afaiu to speed up the compilation. Take a look at its build gradle – some packages are excluded. And replaced by no-op implementations in sources
👍 1
p
I'm tempted to see how much longer the tests will take with the full-blown library :)
I'm assuming the penalty is only one-time, when compiling the library at the beginning
s
At least I remember when using only one type of library, we have a changed number of passed tests...
👍 1
b
That’s true — it’s needed to speed up tests (compilation). Depending on how do you “process” IR it may affect compilation time or not. 🤷‍♂️ I guess, you lower all or part of dependencies every time so compilation/test time will grow with growing your dependencies (stdlib).
🙏 2
👍 1