Menu

#2 Fails to build with Python 3.7?

resolved
nobody
None
major
bug
2020-04-22
2020-01-23
No

This excerpt is from Gentoo ebuild machinery. Please let me know if the issue is unclear or unconfirmed, I will retry manually and troubleshoot Gentoo side.

 * python3_7: running distutils-r1_run_phase distutils-r1_python_compile
python3.7 setup.py build -j 1
Warning: 'keywords' should be a list, got type 'NoneType'
sys.argv ['setup.py', 'build', '-j', '1']
Traceback (most recent call last):
  File "setup.py", line 922, in <module>
    main()
  File "setup.py", line 910, in main
    setup(**kw)
  File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 444, in __init__
    k: v for k, v in attrs.items()
  File "/usr/lib/python3.7/distutils/dist.py", line 267, in __init__
    getattr(self.metadata, "set_" + key)(val)
  File "/usr/lib/python3.7/distutils/dist.py", line 1203, in set_keywords
    self.keywords = _ensure_list(value, 'keywords')
  File "/usr/lib/python3.7/distutils/dist.py", line 40, in _ensure_list
    value = list(value)

(originally posted on 2019-06-17 at 19:23:15 by Andrey Utkin <andrey-utkin@bitbucket>)

Discussion

  • Anthon van der Neut

    Thanks for reporting. The internals of distutils have changed in an backwards incompatible way. The generic `setup.py` has already been fixed for `ruamel.yaml`, I just need to cut another release.

    (originally posted on 2019-06-17 at 20:19:50)

     
  • Anthon van der Neut

    Fantastic! Could you please also add new release tag in BitBucket? Currently Gentoo packages fetch a Bitbucket snapshot.

    (originally posted on 2019-06-18 at 09:46:39 by Andrey Utkin <andrey-utkin@bitbucket>)

     
  • Anthon van der Neut

    The reason for using Bitbucket and not PyPI is that PyPI distribution lacks test files.

    (originally posted on 2019-06-18 at 09:51:23 by Andrey Utkin <andrey-utkin@bitbucket>)

     
  • Anthon van der Neut

    • status set to open

    Please add a tag in the repo - this blocks packaging.

    (originally posted on 2019-06-20 at 17:27:25 by Andrey Utkin <andrey-utkin@bitbucket>)

     
  • Anthon van der Neut

    Please be a bit more patient, I was not ignoring you but out of town.

    (originally posted on 2019-06-21 at 21:26:53)

     
  • Anthon van der Neut

    • Description has changed:

    Diff:

    
    
    • status: open --> resolved
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.