Skip to content

Commit

Permalink
Test Python 3.12 in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
J08nY committed May 30, 2024
1 parent 125675a commit fac7017
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-3.9-${{ hashFiles('pyproject.toml') }}
key: pip-${{ runner.os }}-3.11-${{ hashFiles('pyproject.toml') }}
restore-keys: |
pip-${{ runner.os }}-
- name: Setup Python 3.9
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Add picoscope repository
run: |
curl "https://labs.picotech.com/debian/dists/picoscope/Release.gpg.key" | sudo apt-key add
Expand All @@ -33,9 +33,6 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get install -y $PS_PACKAGES $OTHER_PACKAGES $GMP_PACKAGES
- name: Install numpy
run: |
pip install "numpy<1.25"
- name: Install picoscope bindings
run: |
git clone https://github.com/colinoflynn/pico-python && cd pico-python && python setup.py install && cd ..
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
gmp: [0, 1]
env:
PYTHON: ${{ matrix.python-version }}
Expand Down Expand Up @@ -43,9 +43,6 @@ jobs:
run: |
sudo apt-get install -y $PS_PACKAGES $OTHER_PACKAGES
if [ $USE_GMP == 1 ]; then sudo apt-get install -y $GMP_PACKAGES; fi
- name: Install numpy
run: |
pip install "numpy<1.25"
- name: Install picoscope bindings
run: |
git clone https://github.com/colinoflynn/pico-python && cd pico-python && python setup.py install && cd ..
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
gmp: [0, 1]
env:
PYTHON: ${{ matrix.python-version }}
Expand Down Expand Up @@ -43,9 +43,6 @@ jobs:
run: |
sudo apt-get install -y $PS_PACKAGES $OTHER_PACKAGES
if [ $USE_GMP == 1 ]; then sudo apt-get install -y $GMP_PACKAGES; fi
- name: Install numpy
run: |
pip install "numpy<1.25"
- name: Install picoscope bindings
run: |
git clone https://github.com/colinoflynn/pico-python && cd pico-python && python setup.py install && cd ..
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
]
requires-python = ">=3.9"
dependencies = [
"numpy==1.24.4",
"numpy",
"scipy",
"sympy>=1.7.1",
"pandas",
Expand All @@ -45,7 +45,7 @@
"dask[dataframe]",
"xarray",
"astunparse",
"numba==0.57.1",
"numba",
"networkx",
"importlib-resources",
"anytree"
Expand Down

0 comments on commit fac7017

Please sign in to comment.