Bug 2414234

Summary: Package version not compatible with nautilus 49
Product: [Fedora] Fedora Reporter: PolyMeilex <marynczakbartlomiej>
Component: nautilus-pythonAssignee: Matthias Clasen <mclasen>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: dignan.patrick, fedora, ferdnyc, gnome-sig, kalevlember, mclasen, michel, projects.rg, tdawson, vg.aetera
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description PolyMeilex 2025-11-11 19:53:45 UTC
Fedora 43 ships with `nautilus-python 4.0.1` and `nautilus 49.1` which have incompatible APIs.

`nautilus-python 4.0.1` expects nautilus 4.0 API, while `nautilus 49.1` uses 4.1.
The bindings were updated to align with nautilus 49 in `nautilus-python 4.1.0`: https://gitlab.gnome.org/GNOME/nautilus-python/-/commit/d392c0c13df5f11d996f4adc0b9a1e1869de714b

This causes a version missmatch error on any attempt to use python extensions in Fedora 43.

Reproducible: Always

Steps to Reproduce:
1.Install nautilus
2.Install nautilus-python
3.Run `touch ~/.local/share/nautilus-python/extensions/my_extension.py`
4.Run `nautilus -q`
5.Version missmatch error will be printed to stderr
Actual Results:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.14/site-packages/gi/__init__.py", line 135, in require_version
    raise ValueError(f"Namespace {namespace} not available for version {version}")
ValueError: Namespace Nautilus not available for version 4.0
<sys>:0: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '4.1') before import to ensure that the right version gets loaded.

Expected Results:
API versions align and Nautilus and it's extensions run as expected

Comment 1 "FeRD" (Frank Dana) 2026-03-07 18:40:34 UTC
I've submitted https://src.fedoraproject.org/rpms/nautilus-python/pull-request/4 to update Fedora 43 to nautilus-python-4.1.0.

Comment 2 "FeRD" (Frank Dana) 2026-03-19 19:26:41 UTC
Make that https://src.fedoraproject.org/rpms/nautilus-python/pull-request/5

Comment 3 Fedora Update System 2026-03-25 07:50:50 UTC
FEDORA-2026-5e85f996c0 (nautilus-python-4.1.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5e85f996c0