Skip to content

publish libraries to pypi #39

@zaro0508

Description

@zaro0508

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/jcapi-python.git@v3.3.0#subdirectory=jcapiv1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions