-
-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
Hi
I wanted to try your package, but it depends on stringcase=1.2.0.
Unfortunately this causes the installation process to fail:
× Failed to build `stringcase==1.2.0`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
requires = get_requires_for_build({})
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 3, in <module>
if sys.path[0] == "":
^^^^^^^^^^^^^^^^^^^^^
...<11 lines>...
else:
^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/_distutils/core.py", line 160, in setup
dist.parse_config_files()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/_virtualenv.py", line 20, in parse_config_files
result = old_parse_config_files(self, *args, **kwargs)
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/dist.py", line 730, in parse_config_files
self._parse_config_files(filenames=inifiles)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/dist.py", line 599, in _parse_config_files
opt = self._enforce_underscore(opt, section)
File "/home/fez/.cache/uv/builds-v0/.tmpC47oCe/lib64/python3.13/site-packages/setuptools/dist.py", line 629, in _enforce_underscore
raise InvalidConfigError(
...<3 lines>...
)
setuptools.errors.InvalidConfigError: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead.
hint: This usually indicates a problem with the package or the build environment.
help: `stringcase` (v1.2.0) was included because `fastapi-code-generator` (v0.5.2) depends on `stringcase>=1.2.0, <2.0.0`
Please refer to okunishinishi/python-stringcase#42 (i.e. setuptools 78.0.0)
I suggest to replace the package with a maintained one, or hard code given functionality (as it will likely not change)
Metadata
Metadata
Assignees
Labels
No labels