public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pgadmin4] f43: Restore compatibility with python-cryptography-47.x (#2484328)
Date: Sat, 06 Jun 2026 08:10:24 GMT	[thread overview]
Message-ID: <178073342494.1.15970014384621532573.rpms-pgadmin4-c1d5a3d9497c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pgadmin4
Branch : f43
Commit : c1d5a3d9497c7307e7ee6feb4d8841fa33811af3
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-06-06T10:10:16+02:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/pgadmin4/c/c1d5a3d9497c7307e7ee6feb4d8841fa33811af3?branch=f43

Log:
Restore compatibility with python-cryptography-47.x (#2484328)

---
diff --git a/pgadmin4.spec b/pgadmin4.spec
index 9929542..649f398 100644
--- a/pgadmin4.spec
+++ b/pgadmin4.spec
@@ -7,7 +7,7 @@ Name:           pgadmin4
 # NOTE: Also regenerate requires as indicated below when updating!
 # Verify Patch4 on next update
 Version:        9.15
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Administration tool for PostgreSQL
 
 # i686, armv7hl: The webpack terser plugin aborts with JS heap memory exhaustion on these arches
@@ -37,6 +37,8 @@ Patch0:         pgadmin4_requirements.patch
 Patch1:         pgadmin4_azure-mgmt-rdbms.patch
 # Drop requirement on unpackaged python-sphinxcontrib-youtube
 Patch2:         pgadmin4_sphinx_youtube.patch
+# Restore compatibility with python-cryptography-47.x
+Patch3:         pgadmin4_cryptography47.patch
 
 # For docs
 BuildRequires:  glibc-langpack-en
@@ -251,6 +253,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 
 %changelog
+* Sat Jun 06 2026 Sandro Mani <manisandro@gmail.com> - 9.15-2
+- Restore compatibility with python-cryptography-47.x (#2484328)
+
 * Mon May 11 2026 Sandro Mani <manisandro@gmail.com> - 9.15-1
 - Update to 9.15
 

diff --git a/pgadmin4_cryptography47.patch b/pgadmin4_cryptography47.patch
new file mode 100644
index 0000000..6cf8b96
--- /dev/null
+++ b/pgadmin4_cryptography47.patch
@@ -0,0 +1,12 @@
+diff -rupN pgadmin4-9.15/web/pgadmin/utils/crypto.py pgadmin4-9.15-new/web/pgadmin/utils/crypto.py
+--- pgadmin4-9.15/web/pgadmin/utils/crypto.py	2026-05-06 13:30:07.000000000 +0200
++++ pgadmin4-9.15-new/web/pgadmin/utils/crypto.py	2026-06-06 10:06:59.779901440 +0200
+@@ -16,7 +16,7 @@ import os
+ from cryptography.hazmat.backends import default_backend
+ from cryptography.hazmat.primitives.ciphers import Cipher
+ from cryptography.hazmat.primitives.ciphers.algorithms import AES
+-from cryptography.hazmat.decrepit.ciphers.modes import CFB8
++from cryptography.hazmat.primitives.ciphers.modes import CFB8
+ 
+ padding_string = b'}'
+ iv_size = AES.block_size // 8

                 reply	other threads:[~2026-06-06  8:10 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=178073342494.1.15970014384621532573.rpms-pgadmin4-c1d5a3d9497c@fedoraproject.org \
    --to=manisandro@gmail.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