MI-FraunhoferIWM / data2rdf

About A generic pipeline that can be used to map raw data to RDF.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Relax requirements on dependecies #30

Closed yoavnash closed 5 months ago

yoavnash commented 7 months ago

The requirements on the dependencies are too strict. For example, SQLAlchemy must be v1.4.46 which is unsafe according to the safety tool.

The requirements should be relaxed by specifying allowed range of versions. See here an example: https://github.com/materials-marketplace/python-sdk/blob/main/setup.cfg#L22

deepukr007 commented 6 months ago

While adding data2rdf dependency to knowledge service , build is failing due to SQLAlchemy version conflict between knowledge service and data2rdf.

#0 7.276 The conflict is caused by:
#0 7.276     The user requested SQLAlchemy==2.0.25
#0 7.276     alembic 1.13.1 depends on SQLAlchemy>=1.3.0
#0 7.276     data2rdf 1.0.3 depends on sqlalchemy==1.4.46
#0 7.276 
#0 7.276 To fix this you could try to:
#0 7.276 1. loosen the range of package versions you've specified
#0 7.276 2. remove package versions to allow pip attempt to solve the dependency conflict