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

pulp-npm currently doesn't install, still reporting requirements pulpcore>=3.11,<3.13 #188

Open
gpavinteractiv opened this issue Jun 27, 2022 · 2 comments

Comments

@gpavinteractiv
Copy link

gpavinteractiv commented Jun 27, 2022

Version
pulp_installer 3.20.0
pulpcore 3.20
pulp_npm Release 0.1.0a3

Describe the bug
pulp installation with ansible, with pulp-npm plugin selected, fails at requirements check : pulpcore~=3.20 & pulpcore>=3.11,<3.13

According to the following link, plugins need to be updated/released with new requirements : https://discourse.pulpproject.org/t/pulpore-3-20-planned-for-june-21st/465/8

The 3.20 is now available on PyPI, however it requires every plugin to release a compatible release. 
Pulpcore 3.25 is the next "plugin API breaking changes release, 
so all plugins should likely declare their compatibility as pulpcore>=3.20,<3.25.

Plugins could also declare older compatibility if that’s truly the case, 
but the forward compatibility should definitely be through 3.24.
@gpavinteractiv gpavinteractiv changed the title pulp-npm currently doesn't install has still reporting requirements pulpcore>=3.11,<3.13 pulp-npm currently doesn't install, still reporting requirements pulpcore>=3.11,<3.13 Jun 27, 2022
@mdellweg
Copy link
Member

We just released pulp_npm 0.1.0a4, can you recheck and close this issue?

@gpavinteractiv
Copy link
Author

gpavinteractiv commented Jun 28, 2022

Install through pip still fails.
Pip is still pulling 0.1.0a3, even though the release was made 13h ago and visible on pypi.org :

Collecting pulp-npm
  Downloading pulp_npm-0.1.0a3-py3-none-any.whl (32 kB)

pulp_install with ansible fails similarly 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))"
  • If I edit that task to not fail (ignore_error: yes)
  • and do a manual install of the pulp-npm .whl package with pip
  • Then pulp ansible installation works for me

To be noted, strangely, pip does not report distribution (ERROR: No matching distribution found) for pulp-npm :

[ansible@vs-inf-prd-plp-fr-501 ~]$ /usr/local/lib/pulp/bin/pip index versions pulp-rpm
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
pulp-rpm (3.17.6)
Available versions: 3.17.6, 3.17.5, 3.17.4, 3.17.3, 3.17.2, 3.17.1, 3.16.2, 3.16.1, 3.16.0, 3.15.0, 3.14.15, 3.14.14, 3.14.13, 3.14.12, 3.14.11, 3.14.10, 3.14.9, 3.14.8, 3.14.7, 3.14.6, 3.14.5, 3.14.4, 3.14.3, 3.14.2, 3.14.1, 3.14.0, 3.12.0, 3.11.4, 3.11.3, 3.11.2, 3.11.1, 3.11.0, 3.10.0, 3.9.1, 3.9.0, 3.8.0, 3.7.0, 3.6.3, 3.6.2, 3.6.1, 3.6.0, 3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.2, 3.3.1, 3.3.0, 3.2.0, 3.1.0, 3.0.0
  INSTALLED: 3.17.6
  LATEST:    3.17.6


[ansible@vs-inf-prd-plp-fr-501 ~]$ /usr/local/lib/pulp/bin/pip index versions pulp-npm
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
ERROR: No matching distribution found for pulp-npm

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

2 participants