Skip to content

Commit acce7ef

Browse files
committed
Drop Python 3.9
1 parent e394578 commit acce7ef

File tree

8 files changed

+13
-17
lines changed

8 files changed

+13
-17
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
matrix:
1414
include:
1515
- os: ubuntu-24.04
16-
python-version: 3.9
16+
python-version: '3.10'
1717
- os: ubuntu-24.04
1818
python-version: '3.13-dev'
1919
- os: ubuntu-24.04
20-
python-version: 'pypy3.9'
20+
python-version: 'pypy3.10'
2121
- os: macos-latest
22-
python-version: 3.9
22+
python-version: '3.10'
2323

2424
steps:
2525
- name: Checkout pygit2

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.9'
24+
python-version: '3.10'
2525

2626
- uses: docker/setup-qemu-action@v3
2727
if: runner.os == 'Linux'

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.9 to 3.12 and PyPy3 7.3+
4+
Supports Python 3.10 to 3.13 and PyPy3 7.3+
55

66
[![image](https://github.com/libgit2/pygit2/actions/workflows/tests.yml/badge.svg)](https://github.com/libgit2/pygit2/actions/workflows/tests.yml)
77

appveyor.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ environment:
77
TWINE_PASSWORD:
88
secure: 7YD82RnQJ9rnJE/josiQ/V6VWh+tlhmJpWVM/u5jGdl8XqyhsLEKF5MNMYd4ZYxA/MGaYBCQ525d4m9RSDk9RB+uIFMZJLnl1eOjHQVyJ+ZZmJb65tqd/fR5hybhWtVhn+0wANiI4uqrojFFVy1HjfBYSrvyk+7LLDxfSVTqkhMEhbZbWBpGP/3VET1gPy+qdlWcL7quwhSBPSbKpyMi/cqvp5/yFLAM615RRABgQUDpRyXxtBTReRgWSxi9kUXXqR18ZvQlvMLnAsEnGFRenA==
99
matrix:
10-
- GENERATOR: 'Visual Studio 14'
11-
PYTHON: 'C:\Python39\python.exe'
12-
- GENERATOR: 'Visual Studio 14 Win64'
13-
PYTHON: 'C:\Python39-x64\python.exe'
1410
- GENERATOR: 'Visual Studio 14'
1511
PYTHON: 'C:\Python310\python.exe'
1612
- GENERATOR: 'Visual Studio 14 Win64'

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.9 to 3.12 and PyPy3 7.3+
6+
Supports Python 3.10 to 3.13 and PyPy3 7.3+
77

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

docs/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ Requirements
5050

5151
Supported versions of Python:
5252

53-
- Python 3.9 to 3.12
53+
- Python 3.10 to 3.13
5454
- PyPy3 7.3+
5555

5656
Python requirements (these are specified in ``setup.py``):
5757

58-
- cffi 1.16.0 or later
58+
- cffi 1.17.0 or later
5959

6060
Libgit2 **v1.8.x**; binary wheels already include libgit2, so you only need to
6161
worry about this if you install the source package.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ environment = {LIBGIT2_VERSION="1.8.1", LIBSSH2_VERSION="1.11.0", OPENSSL_VERSIO
2525
repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
2626

2727
[tool.ruff]
28-
target-version = "py39" # oldest supported Python version
28+
target-version = "py310" # oldest supported Python version
2929
fix = true
3030
extend-exclude = [
3131
".cache",

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ def exclude(line):
7575
'Intended Audience :: Developers',
7676
'Programming Language :: Python',
7777
'Programming Language :: Python :: 3',
78-
'Programming Language :: Python :: 3.9',
7978
'Programming Language :: Python :: 3.10',
8079
'Programming Language :: Python :: 3.11',
8180
'Programming Language :: Python :: 3.12',
81+
'Programming Language :: Python :: 3.13',
8282
'Programming Language :: Python :: Implementation :: PyPy',
8383
'Programming Language :: Python :: Implementation :: CPython',
8484
'Topic :: Software Development :: Version Control',
@@ -151,9 +151,9 @@ def run(self):
151151
cffi_modules=['pygit2/_run.py:ffi'],
152152
ext_modules=ext_modules,
153153
# Requirements
154-
python_requires='>=3.9',
155-
setup_requires=['cffi>=1.16.0'],
156-
install_requires=['cffi>=1.16.0'],
154+
python_requires='>=3.10',
155+
setup_requires=['cffi>=1.17.0'],
156+
install_requires=['cffi>=1.17.0'],
157157
# URLs
158158
url='https://github.com/libgit2/pygit2',
159159
project_urls={

0 commit comments

Comments
 (0)