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

Support Python 3.9 #1923

Merged
merged 5 commits into from
Dec 2, 2024
Merged

Support Python 3.9 #1923

merged 5 commits into from
Dec 2, 2024

Conversation

juanitorduz
Copy link
Contributor

@juanitorduz juanitorduz commented Dec 2, 2024

Closes #1922

The lint commit d32b54a failed as expected. The fix in https://github.com/pyro-ppl/numpyro/actions/runs/12120151093/job/33788225675?pr=1923 makes the Python 3.9 linter happy.

@juanitorduz juanitorduz marked this pull request as draft December 2, 2024 13:09
@fehiepsi
Copy link
Member

fehiepsi commented Dec 2, 2024

Could you also add 3.12 and 3.13 to the setup file and add 3.13 to the lint check? (we can fix bug on those python versions in later release if users report) Thanks!

@juanitorduz
Copy link
Contributor Author

@fehiepsi Do we want to extend the run the CI tests with Python 3.9 as well?

@fehiepsi
Copy link
Member

fehiepsi commented Dec 2, 2024

yes, I think we can add tests for modeling and inference. I'm not sure how complicated it is to fix tests

@juanitorduz
Copy link
Contributor Author

juanitorduz commented Dec 2, 2024

ok! 8346b55 tests work fine. However, there seems to be an issue installing dependencies with Python 3.13 👀

@fehiepsi fehiepsi marked this pull request as ready for review December 2, 2024 14:40
Copy link
Member

@fehiepsi fehiepsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! thanks @juanitorduz!

Some dependencies in dev might not be compatible with python 3.13. That's fine for now I think. We can revisit in the future. Let me know if this is ready to merge.

@juanitorduz
Copy link
Contributor Author

Ok! In this case this first iteration is complete :)

@fehiepsi fehiepsi merged commit a4fd59b into pyro-ppl:master Dec 2, 2024
8 checks passed
@juanitorduz juanitorduz deleted the python_39 branch December 2, 2024 20:29
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.

Python 3.9 broken
2 participants