SPARQL-Anything / PySPARQL-Anything

The SPARQL Anything Python library
Apache License 2.0
13 stars 2 forks source link

dependencies should be setup more flexible #18

Closed seebi closed 2 months ago

seebi commented 6 months 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 6 months 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 6 months 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 6 months ago

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