Skip to content

Drop Python 3.8 support #209

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

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Drop Python 3.8 support #209

merged 2 commits into from
Oct 28, 2024

Conversation

stefanvanburen
Copy link
Member

Python 3.8 is EOL as of 2024-10-07. This patch:

  • Drops support for Python 3.8
  • Upgrades our syntax to 3.9
  • Re-locks our deps to 3.9

Assuming we do this, our next release should be v0.6.

Fixes #202.

Python 3.8 is [EOL as of 2024-10-07][1]. This patch:

* Drops support for Python 3.8
* Upgrades our syntax to 3.9
* Re-locks our deps to 3.9

Assuming we do this, our next release should be `v0.6`.

Fixes #202.

[1]: https://devguide.python.org/versions/#unsupported-versions
@stefanvanburen
Copy link
Member Author

@akshayjshah not sure if you have a preference for our version support matrix for Python, but figured dropping an EOL version pre-v1 is reasonable.

@@ -31,7 +31,6 @@ Issues = "https://github.com/bufbuild/protovalidate-python/issues"
source = "vcs"

[tool.ruff]
target-version = "py38"
Copy link
Member Author

Choose a reason for hiding this comment

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

https://docs.astral.sh/ruff/settings/#target-version — this will use the requires-python version if not set; don't need to keep the separate setting.

Copy link
Contributor

@akshayjshah akshayjshah left a comment

Choose a reason for hiding this comment

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

Dropping 3.8 makes sense. PR needs one small fixup before merging, and we may also want to add 3.14 support right here.

@stefanvanburen stefanvanburen merged commit c16dbb7 into main Oct 28, 2024
12 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/drop-python-3.8 branch October 28, 2024 17:01
stefanvanburen added a commit that referenced this pull request Jan 13, 2025
Missed this in #209. Should trim the list of dependencies considered
(and avoid the Dependabot warnings about 3.8 in PRs like #238).
stefanvanburen added a commit that referenced this pull request Jan 13, 2025
Missed this in #209. Should trim the list of dependencies considered
(and avoid the Dependabot warnings about 3.8 in PRs like #238).
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.

Update Python language version support
3 participants