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

Cannot collect pydes #15

Closed
conjmurph opened this issue Apr 27, 2021 · 4 comments
Closed

Cannot collect pydes #15

conjmurph opened this issue Apr 27, 2021 · 4 comments

Comments

@conjmurph
Copy link

conjmurph commented Apr 27, 2021

Is pydes configured in pypi properly? I'm failing to fetch the package. It seems some urls were changed in e988a5f but I don't see those reflected in pypi

Looking in indexes: https://pypi.lyft.net/pypi/, https://pypi.python.org/simple/
Collecting nfcpy==1.0.3
  Using cached nfcpy-1.0.3-py3-none-any.whl (186 kB)
Collecting libusb1
  Using cached libusb1-1.9.2-py3-none-any.whl (58 kB)
Collecting pydes
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x105879fa0>, 'Connection to whitemans.ca timed out. (connect timeout=15)')': /pyDES/pyDes-2.0.1.zip
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x105865130>, 'Connection to whitemans.ca timed out. (connect timeout=15)')': /pyDES/pyDes-2.0.1.zip
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x1058652b0>, 'Connection to whitemans.ca timed out. (connect timeout=15)')': /pyDES/pyDes-2.0.1.zip
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x105865430>, 'Connection to whitemans.ca timed out. (connect timeout=15)')': /pyDES/pyDes-2.0.1.zip
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x1058655b0>, 'Connection to whitemans.ca timed out. (connect timeout=15)')': /pyDES/pyDes-2.0.1.zip
ERROR: Could not install packages due to an EnvironmentError: HTTPConnectionPool(host='whitemans.ca', port=80): Max retries exceeded with url: /pyDES/pyDes-2.0.1.zip (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPConnection object at 0x105865730>, 'Connection to whitemans.ca timed out. (connect timeout=15)'))

WARNING: You are using pip version 20.2.3; however, version 21.1 is available.
You should consider upgrading via the '/Users/conormurphy/.pyenv/versions/3.9.0/envs/triangle-tool-3.9.0/bin/python3.9 -m pip install --upgrade pip' command.

Upgrading to pip 21.1 works fine, but I have a bazel repo pinned to an earlier version and it cannot collect this package.

@twhiteman
Copy link
Owner

twhiteman commented Apr 27, 2021

The website (whitemans.ca) is offline - I'll look to see if I can move it to just download from GitHub.

@toddw-as
Copy link
Collaborator

I could not find a way in pypi to tweak existing packages to move their distribution download location.

BTW - I've not been able to reproduce this - do you have the full pip command line available that you got this error from, for example this just works for me:

pip install --user --no-cache-dir nfcpy==1.0.3
...
Building wheels for collected packages: pydes
  Building wheel for pydes (setup.py) ... done
  Created wheel for pydes: filename=pyDes-2.0.1-py2.py3-none-any.whl size=9548 sha256=07ab734c13136ea1fa205b1bff4cb884fa29724b6f64e8d2fee37934c2a60dfb
  Stored in directory: /tmp/pip-ephem-wheel-cache-9lliHM/wheels/53/38/3c/f44d5738b87dbc4f95007af6899a9d07cc2f41ac737fa1fbe5
Successfully built pydes
Installing collected packages: pydes
Successfully installed pydes-2.0.1

$ pip --version
pip 20.3.4 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)

@conjmurph
Copy link
Author

@toddw-as looks like this was an issue with my own pypi server. Sorry for the disruption!

@twhiteman
Copy link
Owner

Great! Thanks for letting me know :)

Repository owner deleted a comment from amaresh-git-dev May 28, 2021
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