[6/8] RUN pip3 install -r ./requirements.txt:
#6 1.216 Collecting argcomplete==1.10.0
#6 1.435 Downloading argcomplete-1.10.0-py2.py3-none-any.whl (31 kB)
#6 1.567 Collecting PyYAML==5.4.1
#6 1.614 Downloading PyYAML-5.4.1.tar.gz (175 kB)
#6 1.692 ??????????????????????????????????????? 175.1/175.1 kB 2.2 MB/s eta 0:00:00
#6 1.803 Installing build dependencies: started
#6 5.431 Installing build dependencies: finished with status ’done’
#6 5.432 Getting requirements to build wheel: started
#6 5.624 Getting requirements to build wheel: finished with status ’error’
#6 5.631 error: subprocess-exited-with-error
#6 5.631
#6 5.631 x Getting requirements to build wheel did not run successfully.
#6 5.631 | exit code: 1
#6 5.631 ?-> [62 lines of output]
#6 5.631 running egginfo
#6 5.631 writing lib3/PyYAML.egg-info/PKG-INFO
#6 5.631 writing dependencylinks to lib3/PyYAML.egg-info/dependencylinks.txt
#6 5.631 writing top-level names to lib3/PyYAML.egg-info/toplevel.txt
#6 5.631 /tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/config/setupcfg.py:293: DeprecatedConfig: Deprecated config in `setup.cfg`
#6 5.631 !!
#6 5.631
#6 5.631 ******
#6 5.631 The licensefile parameter is deprecated, use licensefiles instead.
#6 5.631
#6 5.631 By 2023-Oct-30, you need to update your project and remove deprecated calls
#6 5.631 or your builds will no longer be supported.
#6 5.631
#6 5.631 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
#6 5.631 ******
#6 5.631
#6 5.631 !!
#6 5.631 parsed = self.parsers.get(optionname, lambda x: x)(value)
#6 5.631 Traceback (most recent call last):
#6 5.631 File “/usr/local/lib/python3.8/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py”, line 353, in
#6 5.631 main()
#6 5.631 File “/usr/local/lib/python3.8/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py”, line 335, in main
#6 5.631 jsonout[’returnval’] = hook(**hookinput[’kwargs’])
#6 5.631 File “/usr/local/lib/python3.8/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py”, line 118, in getrequiresforbuildwheel
#6 5.631 return hook(configsettings)
#6 5.631 File “/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/buildmeta.py”, line 355, in getrequiresforbuildwheel
#6 5.631 return self.getbuildrequires(configsettings, requirements=[’wheel’])
#6 5.631 File “/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/buildmeta.py”, line 325, in getbuildrequires
#6 5.631 self.runsetup()
#6 5.631 File “/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/buildmeta.py”, line 341, in runsetup
#6 5.631 exec(code, locals())
#6 5.631 File “”, line 271, in
#6 5.631 File “/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/_init.py“, line 103, in setup
#6 5.631 return distutils.core.setup(**attrs)
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/core.py“, line 185, in setup
#6 5.631 return runcommands(dist)
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/core.py“, line 201, in runcommands
#6 5.631 dist.runcommands()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/dist.py“, line 969, in runcommands
#6 5.631 self.runcommand(cmd)
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/dist.py“, line 989, in runcommand
#6 5.631 super().runcommand(command)
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/dist.py“, line 988, in runcommand
#6 5.631 cmdobj.run()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/command/egginfo.py“, line 318, in run
#6 5.631 self.findsources()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/command/egginfo.py“, line 326, in findsources
#6 5.631 mm.run()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/command/egginfo.py“, line 548, in run
#6 5.631 self.adddefaults()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/command/egginfo.py“, line 586, in adddefaults
#6 5.631 sdist.adddefaults(self)
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/command/sdist.py“, line 113, in adddefaults
#6 5.631 super().adddefaults()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/command/sdist.py“, line 251, in adddefaults
#6 5.631 self.adddefaultsext()
#6 5.631 File ”/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/command/sdist.py“, line 336, in adddefaultsext
#6 5.631 self.filelist.extend(buildext.getsourcefiles())
#6 5.631 File “”, line 201, in getsourcefiles
#6 5.631 File “/tmp/pip-build-env-0gbzfyst/overlay/lib/python3.8/site-packages/setuptools/distutils/cmd.py”, line 107, in _getattr
#6 5.631 raise AttributeError(attr)
#6 5.631 AttributeError: cythonsources
#6 5.631 [end of output]
#6 5.631
#6 5.631 note: This error originates from a subprocess, and is likely not a problem with pip.
#6 5.633 error: subprocess-exited-with-error
#6 5.633
#6 5.633 X Getting requirements to build wheel did not run successfully.
#6 5.633 | code: 1
#6 5.633 ?-> See above for output.
#6 5.633
#6 5.633 note: This error originates from a subprocess, and is likely not a problem with pip.
#6 5.636
#6 5.636 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
#6 5.636 [notice] To update, run: pip install –upgrade pip
process “/bin/sh -c pip3 install -r ./requirements.txt” did not complete successfully: exit code: 1
This error seems to be related to the PyYAML installation.
Cloudgoat throws an error during the Docker build process at Git commit c84bd70eb827a1a575754c9f20459a73f0f7a161
This error seems to be related to the PyYAML installation.