MNT: Run PTH flake test in prep for supporting pathlib (table)#16939
MNT: Run PTH flake test in prep for supporting pathlib (table)#16939taldcroft merged 1 commit intoastropy:mainfrom
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 |
9674687 to
7516b89
Compare
7516b89 to
dda88a0
Compare
|
The image test failure looks both unrelated and not real ? I don't see a diff but the RMS is still non-zero 🤷🏻♂️ |
taldcroft
left a comment
There was a problem hiding this comment.
Looks generally fine, I just have a couple of questions.
| name=f"astropy.table.{source.stem}", | ||
| define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")], | ||
| sources=[os.path.join(ROOT, source)], | ||
| sources=sources, |
There was a problem hiding this comment.
Is it known that Extension can take a list of Path instead of a list of str? Does this code get tested when building/installing astropy in CI testing?
There was a problem hiding this comment.
It's been supported by setuptools since version 72.2.0, which is why I set an explicit minimum requirement.
|
BTW, are any of the fixes done automatically by ruff? |
|
Nope, ruff only detects them, and I refactor manually, so any mistake is mine ! |
There was a problem hiding this comment.
I think something in here broke "exotic archs", see #16940 (comment)
There was a problem hiding this comment.
Quick guess: is this from an arch were setuptools 72.2.0 and newer aren't available yet ?
There was a problem hiding this comment.
Does that mean we need to revert this PR?
There was a problem hiding this comment.
yup, I'm seeing version 68.1.2. Let me revert this bit !
|
For all remaining open PTH PRs that touch setup code, we should run |
Description
Ref #16924
This is in the continuation of #16060