Project

Profile

Help

Issue #4677

closed

pip installing a package fails

Added by CodeHeeler over 3 years ago. Updated almost 2 years ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Python:
Platform Release:
3.0.0
Target Release - Python:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 51
Quarter:

Description

(foo) [vagrant@pulp3-source-fedora28 ~]$ pip install --trusted-host localhost -i localhost:8080/pulp/content/foo/simple/ pulpcore
Collecting pulpcore
  Url 'localhost:8080/pulp/content/foo/simple/pulpcore/' is ignored. It is either a non-existing path or lacks a specific scheme.
  Could not find a version that satisfies the requirement pulpcore (from versions: )
No matching distribution found for pulpcore
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

If you try to download the file itself, you get a 200 OK

(foo) [vagrant@pulp3-source-fedora28 ~]$ http localhost:8080/pulp/content/foo/pulpcore-3.0.0b23-py3-none-any.whl
HTTP/1.1 200 OK

Related issues

Related to Python Support - Test #4682: Test to ensure pip installing a package worksMODIFIEDActions
Actions #1

Updated by CodeHeeler over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to CodeHeeler
  • Triaged changed from No to Yes
Actions #2

Updated by CodeHeeler over 3 years ago

  • Sprint set to Sprint 51

Added by CodeHeeler over 3 years ago

Revision bb3de73f

Fix relative_path so pip can install packages

Add trailing slash to relative path so packages are at expected location. Also update docs to include $CONTENT_ADDR as this now differs from $BASE_ADDR for our content app.

fixes #4677 https://pulp.plan.io/issues/4677

Actions #3

Updated by CodeHeeler over 3 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #4

Updated by bmbouter over 3 years ago

  • Tags deleted (Pulp 3)
Actions #5

Updated by kersom over 3 years ago

  • Related to Test #4682: Test to ensure pip installing a package works added
Actions #6

Updated by dalley almost 2 years ago

  • Platform Release set to 3.0.0

Also available in: Atom PDF