Skip to content

Cannot install versions 1.3.4 or 1.3.5 if no-binary=:all: has been specified #251

Closed

Description

@moggers87

A wheel has been uploaded for 1.3.4 and 1.3.5, but not the sdists. If no-binary=:all: has been set in pip.conf or specified on the command line, pip will refuse to install anything later than nodenev 1.3.3.

A simple to solution is to upload both the wheel and the sdist rather than just one or the other.

Example pip output:

$ pip install --no-binary=:all: nodeenv==1.3.5
Collecting nodeenv==1.3.5
  Could not find a version that satisfies the requirement nodeenv==1.3.5 (from versions: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.13.5, 0.13.6, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3)
No matching distribution found for nodeenv==1.3.5
$ pip install --no-binary=:none: nodeenv==1.3.5
Collecting nodeenv==1.3.5
  Downloading https://files.pythonhosted.org/packages/08/43/86ff33286c83f7b5e8903c32db01fe122c5e8a9d8dc1067dcaa9be54a033/nodeenv-1.3.5-py2.py3-none-any.whl
Installing collected packages: nodeenv
Successfully installed nodeenv-1.3.5

Activity

  1. fredvd commented on Mar 27, 2020

    @fredvd

    We experienced this issue at a site where a pypi-mirror behind a firewall was used where the mirror which only accepts source distributions of packages, so the latest 1.3.5 'binary only' release would not be available at all.

  2. jgoldschrafe commented on Aug 17, 2020

    @jgoldschrafe

    I'm experiencing this as well, where I can't build a Homebrew package using this as a source because of the wheel-only publishing.

  3. chenrui333 commented on Aug 23, 2020

    @chenrui333

    Any update on this?

  4. ekalinin commented on Aug 23, 2020

    @ekalinin
    Owner

    Fixed. Please, check.

  5. chenrui333 commented on Aug 23, 2020

    @chenrui333

    Thanks @ekalinin!!

  6. ekalinin commented on Aug 23, 2020

    @ekalinin
    Owner

    Thanks all for patience and sorry for delay.

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

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