six > 1.4.1 is only being mirrored as wheels

Bug #1276242 reported by Jeremy Stanley
30
This bug affects 8 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
High
Cyril Roelandt

Bug Description

The global-requirements.txt in the master branch of the openstack/requirements project currently specifies six>=1.4.1 and https://pypi.python.org/simple/six/ includes directly-hosted downloads for...

    six-1.4.1.tar.gz
    six-1.5.0.tar.gz
    six-1.5.1.tar.gz
    six-1.5.2.tar.gz

...which should match this. However, http://pypi.openstack.org/openstack/six/ only has...

    six-1.4.1.tar.gz
    six-1.5.1-py2.py3-none-any.whl
    six-1.5.2-py2.py3-none-any.whl

...matching the requirement (no tarballs after 1.4.1). This came to light when https://review.openstack.org/68424 got approved and none of the changes behind it in the gate could find a matching version because they're still run with an old enough pip so as to need a separate --use-wheel command-line option.

Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

So, two possibilities:

1) the tarballs are not mirrored on purpose because wheels are somehow better, which means pip should be updated or the '--use-wheel' option should be passed to it;
2) the tarballs should be mirrored

I think it's 2 :)

I've taken a look at "modules/openstack_project/files/pypi-mirror.yaml" and "modules/openstack_project/files/jenkins_job_builder/config/macros.yaml", but can't find an obvious error. Maybe it's an issue with the run-mirror script ?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to pypi-mirror (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74579

Changed in openstack-ci:
assignee: nobody → Cyril Roelandt (cyril-roelandt)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to elastic-recheck (master)

Reviewed: https://review.openstack.org/75913
Committed: https://git.openstack.org/cgit/openstack-infra/elastic-recheck/commit/?id=a305e291b64f04b86c861386504347dd9cd635fc
Submitter: Jenkins
Branch: master

commit a305e291b64f04b86c861386504347dd9cd635fc
Author: Sean Dague <email address hidden>
Date: Mon Feb 24 11:25:17 2014 -0500

    add query for six issue

    Related-Bug: #1276242

    Change-Id: I2fa8b6cc1cca68d2680b3810d60ce9fb94995c32

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pypi-mirror (master)

Reviewed: https://review.openstack.org/74579
Committed: https://git.openstack.org/cgit/openstack-infra/pypi-mirror/commit/?id=0de0e10e753d00f9440a7eb9b5699a3e5a167ede
Submitter: Jenkins
Branch: master

commit 0de0e10e753d00f9440a7eb9b5699a3e5a167ede
Author: Cyril Roelandt <email address hidden>
Date: Wed Feb 19 04:06:48 2014 +0100

    Do not download wheels when running "pip install"

    Virtualenv has recently been upgraded to 1.11, which comes with pip 1.5. In
    this version of pip, if 'pip install' can find a wheel, it downloads it instead
    of the tar.gz. This is an issue since the version of pip used in the gates can
    still be too old to work with wheels by default.

    Use '--no-use-wheel' in the 'pip install' command to fix this.

    Closes-Bug: #1276242
    Change-Id: I00a32b3abd3b08703f66834ae30e6c4b0cf7bd7d

Changed in openstack-ci:
status: In Progress → Fix Committed
Changed in openstack-ci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.