CLARIAH / grlc

grlc builds Web APIs using shared SPARQL queries
http://grlc.io
MIT License
137 stars 32 forks source link

Help me to install most fresh version #392

Closed ecow closed 1 year ago

ecow commented 1 year ago

Hi, I'm trying to install grlc using the pip method as reported in README.

It seems that Pip installs the 1.3.6 version that was updated about two years ago. How can I install the most updated safe version?

Sorry for this stupid question, but I'm a newbie to python

ecow commented 1 year ago

P.S. I'm using docker python:3.8.16

c-martinez commented 1 year ago

Hi @ecow -- version 1.3.7 is the most up-to-date version available on PyPI, unfortunately, at the time of release, it was only tested with Python 3.7, so it is restricted to Requires: Python >=3.7, <=3.8 (this means that with Python 3.8.16, you get 1.3.6).

There is already a PR which is tested up till Python version 3.9 (see #389, just merged into dev). Unfortunately this is not yet released. Hopefully we will make a new release soon.

In the mean time, you can install the latest version from the dev branch like this:

git clone --branch dev git@github.com:clariah/grlc.git 
cd grlc/
pip install .

I hope this helps!

c-martinez commented 1 year ago

This should also work:

pip install git+https://github.com/CLARIAH/grlc.git@dev#egg=grlc
ecow commented 1 year ago

Thank you!! It works like a charm