Skip to content

Commit 2a90580

Browse files
committed
Drop support for Python 3.10
1 parent 03b6afc commit 2a90580

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# 1.19.0 (UNRELEASED)
22

3-
- Add support for Python 3.14
3+
- Add support for Python 3.14 and drop 3.10
44

5-
- Support threaded builds
5+
- Support threaded builds (experimental)
66
[#1430](https://github.com/libgit2/pygit2/pull/1430)
77

8-
- Add Linux wheels for musl on AArch64
8+
- Add Linux musl wheels for AArch64
99

10-
- Add Windows wheels for AArch64
10+
- Add Windows wheels for AArch64;
11+
CI: build Windows wheels with cibuildwheel on GitHub
1112
[#1423](https://github.com/libgit2/pygit2/pull/1423)
1213

1314
- New `Repository.transaction()` context manager, returns new `ReferenceTransaction`
1415
[#1420](https://github.com/libgit2/pygit2/pull/1420)
1516

16-
- CI: Move Windows wheels to cibuildwheel and GitHub
17-
[#1423](https://github.com/libgit2/pygit2/pull/1423)
18-
1917
- CI: add GitHub releases and other improvements
2018
[#1433](https://github.com/libgit2/pygit2/pull/1433)
2119
[#1432](https://github.com/libgit2/pygit2/pull/1432)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pygit2 - libgit2 bindings in Python
22

33
Bindings to the libgit2 shared library, implements Git plumbing.
4-
Supports Python 3.10 to 3.13 and PyPy3 7.3+
4+
Supports Python 3.11 to 3.14 and PyPy3 7.3+
55

66
[![test-ci-badge][test-ci-badge]][test-ci-link]
77
[![deploy-ci-badge][deploy-ci-badge]][deploy-ci-link]

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pygit2 - libgit2 bindings in Python
33
######################################################################
44

55
Bindings to the libgit2 shared library, implements Git plumbing.
6-
Supports Python 3.10 to 3.13 and PyPy3 7.3+
6+
Supports Python 3.11 to 3.14 and PyPy3 7.3+
77

88
Links
99
=====================================

docs/install.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Requirements
4646

4747
Supported versions of Python:
4848

49-
- Python 3.10 to 3.13
49+
- Python 3.11 to 3.14
5050
- PyPy3 7.3+
5151

5252
Python requirements (these are specified in ``setup.py``):
@@ -83,7 +83,7 @@ of Python and the required libgit2 version.
8383
+-------------+----------------+------------+
8484
| pygit2 | Python | libgit2 |
8585
+-------------+----------------+------------+
86-
| 1.19 | 3.10 - 3.14(t) | 1.9 |
86+
| 1.19 | 3.11 - 3.14(t) | 1.9 |
8787
+-------------+----------------+------------+
8888
| 1.17 - 1.18 | 3.10 - 3.13 | 1.9 |
8989
+-------------+----------------+------------+
@@ -127,6 +127,10 @@ of Python and the required libgit2 version.
127127
the release notes for incompatible changes before upgrading to a new
128128
release.
129129

130+
.. warning::
131+
132+
Threaded builds are experimental, do not use them in production.
133+
130134
History: the 0.x series
131135
-----------------------
132136

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ environment.LIBGIT2 = "C:/libgit2_install_arm64"
6060

6161
[tool.ruff]
6262
extend-exclude = [ ".cache", ".coverage", "build", "site-packages", "venv*"]
63-
target-version = "py310" # oldest supported Python version
63+
target-version = "py311" # oldest supported Python version
6464

6565
[tool.ruff.lint]
6666
select = ["E4", "E7", "E9", "F", "I", "UP035", "UP007"]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ def exclude(line: str) -> bool:
7777
'Intended Audience :: Developers',
7878
'Programming Language :: Python',
7979
'Programming Language :: Python :: 3',
80-
'Programming Language :: Python :: 3.10',
8180
'Programming Language :: Python :: 3.11',
8281
'Programming Language :: Python :: 3.12',
8382
'Programming Language :: Python :: 3.13',
83+
'Programming Language :: Python :: 3.14',
8484
'Programming Language :: Python :: Implementation :: PyPy',
8585
'Programming Language :: Python :: Implementation :: CPython',
8686
'Topic :: Software Development :: Version Control',
@@ -153,7 +153,7 @@ def run(self) -> None:
153153
cffi_modules=['pygit2/_run.py:ffi'],
154154
ext_modules=ext_modules,
155155
# Requirements
156-
python_requires='>=3.10',
156+
python_requires='>=3.11',
157157
setup_requires=['cffi>=2.0'],
158158
install_requires=['cffi>=2.0'],
159159
# URLs

0 commit comments

Comments
 (0)