Skip to content

Commit

Permalink
Add support for Python3.10 (#1092)
Browse files Browse the repository at this point in the history
* Add support for Python3.10

This does not yet support for macOS.

* macos wheels: build for 3.10

* run on Python3.10

* Update .github/workflows/tests.yml

* install wheel
  • Loading branch information
skshetry authored Oct 6, 2021
1 parent 8d3403c commit bebe0ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
python-version: 3.6
- os: ubuntu-20.04
python-version: 3.9
- os: ubuntu-20.04
python-version: '3.10'
- os: ubuntu-20.04
python-version: pypy3
- os: macos-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
release: '3.8.7'
- ver: '3.9'
release: '3.9.1'
- ver: '3.10'
release: '3.10.0'
steps:
- name: Checkout pygit2
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fi

# Build pygit2
cd ..
$PREFIX/bin/pip install -U pip
$PREFIX/bin/pip install -U pip wheel
if [ "$1" = "wheel" ]; then
shift
$PREFIX/bin/pip install wheel
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"
PYTHONS="cp36-cp36m 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

0 comments on commit bebe0ac

Please sign in to comment.