New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move tests out-of-tree #14059
base: main
Are you sure you want to change the base?
Move tests out-of-tree #14059
Conversation
8ef249b
to
86c34f8
Compare
86c34f8
to
c24bedd
Compare
Locally:
vs PyPI
|
Yeah, I'm thorn as I can see the reason to package the test in the wheel. On some system you may want to run the test to make sure all works, and having to reach for the source in meh... |
That's the thing: i don't think one can right now, without the source, as it generally fails without the exact I guess another alternative would be to build and distribute (and test as-distributed) a second |
I think all of this might be a discussion for https://github.com/scientific-python/specs |
sure, but then they need to actually run with a documented approach... i guess, ideally, exactly As the test dependencies won't/shouldn't/can't/aren't consistent by platform/distribution to be installed by default, perhaps the 200kb of tests could still be out-of-tree, but with an inverted dependency, e.g. [project.optional-dependencies]
test = [
"pytest",
# ...
"ipython-tests",
] ... and the invocation would be |
Let me think about it. No objections if there is consensus. I'm not a big fan of having different package as long as it's hard to do the wrong things when installing/publishing. |
Maybe that can be IPython 9.0, few new features, but rework of the repository ? |
Yep, all valid concerns, of course, and inherited by all downstreams.
Sounds fine, but even prior to that, if test-as-installed is important, having the simplest test invocation possible documented and working would not be breaking. A concrete step here would be to up-front building Looking to 9.x, another thing I'd love is much lazier imports of things that don't aren't used everywhere. Putting my alternate runtime environment hat on, our biggest sources of challenges are
Indeed, getting on the The only sticky thing would be keeping the hard version pin between two packages somewhere, but having a single-source-of truth for the version in one place (hint: |
References