[Python-modules-team] Bug#997758: nose: FTBFS: There is a syntax error in your configuration file: invalid syntax (conf.py, line 220)
Jakub Wilk
jwilk at jwilk.net
Mon Oct 25 17:57:39 BST 2021
Control: tags -1 + patch
* Dmitry Shachnev <mitya57 at debian.org>, 2021-10-24, 16:24:
>setuptools v58.0.0 removed support for 2to3 during builds,
>which nose relied on (because it has a Python 2 codebase).
You can convert the source to be compatible with Python 3 with these
commands:
patch -p1 unit_tests/test_issue_100.rst < unit_tests/test_issue_100.rst.py3.patch
2to3 -wn .
find -name '*.rst' | xargs 2to3 -dwn
Then you need a few small changes (see the attached patches) to stop
the build system from trying to run 2to3 stuff again at build time.
--
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2to3-fixups.diff
Type: text/x-diff
Size: 1399 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20211025/ced53a13/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2to3-debian.diff
Type: text/x-diff
Size: 903 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20211025/ced53a13/attachment-0001.diff>
More information about the Python-modules-team
mailing list