Skip to content

Commit

Permalink
Support Pint 0.24 (#104)
Browse files Browse the repository at this point in the history
* Test against Pint 0.24

* Loosen `mypy` constraint
  • Loading branch information
mattwthompson authored Jan 14, 2025
1 parent 383d0c7 commit c482d8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
os: [macOS-latest, ubuntu-latest]
openmm: ["true", "false"]
python-version: ["3.10", "3.11", "3.12"]
pint-version: ["0.21", "0.22", "0.23"]
pint-version: ["0.24"]

env:
CI_OS: ${{ matrix.os }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
run: python -m pytest $PYTEST_ARGS downstream_dummy/tests/

- name: Run mypy
if: ${{ matrix.python-version == '3.12' && matrix.openmm == 'true' }}
if: ${{ matrix.python-version == '3.12' }}
run: python -m mypy -p "openff.units" && python -m mypy downstream_dummy/ --exclude=downstream_dummy/build/

- name: Run docexamples
Expand Down
2 changes: 1 addition & 1 deletion devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:
- uncertainties

# Typing
- mypy =1.9
- mypy
- types-setuptools

0 comments on commit c482d8c

Please sign in to comment.