gyorilab / indra_db

A Database-based knowledge back-end built on and for INDRA. The INDRA Database is a service that can be set up by any user with their own content and knowledge access. Our implementation of the database is the back-end to many of our projects, providing a vast and detailed knowledge base derived from many resources.
GNU General Public License v3.0
16 stars 10 forks source link

Limit sqlalchemy version #189

Closed bgyori closed 3 years ago

bgyori commented 3 years ago

This line: https://github.com/indralab/indra_db/blob/master/indra_db/databases.py#L58 is not compatible with SQLAlchemy 1.4, it appears the _extra_froms property was removed starting with that version. This PR adds a simple limit to the setup to make sure the latest compatible version of SQLAlchemy is installed.

bgyori commented 3 years ago

This worked well when used in the Docker image so I'll merge it.