-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add Python 3.12 job and wheels #111
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Ah... maybe because numpy 1.25 does not have a cp312 wheel, so it is trying to build numpy from source before building pyerfa... |
like scipy
Not sure if you want all of this. If not, feel free to pick and choose. At least it is all green now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhvk , turns out at the very least, I need the changes in this file for astropy/astropy#14784
Can one of the maintainers help me push this forward one way or another? Thanks! Python 3.12rc2 is out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me and everything is green, but I feel super uncomfortable approving something I don't understand, so let me ping @astrofrog and @avalentino, hoping that they are better versed in wheel creation...
pyproject.toml
Outdated
"setuptools", | ||
"setuptools_scm>=6.2", | ||
"jinja2>=2.10.3", | ||
"numpy>=1.25,<2; python_version<='3.11'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use <3.12 to be the exact opposite of >=3.12?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering how 3.11.3 evaluates for example, is it <=3.11?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will that pick up 3.12rc? I can never tell how these operators work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is inferred from /~https://github.com/scipy/scipy/blob/main/pyproject.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I made the change you requested and CI is still green, so I guess it is okay after all. Please re-review. Thanks!
OK, let's get it in. Thanks, @pllim! |
Thanks, all! |
pyerfa won't build nicely in astropy/astropy#14784 even after #107 and I don't know why.
Fix #108 maybe
Blocked by:
Questions: