Bug 1436800 - python-jsonschema: python3-jsonschema is missing Python 3 version of executables
Summary: python-jsonschema: python3-jsonschema is missing Python 3 version of executables
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jsonschema
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Pevec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1419376 (view as bug list)
Depends On:
Blocks: PY3-EXECUTABLES
TreeView+ depends on / blocked
 
Reported: 2017-03-28 17:32 UTC by Iryna Shcherbina
Modified: 2017-07-23 22:49 UTC (History)
4 users (show)

Fixed In Version: python-jsonschema-2.6.0-1.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-23 22:49:26 UTC


Attachments (Terms of Use)
New version including Python 3 executable fix (5.22 KB, patch)
2017-07-21 11:57 UTC, Jan Beran
no flags Details | Diff
Patch to avoid unpacked parts (1.90 KB, patch)
2017-07-21 11:59 UTC, Jan Beran
no flags Details | Diff

Description Iryna Shcherbina 2017-03-28 17:32:05 UTC
The Python 3 subpackage python3-jsonschema is missing executables available in the Python 2 subpackage.

According to the Fedora Packaging guidelines for Python [0], if a Python package that supports Python 3 installs executables into /usr/bin,  then either both Python versions of the executables should be packaged, or only the Python 3 version, depending on the functionality they provide.
(Note the "should": having Python 2-only executables is permitted, but strongly discouraged.)

Is it intentional for this particular package?

In case it is not intentional, please provide a Python 3 version of executable, or you can just switch to Python 3 if the functionality is the same regardless of the Python version. The guide for porting Python-based RPMs is available here [1] and you may refer to it for more instructions.

It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 26 as well.

If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing the issue!

[0] https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks
[1] http://python-rpm-porting.readthedocs.io/

Comment 1 Jan Beran 2017-07-21 11:57:03 UTC
Created attachment 1302317 [details]
New version including Python 3 executable fix

Comment 2 Jan Beran 2017-07-21 11:59:24 UTC
Created attachment 1302318 [details]
Patch to avoid unpacked parts

Comment 3 Jan Beran 2017-07-21 12:05:59 UTC
Hi Alan,

may I ask you to review the updated spec file, and if it is correct, to make a new Fedora build? Thank you.

Comment 4 Alan Pevec 2017-07-21 22:21:13 UTC
*** Bug 1419376 has been marked as a duplicate of this bug. ***

Comment 5 Alan Pevec 2017-07-23 22:49:26 UTC
Thanks Jan!


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