Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765775 - dev-python/threadpoolctl-2.1.0 fails with >=dev-python/setuptools-51.3.1
Summary: dev-python/threadpoolctl-2.1.0 fails with >=dev-python/setuptools-51.3.1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 765838
  Show dependency tree
 
Reported: 2021-01-17 16:33 UTC by ZappeL
Modified: 2022-03-15 08:26 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.30 KB, text/x-log)
2021-01-17 16:33 UTC, ZappeL
Details
emerge --info (emerge_info.txt,5.50 KB, text/plain)
2021-01-17 18:13 UTC, ZappeL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ZappeL 2021-01-17 16:33:55 UTC
Created attachment 683377 [details]
build.log

Hi,

I'm facing a bug which makes it impossisble to emerge dev-python/threadpoolctl-2.1.0. Downgrading setuptools to "stable" (50.3.0) fixes this issue.

Partial log:
[...]
Traceback (most recent call last):                                                                                                                                                                  
  File "setup.py", line 3, in <module>                                                            
    main()                                                                                        
  File "/usr/lib/python3.8/site-packages/pyproject2setuppy/main.py", line 48, in main
    handler(data)                                                                                 
  File "/usr/lib/python3.8/site-packages/pyproject2setuppy/flit.py", line 46, in handle_flit
    setup(name=modname,                                                                           
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()                         
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)                                                                         
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command                                                                                                                             
    cmd_obj.run()                                                                                                                                                                                   
  File "/usr/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run                                                                                                            
    return orig.install.run(self)                                                                                                                                                                   
  File "/usr/lib/python3.8/distutils/command/install.py", line 557, in run               
    self.run_command(cmd_name)                                                                    
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command                                                                                                                              
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()                       
  File "/usr/lib/python3.8/site-packages/setuptools/command/install_egg_info.py", line 34, in run
    self.run_command('egg_info')                                                                                                                                                                    
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command                                                                                                                              
    self.distribution.run_command(command)                                                                                                                                                          
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command                                                                                                                             
    cmd_obj.run()                                                                                 
  File "/usr/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 292, in run
    writer(self, ep.name, os.path.join(self.egg_info, ep.name))        
  File "/usr/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 628, in write_pkg_info
    metadata.write_pkg_info(cmd.egg_info)                                                                                                                                                             File "/usr/lib/python3.8/distutils/dist.py", line 1117, in write_pkg_info
    self.write_pkg_file(pkg_info)                                                                 
  File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 140, in write_pkg_file
    write_field('Summary', single_line(self.get_description()))    
  File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 124, in single_line
    raise ValueError("newlines not allowed")                                                      
ValueError: newlines not allowed                                                                  
 * ERROR: dev-python/threadpoolctl-2.1.0::gentoo failed (install phase):
 *   (no error message)
[...]


(Full build.log is attached)
Comment 1 Ionen Wolkens gentoo-dev 2021-01-17 17:02:17 UTC Comment hidden (obsolete)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-17 17:22:26 UTC
[08:44:25]  <@mgorny> setuptools:
[08:44:26]  <@mgorny> +* #1390: Newlines in metadata description/Summary now trigger a ValueError.
[08:44:30]  <@mgorny> i suspect breakage
Comment 3 ZappeL 2021-01-17 18:12:17 UTC
(In reply to Ionen Wolkens from comment #1)
> Hm, couldn't reproduce on my ~amd64 python3.9-only system, so (like being
> used here) I switched to dual python3_8 and 3_9 + rebuilt deps, and now
> running into the same thing with either targets.

yeah, sorry.. 
forget to mention that I'm using python3_8 and python3_9 in my "PYTHON_TARGETS"..
Comment 4 ZappeL 2021-01-17 18:13:00 UTC
Created attachment 683386 [details]
emerge --info

missing `emerge --info`
Comment 5 Ionen Wolkens gentoo-dev 2021-01-17 21:26:27 UTC
To avoid confusion, disregard my previous comment, overlooked that I upgraded at same time.