"Some externally hosted files were ignored" issue while running pip

Bug #1299678 reported by Mike Scherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Mike Scherbakov

Bug Description

Following Development Documentation: 4.2. Setup for Nailgun Unit Tests at http://docs.mirantis.com/fuel-dev/develop/env.html#setup-for-nailgun-unit-tests, there is
5. pip install -r test-requirements.txt
which fails for me with the following error message:

...
Downloading/unpacking argparse==1.2.1 (from -r nailgun/requirements.txt (line 4))
  Could not find a version that satisfies the requirement argparse==1.2.1 (from -r nailgun/requirements.txt (line 4)) (from versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 1.0.1, 1.0, 1.1)
  Some externally hosted files were ignored (use --allow-external to allow).

To resolve an issue, command line option "--allow-all-external" can be provided to pip:
pip install --allow-all-external -r nailgun/test-requirements.txt

Tags: docs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/83996
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=e82530cfb7390d616226b5e9d8397d8168cd4d0c
Submitter: Jenkins
Branch: master

commit e82530cfb7390d616226b5e9d8397d8168cd4d0c
Author: Mike Scherbakov <email address hidden>
Date: Sun Mar 30 08:41:35 2014 +0400

    --allow-all-external is required for pip

    At least one of the packages, argparse, is currently can't
    be installed by simple 'pip install argparse==1.2.1'. To be
    able to install it from external sources, --allow-all-external
    option to pip can be used

    Change-Id: Ib7199dca14b9bf471fb986b3ef4b805d22372a09
    Closes-Bug: #1299678

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

Other bug subscribers

Remote bug watches

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