Skip to content
Snippets Groups Projects
Commit 855c4d8c authored by jpic ∞'s avatar jpic ∞ 💾
Browse files

Promote python-arch to python because of a late weird alpine error

Please open only merge request, not issue, if you care about that
change.

    Working around an alpine one

    Might be time to move old repos from yourlabs to yourlabs/python-arch or
    promote yourlabs/python-arch to yourlabs/python?

    RUN pip --no-cache install --upgrade -r /requirements.txt
    Collecting https://github.com/olivecoder/bunch/archive/master.tar.gz (from -r /requirements.txt (line 5))
      Downloading https://github.com/olivecoder/bunch/archive/master.tar.gz
         - 6.8 kB 138.0 kB/s 0:00:00
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'error'
      error: subprocess-exited-with-error

      × Getting requirements to build wheel did not run successfully.
      │ exit code: 1
      ╰─> [21 lines of output]
          Traceback (most recent call last):
            File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
              main()
            File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
              json_out['return_val'] = hook(**hook_input['kwargs'])
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
              return hook(config_settings)
                     ^^^^^^^^^^^^^^^^^^^^^
            File "/tmp/pip-build-env-0yw_4wis/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
              return self._get_build_requires(config_settings, requirements=['wheel'])
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/tmp/pip-build-env-0yw_4wis/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
              self.run_setup()
            File "/tmp/pip-build-env-0yw_4wis/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 488, in run_setup
              self).run_setup(setup_script=setup_script)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            File "/tmp/pip-build-env-0yw_4wis/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
              exec(code, locals())
            File "<string>", line 11, in <module>
          ValueError: invalid mode: 'rU'
          [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: process "/bin/sh -c pip --no-cache install --upgrade -r /requirements.txt" did not complete successfully: exit code: 1
    ------
     > [11/11] RUN pip --no-cache install --upgrade -r /requirements.txt:
          [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully.
    │ exit code: 1
    ╰─> See above for output.

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ------
    Dockerfile:18
    --------------------
      16 |     ADD requirements.txt /requirements.txt
      17 |     ARG CACHEBUST=1
      18 | >>> RUN pip --no-cache install --upgrade -r /requirements.txt
parent c75cb010
Loading
Checking pipeline status