-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I don't know if you've come across this yet, but I think the following breaking change to pint is also responsible for your broken unittests:
You can be reasonably sure because the last test that succeeds (794) shows:
Successfully installed pint-0.18
while the first to break shows:
Successfully installed pint-0.19.1
In addition, the stacktrace shows this is happening while unpickling solar_13.p:
File "C:\Users\jenkins\workspace\CE_gpkit_Push_unit_tests\buildnode\windows10x64\optimizer\cvxopt\docs\source\examples\breakdowns.py", line 11, in <module>
sol = pickle.load(open(dirpath+"solar_13.p", "rb"))
File "C:\Users\jenkins\workspace\CE_gpkit_Push_unit_tests\buildnode\windows10x64\optimizer\cvxopt\venv_jenkins\lib\site-packages\pint\util.py", line 429, in __setstate__
self._d, self._one, self._non_int_type = state
ValueError: too many values to unpack (expected 3)I haven't had a chance to look around the project much yet (I just started by trying to run the unittests), but it seems like the fix is maybe just to update rtd_requirements.txt to read:
pint == 0.18
adce
If/when I am confident, I can also submit a PR to that effect.
Metadata
Metadata
Assignees
Labels
No labels