Bug 1707476
Summary: | Build python3 version of django in EPEL7 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Tuomo Soini <tis> | ||||
Component: | python-django | Assignee: | Matthias Runge <mrunge> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | epel7 | CC: | bishop, jal233, mhroncok, michel, mrunge, sgallagh, slavek.kabrda | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-django-1.11.21-2.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-07-14 00:45:07 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: | 1707468 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Because python36-bcrypt is build dpendency, I created separate bug requesting python3 build. If we want tests, to be fairly sure the build works, we'd also need: BuildRequires: python3-docutils BuildRequires: python3-jinja2 BuildRequires: python3-mock BuildRequires: python3-numpy BuildRequires: python3-pillow BuildRequires: python3-PyYAML BuildRequires: python3-pytz BuildRequires: python3-selenium BuildRequires: python3-sqlparse BuildRequires: python3-memcached Only python36-pillow, python36-selenium, python36-sqlparse, and python36-memcached are missing from that list. But note, tests are not enabled for python2 version either, that's why I didn't care to create bugs about those other test deps. I kept checks enabled almost always, but there were cases, where tests did not pass on koji, but e.g worked on my machine in mock. So if we disable the runtests.py, we could play with an alpha? Will it work to tide us over for the brief period until python3-django shows up on EPEL7 or EPEL8? --- python-django.spec 2019-06-04 01:21:06.000000000 -0700 +++ - 2019-06-24 15:19:24.646725844 -0700 @@ -4,9 +4,6 @@ %global with_python3 0 %endif -# not all deps here yet -%global with_python3 0 - # Turn off the brp-python-bytecompile script %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') @@ -233,7 +230,6 @@ %if 0%{?with_python3} # strange, tests on py35 fail in koji, but pass in local mock -#{__python3} runtests.py --settings=test_sqlite --verbosity=2 --parallel 1 %endif # with_python3 %endif FEDORA-EPEL-2019-e75c0f0a91 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-e75c0f0a91 python36-bcrypt is still missing as build requirement, an "alpha" would not build. I stepped in merged and kicked in a build. Please test the following carefully and give feedback https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-e75c0f0a91 python-bcrypt-3.1.6-2.el7, python-django-1.11.21-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-e75c0f0a91 python-bcrypt-3.1.6-2.el7, python-django-1.11.21-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1565271 [details] Patch for spec adding python3 support (and cleanup) Could you provide python3 version of django on epel7? I attach patch which add python3 support (and includes cleanup for python-django spec. Cleanups: Obsolete and don't package docs because doc packages didn't contain any files before. Filelist clanup so no same file would be included more than once.