Closed ctroupin closed 3 years ago
This may be a sqlalchemy version issue.
I'm sorry that we have not maintained the requirements.txt file for pip. But see: #30 -- that may be the issue.
Take a look at the conda_requirements file in the develop branch for finer grained version specs.
We've also been testing with Python 3.8, which probably doesn't matter, but you never know.
A PR for a working requirements.txt file would be great.
Thanks, I'll check that, makes sense. Also OK to switch back to python3.8 (initially started with 3.8, then tried 3.7), even if it's minor.
BTW: we are freezing development on tthe OIlLibrary in favor of:
https://github.com/NOAA-ORR-ERD/adios_oil_database
Which is not quite ready for integration with GNOME, but will be the way of the future.
-CHB
OK, so here is the requirements.txt
I use to make it work:
numpy>=1.16.*
scipy>=0.18.1
SQLAlchemy<1.4
zope.sqlalchemy<=1.1
awesome-slugify>=1.6.5
pytest>=2.9.2
backports.functools_lru_cache>=1.5
pytest
gitpython
backports.functools_lru_cache
https://github.com/NOAA-ORR-ERD/PyNUCOS/archive/v2.5.5.tar.gz
future
I set SQLAlchemy<1.4
following #30 and zope.sqlalchemy<=1.1
to ensure ZopeTransactionExtension
is still there.
Probably you can close this issue, and I can PR this new requirements.txt
.
A PR would be great, thanks!
Hello,
I'm trying to install
OilLibrary
, here is what I've done (all in a virtualenv withpython3.7
):I use
pip install
in order to avoid mixing withconda
(other packages were installed viapip
), though I don't think that's the origin of the problem. Thepip install
went without errors.python setup.py install
gives this error:I see here that:
What I've tried
I've tried changing:
into
but that lead to other issues.
Also tried to force the installation of
zope.sqlalchemy==1.1
to use a version that still has theZopeTransactionExtension
, but also other errors came.