Closed trappitsch closed 1 year ago
That's annoying. Let's do >=0.16.1,<0.21.0
while look at the our other options.
Py37 EOL is very soon (June 27 2023)
Looks here like percent
was actually introduced, that means we don't have to define it anymore from 0.21
on. From the merge of that PR and the release history, it seems like 0.21
was the first version to have this included... I prepare a PR with the proposed fix for now and once we drop 3.7
support, we can pin pint
accordingly.
Interesting! That's good to know, thanks for looking into that
Resolved #396
The current test suite seems to be failing, see #389 and #394. The issue seems to come from
pint
, the latestv0.21
was released on May 1, which was in between the last successful run of the suite and these new issues.Running tox on my system, all except the
py37
andpy37-numpy
envs fail.I tracked the culprit to this line in
units.py
:Removing that line (without understanding why we need it) makes the tests pass, but the
py37
suite fails now.We pinned
pint
so far to>=0.16.1
, however,pint
droppedPython 3.7
support officially after0.17
. Sinceik
has3.7
support, I propose for now to pin it to~=0.17.0
or alternativel to>=0.16.1,<0.21.0
. Ideas?