Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The npm plugin is currently incompatible with dispatch call of pulpcore >= 3.15 #131

Closed
fao89 opened this issue Nov 15, 2021 · 6 comments
Closed

Comments

@fao89
Copy link
Member

fao89 commented Nov 15, 2021

Author: @mdellweg (mdellweg)

Redmine Issue: 9533, https://pulp.plan.io/issues/9533


None

@stale
Copy link

stale bot commented May 24, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@stale stale bot added the stale label May 24, 2022
@gpavinteractiv
Copy link

I currently can not install pulp-npm with ansible,

  • If i try to install it concurrently with pulp-rpm, there is a pulpcore version requirement mutual exclusion from both pugins
  • It I try to install it alone, pulp_installer fails a bit further by complaining about other modules still requiring pulpcore ~=3.20

Is there a workaround ?

@stale
Copy link

stale bot commented Jun 27, 2022

This issue is no longer marked for closure.

@stale stale bot removed the stale label Jun 27, 2022
@mdellweg
Copy link
Member

Some version churn was expected around pulpcore 3.20. Please follow this thread to see the plugins landing with 3.20 compatibility releases: https://discourse.pulpproject.org/t/pulpore-3-20-planned-for-june-21st/465

The issue described in this issue however is fixed by 15637f6. The bugtracking got confused by moving the issue, it seems.

@fao89
Copy link
Member Author

fao89 commented Jun 27, 2022

I currently can not install pulp-npm with ansible,

  • If i try to install it concurrently with pulp-rpm, there is a pulpcore version requirement mutual exclusion from both pugins
  • It I try to install it alone, pulp_installer fails a bit further by complaining about other modules still requiring pulpcore ~=3.20

Is there a workaround ?

try:

pulp_install_plugins:
  pulp-npm:
    git_url: "https://github.com/pulp/pulp_npm"
    git_revision: "main"

@gpavinteractiv
Copy link

Thank you, I tried this but the playbook still fails at :

TASK [pulp.pulp_installer.pulp_common : Run pip-compile to check pulpcore/plugin compatibility] ********************************************************************************************************************************
task path: /home/ansible/.ansible/collections/ansible_collections/pulp/pulp_installer/roles/pulp_common/tasks/preflight_function.yml:36
        "There are incompatible versions in the resolved dependencies:",
        "  pulpcore~=3.20.0 (from -r requirements.in (line 1))",
        "  pulpcore<3.22,>=3.16.0 (from pulp-rpm==3.17.6->-r requirements.in (line 3))",
        "  pulpcore<3.13,>=3.11 (from pulp-npm==0.1.0a3->-r requirements.in (line 2))"

I managed to work around this by ignore_error that task and manually install the .whl of the new plup-npm release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants