the issue you are facing is due to pulp-file, you have to pin it to a version < 1.9 pulp-file 1.9.1 requires pulpcore 3.15
Best regards, Fabricio Aguiar Software Engineer, Pulp Project Red Hat Brazil - Latam <https://www.redhat.com/> +55 22 999000595 On Fri, Sep 3, 2021 at 1:20 PM Bin Li (BLOOMBERG/ 120 PARK) < bli...@bloomberg.net> wrote: > We'd like to use python 3.8 instead of 3.7 during the migration from 3.7 > to 3.14 and we got the errors below with pulp_installer. > > The current pulp 3.7 is installed in /opt/utils/venv/pulp/3.7.3. If I pip > install pulpcore and all plugins with python 3.8 first before running > python_installer, I don't see this errors. What is the correct way to > migrate an older release to a newer with a new python version? > > fatal: [pulp-t3]: FAILED! => {"changed": false, "cmd": > ["/opt/utils/venv/pulp/3.8.8/bin/pip-compile", "-P", "pulp-file", "-P", > "pulp-rpm"], "delta": "0:00:03.500102", "end": "2021-09-03 > 12:11:01.748991", "failed_when_result": true, "msg": "non-zero return > code", "rc": 2, "start": "2021-09-03 12:10:58.248889", "stderr": "Could not > find a version that matches pulpcore<3.17,==3.14.4,>=3.15.0 (from > pulp-file==1.9.1)\nTried: 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, > 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.3.1, 3.3.1, 3.4.0, > 3.4.0, 3.4.1, 3.4.1, 3.5.0, 3.5.0, 3.6.0, 3.6.0, 3.6.1, 3.6.1, 3.6.2, > 3.6.2, 3.6.3, 3.6.3, 3.6.4, 3.6.4, 3.6.5.post1, 3.6.5.post1, 3.6.5.post2, > 3.6.5.post2, 3.7.0, 3.7.0, 3.7.1, 3.7.1, 3.7.2, 3.7.2, 3.7.3, 3.7.3, 3.7.4, > 3.7.4, 3.7.5, 3.7.5, 3.7.5.post0, 3.7.5.post0, 3.7.6, 3.7.6, 3.7.7, 3.7.7, > 3.7.8, 3.7.8, 3.8.0, 3.8.0, 3.8.1, 3.8.1, 3.9.0, 3.9.0, 3.9.1, 3.9.1, > 3.10.0, 3.10.0, 3.11.0, 3.11.0, 3.11.0.post0, 3.11.0.post0, 3.11.1, 3.11.1, > 3.11.2, 3.11.2, 3.12.0, 3.12.0, 3.12.1, 3.12.1, 3.12.2, 3.12.2, 3.13.0, > 3.13.0, 3.14.0, 3.14.0, 3.14.1, 3.14.1, 3.14.2, 3.14.2, 3.14.3, 3.14.3, > 3.14.4, 3.14.4, 3.14.5, 3.14.5, 3.14.6, 3.14.6, 3.15.0, 3.15.0, 3.15.1, > 3.15.1, 3.15.2, 3.15.2\nSkipped pre-versions: 3.0.0b1, 3.0.0b1, 3.0.0b2, > 3.0.0b2, 3.0.0b3, 3.0.0b3, 3.0.0b4, 3.0.0b4, 3.0.0b5, 3.0.0b5, 3.0.0b6, > 3.0.0b6, 3.0.0b7, 3.0.0b7, 3.0.0b8, 3.0.0b8, 3.0.0b9, 3.0.0b9, 3.0.0b10, > 3.0.0b10, 3.0.0b11, 3.0.0b11, 3.0.0b12, 3.0.0b12, 3.0.0b13, 3.0.0b13, > 3.0.0b14, 3.0.0b14, 3.0.0b15, 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, > 3.0.0b18, 3.0.0b18, 3.0.0b19, 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, > 3.0.0b21, 3.0.0b22, 3.0.0b22, 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, > 3.0.0rc2, 3.0.0rc2, 3.0.0rc3, 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, > 3.0.0rc5, 3.0.0rc6, 3.0.0rc6, 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, > 3.0.0rc9, 3.0.0rc9\nThere are incompatible versions in the resolved > dependencies:\n pulpcore==3.14.4 (from -r requirements.in (line 1))\n > pulpcore<3.17,>=3.15.0 (from pulp-file==1.9.1)\n pulpcore<3.17,>=3.15.0 > (from pulp-rpm==3.15.0)", "stderr_lines": ["Could not find a version that > matches pulpcore<3.17,==3.14.4,>=3.15.0 (from pulp-file==1.9.1)", "Tried: > 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, > 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.3.1, 3.3.1, 3.4.0, 3.4.0, 3.4.1, 3.4.1, > 3.5.0, 3.5.0, 3.6.0, 3.6.0, 3.6.1, 3.6.1, 3.6.2, 3.6.2, 3.6.3, 3.6.3, > 3.6.4, 3.6.4, 3.6.5.post1, 3.6.5.post1, 3.6.5.post2, 3.6.5.post2, 3.7.0, > 3.7.0, 3.7.1, 3.7.1, 3.7.2, 3.7.2, 3.7.3, 3.7.3, 3.7.4, 3.7.4, 3.7.5, > 3.7.5, 3.7.5.post0, 3.7.5.post0, 3.7.6, 3.7.6, 3.7.7, 3.7.7, 3.7.8, 3.7.8, > 3.8.0, 3.8.0, 3.8.1, 3.8.1, 3.9.0, 3.9.0, 3.9.1, 3.9.1, 3.10.0, 3.10.0, > 3.11.0, 3.11.0, 3.11.0.post0, 3.11.0.post0, 3.11.1, 3.11.1, 3.11.2, 3.11.2, > 3.12.0, 3.12.0, 3.12.1, 3.12.1, 3.12.2, 3.12.2, 3.13.0, 3.13.0, 3.14.0, > 3.14.0, 3.14.1, 3.14.1, 3.14.2, 3.14.2, 3.14.3, 3.14.3, 3.14.4, 3.14.4, > 3.14.5, 3.14.5, 3.14.6, 3.14.6, 3.15.0, 3.15.0, 3.15.1, 3.15.1, 3.15.2, > 3.15.2", "Skipped pre-versions: 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, > 3.0.0b3, 3.0.0b3, 3.0.0b4, 3.0.0b4, 3.0.0b5, 3.0.0b5, 3.0.0b6, 3.0.0b6, > 3.0.0b7, 3.0.0b7, 3.0.0b8, 3.0.0b8, 3.0.0b9, 3.0.0b9, 3.0.0b10, 3.0.0b10, > 3.0.0b11, 3.0.0b11, 3.0.0b12, 3.0.0b12, 3.0.0b13, 3.0.0b13, 3.0.0b14, > 3.0.0b14, 3.0.0b15, 3.0.0b15, 3.0.0b16, 3.0.0b16, 3.0.0b17, 3.0.0b18, > 3.0.0b18, 3.0.0b19, 3.0.0b19, 3.0.0b20, 3.0.0b20, 3.0.0b21, 3.0.0b21, > 3.0.0b22, 3.0.0b22, 3.0.0b23, 3.0.0b23, 3.0.0rc1, 3.0.0rc1, 3.0.0rc2, > 3.0.0rc2, 3.0.0rc3, 3.0.0rc3, 3.0.0rc4, 3.0.0rc4, 3.0.0rc5, 3.0.0rc5, > 3.0.0rc6, 3.0.0rc6, 3.0.0rc7, 3.0.0rc7, 3.0.0rc8, 3.0.0rc8, 3.0.0rc9, > 3.0.0rc9", "There are incompatible versions in the resolved dependencies:", > " pulpcore==3.14.4 (from -r requirements.in (line 1))", " > pulpcore<3.17,>=3.15.0 (from pulp-file==1.9.1)", " pulpcore<3.17,>=3.15.0 > (from pulp-rpm==3.15.0)"], "stdout": "", "stdout_lines": []} > > > > _______________________________________________ > Pulp-list mailing list > Pulp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pulp-list
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://listman.redhat.com/mailman/listinfo/pulp-list