Skip to content

Commit

Permalink
Python3.11 support (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Mar 3, 2024
1 parent dd4ed97 commit 3a82be0
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10"]
python: ["3.8", "3.9", "3.10", "3.11"]
arch: ["linux-64", "linux-aarch64"]
steps:
- name: Manage disk space
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
matrix:
python-version:
- "3.10"
- "3.11"
toolchain:
- "stable"
# we are not that much eager in walking on the edge yet
# - nightly
# build stable for only 3.7
include:
- python-version: "3.7"
Expand Down Expand Up @@ -83,19 +82,26 @@ jobs:
command: clippy
args: --all-targets --all-features -- -D clippy::all -A clippy::redundant_closure

- name: Create Virtualenv (3.7)
if: ${{ matrix.python-version == '3.7' }}
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements-37.txt
- name: Create Virtualenv (3.10)
if: ${{ matrix.python-version == '3.10' }}
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements-310.txt
- name: Create Virtualenv (3.7)
if: ${{ matrix.python-version == '3.7' }}
- name: Create Virtualenv (3.11)
if: ${{ matrix.python-version == '3.11' }}
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements-37.txt
pip install -r requirements-311.txt
- name: Run Python Linters
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
Expand Down
Loading

0 comments on commit 3a82be0

Please sign in to comment.