GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add Python 3.12 job and wheels by pllim · Pull Request #111 · liberfa/pyerfa

Conversation

@pllim

@pllim pllim commented Aug 18, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

pyerfa won't build nicely in astropy/astropy#14784 even after #107 and I don't know why.

Fix #108 maybe

Blocked by:

  • Add support for CIBW_ENVIRONMENT OpenAstronomy/github-actions-workflows#149

Questions:

  • Is it okay to use numpy 1.26b (pre-release) for all the wheels, not just cp312? Or do I have to separate out cp312 jobs?
  • Is it okay to drop win32 wheels?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
pllim added 2 commits August 18, 2023 17:58
@pllim
Add Python 3.12 job and wheels
882715a
@pllim
TST: Add pip freeze
208456f
@pllim

This comment was marked as resolved.

Sign in to view
@pllim pllim mentioned this pull request Aug 18, 2023
TST: Test against Python 3.12 pre-prelease astropy/astropy#14784
Merged
6 tasks done
@pllim

pllim commented Aug 19, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Ah... maybe because numpy 1.25 does not have a cp312 wheel, so it is trying to build numpy from source before building pyerfa...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pllim
Use numpy 1.26b for cp312
7c20ad7
like scipy
@pllim
pllim force-pushed the py312 branch from 4a5ca85 to 7c20ad7 Compare August 19, 2023 02:36
@pllim
Tweak Python version check
f2598b4
@pllim pllim mentioned this pull request Aug 19, 2023
Add support for CIBW_ENVIRONMENT OpenAstronomy/github-actions-workflows#149
Closed
pllim added 6 commits August 19, 2023 10:39
@pllim
cp312 wheel to grab numpy pre-release
030e285
@pllim
Drop win32 wheels
7656a6a
@pllim
Only use PIP_PRE for cp312
c7d2b55
@pllim
Add back most of win32
3952ebf
@pllim
Bump Python for default test matrix
1052cf9
@pllim
Fix typo maybe
a4e2869
@pllim pllim mentioned this pull request Aug 22, 2023
Why publish.yml flip between sh and bash? OpenAstronomy/github-actions-workflows#152
Open
pllim added 2 commits August 31, 2023 10:36
@pllim
Fix py312 wheels
b63bf47
@pllim
Fix RTD
bd092e0
@pllim
pllim marked this pull request as ready for review August 31, 2023 15:03
@pllim

pllim commented Aug 31, 2023

Copy link
Copy Markdown
Contributor Author

Not sure if you want all of this. If not, feel free to pick and choose. At least it is all green now.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pllim pllim mentioned this pull request Aug 31, 2023
DEP: stop building and testing 32-bit windows numpy/numpy#23717
Closed
pllim
pllim commented Aug 31, 2023
View reviewed changes
Comment thread pyproject.toml

@pllim pllim Aug 31, 2023

Copy link
Copy Markdown
Contributor Author

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pllim

pllim commented Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

Can one of the maintainers help me push this forward one way or another? Thanks!

Python 3.12rc2 is out.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mhvk
mhvk reviewed Sep 7, 2023
View reviewed changes

@mhvk mhvk left a comment

Copy link
Copy Markdown
Contributor

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...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pllim reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
astrofrog
astrofrog requested changes Sep 7, 2023
View reviewed changes
Comment thread pyproject.toml Outdated
"setuptools",
"setuptools_scm>=6.2",
"jinja2>=2.10.3",
"numpy>=1.25,<2; python_version<='3.11'",

@astrofrog astrofrog Sep 7, 2023

Copy link
Copy Markdown
Contributor

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?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@astrofrog astrofrog Sep 7, 2023

Copy link
Copy Markdown
Contributor

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?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@pllim pllim Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@pllim pllim Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@pllim pllim Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

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!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pllim
Only one way to find out
edc02d4
astrofrog
astrofrog approved these changes Sep 7, 2023
View reviewed changes
@mhvk

mhvk commented Sep 7, 2023

Copy link
Copy Markdown
Contributor

OK, let's get it in. Thanks, @pllim!

pllim reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mhvk
mhvk merged commit 5f11b2e into liberfa:master Sep 7, 2023
@pllim
pllim deleted the py312 branch September 7, 2023 19:07
@pllim

pllim commented Sep 7, 2023

Copy link
Copy Markdown
Contributor Author

Thanks, all!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mhvk mhvk mentioned this pull request Oct 14, 2023
Remove constraint on numpy in pyproject.toml? #119
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mhvk mhvk mhvk left review comments
@astrofrog astrofrog astrofrog approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add support for Python 3.12

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@pllim @mhvk @astrofrog
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.