From 0c364fdb1d52251a0f44321438ef7828d5e5a6d7 Mon Sep 17 00:00:00 2001 From: Raffi Enficiaud Date: Thu, 7 Sep 2023 17:54:20 +0200 Subject: [PATCH] Enabling python 11 and updated versions of tqdm (#88) Co-authored-by: Mike Boyle [skip ci] [no release] --- .github/workflows/build.yml | 8 ++++---- pyproject.toml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15b8e264..6bb1b301 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - python-version: ['3.8', '3.10'] + python-version: ['3.8', '3.11'] steps: - name: Skip replicates on main branch env: - skip_replicates: ${{ github.ref == 'refs/heads/main' && (matrix.os != 'ubuntu-latest' || matrix.python-version != '3.10') }} + skip_replicates: ${{ github.ref == 'refs/heads/main' && (matrix.os != 'ubuntu-latest' || matrix.python-version != '3.11') }} shell: bash run: | echo "skipping_build_and_test_replicate=${skip_replicates}" >> $GITHUB_ENV @@ -68,7 +68,7 @@ jobs: poetry run pytest -s --cov=scri --cov-branch --cov-report=xml --durations=0 - name: Upload coverage - if: "matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'" + if: "matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'" uses: codecov/codecov-action@v2 @@ -88,7 +88,7 @@ jobs: - name: Set up python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: '3.10' + python-version: '3.11' - name: Install toml if: ${{ env.skipping_build_and_test_replicate != 'true' }} diff --git a/pyproject.toml b/pyproject.toml index 8d336cd0..9999143a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = ["Michael Boyle "] homepage = "https://github.com/moble/scri" [tool.poetry.dependencies] -python = ">=3.8,<3.11" +python = ">=3.8,<3.12" numpy = ">=1.20" scipy = "^1.0" numba = ">=0.55" @@ -17,7 +17,7 @@ numpy-quaternion = ">=2022.4" spherical-functions = ">=2022.4" spinsfast = ">=2022.4" sxs = ">=2022.4.0" -tqdm = ">=4.48.2, <4.61.2" +tqdm = ">=4.63.1" importlib-metadata = {version = "^1.0", python = "<3.8"} mkdocs = {version = "^1.1.2", optional = true} mktheapidocs = {extras = ["plugin"], version = "^0.2.0", optional = true} @@ -35,7 +35,7 @@ mktheapidocs = ["mktheapidocs"] [tool.black] line-length = 120 -target-version = ['py38','py39','py310'] +target-version = ['py38','py39','py310','py311'] [tool.pytest.ini_options] minversion = "6.0"