SPARQL-Anything / PySPARQL-Anything

The SPARQL Anything Python library
Apache License 2.0
10 stars 0 forks source link

dependencies should be setup more flexible #18

Open seebi opened 1 month ago

seebi commented 1 month ago

I suggest to specify the dependencies here

https://github.com/SPARQL-Anything/PySPARQL-Anything/blob/main/pyproject.toml#L34

more relaxed, in order to use your library more easy in other projects.

See also -> caret notification: https://python-poetry.org/docs/dependency-specification/#caret-requirements

MarcoR1791 commented 1 month ago

Hi Sebastian,

Thank you for your suggestion! We had encountered the same problem while preparing a Colab demo for PySPARQL.

When it comes to determining the range of the dependency to specify, do you have any specific methods in mind? Or must it be a trial and error process?

seebi commented 1 month ago

Most of the python packages adhere to semantic versioning so it should be save to use ^X where X is the latest major version.

seebi commented 1 month ago

Maybe lets discuss this on the demo and poster session :-)