Re: Proposed MBF: packages still using nose

2022-08-21 Thread Neil Williams
On Sun, 21 Aug 2022 16:04:36 +0300
Dmitry Shachnev  wrote:

> Hi,
> 
> nose [1] is a testing framework for Python, which is dead and
> unmaintained since 2015 [2][3].
> 
> The former maintainer of nose recommends projects using nose to
> switch to nose2 [4], pytest [5] or unittest from Python standard
> library [6]. There is a script called nose2pytest [7] which can
> assist with migrating from nose to pytest.

   xraylarch (U)

Fixed in git.

-- 
Neil Williams
=
https://linux.codehelp.co.uk/


pgpQG2Ls59DSX.pgp
Description: OpenPGP digital signature


Re: Python in the Debian infrastructure

2022-08-21 Thread Emmanuel Arias
Hi,

Thanks Julien, Antonio.

So many projects! Thanks for the information. And thanks Antonio
for pointing me to your presentation, I missed it.

Cheers,
Emmanuel

On Fri, Aug 19, 2022 at 11:03 AM Julien Cristau  wrote:

> On Fri, Aug 19, 2022 at 10:25:25AM -0300, Antonio Terceiro wrote:
> > On Fri, Aug 19, 2022 at 09:29:40AM -0300, Emmanuel Arias wrote:
> > > Hi,
> > >
> > > I'm very interested :-)
> > >
> > >
> > > On Wed, Aug 17, 2022 at 9:23 PM Louis-Philippe Véronneau <
> po...@debian.org>
> > > wrote:
> > [...]
> > > > - patching tracker.debian.org (Django) to show pending MRs [10] [11]
> > > >
> > >  I'm just curious, we know or it's easy to know  if there're more
> parts of
> > > the Debian
> > > infrastructure where Python is used and we can help?
> >
> > Lots of it. I made a talk about contributing with the Debian
> > infrastructure in 2020 online minidebconf, and here is the contents of
> > my summary slide:
> >
> > 
> > ## Summary
> >
> > Project  | Ruby | OCaml | Python | Shell | Perl | JS
> > -|::|:-:|:--:|:-:|::|:---
> > [ci.debian.net][]|  x   |   ||   x   |  |
> > [dose3][]|  |   x   ||   |  |
> > [botch][]|  |   x   ||   |  |
> > [devscripts][]   |  |   |   x|   x   |  x   |
> > [licensecheck][] |  |   ||   |  x   |
> > [Debian Keyring][]   |  x   |   |   x|   x   |  |
> > [sources.debian.org][]   |  |   |   x|   |  |
> > [contributors.debian.org][]  |  |   |   x|   |  |
> > [Security Team][]|  |   |   x|   |  |
> > [debtags.debian.org][]   |  |   |   x|   |  |  x
> > [moinmoin][] |  |   |   x|   |  |
> > [nm.debian.org][]|  |   |   x|   |  |
> > [sso.debian.org][]   |  |   |   x|   |  |
> > [tracker.debian.org][]   |  |   |   x|   |  |
> >
> I'll add a few:
> - dak / ftp-master
> - snapshot
> - pybuildd
> - planet
> - security-tracker
> - release tools (britney, transitions, queue-viewer, ...)
> - udd
> - userdir-ldap
> - piuparts
> - mirror-status
> - veyepar.debian.org
> - debconf websites
> - debdelta
>
> Cheers,
> Julien
>
>


Bug#1017872: RFA: ocrmypdf -- add an OCR text layer to PDF files

2022-08-21 Thread Sean Whitton
Package: wnpp
Severity: normal
X-Debbugs-Cc: debian-python@lists.debian.org, barlow@gmail.com
Control: affects -1 src:ocrmypdf

I request an adopter for the ocrmypdf package.  I don't use it as often
as I did (hardly ever the past couple of years), and anyway it would be
better for a Python programmer to maintain it.

The package description is:
 OCRmyPDF generates a searchable PDF/A file from a regular PDF
 containing only images, allowing it to be searched.
 .
 It uses the Tesseract OCR engine and so supports all the languages
 that Tesseract does.
 .
 Some other main features:
 .
   * Places OCR text accurately below the image to ease copy / paste
   * Keeps the exact resolution of the original embedded images
   * When possible, inserts OCR information as a lossless operation
 without rendering vector information
   * Keeps file size about the same
   * If requested deskews and/or cleans the image before performing OCR
   * Validates input and output files
   * Provides debug mode to enable easy verification of the OCR results
   * Processes pages in parallel when more than one CPU core is
 available
   * Battle-tested on thousands of PDFs, a test suite and continuous
 integration.

-- 
Sean Whitton


signature.asc
Description: PGP signature


Bug#1017873: RFA: pikepdf

2022-08-21 Thread Sean Whitton
Package: wnpp
Severity: normal
X-Debbugs-Cc: debian-python@lists.debian.org, barlow@gmail.com
Control: affects -1 src:pikepdf

I request an adoptor for the pikepdf package.  It would be better if
someone with more knowledge of either or both Python and PDFs were to
maintain it.  I have also filed an RFA for ocrmypdf, the most important
reverse dependency.

The package description is:
 pikepdf is a Python library to read and write PDFs with QPDF.
 Features include:
 .
   * Editing, manipulation and transformation of existing PDFs
   * Based on the mature, proven QPDF C++ library
   * Works with encrypted PDFs
   * Supports all PDF compression filters
   * Can create "fast web view" (linearized) PDFs
   * Creates standards compliant PDFs that pass validation in other tools
   * Automatically repairs damaged PDFs, just like QPDF
   * Implements more of the PDF specification than existing Python PDF tools
   * IPython notebook and Jupyter integration

-- 
Sean Whitton


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-21 Thread Stefano Rivera
Hi Dmitry (2022.08.21_13:04:36_+)
> Stefano Rivera 
>dh-python (U)

Fixed in git.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Re: Proposed MBF: packages still using nose

2022-08-21 Thread Samuel Thibault
Dmitry Shachnev, le dim. 21 août 2022 16:18:53 +0300, a ecrit:
> On Sun, Aug 21, 2022 at 03:11:59PM +0200, Samuel Thibault wrote:
> > Hello,
> >
> > Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit:
> > > Samuel Thibault 
> > >dogtail
> >
> > ? it's using python3-nose2, not python-nose.
> 
> debian/tests/control uses python3-nose:
> 
> https://sources.debian.org/src/dogtail/0.9.11-10/debian/tests/control/#L3

Oh, right, missing update there, thanks :)

Samuel



Re: Proposed MBF: packages still using nose

2022-08-21 Thread Dmitry Shachnev
Hi Samuel!

On Sun, Aug 21, 2022 at 03:11:59PM +0200, Samuel Thibault wrote:
> Hello,
>
> Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit:
> > Samuel Thibault 
> >dogtail
>
> ? it's using python3-nose2, not python-nose.

debian/tests/control uses python3-nose:

https://sources.debian.org/src/dogtail/0.9.11-10/debian/tests/control/#L3

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Re: Proposed MBF: packages still using nose

2022-08-21 Thread Samuel Thibault
Hello,

Dmitry Shachnev, le dim. 21 août 2022 16:04:36 +0300, a ecrit:
> Samuel Thibault 
>dogtail

? it's using python3-nose2, not python-nose.

Samuel



Proposed MBF: packages still using nose

2022-08-21 Thread Dmitry Shachnev
Hi,

nose [1] is a testing framework for Python, which is dead and unmaintained
since 2015 [2][3].

The former maintainer of nose recommends projects using nose to switch to
nose2 [4], pytest [5] or unittest from Python standard library [6]. There is
a script called nose2pytest [7] which can assist with migrating from nose to
pytest.

nose has a Python 2 code base and it is difficult to keep it in working state
for new Python versions. It will probably become impossible after Python 3.13,
where lib2to3 will be removed [8].

In Debian sid, we still have 389 packages which either build-depend on nose or
use it in autopkgtests. I propose to file bugs for them asking to switch to a
supported alternative. A dd-list is attached.

[1]: https://tracker.debian.org/pkg/nose
[2]: https://github.com/nose-devs/nose/commit/0f40fa995384afad
[3]: https://pypi.org/project/nose/#history
[4]: https://docs.nose2.io/en/latest/
[5]: https://docs.pytest.org/en/latest/
[6]: https://docs.python.org/3/library/unittest.html
[7]: https://github.com/pytest-dev/nose2pytest
[8]: https://docs.python.org/3/library/2to3.html#module-lib2to3

--
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 
   fastaq (U)
   iva (U)
   paleomix (U)
   python-biom-format (U)
   python-nose-random (U)
   python-pbcore (U)
   python-pyani (U)
   python-pymummer (U)
   python-pynndescent (U)
   pyutilib (U)
   qiime (U)
   scoary (U)
   umap-learn (U)
   youtube-dl

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

Andrew Chadwick 
   mypaint (U)

Andrew Starr-Bochicchio 
   fabric (U)
   pyxdg (U)

Andrey Rahmatullin 
   dateparser (U)

Andrius Merkys 
   xraylarch (U)

anonym 
   onionshare (U)

Antoine Beaupré 
   dateparser (U)
   python-invoke (U)

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

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

Antonio Valentino 
   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)

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

Bdale Garbee 
   rocketcea

Ben Finney 
   python-lockfile

Benda Xu 
   vitables (U)

Benjamin Drung 
   python-redmine

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

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)
   voltron (U)

Chris Boot 
   nrpe-ng

Chris Johnston 
   python-flake8 (U)

Chris Lamb 
   django-assets (U)

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

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

Christopher Hoskin 
   case (U)
   pytds (U)
   sphinx-celery (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 Watson 
   python-anyjson (U)

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 FreeIPA Team 
   freeipa

Debian FreeIPA Team 
   python-jwcrypto

Debian GIS Project 
   python-descartes
   python-geopandas
   python-hdf4
   python-mapnik
   python-stetl

Debian Let's Encrypt Team 
   pyrfc3339 (U)

Debian Med Packaging Team 
   bcbio
   biomaj3
   biomaj3-cli
   biomaj3-core
   biomaj3-daemon
   biomaj3-download
   biomaj3-process
   biomaj3-user
   cwlformat
   falcon
   fastaq
   gfapy
   imbalanced-learn
   insilicoseq
   iva
   mirtop
   neo
   nibabel
   nipy
   paleomix
   pynn
   python-biom-format
   python-deeptools
   python-fitbit
   python-gffutils
   python-gtfparse
   python-mne
   python-pbcore
   python-pyani
   python-pybedtools
   python-pymummer
   python-seqcluster
   python-sqt
   pyxnat
   q2-diversity-lib
   q2-quality-filter