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

Require Python 3.9 #439

Merged
merged 8 commits into from
Dec 11, 2024
Merged

Require Python 3.9 #439

merged 8 commits into from
Dec 11, 2024

Conversation

timwoj
Copy link
Member

@timwoj timwoj commented Dec 5, 2024

Ubuntu's python packages are weird. If you just install python3.9 and python3.9-dev it doesn't install all of the files needed for CMake to figure out where /usr/lib/python3/dist-packages is. You have to at least install python3-distutils. This ends up installing python3 so that's fine to. It's all really stupid.

@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from d69801f to 169e04b Compare December 5, 2024 23:52
@timwoj timwoj requested a review from ckreibich December 6, 2024 18:34
Copy link
Member

@ckreibich ckreibich left a comment

Choose a reason for hiding this comment

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

LGTM. If you want to go a little deeper, the uses of

from __future__ import print_function

in some of the Python tests should be safe to drop now.

@timwoj timwoj force-pushed the topic/timw/python-upgrade branch from 169e04b to 61c08da Compare December 6, 2024 23:18
@timwoj
Copy link
Member Author

timwoj commented Dec 7, 2024

LGTM. If you want to go a little deeper, the uses of

from __future__ import print_function

in some of the Python tests should be safe to drop now.

I added the same ruff linting that I added in other repos.

@Neverlord Could you look at the couple of TODOs I added in 9ad0642? There's some questions I had about a couple of the tests.

@timwoj timwoj requested a review from ckreibich December 7, 2024 15:05
@timwoj timwoj merged commit 222571c into master Dec 11, 2024
19 of 20 checks passed
@timwoj timwoj deleted the topic/timw/python-upgrade branch December 11, 2024 00:27
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.

2 participants