Skip to content

Commit

Permalink
Drop support for Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Oct 7, 2021
1 parent 8f11a72 commit de4eac1
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
matrix:
include:
- os: ubuntu-20.04
python-version: 3.6
python-version: 3.7
- os: ubuntu-20.04
python-version: '3.10'
- os: ubuntu-20.04
python-version: pypy3
- os: macos-latest
python-version: 3.6
python-version: 3.7

steps:
- name: Checkout pygit2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
fail-fast: false
matrix:
py:
- ver: '3.6'
release: '3.6.8' # last Python.org binary release
- ver: '3.7'
release: '3.7.9' # last Python.org binary release
- ver: '3.8'
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
`#1092 <https://github.com/libgit2/pygit2/pull/1092>`_
`#1093 <https://github.com/libgit2/pygit2/pull/1093>`_

- Drop support for Python 3.6

- New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
`#1087 <https://github.com/libgit2/pygit2/pull/1087>`_

Expand Down Expand Up @@ -776,7 +778,7 @@ Other changes:
0.25.1 (2017-04-25)
-------------------------

- Add suport for Python 3.6
- Add support for Python 3.6

- New support for stash: repository methods ``stash``, ``stash_apply``,
``stash_drop`` and ``stash_pop``
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.6+ and PyPy3 7.3+
Supports Python 3.7+ 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: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ environment:
TWINE_PASSWORD:
secure: m6oBGys2nmQTRn7vDv8/FA==
matrix:
- GENERATOR: 'Visual Studio 14'
PYTHON: 'C:\Python36\python.exe'
- GENERATOR: 'Visual Studio 14 Win64'
PYTHON: 'C:\Python36-x64\python.exe'
- GENERATOR: 'Visual Studio 14'
PYTHON: 'C:\Python37\python.exe'
- GENERATOR: 'Visual Studio 14 Win64'
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.6+ and PyPy3 7.3+
Supports Python 3.7+ and PyPy3 7.3+

Links
=====================================
Expand Down
6 changes: 3 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Install pygit2:
.. code-block:: sh
$ pip --version
pip 19.3.1 from /usr/lib64/python3.6/site-packages/pip (python 3.6)
pip 21.2.4 from /usr/lib/python3.9/site-packages/pip (python 3.9)
$ pip install pygit2
The line above will install binary wheels if available in your platform.
Expand All @@ -40,7 +40,7 @@ Requirements

Supported versions of Python:

- Python 3.6+
- Python 3.7+
- PyPy3 7.3+

Python requirements (these are specified in ``setup.py``):
Expand Down Expand Up @@ -78,7 +78,7 @@ of Python and the required libgit2 version.
+-----------+----------------+----------------+
| pygit2 | Python | libgit2 |
+-----------+----------------+----------------+
| 1.7 | 3.6 - 3.9 | 1.3.x |
| 1.7 | 3.7 - 3.10 | 1.3.x |
+-----------+----------------+----------------+
| 1.4 - 1.6 | 3.6 - 3.9 | 1.1.x |
+-----------+----------------+----------------+
Expand Down
2 changes: 1 addition & 1 deletion misc/build-manylinux-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -xe

ARCH=`uname -m`
PYTHONS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
PYTHONS="cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
export PYCA_OPENSSL_PATH=/opt/pyca/cryptography/openssl
export OPENSSL_PATH=/opt/openssl
export CFLAGS="-fPIC"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ exclude = .eggs,.git,.tox,build,dist,docs,venv*
select = E4,E9,W1,W2,W3,W6

[tox:tox]
envlist = py36,py37,py38,py39,pypy3
envlist = py37,py38,py39,py310,pypy3

[tox:testenv]
deps = pytest
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ def exclude(line):
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Version Control"]
Expand Down

0 comments on commit de4eac1

Please sign in to comment.