Bug 1788512
| Summary: | python-bleach fails to build in Fedora | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-bleach | Assignee: | Matthias Runge <mrunge> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 32 | CC: | cstratak, igor.raits, mhroncok, mplch, mrunge, rbarlow |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-bleach-3.1.0-5.fc32 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-02-19 08:40:41 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: | 1750908, 1785415 | ||
https://koschei.fedoraproject.org/package/python-bleach?collection=f32 reveals this is the case for Python 3.8 as well. Since https://koschei.fedoraproject.org/build/7334939 Upstream is aware: https://github.com/mozilla/bleach/issues/503 This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. Dear Maintainer, your package has not been built successfully in 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks. A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedoraproject.org/wiki/Releases/33/Schedule |
python-bleach fails to build with Python 3.9.0a2. =================================== FAILURES =================================== _ test_uri_value_allowed_protocols[<a href="example.com:8000">valid</a>-kwargs6-<a href="example.com:8000">valid</a>] _ data = '<a href="example.com:8000">valid</a>', kwargs = {'protocols': ['http']} expected = '<a href="example.com:8000">valid</a>' @pytest.mark.parametrize('data, kwargs, expected', [ ..., ]) def test_uri_value_allowed_protocols(data, kwargs, expected): > assert clean(data, **kwargs) == expected E assert '<a>valid</a>' == '<a href="example.com:8000">valid</a>' E - <a>valid</a> E + <a href="example.com:8000">valid</a> tests/test_clean.py:676: AssertionError _ test_uri_value_allowed_protocols[<a href="localhost:8000">valid</a>-kwargs8-<a href="localhost:8000">valid</a>] _ data = '<a href="localhost:8000">valid</a>', kwargs = {'protocols': ['http']} expected = '<a href="localhost:8000">valid</a>' @pytest.mark.parametrize('data, kwargs, expected', [ ..., ]) def test_uri_value_allowed_protocols(data, kwargs, expected): > assert clean(data, **kwargs) == expected E assert '<a>valid</a>' == '<a href="localhost:8000">valid</a>' E - <a>valid</a> E + <a href="localhost:8000">valid</a> tests/test_clean.py:676: AssertionError _ test_uri_value_allowed_protocols[<a href="192.168.100.100:8000">valid</a>-kwargs10-<a href="192.168.100.100:8000">valid</a>] _ data = '<a href="192.168.100.100:8000">valid</a>' kwargs = {'protocols': ['http']} expected = '<a href="192.168.100.100:8000">valid</a>' @pytest.mark.parametrize('data, kwargs, expected', [ ..., ]) def test_uri_value_allowed_protocols(data, kwargs, expected): > assert clean(data, **kwargs) == expected E assert '<a>valid</a>' == '<a href="192.168.100.100:8000">valid</a>' E - <a>valid</a> E + <a href="192.168.100.100:8000">valid</a> tests/test_clean.py:676: AssertionError ===================== 3 failed, 308 passed in 1.36 seconds ===================== For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01140011-python-bleach/ For all our attempts to build python-bleach with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-bleach/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33, but the initial bootstrapping has already started. A build failure this early in the bootstrap sequence blocks us very much.