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

Bump min support Python to 3.10 #416

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Bump min support Python to 3.10 #416

merged 2 commits into from
Sep 23, 2024

Conversation

maread99
Copy link
Collaborator

@maread99 maread99 commented Sep 22, 2024

Hi @gerrymanoim

The latest numpy minor release (2.10) now requires Python >= 3.10. This PR bumps the minimum Python version for exchange_calendars to 3.10 and amends the requirements file to the latest numpy version.

Bumping the min allows us to lose most of the from __future__ import annotations lines. This has the benefit that the interpreter now actually looks at the typing syntax (raising errors if the syntax is not correct).

There's also the release of Python 3.13 around the corner - seems like a reasonable time to bump the min.

Cheers
Marcus

@maread99 maread99 added dependencies Pull requests that update a dependency file maintenance labels Sep 22, 2024
@maread99 maread99 marked this pull request as draft September 22, 2024 09:06
Follows numpy 2.1 requiring >= 3.10,
Revisions to typing to benefit from bumping minimum
supported Python version to 3.10.

Removes now superfluous `from __future__ import annotations`
lines and corrects typing syntax errors.
@maread99 maread99 marked this pull request as ready for review September 22, 2024 10:00
@gerrymanoim gerrymanoim self-requested a review September 23, 2024 15:50
@gerrymanoim
Copy link
Owner

Thanks! LGTM - merge whenever you're ready.

@maread99 maread99 merged commit 54e9c0a into master Sep 23, 2024
7 checks passed
@maread99 maread99 deleted the minpy branch September 23, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants