public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fido2] epel10.2: Fix build with cryptography 45+
Date: Fri, 21 Aug 2026 13:51:36 GMT	[thread overview]
Message-ID: <178732029660.1.15700790918506240790.rpms-python-fido2-d9ad6412e1c7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-fido2
Branch : epel10.2
Commit : d9ad6412e1c7de1db41914d4ce0abaffec008ef7
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2025-06-12T12:59:37-04:00
Stats  : +19/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-fido2/c/d9ad6412e1c7de1db41914d4ce0abaffec008ef7?branch=epel10.2

Log:
Fix build with cryptography 45+

---
diff --git a/0001-cryptography-dep.patch b/0001-cryptography-dep.patch
new file mode 100644
index 0000000..886c269
--- /dev/null
+++ b/0001-cryptography-dep.patch
@@ -0,0 +1,16 @@
+Arbitrary upper bounds such as this do not work well in distributions.
+cryptography 45 is still compatible, and has already been accepted upstream,
+but at some point there will be 46 and so on.
+
+diff -up ./pyproject.toml.orig ./pyproject.toml
+--- ./pyproject.toml.orig	2024-11-26 04:18:51.000000000 -0500
++++ ./pyproject.toml	2025-06-12 12:46:37.547748297 -0400
+@@ -32,7 +32,7 @@ include = [
+ 
+ [tool.poetry.dependencies]
+ python = "^3.8"
+-cryptography = ">=2.6, !=35, <45"
++cryptography = ">=2.6, !=35"
+ pyscard = {version = "^1.9 || ^2", optional = true}
+ 
+ [tool.poetry.extras]

diff --git a/python-fido2.spec b/python-fido2.spec
index 94d67b7..bed0b65 100644
--- a/python-fido2.spec
+++ b/python-fido2.spec
@@ -12,6 +12,9 @@ Summary:        Functionality for FIDO 2.0, including USB device communication
 License:        LicenseRef-Callaway-BSD AND Apache-2.0 AND MPL-2.0
 URL:            https://github.com/Yubico/python-fido2
 Source0:        https://github.com/Yubico/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+# Fix build with cryptography 45+
+Patch0:         0001-cryptography-dep.patch
+
 BuildArch:      noarch
 
 %global _description\

                 reply	other threads:[~2026-08-21 13:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178732029660.1.15700790918506240790.rpms-python-fido2-d9ad6412e1c7@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox