mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user