[Bug 2037205] Re: setuptools: FTBFS in mantic
Launchpad Bug Tracker
2037205 at bugs.launchpad.net
Thu Oct 5 17:36:43 UTC 2023
This bug was fixed in the package setuptools - 68.1.2-2
---------------
setuptools (68.1.2-2) unstable; urgency=medium
* Don't run dh_auto_clean, just remove the .pybuild directory manually.
dh-python would remove the egg-info dir during the dh_auto_clean call.
Closes: #1052540, #1052783. LP: #2037205.
-- Matthias Klose <doko at debian.org> Wed, 04 Oct 2023 10:28:14 +0200
** Changed in: setuptools (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to setuptools in Ubuntu.
https://bugs.launchpad.net/bugs/2037205
Title:
setuptools: FTBFS in mantic
Status in dh-python package in Ubuntu:
New
Status in setuptools package in Ubuntu:
Fix Released
Status in dh-python package in Debian:
New
Status in setuptools package in Debian:
New
Bug description:
As seen in the mantic test rebuild [1], setuptools 68.1.2-1 currently
FTBFS:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setuptools/config/setupcfg.py", line 284, in __setitem__
current_value = getattr(target_obj, option_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'MinimalDistribution' object has no attribute 'entry_points'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 92, in <module>
dist = setuptools.setup(**setup_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/setuptools/__init__.py", line 106, in setup
_install_setup_requires(attrs)
File "/<<PKGBUILDDIR>>/setuptools/__init__.py", line 77, in _install_setup_requires
dist.parse_config_files(ignore_option_errors=True)
File "/<<PKGBUILDDIR>>/setuptools/dist.py", line 895, in parse_config_files
setupcfg.parse_configuration(
File "/<<PKGBUILDDIR>>/setuptools/config/setupcfg.py", line 177, in parse_configuration
options.parse()
File "/<<PKGBUILDDIR>>/setuptools/config/setupcfg.py", line 500, in parse
section_parser_method(section_options)
File "/<<PKGBUILDDIR>>/setuptools/config/setupcfg.py", line 727, in parse_section_entry_points
self['entry_points'] = parsed
~~~~^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/setuptools/config/setupcfg.py", line 286, in __setitem__
raise KeyError(option_name)
KeyError: 'entry_points'
E: pybuild pybuild:395: clean: plugin distutils failed with: exit code=1: python3.11 setup.py clean
[1] https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20230830-mantic-mantic.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/2037205/+subscriptions
More information about the foundations-bugs
mailing list