Closed khider closed 6 years ago
@khider I added specific, working, versions of the package dependencies to setup.py. If you update to LiPD 0.2.5.7, it will have the fixes and should work fine. I tested it in a new environment and it imported.
After fighting for most of the morning with spyder, which is no longer compatible with the latest PyQT5, I was forced to go back to pyqt5-5.9.2. Since a lot of our users are going to be using Spyder or Jupyter Notebook, I suggest you block the LiPD version to 5.9.2 as well to prevent automatic upgrade.
LiPD will only install PyQt5 v5.9 if it needs to. Could another package be updating it?
install_requires=[
"bagit==1.5.4",
"demjson==2.2.4",
"xlrd==1.1.0",
"numpy==1.13.1",
"pandas==0.20.3",
"requests==2.18.4",
"sip==4.19.3",
"PyQt5==5.9",
],
Did you check numpy? This is the first warning I get.
These are the versions I have on my computer now and it's working: bagit: 1.7.0 demjson: 2.2.4 xlrd: 1.1.0 numpy: 1.15.0 pandas: 0.23.3 requests: 2.19.1 sip: 4.19.8 PyQT5: 5.9.2
If those are working I'll increase the version requirements. My list was what I had on my working version so I thought we could start there.
I need to do some testing on Pyleoclim because it may no longer be compatible with the latest numpy (floats are no longer permitted as indexes and I wasn't stringent on that rule.). Also, note that numpy 1.16 will drop compatibility with Python 3.4 and numpy 1.17 will drop compatibility with 2.7.
That's fine. We can stick to 1.15.0 in the requirements.