Bug 2484328 - Fails to start because python3-cryptography are to old
Summary: Fails to start because python3-cryptography are to old
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pgadmin4
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Sandro Mani
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-03 11:13 UTC by Frank Büttner
Modified: 2026-08-21 04:52 UTC (History)
3 users (show)

Fixed In Version: pgadmin4-9.15-2.fc43 pgadmin4-9.17-2.fc43
Clone Of:
Environment:
Last Closed: 2026-08-21 04:52:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2026-06-03 11:13:21 UTC
The start fails with:
2026-06-03T13:06:45+02:00 python3[693245]: detected unhandled Python exception in '/usr/lib/pgadmin4/pgAdmin4.py'
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]: Traceback (most recent call last):
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:   File "/usr/lib/pgadmin4/pgAdmin4.py", line 93, in <module>
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     app = create_app()
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:   File "/usr/lib/pgadmin4/pgadmin/__init__.py", line 487, in create_app
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     from pgadmin.browser.server_groups.servers.utils import (
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:         delete_adhoc_servers)
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:   File "/usr/lib/pgadmin4/pgadmin/browser/__init__.py", line 57, in <module>
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     from pgadmin.utils.master_password import validate_master_password, \
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     ...<4 lines>...
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:         get_master_password_from_master_hook
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:   File "/usr/lib/pgadmin4/pgadmin/utils/master_password.py", line 11, in <module>
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     from pgadmin.utils.crypto import encrypt, decrypt
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:   File "/usr/lib/pgadmin4/pgadmin/utils/crypto.py", line 19, in <module>
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]:     from cryptography.hazmat.decrepit.ciphers.modes import CFB8
2026-06-03T13:06:45+02:00 pgadmin4.desktop[693231]: ModuleNotFoundError: No module named 'cryptography.hazmat.decrepit.ciphers.modes'

Because cryptography.hazmat.decrepit.ciphers.modes.CFB are only available since cryptography 47. But Fedora 43 comes with 46  


Reproducible: Always

Steps to Reproduce:
Try to start it
Actual Results:
It crash with "ModuleNotFoundError: No module named 'cryptography.hazmat.decrepit.ciphers.modes'"

Expected Results:
Working app

Additional Information:
See:
https://cryptography.io/en/latest/hazmat/decrepit/modes/
the needed module was added with version 47 of cryptography.
But Fedora 43 comes only with 46.

Comment 1 Fedora Update System 2026-06-06 08:26:12 UTC
FEDORA-2026-cdc276b1b2 (pgadmin4-9.15-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-cdc276b1b2

Comment 3 Fedora Update System 2026-06-07 01:52:35 UTC
FEDORA-2026-cdc276b1b2 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-cdc276b1b2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-cdc276b1b2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-06-15 01:11:45 UTC
FEDORA-2026-cdc276b1b2 (pgadmin4-9.15-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Avi Alkalay 2026-08-13 09:28:09 UTC
This problem is back in pgadmin4-9.17-1.fc43.x86_64

I see the following in logs:

ModuleNotFoundError: No module named 'cryptography.hazmat.decrepit.ciphers.modes'

Comment 6 Fedora Update System 2026-08-13 11:31:50 UTC
FEDORA-2026-e9dd8eafd2 (pgadmin4-9.17-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e9dd8eafd2

Comment 7 Fedora Update System 2026-08-14 01:54:41 UTC
FEDORA-2026-e9dd8eafd2 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e9dd8eafd2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e9dd8eafd2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-08-21 04:52:04 UTC
FEDORA-2026-e9dd8eafd2 (pgadmin4-9.17-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.