Skip to content

Commit

Permalink
Enabling python 11 and updated versions of tqdm (#88)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Boyle <michael.oliver.boyle@gmail.com>

[skip ci] [no release]
  • Loading branch information
raffienficiaud authored Sep 7, 2023
1 parent 4b43374 commit 0c364fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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


Expand All @@ -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' }}
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Michael Boyle <michael.oliver.boyle@gmail.com>"]
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"
Expand All @@ -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}
Expand All @@ -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"
Expand Down

0 comments on commit 0c364fd

Please sign in to comment.