packit / dist-git-to-source-git

Converting dist-git to source-git
MIT License
4 stars 9 forks source link

can't satisfy PyPI dependencies for the worker: urllib3 and requests #123

Closed TomasTomecek closed 3 years ago

TomasTomecek commented 3 years ago
2020-11-11 08:00:27.493122 | test-node | Successfully installed ansicolors-1.1.8 certifi-2020.11.8 chardet-3.0.4 copr-1.105 cssselect-1.1.0 decorator-4.4.2 gssapi-1.6.9 lxml-4.6.1 marshmallow-3.9.1 munch-2.5.0 prometheus-client-0.8.0 pyquery-1.4.1 python-pam-1.8.4 rebasehelper-0.23.1 requests-2.24.0 requests-gssapi-1.2.2 requests-toolbelt-0.9.1 rpm-py-installer-1.1.0 sentry-sdk-0.19.1 urllib3-1.26.0
2020-11-11 08:00:27.493129 | test-node |
2020-11-11 08:00:27.493134 | test-node |
2020-11-11 08:00:27.493139 | test-node |
2020-11-11 08:00:27.493144 | test-node | STDERR:
2020-11-11 08:00:27.493149 | test-node |
2020-11-11 08:00:27.493154 | test-node | WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
2020-11-11 08:00:27.493159 | test-node |
2020-11-11 08:00:27.502593 | test-node |
2020-11-11 08:00:27.502614 | test-node | TASK [Check if all pip packages have all dependencies installed] ***************
2020-11-11 08:00:27.502620 | test-node | task path: /src/install-deps-worker.yml:34
2020-11-11 08:00:28.674594 | test-node | fatal: [localhost]: FAILED! => {
2020-11-11 08:00:28.674643 | test-node |     "changed": true,
2020-11-11 08:00:28.674650 | test-node |     "cmd": [
2020-11-11 08:00:28.674655 | test-node |         "pip3",
2020-11-11 08:00:28.674659 | test-node |         "check"
2020-11-11 08:00:28.674664 | test-node |     ],
2020-11-11 08:00:28.674668 | test-node |     "delta": "0:00:00.807559",
2020-11-11 08:00:28.674673 | test-node |     "end": "2020-11-11 08:00:28.650210",
2020-11-11 08:00:28.674678 | test-node |     "rc": 1,
2020-11-11 08:00:28.674682 | test-node |     "start": "2020-11-11 08:00:27.842651"
2020-11-11 08:00:28.674687 | test-node | }
2020-11-11 08:00:28.674692 | test-node |
2020-11-11 08:00:28.674696 | test-node | STDOUT:
2020-11-11 08:00:28.674701 | test-node |
2020-11-11 08:00:28.674706 | test-node | requests 2.24.0 has requirement urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1, but you have urllib3 1.26.0.
jpopelka commented 3 years ago

https://github.com/psf/requests/issues/5654

TomasTomecek commented 3 years ago

thanks for the investigation

This will be resolved tomorrow in #5651.

Day off, then?

jpopelka commented 3 years ago

Or temporarily pin the urllib3 to < 1.26.0 if we desperately need it.

TomasTomecek commented 3 years ago

I guess we can wait till tomorrow

TomasTomecek commented 3 years ago

all works now

Successfully installed ansicolors-1.1.8 certifi-2020.11.8 chardet-3.0.4 copr-1.105 cssselect-1.1.0 decorator-4.4.2 gssapi-1.6.10 lxml-4.6.1 marshmallow-3.9.1 munch-2.5.0 prometheus-client-0.8.0 pyquery-1.4.1 python-pam-1.8.4 rebasehelper-0.23.1 requests-2.25.0 requests-gssapi-1.2.2 requests-toolbelt-0.9.1 rpm-py-installer-1.1.0 sentry-sdk-0.19.1 urllib3-1.26.1

TASK [Check if all pip packages have all dependencies installed] *****************************************************************************************************************************
task path: /src/install-deps-worker.yml:34
changed: [localhost] => {
    "changed": true,
    "cmd": [
        "pip3",
        "check"
    ],
    "delta": "0:00:00.788851",
    "end": "2020-11-12 10:04:51.790856",
    "rc": 0,
    "start": "2020-11-12 10:04:51.002005"
}

STDOUT:

No broken requirements found.