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

CI: Add Python 3.12 to pytest's matrix #3314

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Conversation

echoix
Copy link
Member

@echoix echoix commented Dec 23, 2023

Contributes to #3285
This is the second step of my PRs to modernize our Python code. It is the first bullet of #3285.

This PR simply adds Python 3.12 in our pytest workflows, in order to be able to see more warnings and deprecations. I chose this as it is a relatively fast workflow and the impact would be minimal. Of course, full coverage isn't there yet, as it only runs 103 tests, but at least some importing of our modules is done (grass.script and some grass.jupyter packages for now).

This doesn't mean for now that we support Python 3.12, but we should be for the next release, so work must start at some point.

@echoix echoix added the CI Continuous integration label Dec 23, 2023
@echoix echoix self-assigned this Dec 23, 2023
Copy link
Member

@wenzeslaus wenzeslaus left a comment

Choose a reason for hiding this comment

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

Works as expected in CI.

@echoix echoix merged commit 44e7ebc into OSGeo:main Dec 25, 2023
20 checks passed
@echoix echoix deleted the pytest-python3.12 branch December 25, 2023 15:48
HuidaeCho pushed a commit to HuidaeCho/grass that referenced this pull request Jan 9, 2024
@neteler neteler added this to the 8.4.0 milestone Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants