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

2021-10-24 Thread Dmitry Shachnev
Hi all!

On Sun, Oct 24, 2021 at 01:49:30PM +0200, Lucas Nussbaum wrote:
> Source: nose
> Version: 1.3.7-7
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20211023 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> [...]

It happens because setuptools v58.0.0 removed support for 2to3 during builds,
which nose relied on (because it has a Python 2 codebase).

Instead of spending time on a proper Python 3 port, I would prefer to simply
let nose die (it is abandoned since 2016).

If anyone is still using nose (1.x), please port your packages to nose2,
pure unittest or pytest. I am attaching a dd-list and I intend to do a MBF
in a few weeks when I have more time.

--
Dmitry Shachnev
Adrian Vondendriesch 
   flask-mongoengine (U)

Adrien Vergé 
   yamllint (U)

Afif Elghraoui 
   falcon (U)
   optlang (U)
   swiglpk (U)

Aggelos Avgerinos 
   imbalanced-learn (U)
   py-radix (U)

Agustin Henze 
   webassets

Aigars Mahinovs 
   isbnlib
   python-dlt
   python-zipstream

Alastair McKinstry 
   metaconfig

Alexandre Viau 
   influxdb-python (U)

Alvin Chen 
   requirement-parser

Ana Custura 
   namecheap
   python-cymruwhois
   tldextract
   yapf

Andreas Beckmann 
   piuparts (U)

Andreas Metzler 
   libvigraimpex (U)

Andreas Tille 
   circlator (U)
   fastaq (U)
   gubbins (U)
   iva (U)
   kineticstools (U)
   paleomix (U)
   python-biom-format (U)
   python-colormap (U)
   python-hdmedians (U)
   python-nose-random (U)
   python-pbcore (U)
   python-pyani (U)
   python-pyfaidx (U)
   python-pymummer (U)
   python-pynndescent (U)
   python-sqlsoup (U)
   python-xopen (U)
   pyutilib (U)
   qiime (U)
   scoary (U)
   seqmagick (U)
   umap-learn (U)
   youtube-dl

Andrej Shadura 
   docker-compose (U)
   netplan.io (U)
   sortedcontainers (U)

Andrew Chadwick 
   mypaint (U)

Andrew Starr-Bochicchio 
   fabric
   pyxdg (U)

Andrey Rahmatullin 
   dateparser (U)

Andrius Merkys 
   spglib (U)

Angelos Tzotsos 
   python-osmapi (U)

anonym 
   onionshare (U)

Antoine Beaupré 
   dateparser (U)

Antoine Musso 
   python-statsd (U)
   voluptuous (U)

Antonio Terceiro 
   ledger-autosync
   python-ofxclient (U)
   rows (U)

Antonio Valentino 
   pykdtree (U)
   pysph (U)
   python-hdf4 (U)

Apollon Oikonomopoulos 
   ripe-atlas-cousteau (U)
   ripe-atlas-sagan (U)
   ripe-atlas-tools

Arno Töll 
   dput-ng (U)

Arthur de Jong 
   python-pskc
   python-stdnum

Arto Jantunen 
   python-inflect (U)

Barry Warsaw 
   lazr.delegates (U)
   lazr.smtptest (U)
   python-nose-exclude (U)

Bas Couwenberg 
   pyosmium (U)
   python-mapnik (U)
   python-osmapi (U)
   python-stetl (U)

Bdale Garbee 
   rocketcea

Ben Finney 
   python-lockfile

Benda Xu 
   vitables (U)

Benjamin Drung 
   ubuntu-dev-tools (U)

Benjamin Drung 
   modernize (U)
   python-ipmi (U)
   python-redmine

Bernd Zeimetz 
   flask-wtf (U)

Brian May 
   celery (U)
   django-nose (U)
   python-passlib (U)

BW Keller 
   yt (U)

Carl Chenet 
   python-memcache (U)

Carlos Maddela 
   rmlint

Carsten Schoenert 
   kicad (U)
   kopano-webapp (U)
   kopanocore (U)

ChangZhuo Chen (陳昌倬) 
   dodgy (U)
   prospector (U)
   python-requirements-detector (U)
   python-setoptconf (U)
   python-tabulate (U)
   voltron (U)

Chris Boot 
   nrpe-ng

Chris Johnston 
   python-flake8 (U)

Chris Lamb 
   django-assets (U)
   python-formencode (U)

Christian Kastner 
   imbalanced-learn (U)
   scikit-learn (U)
   tpot (U)

Christian M. Amsüss 
   rdflib (U)
   sparql-wrapper-python (U)

Christopher Hoskin 
   case (U)
   pytds (U)
   sphinx-celery (U)

Clint Adams 
   ledger-autosync (U)

Clément Hermann 
   onionshare (U)

Colin Watson 
   py-macaroon-bakery (U)
   python-libnacl (U)

Colin Watson 
   git-build-recipe

Corey Bryant 
   murano (U)

Dain Nilsson 
   python-yubico (U)

Daniel Kahn Gillmor 
   pdfminer (U)

Daniele Tricoli 
   pdfminer (U)

Daniele Tricoli 
   pywavelets (U)

David Douard 
   chaussette

David Paleino 
   python-nmap (U)
   uncertainties (U)

David Villa Alises 
   doublex

David Watson 
   python-anyjson (U)

Debian Astro Team 
   stsci.tools

Debian Astronomy Maintainers 
   galpy
   pytest-mpl

Debian Astronomy Team 
   yt

Debian Authentication Maintainers 
   python-yubico

Debian Cloud Team 
   python-boto

Debian Electronics Team 
   kicad

Debian Emacsen team 
   elpy

Debian FreeIPA Team 
   freeipa

Debian FreeIPA Team 
   python-jwcrypto

Debian GIS Project 
   pykdtree
   pyosmium
   python-descartes
   python-geopandas
   python-hdf4
   python-mapnik
   python-osmapi
   python-stetl

Debian Let's Encrypt Team 
   pyrfc3339 (U)

Debian Med Packaging Team 
   ariba
   bcbio
   biomaj3
   biomaj3-cli
   biomaj3-core
   biomaj3-daemon
   biomaj3-download
   biomaj3-process
   biomaj3-user
   brian
   circlator
   cwlformat
   cyvcf2
   dipy
   falcon
   fastaq
   gfapy
   gubbins
   h5sparse
   insilicoseq
   i

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

2021-10-24 Thread Jeremy Stanley
On 2021-10-24 16:24:31 +0300 (+0300), Dmitry Shachnev wrote:
[...]
> If anyone is still using nose (1.x), please port your packages to
> nose2, pure unittest or pytest. I am attaching a dd-list and I
> intend to do a MBF in a few weeks when I have more time.

Further alternatives include
https://packages.debian.org/python3-testrepository or
https://packages.debian.org/python3-stestr (both are
subunit-emitting test runners), which pretty much all of the
OpenStack projects moved to years ago as replacements for nose.
-- 
Jeremy Stanley


signature.asc
Description: PGP signature


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

2021-10-24 Thread Nilesh Patra

On 10/24/21 6:54 PM, Dmitry Shachnev wrote:

Hi all!

On Sun, Oct 24, 2021 at 01:49:30PM +0200, Lucas Nussbaum wrote:

Source: nose
Version: 1.3.7-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

[...]


It happens because setuptools v58.0.0 removed support for 2to3 during builds,
which nose relied on (because it has a Python 2 codebase).

Instead of spending time on a proper Python 3 port, I would prefer to simply
let nose die (it is abandoned since 2016).

If anyone is still using nose (1.x), please port your packages to nose2,
pure unittest or pytest. I am attaching a dd-list and I intend to do a MBF
in a few weeks when I have more time.


Thanks for the heads up, Dmitry. I've started with porting my packages from 
nose->${something_else} and started uploading as well.

Also CC'ing med-team, since there are several packages under our umbrella that 
needs this change.

Thanks for your work,
Nilesh

Adrian Vondendriesch 
   flask-mongoengine (U)

Adrien Vergé 
   yamllint (U)

Afif Elghraoui 
   falcon (U)
   optlang (U)
   swiglpk (U)

Aggelos Avgerinos 
   imbalanced-learn (U)
   py-radix (U)

Agustin Henze 
   webassets

Aigars Mahinovs 
   isbnlib
   python-dlt
   python-zipstream

Alastair McKinstry 
   metaconfig

Alexandre Viau 
   influxdb-python (U)

Alvin Chen 
   requirement-parser

Ana Custura 
   namecheap
   python-cymruwhois
   tldextract
   yapf

Andreas Beckmann 
   piuparts (U)

Andreas Metzler 
   libvigraimpex (U)

Andreas Tille 
   circlator (U)
   fastaq (U)
   gubbins (U)
   iva (U)
   kineticstools (U)
   paleomix (U)
   python-biom-format (U)
   python-colormap (U)
   python-hdmedians (U)
   python-nose-random (U)
   python-pbcore (U)
   python-pyani (U)
   python-pyfaidx (U)
   python-pymummer (U)
   python-pynndescent (U)
   python-sqlsoup (U)
   python-xopen (U)
   pyutilib (U)
   qiime (U)
   scoary (U)
   seqmagick (U)
   umap-learn (U)
   youtube-dl

Andrej Shadura 
   docker-compose (U)
   netplan.io (U)
   sortedcontainers (U)

Andrew Chadwick 
   mypaint (U)

Andrew Starr-Bochicchio 
   fabric
   pyxdg (U)

Andrey Rahmatullin 
   dateparser (U)

Andrius Merkys 
   spglib (U)

Angelos Tzotsos 
   python-osmapi (U)

anonym 
   onionshare (U)

Antoine Beaupré 
   dateparser (U)

Antoine Musso 
   python-statsd (U)
   voluptuous (U)

Antonio Terceiro 
   ledger-autosync
   python-ofxclient (U)
   rows (U)

Antonio Valentino 
   pykdtree (U)
   pysph (U)
   python-hdf4 (U)

Apollon Oikonomopoulos 
   ripe-atlas-cousteau (U)
   ripe-atlas-sagan (U)
   ripe-atlas-tools

Arno Töll 
   dput-ng (U)

Arthur de Jong 
   python-pskc
   python-stdnum

Arto Jantunen 
   python-inflect (U)

Barry Warsaw 
   lazr.delegates (U)
   lazr.smtptest (U)
   python-nose-exclude (U)

Bas Couwenberg 
   pyosmium (U)
   python-mapnik (U)
   python-osmapi (U)
   python-stetl (U)

Bdale Garbee 
   rocketcea

Ben Finney 
   python-lockfile

Benda Xu 
   vitables (U)

Benjamin Drung 
   ubuntu-dev-tools (U)

Benjamin Drung 
   modernize (U)
   python-ipmi (U)
   python-redmine

Bernd Zeimetz 
   flask-wtf (U)

Brian May 
   celery (U)
   django-nose (U)
   python-passlib (U)

BW Keller 
   yt (U)

Carl Chenet 
   python-memcache (U)

Carlos Maddela 
   rmlint

Carsten Schoenert 
   kicad (U)
   kopano-webapp (U)
   kopanocore (U)

ChangZhuo Chen (陳昌倬) 
   dodgy (U)
   prospector (U)
   python-requirements-detector (U)
   python-setoptconf (U)
   python-tabulate (U)
   voltron (U)

Chris Boot 
   nrpe-ng

Chris Johnston 
   python-flake8 (U)

Chris Lamb 
   django-assets (U)
   python-formencode (U)

Christian Kastner 
   imbalanced-learn (U)
   scikit-learn (U)
   tpot (U)

Christian M. Amsüss 
   rdflib (U)
   sparql-wrapper-python (U)

Christopher Hoskin 
   case (U)
   pytds (U)
   sphinx-celery (U)

Clint Adams 
   ledger-autosync (U)

Clément Hermann 
   onionshare (U)

Colin Watson 
   py-macaroon-bakery (U)
   python-libnacl (U)

Colin Watson 
   git-build-recipe

Corey Bryant 
   murano (U)

Dain Nilsson 
   python-yubico (U)

Daniel Kahn Gillmor 
   pdfminer (U)

Daniele Tricoli 
   pdfminer (U)

Daniele Tricoli 
   pywavelets (U)

David Douard 
   chaussette

David Paleino 
   python-nmap (U)
   uncertainties (U)

David Villa Alises 
   doublex

David Watson 
   python-anyjson (U)

Debian Astro Team 
   stsci.tools

Debian Astronomy Maintainers 
   galpy
   pytest-mpl

Debian Astronomy Team 
   yt

Debian Authentication Maintainers 
   python-yubico

Debian Cloud Team 
   python-boto

Debian Electronics Team 
   kicad

Debian Emacsen team 
   elpy

Debian FreeIPA Team 
   freeipa

Debian FreeIPA Team 
   python-jwcrypto

Debian GIS Project 
   pykdtree
   pyosmium
   python-descartes
   python-geopandas
   python-hdf4
   python-mapnik
   python-osmapi
   python-stetl

Debian Let's Encrypt Team 
   pyrfc3339 (U)

Debian Med Packa

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

2021-10-24 Thread Thomas Goirand
On 10/24/21 3:24 PM, Dmitry Shachnev wrote:
> Hi all!
> 
> On Sun, Oct 24, 2021 at 01:49:30PM +0200, Lucas Nussbaum wrote:
>> Source: nose
>> Version: 1.3.7-7
>> Severity: serious
>> Justification: FTBFS
>> Tags: bookworm sid ftbfs
>> User: lu...@debian.org
>> Usertags: ftbfs-20211023 ftbfs-bookworm
>>
>> Hi,
>>
>> During a rebuild of all packages in sid, your package failed to build
>> on amd64.
>>
>> [...]
> 
> It happens because setuptools v58.0.0 removed support for 2to3 during builds,
> which nose relied on (because it has a Python 2 codebase).
> 
> Instead of spending time on a proper Python 3 port, I would prefer to simply
> let nose die (it is abandoned since 2016).
> 
> If anyone is still using nose (1.x), please port your packages to nose2,
> pure unittest or pytest. I am attaching a dd-list and I intend to do a MBF
> in a few weeks when I have more time.
> 
> --
> Dmitry Shachnev

Hi,

I'm referenced for 55 packages. Please don't force me to do this right
away, that's too much work. I very much would prefer if we could have a
smoother transition.

Note that it's possible that for many packages mentioned, only removing
the dependency should be enough. Still, that's some work to do... :/

Other alternative would be: help with NMU fixes (or I can add any of you
in the OpenStack team if you need...).

Cheers,

Thomas Goirand (zigo)