Bug 1472330
Summary: | omniORB-devel: Provide a Python 3 subpackage | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Iryna Shcherbina <ishcherb> |
Component: | omniORB | Assignee: | Haïkel Guémar <karlthered> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | karlthered, manisandro |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-09 08:21:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1285816 |
Description
Iryna Shcherbina
2017-07-18 13:17:18 UTC
I actually looked at this, but I'm not sure how to deal with the /usr/bin/omniidl /usr/bin/omniidlrun.py python scripts. One approach I see is an unversioned /usr/bin/python in the shebang, so that the default interpreter is picked unless the user explicitly picks the interpreter, and then having -devel-python2 and -devel-python3 co-own the files. Happy to hear other suggestions. Upstream provides different versions of those files for Python 2 and Python 3. So if you choose to build python2-omniORB-devel and python3-omniORB-devel, I believe you should follow the common practice and provide a versioned binary for Python 3 package, e.g. /usr/bin/omniidl-3 Also, if the binaries provide the same functionality across both Python versions, then you may package only the Py3 ones (see more in Fedora Packaging Guidelines for Python [0]). [1] https://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks > Upstream provides different versions of those files for Python 2 and Python 3
Uhm, can you give a reference to that?
omniidl for one is the IDL compiler so easily called by other tools, hence I'd assume that the name should be changed.
(In reply to Sandro Mani from comment #3) > > Upstream provides different versions of those files for Python 2 and Python 3 > Uhm, can you give a reference to that? Sure. Python 3 version: https://sourceforge.net/p/omniorb/svn/HEAD/tree/branches/4_2/omniORB/src/tool/omniidl/python3/scripts/omniidl.in Python2 version: https://sourceforge.net/p/omniorb/svn/HEAD/tree/branches/4_2/omniORB/src/tool/omniidl/python/scripts/omniidl.in Correct me if I am wrong. Ok, but both are installed as /usr/bin/omniidl, i.e. the name collision is my issue here. Done in omniORB-4.2.2-4.fc27 |