Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails for non-released dependencies #42

Closed
terhorstd opened this issue Nov 3, 2020 · 5 comments
Closed

Install fails for non-released dependencies #42

terhorstd opened this issue Nov 3, 2020 · 5 comments

Comments

@terhorstd
Copy link

The installation as stated in the README breaks:

$ pip install fairgraph
Collecting fairgraph==0.5.1
  Downloading fairgraph-0.5.1.tar.gz (71 kB)
     |████████████████████████████████| 71 kB 2.5 MB/s 
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
fairgraph depends on openid_http_client@ git+https://github.com/HumanBrainProject/openid_http_client.git#subdirectory=openid_http_client 
@apdavison
Copy link
Member

apdavison commented Nov 3, 2020

thanks Dennis. I'm aware of this problem, which is due to a change in pip.

The workaround, if I remember correctly, is to install the relevant dependencies beforehand.

@terhorstd
Copy link
Author

Ah, thanks, Andrew!
I filed an issue against openid_http_client anyway to have the software stack properly installable.

@xgui3783
Copy link

pyxus also seems to be one of these dep?

@apdavison
Copy link
Member

It is, but pyxus and openid_http_client are needed only for access to KG version 2, so they will be going away as dependencies in a few months once the migration is complete. I've spoken to the KG team about releasing kg-core-python on PyPI, and they said they will prioritise that.

I've removed the non-pip-installable dependencies from setup.py in the latest release, so "pip install fairgraph" works again, and I've updated the installation instructions to make it clear you need to install kg-core-python from Github.

@apdavison
Copy link
Member

I will also make pyxus and openid_http_client optional dependencies, so that people who only want to access KG v3 don't need to install them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants