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

publish libraries to pypi #39

Open
zaro0508 opened this issue Nov 7, 2019 · 3 comments
Open

publish libraries to pypi #39

zaro0508 opened this issue Nov 7, 2019 · 3 comments

Comments

@zaro0508
Copy link

zaro0508 commented Nov 7, 2019

We are building a jumpcloud CLI on top of the jcapi-python libraries. Our app contains dependencies to your libraries in setup.py. The jcapi-python dependencies will install fine from a local checkout however it will fail when installing directly from pypi with error message ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI. The problem is that the jcapi-python libraries have not been deployed to pypi. As per pip issue pypa/pip#6301 the only fix for this is to deploy your jcapi-python libraries to pypi. Would it be possible for you guys to deploy both versions (v1 and v2) of this library to pypi?

instaling from local checkout works fine:

git clone https://github.com/Sage-Bionetworks/jccli.git
cd jccli
pip install .

➜  pip freeze
certifi==2019.9.11
Click==7.0
jcapiv1==3.3.0
jcapiv2==3.3.0
jccli==0.0.5
python-dateutil==2.8.1
PyYAML==5.1.2
six==1.13.0
urllib3==1.25.6

however installing directly from pypi fails:

➜  pip install jccli
Collecting jccli
  Downloading https://files.pythonhosted.org/packages/62/a2/22100582d8c3299772ea11acdff21f04753f490bf2d2908214323958fa5d/jccli-0.0.5.tar.gz
ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
jccli depends on jcapiv1@ git+https://github.com/TheJumpCloud/[email protected]#subdirectory=jcapiv1
@zaro0508
Copy link
Author

hello jumpcloud, do you plan to do any work on this request?

@QuingKhaos
Copy link

Oh yes, even when autogenerated, if you create SDKs for your APIs, please publish them to the usual package managers.

@cvvs
Copy link

cvvs commented May 11, 2021

Why aren't these published to pypi? It's been well over a year, and I shouldn't have to install git in a bot container just to pull a dependency.

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

No branches or pull requests

3 participants