Skip to content

Commit 11d24bb

Browse files
committed
feat: Drop support for Python 3.9 as EOL reached and add Python 3.14 support
1 parent 90e5ee7 commit 11d24bb

File tree

7 files changed

+15
-67
lines changed

7 files changed

+15
-67
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
python-check:
77
strategy:
88
matrix:
9-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
9+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1010
platform: [ubuntu-22.04, macos-latest, windows-latest]
1111
runs-on: ${{ matrix.platform }}
1212
steps:

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This standardization makes your commit history more readable and meaningful, whi
5555

5656
Before installing Commitizen, ensure you have:
5757

58-
- [Python](https://www.python.org/downloads/) `3.9+`
58+
- [Python](https://www.python.org/downloads/) `3.10+`
5959
- [Git][gitscm] `1.8.5.2+`
6060

6161
### Installation

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you're a first-time contributor, please check out issues labeled [good first
1515
### Required Tools
1616

1717
1. **Python Environment**
18-
- Python `>=3.9`
18+
- Python `>=3.10`
1919
- [Poetry](https://python-poetry.org/docs/#installing-with-the-official-installer) `>=2.0.0`
2020
2. **Version Control & Security**
2121
- Git

docs/contributing_tldr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Feel free to send a PR to update this file if you find anything useful. 🙇
22

33
## Environment
44

5-
- Python `>=3.9`
5+
- Python `>=3.10`
66
- [Poetry](https://python-poetry.org/docs/#installing-with-the-official-installer) `>=2.0.0`
77

88
## Useful commands
@@ -21,8 +21,8 @@ poetry format
2121
# Check if ruff and mypy are happy
2222
poetry lint
2323

24-
# Check if mypy is happy in python 3.9
25-
mypy --python-version 3.9
24+
# Check if mypy is happy in python 3.10
25+
mypy --python-version 3.10
2626

2727
# Run tests in parallel.
2828
pytest -n auto # This may take a while.

docs/tutorials/gitlab_ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test:
7474

7575
auto-bump:
7676
stage: auto-bump
77-
image: python:3.9
77+
image: python:3.10
7878
before_script:
7979
- "which ssh-agent || ( apt-get update -qy && apt-get install openssh-client -qqy )"
8080
- eval `ssh-agent -s`

poetry.lock

Lines changed: 5 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ maintainers = [
99
]
1010
license = { file = "LICENSE" }
1111
readme = "docs/README.md"
12-
requires-python = ">=3.9,<4.0"
12+
requires-python = ">=3.10,<4.0"
1313
dependencies = [
1414
"questionary (>=2.0,<3.0)",
1515
# Exclude transitive dependency due to known issue in questionary: https://github.com/tmbo/questionary/issues/454
@@ -38,11 +38,11 @@ classifiers = [
3838
"Operating System :: OS Independent",
3939
"Programming Language :: Python",
4040
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.9",
4241
"Programming Language :: Python :: 3.10",
4342
"Programming Language :: Python :: 3.11",
4443
"Programming Language :: Python :: 3.12",
4544
"Programming Language :: Python :: 3.13",
45+
"Programming Language :: Python :: 3.14",
4646
"Programming Language :: Python :: Implementation :: CPython",
4747
"License :: OSI Approved :: MIT License",
4848
]
@@ -174,7 +174,7 @@ testpaths = ["tests/"]
174174

175175
[tool.tox]
176176
requires = ["tox>=4.22"]
177-
env_list = ["3.9", "3.10", "3.11", "3.12", "3.13"]
177+
env_list = ["3.10", "3.11", "3.12", "3.13", "3.14"]
178178

179179
[tool.tox.env_run_base]
180180
description = "Run tests suite against Python {base_python}"

0 commit comments

Comments
 (0)