python-cryptography, Rust, and OpenSSL 3.0

2021-12-01 Thread Simon Chopin
Hi, TL;DR: Does it make sense to upload the intermediary upstream version 3.4.8 or rather wait for someone to work on the Rust-based later versions? I'm currently working on the OpenSSL 3.0 transition in Ubuntu, and python-cryptography in its current version in Debian and Ubuntu does not support

Re: python-cryptography, Rust, and OpenSSL 3.0

2021-12-01 Thread Andrius Merkys
Hi Simon, On 2021-12-01 14:31, Simon Chopin wrote: > TL;DR: Does it make sense to upload the intermediary upstream version > 3.4.8 or rather wait for someone to work on the Rust-based later versions? I would say yes. python-cryptography >= v3.4.6 is needed to update python-autobahn [1]. Thomas Go

Re: python-cryptography, Rust, and OpenSSL 3.0

2021-12-01 Thread Thomas Goirand
On 12/1/21 4:05 PM, Andrius Merkys wrote: > Hi Simon, > > On 2021-12-01 14:31, Simon Chopin wrote: >> TL;DR: Does it make sense to upload the intermediary upstream version >> 3.4.8 or rather wait for someone to work on the Rust-based later versions? > > I would say yes. python-cryptography >= v3.

Installing data files with pybuild

2021-12-01 Thread Julian Gilbey
Hello! pybuild is magic. It knows where the build directory is, despite it seemingly calling setup.py with no command line arguments specifying it! But anyway, my actual question is this. How do I ensure that the data files are also copied into the package? My package has a source tree that lo

Re: Installing data files with pybuild

2021-12-01 Thread Andrey Rahmatullin
On Wed, Dec 01, 2021 at 04:57:44PM +, Julian Gilbey wrote: > Hello! > > pybuild is magic. It knows where the build directory is, despite it > seemingly calling setup.py with no command line arguments specifying > it! > > But anyway, my actual question is this. How do I ensure that the data

Re: Installing data files with pybuild

2021-12-01 Thread Louis-Philippe Véronneau
On 2021-12-01 12 h 28, Andrey Rahmatullin wrote: > >> Only the .py files are currently included in the build; what is the >> best way to include all of the data files after the build step and >> before the test step, and then to ensure they are included in the >> final package? > Apart from fixing

Re: python-cryptography, Rust, and OpenSSL 3.0

2021-12-01 Thread Stefano Rivera
Hi Simon (2021.12.01_12:31:20_+) > Now that the OpenSSL 3 transition has started in Ubuntu, I plan on > uploading this package to our archive as I lack the time to do the > necessary work for the Rust enablement, but I'm wondering if it makes > sense to do the same in Debian? I'd assume, yes.

Re: python-cryptography, Rust, and OpenSSL 3.0

2021-12-01 Thread Tristan Seligmann
On Wed, 1 Dec 2021 at 21:34, Stefano Rivera wrote: > Hi Simon (2021.12.01_12:31:20_+) > > Now that the OpenSSL 3 transition has started in Ubuntu, I plan on > > uploading this package to our archive as I lack the time to do the > > necessary work for the Rust enablement, but I'm wondering if

Re: grammalecte sponsorship (was: Re: Fwd: grammalecte_2.1.2+ds-1_amd64.changes REJECTED)

2021-12-01 Thread Romain Porte
Hi, 27/11/2021 19:32, Louis-Philippe Véronneau : Sorry for being so slow to sponsor. While trying to build, I get this error: mv: will not overwrite just-created 'debian/tmp/usr/share/doc/python3-grammalecte/README.txt' with 'debian/tmp/usr/lib/python3.9/dist-packages/grammalecte/README.txt'

Re: Installing data files with pybuild

2021-12-01 Thread Julian Gilbey
On Wed, Dec 01, 2021 at 01:32:38PM -0500, Louis-Philippe Véronneau wrote: > On 2021-12-01 12 h 28, Andrey Rahmatullin wrote: > > > >> Only the .py files are currently included in the build; what is the > >> best way to include all of the data files after the build step and > >> before the test ste

Re: Bug#1000803: autopkgtest: avoid duplication with autopkgtests and how unittests are run at build-time

2021-12-01 Thread Antonio Terceiro
Hi, Adding debian-python@l.d.o The context is #1000803 where Sandro asked about reducing duplication when running upstream test suites both during the build and under autopkgtest. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000803 On Tue, Nov 30, 2021 at 12:47:42AM -0500, Sandro Tosi wro

Re: Installing data files with pybuild

2021-12-01 Thread Stefano Rivera
Hi Julian (2021.12.01_21:47:38_+) > I don't understand why the files are not correctly installed by > setup.py; it has set include_package_data=True, which includes the > files (and file patterns) listed in MANIFEST.in, but it seems that > this is only used for the bdist and sdist targets of se