Project

Profile

Help

Issue #4677

pip installing a package fails

Added by CodeHeeler 6 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version - Python:
Platform Release:
Blocks Release:
Target Release - Python:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 51

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 works NEW Actions

Associated revisions

Revision bb3de73f View on GitHub
Added by CodeHeeler 6 months ago

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

History

#1 Updated by CodeHeeler 6 months ago

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

#2 Updated by CodeHeeler 6 months ago

  • Sprint set to Sprint 51

#3 Updated by CodeHeeler 6 months ago

  • Status changed from ASSIGNED to MODIFIED

#4 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

#5 Updated by kersom 6 months ago

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

Please register to edit this issue

Also available in: Atom PDF