Bug 2414234 - Package version not compatible with nautilus 49
Summary: Package version not compatible with nautilus 49
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus-python
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-11 19:53 UTC by PolyMeilex
Modified: 2025-11-25 13:00 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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