You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to use enum_tools.autoenum via conda installation, doctests fail due to a missing import.
Error message:
Extension error:
Could not import extension enum_tools.autoenum (exception:
NOTE: In order to use the FileCache you must have
filelock installed. You can install it via pip:
pip install cachecontrol[filecache]
)
Steps to Reproduce
We encountered this issue when adding enum_tools.autoenum to our documentation on Pyomo. The steps below assume you have cloned Pyomo and installed its deps via conda. You can see a real-life log of all steps in our GitHub actions workflows.
conda install enum_tools
make -C doc/OnlineDocs doctest -d
Actual result:
Error message:
Extension error:
Could not import extension enum_tools.autoenum (exception:
NOTE: In order to use the FileCache you must have
filelock installed. You can install it via pip:
pip install cachecontrol[filecache]
)
Expected result:
Doctests can run without having to also manually installing filelock.
Reproduces how often:
Always unless you manually run conda install filelock in addition to conda install enum_tools
Description
While attempting to use
enum_tools.autoenum
via conda installation, doctests fail due to a missing import.Error message:
Steps to Reproduce
We encountered this issue when adding
enum_tools.autoenum
to our documentation on Pyomo. The steps below assume you have cloned Pyomo and installed its deps via conda. You can see a real-life log of all steps in our GitHub actions workflows.Actual result:
Error message:
Expected result:
Doctests can run without having to also manually installing
filelock
.Reproduces how often:
Always unless you manually run
conda install filelock
in addition toconda install enum_tools
Version
Installation source
Anaconda/conda
Other Additional Information:
See this commit for code that will produce failure message: https://github.com/mrmundt/pyomo/tree/23bdbf7b76f674b5d437a3136387e28a84844086
See this commit for workaround implementing
filelock
: mrmundt/pyomo@d405bcbThe text was updated successfully, but these errors were encountered: