Skip to content

Commit 1b6c186

Browse files
authored
Merge pull request #179 from CitrineInformatics/maintain/update-pint-max
Bump ceiling on Pint version to 0.20
2 parents bd4f914 + 9e95228 commit 1b6c186

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.travis.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ python:
55
- '3.8'
66
- '3.9'
77
- '3.10'
8+
env:
9+
- PINT_VERSION=0.13
10+
- PINT_VERSION=0.20
11+
jobs:
12+
exclude:
13+
- python: 3.7
14+
env: PINT_VERSION=0.20
815
install:
916
- pip install -U -r requirements.txt
17+
- pip install Pint==$PINT_VERSION
1018
- pip install -U -r test_requirements.txt
1119
- pip install --no-deps -e .
1220
script:
13-
- pytest --cov=gemd --cov-report term-missing:skip-covered --cov-config=tox.ini --no-cov-on-fail --cov-fail-under=100 gemd
1421
- flake8 gemd
22+
- pytest --cov=gemd --cov-report term-missing:skip-covered --cov-config=tox.ini --no-cov-on-fail --cov-fail-under=100 gemd
1523
- cd docs; make html; cd ..;
1624
- touch ./docs/_build/html/.nojekyll
1725
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "main" ]; then bash ./scripts/validate-version-bump.sh; fi
@@ -24,6 +32,7 @@ deploy:
2432
on:
2533
tags: true
2634
python: '3.7' # only need this to run once
35+
env: PINT_VERSION=0.13
2736
- provider: pypi
2837
user: "CitrineInformatics"
2938
password: "$PYPI_PASSWORD"

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
setup(name='gemd',
5-
version='1.12.0',
5+
version='1.12.1',
66
url='http://github.com/CitrineInformatics/gemd-python',
77
description="Python binding for Citrine's GEMD data model",
88
author='Citrine Informatics',
@@ -19,7 +19,7 @@
1919
},
2020
install_requires=[
2121
"toolz>=0.10.0,<1",
22-
"pint>=0.13,<0.20.0",
22+
"pint>=0.13,<0.21",
2323
"deprecation>=2.0.7,<3"
2424
],
2525
extras_require={

0 commit comments

Comments
 (0)