Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 875337 Details for
Bug 917754
dev-python/autocommand-2.2.2 - KeyError: text
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:autocommand-2.2.2:20231121-220845.log
dev-python:autocommand-2.2.2:20231121-220845.log (text/plain), 6.80 KB, created by
Toralf Förster
on 2023-11-22 18:46:26 UTC
(
hide
)
Description:
dev-python:autocommand-2.2.2:20231121-220845.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-11-22 18:46:26 UTC
Size:
6.80 KB
patch
obsolete
> * Package: dev-python/autocommand-2.2.2:0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking autocommand-2.2.2.gh.tar.gz to /var/tmp/portage/dev-python/autocommand-2.2.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/autocommand-2.2.2/work >>>> Preparing source in /var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2 ... > * Build system packages: > * dev-python/gpep517 : 15 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 69.0.1 > * dev-python/setuptools-rust : 1.8.1 > * dev-python/setuptools-scm : 8.0.4 > * dev-python/wheel : 0.41.3 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2 ... > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for autocommand-2.2.2 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2-python3_11/wheel >2023-11-21 22:08:51,098 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored. >!! > > ******************************************************************************** > The following seems to be defined outside of `pyproject.toml`: > > `license = 'LGPLv3'` > > According to the spec (see the link below), however, setuptools CANNOT > consider this value unless `license` is listed as `dynamic`. > > https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ > > To prevent this problem, you can list `license` under `dynamic` or alternatively > remove the `[project]` table from your file and rely entirely on other means of > configuration. > ******************************************************************************** > >!! > _handle_missing_dynamic(dist, project_table) >Traceback (most recent call last): > File "/usr/lib/python-exec/python3.11/gpep517", line 4, in <module> > sys.exit(main()) > ^^^^^^ > File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 425, in main > return func(args) > ^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 215, in build_wheel > print(build_wheel_impl(args, args.wheel_dir), file=out) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl > wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 404, in build_wheel > return self._build_with_temp_dir( > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir > self.run_setup() > File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 480, in run_setup > super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) > File "/usr/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup > exec(code, locals()) > File "<string>", line 8, in <module> > File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup > return distutils.core.setup(**attrs) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 159, in setup > dist.parse_config_files() > File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 627, in parse_config_files > pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) > File "/usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 67, in apply_configuration > return _apply(dist, config, filepath) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 56, in apply > _apply_project_table(dist, config, root_dir) > File "/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table > corresp(dist, value, root_dir) > File "/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license > _set_config(dist, "license", val["text"]) > ~~~^^^^^^^^ >KeyError: 'text' > * ERROR: dev-python/autocommand-2.2.2::gentoo failed (compile phase): > * Wheel build failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 3962: Called distutils-r1_src_compile > * environment, line 1929: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > * environment, line 763: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3576: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3103: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 3101: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > * environment, line 1186: Called distutils-r1_run_phase 'distutils-r1_python_compile' > * environment, line 1911: Called distutils-r1_python_compile > * environment, line 1729: Called distutils_pep517_install '/var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2-python3_11/install' > * environment, line 2261: Called die > * The specific snippet of code: > * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); > * > * If you need support, post the output of `emerge --info '=dev-python/autocommand-2.2.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/autocommand-2.2.2::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:autocommand-2.2.2:20231121-220845.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/autocommand-2.2.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/autocommand-2.2.2/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2' > * S: '/var/tmp/portage/dev-python/autocommand-2.2.2/work/autocommand-2.2.2' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 917754
:
875336
| 875337 |
875338
|
875339
|
875340
|
875341
|
875342
|
875343