Repository navigation
TST: add a CI job for Python's optimized mode - #17472
neutrinoceros wants to merge 2 commits into
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
f5da5bf to
3cbbfa2
Compare
|
hum the error doesn't look at all like what I'm seeing locally and it makes me wonder whether tox itself supports optimized mode (locally I run pytest directly). |
|
I confirm that running I don't know wether that's a bug in tox or elsewhere in the stack but rather than deciphering it I'm going to go with a dead simple, known-good approach for now: just run pytest directly. |
3cbbfa2 to
3cafc54
Compare
|
sight... there's actually an open upstream issue for tox: tox-dev/tox#3006 |
|
Alright I think the tox rabbit hole goes way to deep for this to be a reasonable use of my time. Back to a simple (albeit less portable) solution. |
3cafc54 to
b7c9e31
Compare
|
there we go ! at least now the errors we see are actually ours ! |
2e7b938 to
3184e9d
Compare
|
rebased now that all (known) errors were solved 🤞🏻 |
|
Looks like the 29 remaining failures are all about functions that rely on the presence of docstrings, and those can't possibly work in these conditions, so I'll probably need to (conditionally) skip the failing tests. Will give it a go tomorrow. |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 4 months. I plan to close this in 30 days if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
|
tox-dev/tox#3006 was closed, let's try to revive this |
3184e9d to
11f3ddf
Compare
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 8 months. I plan to close this in a month if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
83d3fbe to
d0b5072
Compare
d0b5072 to
d61ca1c
Compare
Description
The end goal is to close #17471, but actual fixes will be done in small, subpackage-focused PRs that I'll link below
astropy.config.pathsunder Python's optimized mode #17473astropy.visualization.wcsaxes.patchesunder Python's optimized mode #17474cosmology) #17475table) #17476io.ascii) #17477units) #17481Configclasses' docstrings remain available at runtime for introspection (fix callingConfigNamespace.helpunder Python's optimized mode) #17548classpropertyandformat_doc) #17549nddata) #17555astropy.io.asciiare always available for inspection at runtime #17556io.registry) (⏰ wait for #17559) #17557delay_doc_updatescontext manager a noop under Python's optimized mode #17572upstream: