Skip to content

Commit 1f27051

Browse files
authored
Drop Python 3.9 (#41)
# Changes ## Drop Python 3.9 EOL of 2025-10-31. See also: - https://devguide.python.org/versions/#:~:text=Release%20manager-,3.9,-PEP%20596 - https://peps.python.org/pep-0596/
2 parents 373296a + 1a2484d commit 1f27051

File tree

4 files changed

+76
-643
lines changed

4 files changed

+76
-643
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ['3.9', '3.14']
12+
python-version: ['3.14']
1313
steps:
1414
- uses: actions/checkout@v4
1515

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ $ pipx install --suffix=@next g --pip-args '\--pre' --force
3939

4040
<!-- Maintainers, insert changes / features for the next release here -->
4141

42+
### Breaking changes
43+
44+
- Drop support for Python 3.9; the new minimum is Python 3.10 (#41). See also:
45+
- [Python 3.9 EOL timeline](https://devguide.python.org/versions/#:~:text=Release%20manager-,3.9,-PEP%20596)
46+
- [PEP 596](https://peps.python.org/pep-0596/)
47+
4248
### Development
4349

4450
- Add Python 3.14 to test matrix (#40)

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "g"
33
version = "0.0.7"
44
description = "cli command to easily sync current directory"
5-
requires-python = ">=3.9,<4.0"
5+
requires-python = ">=3.10,<4.0"
66
authors = [
77
{name = "Tony Narlock", email = "tony@git-pull.com"}
88
]
@@ -16,7 +16,6 @@ classifiers = [
1616
"Operating System :: MacOS :: MacOS X",
1717
"Programming Language :: Python",
1818
"Programming Language :: Python :: 3",
19-
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
2221
"Programming Language :: Python :: 3.12",
@@ -125,14 +124,14 @@ build-backend = "hatchling.build"
125124

126125
[tool.mypy]
127126
strict = true
128-
python_version = "3.9"
127+
python_version = "3.10"
129128
files = [
130129
"src/",
131130
"tests/",
132131
]
133132

134133
[tool.ruff]
135-
target-version = "py39"
134+
target-version = "py310"
136135

137136
[tool.ruff.lint]
138137
select = [

0 commit comments

Comments
 (0)