Skip to content

Commit

Permalink
Drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Jan 17, 2024
1 parent 644fa48 commit 81a8391
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
matrix:
include:
- os: ubuntu-22.04
python-version: 3.8
python-version: 3.9
- os: ubuntu-22.04
python-version: '3.12'
- os: ubuntu-22.04
python-version: 'pypy3.9'
- os: macos-latest
python-version: 3.8
python-version: 3.9

steps:
- name: Checkout pygit2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v3
with:
name: wheels
Expand All @@ -54,4 +54,3 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
1.14.0 (UNRELEASED)
-------------------------

- Drop support for Python 3.8

- Add Linux wheels for musl
`#1266 <https://github.com/libgit2/pygit2/pull/1266>`_

- New ``Repository.submodules`` namespace
`#1250 <https://github.com/libgit2/pygit2/pull/1250>`_

Expand All @@ -22,6 +27,8 @@
- Documentation fixes
`#1255 <https://github.com/libgit2/pygit2/pull/1255>`_
`#1258 <https://github.com/libgit2/pygit2/pull/1258>`_
`#1268 <https://github.com/libgit2/pygit2/pull/1268>`_
`#1270 <https://github.com/libgit2/pygit2/pull/1270>`_

Breaking changes:

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pygit2 - libgit2 bindings in Python
######################################################################

Bindings to the libgit2 shared library, implements Git plumbing.
Supports Python 3.8 to 3.12 and PyPy3 7.3+
Supports Python 3.9 to 3.12 and PyPy3 7.3+

.. image:: https://github.com/libgit2/pygit2/actions/workflows/tests.yml/badge.svg
:target: https://github.com/libgit2/pygit2/actions/workflows/tests.yml
Expand Down
4 changes: 2 additions & 2 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ documentation.

Step 2. Build Python to be used with valgrind, e.g.::

$ ./configure --prefix=~/Python-3.8.15 --without-pymalloc --with-pydebug --with-valgrind
$ ./configure --prefix=~/Python-3.9.18 --without-pymalloc --with-pydebug --with-valgrind
$ make
$ make install
$ export PYTHONBIN=~/Python-3.8.15/bin
$ export PYTHONBIN=~/Python-3.9.18/bin

Step 3. Build pygit2 with debug symbols::

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pygit2 - libgit2 bindings in Python
######################################################################

Bindings to the libgit2 shared library, implements Git plumbing.
Supports Python 3.8 to 3.12 and PyPy3 7.3+
Supports Python 3.9 to 3.12 and PyPy3 7.3+

Links
=====================================
Expand Down
4 changes: 3 additions & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Requirements

Supported versions of Python:

- Python 3.8 to 3.12
- Python 3.9 to 3.12
- PyPy3 7.3+

Python requirements (these are specified in ``setup.py``):
Expand Down Expand Up @@ -86,6 +86,8 @@ of Python and the required libgit2 version.
+-----------+----------------+------------+
| pygit2 | Python | libgit2 |
+-----------+----------------+------------+
| 1.14 | 3.9 - 3.12 | 1.7 |
+-----------+----------------+------------+
| 1.13 | 3.8 - 3.12 | 1.7 |
+-----------+----------------+------------+
| 1.12 | 3.8 - 3.11 | 1.6 |
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def exclude(line):
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -152,7 +151,7 @@ def run(self):
cffi_modules=['pygit2/_run.py:ffi'],
ext_modules=ext_modules,
# Requirements
python_requires='>=3.8',
python_requires='>=3.9',
setup_requires=['cffi>=1.16.0'],
install_requires=install_requires,
# URLs
Expand Down

0 comments on commit 81a8391

Please sign in to comment.