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

pendulum==2.0.4 update using --no-binary :all fails #303

Closed
bastbnl opened this issue Oct 31, 2018 · 2 comments
Closed

pendulum==2.0.4 update using --no-binary :all fails #303

bastbnl opened this issue Oct 31, 2018 · 2 comments

Comments

@bastbnl
Copy link

bastbnl commented Oct 31, 2018

I'm trying to update pendulum on debian x86_64 using python 3.5.3 and I'm running to this error:

    Collecting requests<3.0,>=2.18 (from poetry>=0.12a3)
      Using cached https://files.pythonhosted.org/packages/97/10/92d25b93e9c266c94b76a5548f020f3f1dd0eb40649cb199353 2c0af8f4c/requests-2.20.0.tar.gz
    Collecting shellingham<2.0,>=1.1 (from poetry>=0.12a3)
      Using cached https://files.pythonhosted.org/packages/64/63/dfdeccf3e21765d005245b74ae9c53927df2ae8c6bcdf816814 48e934c50/shellingham-1.2.7.tar.gz
    Collecting tomlkit<0.5.0,>=0.4.4 (from poetry>=0.12a3)
      Using cached https://files.pythonhosted.org/packages/69/76/d2e1ee2672602792f14e4d79fabe175026c3574141aa40139d5 d5b66e66a/tomlkit-0.4.6.tar.gz
    Exception:
    Traceback (most recent call last):
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line  143, in main
        status = self.run(options, args)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/commands/install.py", line  318, in run
        resolver.resolve(requirement_set)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/resolve.py", line 102, in r esolve
        self._resolve_one(requirement_set, req)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/resolve.py", line 256, in _ resolve_one
        abstract_dist = self._get_abstract_dist_for(req_to_install)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/resolve.py", line 209, in _ get_abstract_dist_for
        self.require_hashes
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/operations/prepare.py", lin e 297, in prepare_linked_requirement
        with self.req_tracker.track(req):
      File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
        return next(self.gen)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/req/req_tracker.py", line 7 4, in track
        self.add(req)
      File "/var/www/brownpapersession/dev/env/lib/python3.5/site-packages/pip/_internal/req/req_tracker.py", line 4 6, in add
        % (link, fp.read()))
    LookupError: https://files.pythonhosted.org/packages/69/76/d2e1ee2672602792f14e4d79fabe175026c3574141aa40139d5d5 b66e66a/tomlkit-0.4.6.tar.gz#sha256=8f857398aefa2c6a488c824f1e7f757e73a4f68246f1874f9df5eb53903231de (from https://p ypi.org/simple/tomlkit/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*) is already being built: tomlkit <0.5.0,>=0.4.4 from https://files.pythonhosted.org/packages/69/76/d2e1ee2672602792f14e4d79fabe175026c3574141aa40139d 5d5b66e66a/tomlkit-0.4.6.tar.gz#sha256=8f857398aefa2c6a488c824f1e7f757e73a4f68246f1874f9df5eb53903231de (from poetry >=0.12)

    ----------------------------------------
  Command "/var/www/brownpapersession/dev/env/bin/python3 -m pip install --ignore-installed --no-user --prefix /var/ tmp/pip-build-env-doc6563q --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simp le -- poetry>=0.12a3" failed with error code 2 in None

  ----------------------------------------
Command "/var/www/brownpapersession/dev/env/bin/python3 -m pip install --ignore-installed --no-user --prefix /var/tm p/pip-build-env-fic8jk4f --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple  -- poetry>=0.12" failed with error code 1 in None

I'm using pip install -U pendulum --no-binary :all:

@hackacad
Copy link

hackacad commented Feb 11, 2019

Issue has been reported upstream (poetry)
python-poetry/poetry#760

@Secrus
Copy link
Collaborator

Secrus commented Aug 5, 2022

Given command seems to work fine on current versions of pip and python

@Secrus Secrus closed this as completed Aug 5, 2022
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