Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1078041

Bug#997758: nose: FTBFS: There is a syntax error in your configuration file: invalid syntax (conf.py, line 220)

From Jakub Wilk <jwilk@jwilk.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#997758: nose: FTBFS: There is a syntax error in your configuration file: invalid syntax (conf.py, line 220)
Date 2021-10-25 19:20 +0200
Message-ID <DcbNE-1k4-5@gated-at.bofh.it> (permalink)
References <DbKX9-1mk-33@gated-at.bofh.it> <DbKX9-1mk-33@gated-at.bofh.it> <DbLJv-1RP-3@gated-at.bofh.it> <DbKX9-1mk-33@gated-at.bofh.it> <DbLJv-1RP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tags -1 + patch

* Dmitry Shachnev <mitya57@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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#997758: nose: FTBFS: There is a syntax error in your configuration file: invalid syntax (conf.py, line 220) Jakub Wilk <jwilk@jwilk.net> - 2021-10-25 19:20 +0200

csiph-web