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

Build error with setuptools 0.68.0 #723

Closed
phillipuniverse opened this issue Jul 17, 2023 · 16 comments · Fixed by wizhaoredhat/ocp-traffic-flow-tests#13
Closed

Build error with setuptools 0.68.0 #723

phillipuniverse opened this issue Jul 17, 2023 · 16 comments · Fixed by wizhaoredhat/ocp-traffic-flow-tests#13

Comments

@phillipuniverse
Copy link

phillipuniverse commented Jul 17, 2023

I think this might be caused from an inadvertent upgrade in my system of virtualenv from 20.23.1 to 20.24.0, which included an upgrade of setuptools from 67.8 to 68.

This was with Alpine (and Python 3.11.4) but the problem seems to be setuptools 68:

  ChefBuildError

[2023-07-17T15:25:18.341Z]   Backend subprocess exited when trying to invoke get_requires_for_build_wheel
  
  running egg_info
  writing lib/PyYAML.egg-info/PKG-INFO
  writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
  writing top-level names to lib/PyYAML.egg-info/top_level.txt
  Traceback (most recent call last):
    File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/tmp0l7lnl_n/.venv/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/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
      self.run_setup()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 288, in <module>
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 314, in run
      self.find_sources()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 322, in find_sources
      mm.run()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run
      self.add_defaults()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
      sdist.add_defaults(self)
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/command/sdist.py", line 104, in add_defaults
      super().add_defaults()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
      self._add_defaults_ext()
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<string>", line 204, in get_source_files
    File "/tmp/tmp0l7lnl_n/.venv/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources
  

  at /usr/local/lib/python3.11/site-packages/poetry/installation/chef.py:147 in _prepare
      143│ 
      144│                 error = ChefBuildError("\n\n".join(message_parts))
      145│ 
      146│             if error is not None:
    → 147│                 raise error from None
      148│ 
      149│             return path
      150│ 
      151│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyyaml (6.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "pyyaml (==6.0)"'.

@phillipuniverse
Copy link
Author

Looks like the error happens at

pyyaml/setup.py

Lines 203 to 206 in 957ae4d

for ext in self.extensions:
if with_cython:
self.cython_sources(ext.sources, ext)
for filename in ext.sources:

@phillipuniverse phillipuniverse changed the title Build error in Alpine with 0.68.0 Build error in Alpine with setuptools 0.68.0 Jul 17, 2023
@phillipuniverse phillipuniverse changed the title Build error in Alpine with setuptools 0.68.0 Build error with setuptools 0.68.0 Jul 17, 2023
@mcdonnnj
Copy link

mcdonnnj commented Jul 17, 2023

With the release of Cython 3.0.0 it seems like cython/cython#4568 is impacting this project now.

@phillipuniverse
Copy link
Author

@mcdonnnj so since this is a CPython issue, does that mean won't be fixed til 3.11.4?

@mcdonnnj
Copy link

@phillipuniverse Cython != CPython

@wesleykendall
Copy link

wesleykendall commented Jul 17, 2023

@phillipuniverse I also get this error, but as a result of running pip-compile from pip-tools. It happens for both versions of setuptools you mentioned.

Are you also using pip-tools when getting this error?

@mcdonnnj
Copy link

This is pretty much a duplicate of #601 with #702 intending to stopgap.

@Kaelten
Copy link

Kaelten commented Jul 17, 2023

I'm just using poetry and hitting this error along with a bunch of other's. #601 is getting a lot of traffic related to this too.

Does anyone know of a workaround that'd work with poetry?

@phillipuniverse
Copy link
Author

Are you also using pip-tools when getting this error?

@wesleykendall no, Poetry 1.5.1.

@dennistruemper
Copy link

I was trying to install awscli in version 1.22.11 and it needs PyYAML too, the version 5.3.1 was working fine, so maybe this is a help for someone with a similar problem

@wesleykendall
Copy link

@dennistruemper thanks, this is what ultimately fixed it for me. Seems like pyyaml==5.4.* causes this. Hopefully awscli will support 6.* soon

@lordoffreaks
Copy link

I was trying to install awscli in version 1.22.11 and it needs PyYAML too, the version 5.3.1 was working fine, so maybe this is a help for someone with a similar problem

I can confirm using 5.3.1 works for me

@AlexDld
Copy link

AlexDld commented Jul 17, 2023

yes I think using 5.3.1 is the only way

@phillipuniverse
Copy link
Author

This is pretty much a duplicate of #601 with #702 intending to stopgap.

@mcdonnnj agree, I'll close this one to consolidate conversation.

@tommyjcarpenter
Copy link

tommyjcarpenter commented Jul 18, 2023

the title of this issue is wrong, its not 0.68.0

we were able to solve this by moving to pyyaml 6.0.1 and setup tools 65

@Pudding124
Copy link

Pudding124 commented Jul 19, 2023

@tommyjcarpenter, I think this problem occurs in other setuptools versions as well. I got this error from updating setuptools from 59.6.0 to 67.8.0.

But after I fixed the PyYAML version at 5.3.1. Problem solved.
Screenshot 2023-07-19 at 9 36 56 AM
Screenshot 2023-07-19 at 9 37 10 AM


Update: update PyYAML to 6.0.1 also can solve the problem.

anishathalye added a commit to anishathalye/dotbot that referenced this issue Sep 10, 2023
This was causing install issues with newer versions of Python /
setuptools; see yaml/pyyaml#723.

Thanks to Rui Chen <rui@chenrui.dev> for reporting this issue in
#340.
slovdahl added a commit to hiboxsystems/marge-bot that referenced this issue Sep 19, 2023
See the following GitHub issues for more info:

- yaml/pyyaml#724
- yaml/pyyaml#601
- yaml/pyyaml#723

```
 => ERROR [stage-1 4/4] RUN pip install --no-deps -r /tmp/requirements.txt &&   pip install /tmp/marge-*.tar.gz                                                                                                                                                                                      4.8s
------
 > [stage-1 4/4] RUN pip install --no-deps -r /tmp/requirements.txt &&   pip install /tmp/marge-*.tar.gz:
0.995 Ignoring backports-zoneinfo: markers 'python_version >= "3.7" and python_version < "3.9"' don't match your environment
0.995 Ignoring importlib-metadata: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
0.996 Ignoring typing-extensions: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
0.996 Ignoring zipp: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
1.049 Collecting certifi==2022.12.7
1.084   Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
1.107      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 6.7 MB/s eta 0:00:00
1.178 Collecting charset-normalizer==3.1.0
1.189   Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
1.197      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 26.0 MB/s eta 0:00:00
1.214 Collecting configargparse==1.5.3
1.225   Downloading ConfigArgParse-1.5.3-py3-none-any.whl (20 kB)
1.245 Collecting dateparser==1.1.8
1.260   Downloading dateparser-1.1.8-py2.py3-none-any.whl (293 kB)
1.271      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.8/293.8 kB 28.9 MB/s eta 0:00:00
1.290 Collecting decorator==5.1.1
1.300   Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
1.324 Collecting humanize==4.6.0
1.337   Downloading humanize-4.6.0-py3-none-any.whl (109 kB)
1.341      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.0/110.0 kB 31.5 MB/s eta 0:00:00
1.363 Collecting idna==3.4
1.374   Downloading idna-3.4-py3-none-any.whl (61 kB)
1.377      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 26.5 MB/s eta 0:00:00
1.493 Collecting maya==0.6.1
1.515   Downloading maya-0.6.1-py2.py3-none-any.whl (12 kB)
1.562 Collecting pendulum==2.1.2
1.573   Downloading pendulum-2.1.2.tar.gz (81 kB)
1.577      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.2/81.2 kB 27.5 MB/s eta 0:00:00
1.596   Installing build dependencies: started
2.239   Installing build dependencies: finished with status 'done'
2.240   Getting requirements to build wheel: started
2.287   Getting requirements to build wheel: finished with status 'done'
2.287   Preparing metadata (pyproject.toml): started
2.420   Preparing metadata (pyproject.toml): finished with status 'done'
2.445 Collecting python-dateutil==2.8.2
2.456   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
2.466      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 27.7 MB/s eta 0:00:00
2.480 Collecting pytz-deprecation-shim==0.1.0.post0
2.491   Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
2.534 Collecting pytz==2023.3
2.546   Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
2.564      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 29.6 MB/s eta 0:00:00
2.585 Collecting pytzdata==2020.1
2.598   Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
2.620      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 490.0/490.0 kB 23.4 MB/s eta 0:00:00
2.663 Collecting pyyaml==5.4.1
2.675   Downloading PyYAML-5.4.1.tar.gz (175 kB)
2.682      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 29.7 MB/s eta 0:00:00
2.778   Installing build dependencies: started
4.419   Installing build dependencies: finished with status 'done'
4.420   Getting requirements to build wheel: started
4.562   Getting requirements to build wheel: finished with status 'error'
4.568   error: subprocess-exited-with-error
4.568
4.568   × Getting requirements to build wheel did not run successfully.
4.568   │ exit code: 1
4.568   ╰─> [62 lines of output]
4.568       /tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
4.568       !!
4.568
4.568               ********************************************************************************
4.568               The license_file parameter is deprecated, use license_files instead.
4.568
4.568               By 2023-Oct-30, you need to update your project and remove deprecated calls
4.568               or your builds will no longer be supported.
4.568
4.568               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
4.568               ********************************************************************************
4.568
4.568       !!
4.568         parsed = self.parsers.get(option_name, lambda x: x)(value)
4.568       running egg_info
4.568       writing lib3/PyYAML.egg-info/PKG-INFO
4.568       writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
4.568       writing top-level names to lib3/PyYAML.egg-info/top_level.txt
4.568       Traceback (most recent call last):
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
4.568           main()
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
4.568           json_out['return_val'] = hook(**hook_input['kwargs'])
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
4.568           return hook(config_settings)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
4.568           return self._get_build_requires(config_settings, requirements=['wheel'])
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
4.568           self.run_setup()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
4.568           exec(code, locals())
4.568         File "<string>", line 271, in <module>
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
4.568           return distutils.core.setup(**attrs)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
4.568           return run_commands(dist)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
4.568           dist.run_commands()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
4.568           self.run_command(cmd)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 989, in run_command
4.568           super().run_command(command)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
4.568           cmd_obj.run()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 318, in run
4.568           self.find_sources()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 326, in find_sources
4.568           mm.run()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 548, in run
4.568           self.add_defaults()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
4.568           sdist.add_defaults(self)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
4.568           super().add_defaults()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
4.568           self._add_defaults_ext()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
4.568           self.filelist.extend(build_ext.get_source_files())
4.568         File "<string>", line 201, in get_source_files
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
4.568           raise AttributeError(attr)
4.568       AttributeError: cython_sources
4.568       [end of output]
4.568
4.568   note: This error originates from a subprocess, and is likely not a problem with pip.
4.569 error: subprocess-exited-with-error
4.569
4.569 × Getting requirements to build wheel did not run successfully.
4.569 │ exit code: 1
4.569 ╰─> See above for output.
4.569
4.569 note: This error originates from a subprocess, and is likely not a problem with pip.
4.571
4.571 [notice] A new release of pip available: 22.3.1 -> 23.2.1
4.571 [notice] To update, run: pip install --upgrade pip
```
slovdahl added a commit to hiboxsystems/marge-bot that referenced this issue Sep 19, 2023
See the following GitHub issues for more info:

- yaml/pyyaml#724
- yaml/pyyaml#601
- yaml/pyyaml#723

```
 => ERROR [stage-1 4/4] RUN pip install --no-deps -r /tmp/requirements.txt &&   pip install /tmp/marge-*.tar.gz                                                                                                                                                                                      4.8s
------
 > [stage-1 4/4] RUN pip install --no-deps -r /tmp/requirements.txt &&   pip install /tmp/marge-*.tar.gz:
0.995 Ignoring backports-zoneinfo: markers 'python_version >= "3.7" and python_version < "3.9"' don't match your environment
0.995 Ignoring importlib-metadata: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
0.996 Ignoring typing-extensions: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
0.996 Ignoring zipp: markers 'python_version >= "3.7" and python_version < "3.8"' don't match your environment
1.049 Collecting certifi==2022.12.7
1.084   Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
1.107      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 6.7 MB/s eta 0:00:00
1.178 Collecting charset-normalizer==3.1.0
1.189   Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
1.197      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 26.0 MB/s eta 0:00:00
1.214 Collecting configargparse==1.5.3
1.225   Downloading ConfigArgParse-1.5.3-py3-none-any.whl (20 kB)
1.245 Collecting dateparser==1.1.8
1.260   Downloading dateparser-1.1.8-py2.py3-none-any.whl (293 kB)
1.271      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.8/293.8 kB 28.9 MB/s eta 0:00:00
1.290 Collecting decorator==5.1.1
1.300   Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
1.324 Collecting humanize==4.6.0
1.337   Downloading humanize-4.6.0-py3-none-any.whl (109 kB)
1.341      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.0/110.0 kB 31.5 MB/s eta 0:00:00
1.363 Collecting idna==3.4
1.374   Downloading idna-3.4-py3-none-any.whl (61 kB)
1.377      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 26.5 MB/s eta 0:00:00
1.493 Collecting maya==0.6.1
1.515   Downloading maya-0.6.1-py2.py3-none-any.whl (12 kB)
1.562 Collecting pendulum==2.1.2
1.573   Downloading pendulum-2.1.2.tar.gz (81 kB)
1.577      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.2/81.2 kB 27.5 MB/s eta 0:00:00
1.596   Installing build dependencies: started
2.239   Installing build dependencies: finished with status 'done'
2.240   Getting requirements to build wheel: started
2.287   Getting requirements to build wheel: finished with status 'done'
2.287   Preparing metadata (pyproject.toml): started
2.420   Preparing metadata (pyproject.toml): finished with status 'done'
2.445 Collecting python-dateutil==2.8.2
2.456   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
2.466      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 27.7 MB/s eta 0:00:00
2.480 Collecting pytz-deprecation-shim==0.1.0.post0
2.491   Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
2.534 Collecting pytz==2023.3
2.546   Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
2.564      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 29.6 MB/s eta 0:00:00
2.585 Collecting pytzdata==2020.1
2.598   Downloading pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
2.620      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 490.0/490.0 kB 23.4 MB/s eta 0:00:00
2.663 Collecting pyyaml==5.4.1
2.675   Downloading PyYAML-5.4.1.tar.gz (175 kB)
2.682      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 29.7 MB/s eta 0:00:00
2.778   Installing build dependencies: started
4.419   Installing build dependencies: finished with status 'done'
4.420   Getting requirements to build wheel: started
4.562   Getting requirements to build wheel: finished with status 'error'
4.568   error: subprocess-exited-with-error
4.568
4.568   × Getting requirements to build wheel did not run successfully.
4.568   │ exit code: 1
4.568   ╰─> [62 lines of output]
4.568       /tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
4.568       !!
4.568
4.568               ********************************************************************************
4.568               The license_file parameter is deprecated, use license_files instead.
4.568
4.568               By 2023-Oct-30, you need to update your project and remove deprecated calls
4.568               or your builds will no longer be supported.
4.568
4.568               See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
4.568               ********************************************************************************
4.568
4.568       !!
4.568         parsed = self.parsers.get(option_name, lambda x: x)(value)
4.568       running egg_info
4.568       writing lib3/PyYAML.egg-info/PKG-INFO
4.568       writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
4.568       writing top-level names to lib3/PyYAML.egg-info/top_level.txt
4.568       Traceback (most recent call last):
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
4.568           main()
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
4.568           json_out['return_val'] = hook(**hook_input['kwargs'])
4.568         File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
4.568           return hook(config_settings)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
4.568           return self._get_build_requires(config_settings, requirements=['wheel'])
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
4.568           self.run_setup()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
4.568           exec(code, locals())
4.568         File "<string>", line 271, in <module>
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
4.568           return distutils.core.setup(**attrs)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
4.568           return run_commands(dist)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
4.568           dist.run_commands()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
4.568           self.run_command(cmd)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 989, in run_command
4.568           super().run_command(command)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
4.568           cmd_obj.run()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 318, in run
4.568           self.find_sources()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 326, in find_sources
4.568           mm.run()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 548, in run
4.568           self.add_defaults()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 586, in add_defaults
4.568           sdist.add_defaults(self)
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
4.568           super().add_defaults()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
4.568           self._add_defaults_ext()
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
4.568           self.filelist.extend(build_ext.get_source_files())
4.568         File "<string>", line 201, in get_source_files
4.568         File "/tmp/pip-build-env-xmsfsb8h/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
4.568           raise AttributeError(attr)
4.568       AttributeError: cython_sources
4.568       [end of output]
4.568
4.568   note: This error originates from a subprocess, and is likely not a problem with pip.
4.569 error: subprocess-exited-with-error
4.569
4.569 × Getting requirements to build wheel did not run successfully.
4.569 │ exit code: 1
4.569 ╰─> See above for output.
4.569
4.569 note: This error originates from a subprocess, and is likely not a problem with pip.
4.571
4.571 [notice] A new release of pip available: 22.3.1 -> 23.2.1
4.571 [notice] To update, run: pip install --upgrade pip
```
franklouwers added a commit to kiwazo-be/powerdns-api-proxy that referenced this issue Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants