[Bug 1024136] Review Request: gedit-template - Gedit plugin to create new files from templates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1024136



--- Comment #29 from Michael Schwendt <bugs.michael@xxxxxxx> ---
> My logic is: Gedit requires Python 3 (because 'rpm -q --requires gedit'
> says 'python(abi) = 3.3'), and this plugin requires Gedit.

This is okay, because _currently_ it works. Currently, package gedit contains
an explicit dependency on Python 3. But generally, you cannot guarantee that
such a dependency won't move to a different package (and actually, moved
dependencies have lead to run-time breakage before). gedit-template directly
needs Python 3, so that should be added as a package dependency.


> Byte compiled files are present in my system:

That looks as if they have been bytecompiled for Python 2. The Python 3 based
__pycache__ dir is missing.


> Why is that?

Try adding to the spec:

%global __python %{__python3}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]