Bug 1482898
| Summary: | python-simpleparse: Provide a Python 3 subpackage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Iryna Shcherbina <ishcherb> | ||||
| Component: | python-simpleparse | Assignee: | Miro Hrončok <mhroncok> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | agrover, jberan, mhroncok, tomek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-simpleparse-2.2.0-1.fc28 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-01-30 14:30:42 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, 1312032 | ||||||
| Attachments: |
|
||||||
|
Description
Iryna Shcherbina
2017-08-18 10:57:44 UTC
Created attachment 1318237 [details]
New version including Python 3 subpackage
Hello Andy, may I ask to review the patch, and if it is fine, to make the new package in Fedora? Thank you. Jan Hello Andy, please, may I ask for your feedback? > -%filter_provides_in %{python_sitearch}/.*\.so$\ > +%filter_provides_in %{python2_sitearch}/.*\.so$\ > +%filter_provides_in %{python3_sitearch}/.*\.so$\ I think this can be entirely removed because it si not needed any more and those files are never provided so there is no need to filter them out. Even if it was needed, this way it doesn't work. This macro can be used only once (with a regex OR). > +mv %{buildroot}%{python3_sitearch}/simpleparse/stt/TextTools/mxTextTools/mxTextTools.*.so %{buildroot}%{python3_sitearch}/simpleparse/stt/TextTools/mxTextTools/mxTextTools.so Why is this done? It makes zero sense to me. If it is needed, please add a comment explaining why. If not, please don't do it. > +%{python2_sitearch} and > +%{python3_sitearch} I know you are not changing anything here, because this was already done wrong in the original, but this is wrong. A python module package cannot own this directory, it is owned by pythonX-libs. Please at least use %{pythonX_sitearch}/* if nothing more specific. Hi Miro, thanks for your review. I have provided the updated patch here: https://src.fedoraproject.org/rpms/python-simpleparse/pull-request/1 Miro, thank you for the additional explanation at https://src.fedoraproject.org/rpms/python-simpleparse/pull-request/1. I have updated the patch: https://src.fedoraproject.org/rpms/python-simpleparse/pull-request/2 Hi Andy, may I ask you to review the Pagure PR [1] and rebuild the package? Thank you. [1] https://src.fedoraproject.org/rpms/python-simpleparse/pull-request/2 package handed off to python-sig, feel free to take this BZ too. I will finish this soon. If not, bump me. Thanks Jan for the PR. Merged and built. |