public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pgadmin4] f43: Restore compatibility with python-cryptography-47.x (#2484328)
@ 2026-06-06  8:10 Sandro Mani
  0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-06-06  8:10 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-06  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06  8:10 [rpms/pgadmin4] f43: Restore compatibility with python-cryptography-47.x (#2484328) Sandro Mani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox