Project

Profile

Help

Issue #7382

pulp_installer pulp_install_plugins source_dir of VCS type not fully supported

Added by cmeyers 12 months ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

- name: Create requirements.in file to check pulpcore/plugin compatibility
  template:
    src: templates/requirements.in.j2
    dest: "{{ pulp_install_dir }}/requirements.in"

The pip-compile step shortly after this task in pulp_common fails to use VCS information.

pulp_install_plugins:
  pulp-container:
    source_dir: "git+https://github.com/{{ pulp_container_fork }}/pulp_container@{{ pulp_container_refspec }}#egg=pulp-container"
  pulp-ansible:
    source_dir: "git+https://github.com/{{ pulp_ansible_fork }}/pulp_ansible@{{ pulp_ansible_refspec }}#egg=pulp-ansible"
  galaxy-ng:
    source_dir: "git+https://github.com/{{ galaxy_ng_fork }}/galaxy_ng@{{ galaxy_ng_refspec }}#egg=galaxy-ng"

Associated revisions

Revision 85bd023d View on GitHub
Added by Chris Meyers 12 months ago

support per pulp_install_plugins source_dir vcs

Problem: The requirements.in file that pip-compile consumes only includes the package name and not the source_dir

Solution: Per pulp_install_plugins source_dir entries that are vcs are added to the pip-compile requirements.in so that the pip-compile line will have all the information available to decide if requirements and dependencies are met.

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

Revision 85bd023d View on GitHub
Added by Chris Meyers 12 months ago

support per pulp_install_plugins source_dir vcs

Problem: The requirements.in file that pip-compile consumes only includes the package name and not the source_dir

Solution: Per pulp_install_plugins source_dir entries that are vcs are added to the pip-compile requirements.in so that the pip-compile line will have all the information available to decide if requirements and dependencies are met.

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

History

#1 Updated by Anonymous 11 months ago

  • Status changed from NEW to MODIFIED

#2 Updated by ttereshc 10 months ago

  • Sprint/Milestone set to 3.8.0

#3 Updated by ttereshc 10 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF