Fails to build with Python 3.7?
Brought to you by:
anthon
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>)
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)
https://bitbucket.org/ruamel/std.pathlib/commits/12032dc9962436711b572028cb0622c4f4aea291
(originally posted on 2019-06-17 at 20:32:39)
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>)
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>)
Please, see https://sourceforge.net/p/ruamel-std-pathlib/tickets/3/
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>)
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)
Diff: