advertise Python 3.10 support (#6772)

* advertise Python 3.10 support

Pygit2 does not have windows wheels yet and no pyarrow
for 3.10. But these platform-dependent things and
remote-dependent things should not stop us from
advertising support as we are pure-python based
package and we cannot claim support for all of our
dependencies.

* set pygit2 for Python 3.6 to <1.7
This commit is contained in:
Saugat Pachhai
2021-10-08 15:50:05 +03:00
committed by GitHub
parent d7489bb65f
commit f628f670c9
2 changed files with 8 additions and 16 deletions
+5 -15
View File
@@ -45,17 +45,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-2019, macos-10.15]
pyv: ["3.6", "3.7", "3.8", "3.9"]
include:
- os: "macos-10.15"
pyv: "3.10"
os: [ubuntu-20.04, windows-latest, macos-latest]
pyv: ["3.6", "3.7", "3.8", "3.9", "3.10"]
exclude:
- os: macos-10.15
pyv: "3.9"
- os: macos-10.15
pyv: "3.7"
# no wheels for pygit2 yet
- os: windows-latest
pyv: "3.10"
steps:
- uses: actions/[email protected]
- name: Set up Python
@@ -74,11 +69,6 @@ jobs:
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
- name: install pygit2 on Python3.10 in macOS
if: matrix.pyv == '3.10' && matrix.os == 'macos-10.15'
run: |
brew update && brew install libgit2
pip install git+https://github.com/libgit2/pygit2
- name: install
if: steps.cache.pip-cache-dir.cache-hit != 'true'
run: |
+3 -1
View File
@@ -23,6 +23,7 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
[options]
python_requires = >=3.6
@@ -36,7 +37,8 @@ install_requires =
configobj>=5.0.6
gitpython>3
dulwich>=0.20.23
pygit2>=1.5.0
pygit2>=1.5.0,<1.7; python_version < '3.7'
pygit2>=1.5.0; python_version >= '3.7'
setuptools>=34.0.0
nanotime>=0.5.2
pyasn1>=0.4.1