Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13746 > unrolled thread
| Started by | Simon Chopin <simon.chopin@canonical.com> |
|---|---|
| First post | 2021-12-01 14:00 +0100 |
| Last post | 2021-12-02 11:40 +0100 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.maint.python
python-cryptography, Rust, and OpenSSL 3.0 Simon Chopin <simon.chopin@canonical.com> - 2021-12-01 14:00 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Andrius Merkys <merkys@debian.org> - 2021-12-01 16:10 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Thomas Goirand <zigo@debian.org> - 2021-12-01 18:30 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Andrius Merkys <merkys@debian.org> - 2021-12-02 09:10 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Stefano Rivera <stefanor@debian.org> - 2021-12-01 20:40 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Tristan Seligmann <mithrandi@mithrandi.net> - 2021-12-01 21:00 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Tristan Seligmann <mithrandi@mithrandi.net> - 2021-12-02 11:10 +0100
Re: python-cryptography, Rust, and OpenSSL 3.0 Andrius Merkys <merkys@debian.org> - 2021-12-02 11:40 +0100
| From | Simon Chopin <simon.chopin@canonical.com> |
|---|---|
| Date | 2021-12-01 14:00 +0100 |
| Subject | python-cryptography, Rust, and OpenSSL 3.0 |
| Message-ID | <Dpxnj-2tu-1@gated-at.bofh.it> |
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 it[0]. The current version of the package is 3.3.2-1, whereas upstream is at 36.0. Versioning scheme notwithstanding, upstream moves with a rapid pace, since 3.3.2 came out in February 2021. This package has recently gained some notoriety[1] for wanting to use Rust to replace parts of its C core. 3.4 introduces an optional dependency on the Rust toolchain, which became mandatory in 35.0 (think 3.5). Said 35.0 release also brought OpenSSL 3.0 support, which is why I first tried to update the package directly to 35.0 (36.0 wasn't out at the time), but it needs a good few packages that aren't, or weren't at the time, in the Debian archive, with transitive dependencies on crates that aren't necessarily version-compatible with what's currently in Debian. Furthermore, dh-python and pybuild aren't necessarily ready for the setuptools Rust extension. So, instead I opted for packaging the last Rust-optional version, 3.4.8, and backported the necessary OpenSSL 3.0 patches. I posted the result of this work on Salsa[2]. 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? Cheers, Simon PS: please keep me in CC, as I'm not subscribed to the ML. [0]: https://bugs.launchpad.net/ubuntu/+source/python-cryptography/+bug/1946189 [1]: https://lwn.net/Articles/845535/ [2]: https://salsa.debian.org/python-team/packages/python-cryptography/-/merge_requests/6 -- Simon Chopin Foundations Team Ubuntu MOTU simon.chopin@canonical.com schopin@ubuntu.com
[toc] | [next] | [standalone]
| From | Andrius Merkys <merkys@debian.org> |
|---|---|
| Date | 2021-12-01 16:10 +0100 |
| Message-ID | <Dpzp8-3S5-11@gated-at.bofh.it> |
| In reply to | #13746 |
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 Goirand (in CC) said [2] he is already working on python-cryptography, thus it would be best to coordinate uploads with him. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995431 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994914#19 Best, Andrius
[toc] | [prev] | [next] | [standalone]
| From | Thomas Goirand <zigo@debian.org> |
|---|---|
| Date | 2021-12-01 18:30 +0100 |
| Message-ID | <DpBAC-55f-7@gated-at.bofh.it> |
| In reply to | #13747 |
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.4.6 is needed to update > python-autobahn [1]. Thomas Goirand (in CC) said [2] he is already > working on python-cryptography, thus it would be best to coordinate > uploads with him. > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995431 > [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994914#19 > > Best, > Andrius > Did ?!? I believe I wrote I was working on python-autobahn, but I have to admit I completely failed my duty (busy on other stuff, like Ceph and many other RC bug fixing). At this point, I believe I must accept NMUs, or at least patches, otherwise it will take forever... Cheers, Thomas Goirand (zigo)
[toc] | [prev] | [next] | [standalone]
| From | Andrius Merkys <merkys@debian.org> |
|---|---|
| Date | 2021-12-02 09:10 +0100 |
| Message-ID | <DpPkd-5fa-7@gated-at.bofh.it> |
| In reply to | #13748 |
Hi Thomas, On 2021-12-01 19:22, Thomas Goirand wrote: > On 12/1/21 4:05 PM, Andrius Merkys wrote: >> 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 Goirand (in CC) said [2] he is already >> working on python-cryptography, thus it would be best to coordinate >> uploads with him. >> >> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995431 >> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994914#19 > > Did ?!? I believe I wrote I was working on python-autobahn, but I have > to admit I completely failed my duty (busy on other stuff, like Ceph and > many other RC bug fixing). I must have misinterpreted your words, sorry. You were indeed talking about python-autobahn. > At this point, I believe I must accept NMUs, or at least patches, > otherwise it will take forever... OK. I believe I have the update of python-autobahn ready in my fork [3]. I will submit PRs whenever python-cryptography 3.4.8 is uploaded. [3] https://salsa.debian.org/merkys/python-autobahn Best, Andrius
[toc] | [prev] | [next] | [standalone]
| From | Stefano Rivera <stefanor@debian.org> |
|---|---|
| Date | 2021-12-01 20:40 +0100 |
| Message-ID | <DpDCq-6f5-5@gated-at.bofh.it> |
| In reply to | #13746 |
Hi Simon (2021.12.01_12:31:20_+0000) > 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. We were waiting on PyO3, primarily, I think. I see it's in unstable, but hasn't made it to testing, yet. I'll do a source-only upload. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272
[toc] | [prev] | [next] | [standalone]
| From | Tristan Seligmann <mithrandi@mithrandi.net> |
|---|---|
| Date | 2021-12-01 21:00 +0100 |
| Message-ID | <DpDVL-6lA-1@gated-at.bofh.it> |
| In reply to | #13752 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, 1 Dec 2021 at 21:34, Stefano Rivera <stefanor@debian.org> wrote: > Hi Simon (2021.12.01_12:31:20_+0000) > > 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. > > We were waiting on PyO3, primarily, I think. I see it's in unstable, but > hasn't made it to testing, yet. I'll do a source-only upload. > Thanks for the patches, Simon; I am working on testing and uploading this version as an intermediate step while we resolve the Rust issue. As far as Rust goes, it should be straightforward packaging the missing dependencies here, but unfortunately I have not been able to do much Debian-related work recently.
[toc] | [prev] | [next] | [standalone]
| From | Tristan Seligmann <mithrandi@mithrandi.net> |
|---|---|
| Date | 2021-12-02 11:10 +0100 |
| Message-ID | <DpRcl-6lj-11@gated-at.bofh.it> |
| In reply to | #13753 |
[Multipart message — attachments visible in raw view] — view raw
> python-cryptography_3.4.8-1_source.changes uploaded successfully to localhost On Wed, 1 Dec 2021 at 21:38, Tristan Seligmann <mithrandi@mithrandi.net> wrote: > On Wed, 1 Dec 2021 at 21:34, Stefano Rivera <stefanor@debian.org> wrote: > >> Hi Simon (2021.12.01_12:31:20_+0000) >> > 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. >> >> We were waiting on PyO3, primarily, I think. I see it's in unstable, but >> hasn't made it to testing, yet. I'll do a source-only upload. >> > > Thanks for the patches, Simon; I am working on testing and uploading this > version as an intermediate step while we resolve the Rust issue. As far as > Rust goes, it should be straightforward packaging the missing dependencies > here, but unfortunately I have not been able to do much Debian-related work > recently. >
[toc] | [prev] | [next] | [standalone]
| From | Andrius Merkys <merkys@debian.org> |
|---|---|
| Date | 2021-12-02 11:40 +0100 |
| Message-ID | <DpRFn-6v4-9@gated-at.bofh.it> |
| In reply to | #13759 |
On 2021-12-02 11:42, Tristan Seligmann wrote: >> python-cryptography_3.4.8-1_source.changes uploaded successfully to localhost Great, thanks a lot! Best, Andrius
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web