diff options
| author | J08nY | 2024-05-30 13:42:43 +0200 |
|---|---|---|
| committer | J08nY | 2024-05-30 13:42:43 +0200 |
| commit | fac7017c7d072084d4546a03dd96ebb59ff3572e (patch) | |
| tree | 7c5cc171345d6989df0fd5326c7b77bb686e4039 | |
| parent | 125675ad8773bee5537091da0f693563f34990af (diff) | |
| download | pyecsca-fac7017c7d072084d4546a03dd96ebb59ff3572e.tar.gz pyecsca-fac7017c7d072084d4546a03dd96ebb59ff3572e.tar.zst pyecsca-fac7017c7d072084d4546a03dd96ebb59ff3572e.zip | |
| -rw-r--r-- | .github/workflows/lint.yml | 9 | ||||
| -rw-r--r-- | .github/workflows/perf.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 5 | ||||
| -rw-r--r-- | pyproject.toml | 4 |
4 files changed, 7 insertions, 16 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 88553e6..e6682ea 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 @@ -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 .. diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 432c606..e025879 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -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 }} @@ -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 .. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06a572f..84024d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 .. diff --git a/pyproject.toml b/pyproject.toml index 4c1e68b..cd0fc66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ ] requires-python = ">=3.9" dependencies = [ - "numpy==1.24.4", + "numpy", "scipy", "sympy>=1.7.1", "pandas", @@ -45,7 +45,7 @@ "dask[dataframe]", "xarray", "astunparse", - "numba==0.57.1", + "numba", "networkx", "importlib-resources", "anytree" |
