Re: Incorrect code or Python regression?

2024-07-21 Thread Barry
> On 21 Jul 2024, at 10:22, Paul Howarth wrote: > > since enums are singletons in Python. I am not near a computer to check this. The enum is a singleton. But I am not sure that the values of an enum are singletons. Often they are int and int’s are not singletons. Int’s being usable with “is”

Re: Incorrect code or Python regression?

2024-07-21 Thread Barry
> On 21 Jul 2024, at 10:22, Paul Howarth wrote: > > Hence the check is: > >except UnsupportedAlgorithm as e: >return e._reason is _Reasons.UNSUPPORTED_HASH This may be a case of the e._reason being the correct int value of _ Reasons.UNSUPPORTED_HASH by not the singleton. So “is”

Re: Incorrect code or Python regression?

2024-07-21 Thread Miro Hrončok
On 21. 07. 24 19:10, Paul Howarth wrote: Hi Miro, On Sun, 21 Jul 2024 17:46:24 +0200 Miro Hrončok wrote: Hey Paul. I just tried this with pip-installed cryptography in Python 3.13 venv: >>> from cryptography.exceptions import _Reasons >>> from cryptography.hazmat.primitives.kdf.kbkdf imp

Fedora rawhide compose report: 20240721.n.0 changes

2024-07-21 Thread Fedora Rawhide Report
OLD: Fedora-Rawhide-20240720.n.1 NEW: Fedora-Rawhide-20240721.n.0 = SUMMARY = Added images:1 Dropped images: 1 Added packages: 0 Dropped packages:0 Upgraded packages: 38 Downgraded packages: 0 Size of added packages: 0 B Size of dropped packages:0 B Size

Re: Incorrect code or Python regression?

2024-07-21 Thread Paul Howarth
On Sun, 21 Jul 2024 19:10:48 +0200 Miroslav Suchý wrote: > Dne 21. 07. 24 v 11:21 dop. Paul Howarth napsal(a): > > python-paramiko failed to build in the mass rebuild and I'm > > wondering if there's incorrect code in paramiko (or its dependency > > cryptography), or whether it's a regression in

Re: Incorrect code or Python regression?

2024-07-21 Thread Miroslav Suchý
Dne 21. 07. 24 v 11:21 dop. Paul Howarth napsal(a): python-paramiko failed to build in the mass rebuild and I'm wondering if there's incorrect code in paramiko (or its dependency cryptography), or whether it's a regression in the current Python beta. The failures are in the test suite and the fa

Re: Incorrect code or Python regression?

2024-07-21 Thread Paul Howarth
Hi Miro, On Sun, 21 Jul 2024 17:46:24 +0200 Miro Hrončok wrote: > Hey Paul. > > I just tried this with pip-installed cryptography in Python 3.13 venv: > > >>> from cryptography.exceptions import _Reasons > >>> from cryptography.hazmat.primitives.kdf.kbkdf import KBKDFHMAC > >>> try: > ...

[Test-Announce]2024-07-22 @ 15:00 UTC - Fedora Quality Meeting

2024-07-21 Thread Kamil Paral
# Fedora Quality Meeting # Date: 2024-07-22 # Time: 15:00 UTC ( https://fedoraproject.org/wiki/Infrastructure/UTCHowto ) # Location: https://chat.fedoraproject.org/#/room/#meeting:fedoraproject.org or https://matrix.to/#/#meeting:fedoraproject.org Greetings testers! It's meeting time again. Here

Re: Incorrect code or Python regression?

2024-07-21 Thread Miro Hrončok
On 21. 07. 24 11:21, Paul Howarth wrote: Hi all, python-paramiko failed to build in the mass rebuild and I'm wondering if there's incorrect code in paramiko (or its dependency cryptography), or whether it's a regression in the current Python beta. The failures are in the test suite and the fail

Incorrect code or Python regression?

2024-07-21 Thread Paul Howarth
Hi all, python-paramiko failed to build in the mass rebuild and I'm wondering if there's incorrect code in paramiko (or its dependency cryptography), or whether it's a regression in the current Python beta. The failures are in the test suite and the failing tests all involve this error: crypto