[Bug 2037205] [NEW] setuptools: FTBFS in mantic

Graham Inggs 2037205 at bugs.launchpad.net
Sun Sep 24 10:15:15 UTC 2023


Public bug reported:

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

** Affects: setuptools (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: setuptools (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #1052540
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052540

** Also affects: setuptools (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052540
   Importance: Unknown
       Status: Unknown

** Tags added: ftbfs

-- 
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 setuptools package in Ubuntu:
  New
Status in setuptools package in Debian:
  Unknown

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/setuptools/+bug/2037205/+subscriptions




More information about the foundations-bugs mailing list