Skip to content
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

build sdist with python 3.12 #264

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

braingram
Copy link
Contributor

@braingram braingram commented Jan 29, 2025

This is pretty much a bandaid solution.

Even though the build_sdist job in the publish workflow sets up python with 3.12:


It does not provide a python version to OpenAstronomy/build-python-dist which is causing it to install and setup python 3.13 (as it defaults to 3.x).

This is causing build failures for a package that has a python upper pin that prevents 3.13 (as the CI is otherwise unaware of this pin) due to the 3.x job now defaulting to 3.13:
https://github.com/spacetelescope/jwst/actions/runs/13034242395/job/36361396551?pr=9081

This PR doesn't address the root cause (the CI being unaware of the python pin) but does pass the 3.12 version on to OpenAstronomy/build-python-dist which should fix the immediate failures for that package.

Verified

This commit was signed with the committer’s verified signature.
ewokcami Camilla Odlund
@braingram braingram marked this pull request as ready for review January 29, 2025 16:21
@Cadair Cadair merged commit 6aef87d into OpenAstronomy:main Jan 30, 2025
22 of 24 checks passed
@Cadair
Copy link
Member

Cadair commented Jan 30, 2025

Thanks @braingram

@braingram braingram deleted the python312_sdist branch January 30, 2025 14:02
@braingram braingram restored the python312_sdist branch January 30, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants