Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1721645 - python-anymarkup-core fails to build with Python 3.8
Summary: python-anymarkup-core fails to build with Python 3.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-anymarkup-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1750541
Blocks: F32FTBFS F32FailsToInstall PYTHON38 1737815
TreeView+ depends on / blocked
 
Reported: 2019-06-18 19:26 UTC by Miro Hrončok
Modified: 2019-10-04 20:04 UTC (History)
2 users (show)

Fixed In Version: python-anymarkup-core-0.8.0-1.fc32 python-anymarkup-core-0.8.0-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-12 12:39:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-06-18 19:26:27 UTC
python-anymarkup-core fails to build with Python 3.8.0b1:

=================================== FAILURES ===================================
____________ TestSerialize.test_serialize_works_with_wb_opened_file ____________

self = <test.test_serialize.TestSerialize object at 0x7fc95ea5aeb0>
tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_serialize_works_with_wb_o0')

    def test_serialize_works_with_wb_opened_file(self, tmpdir):
        f = os.path.join(str(tmpdir), 'foo.xml')
        fhandle = open(f, 'wb+')
        serialize(example_as_ordered_dict, 'xml', fhandle)
>       assert self._read_decode(fhandle) == example_xml
E       AssertionError: assert '<?xml versio...blah>\n</foo>' == '<?xml version...blah>\n</foo>'
E         Skipping 103 identical leading characters in diff, use -v to show
E         Skipping 72 identical trailing characters in diff, use -v to show
E         - <blahblah>true</blah
E         ?           ^
E         + <blahblah>True</blah
E         ?           ^

test/test_serialize.py:47: AssertionError

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00940144-python-anymarkup-core/

For all our attempts to build python-anymarkup-core with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-anymarkup-core/

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.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 1 Miro Hrončok 2019-07-15 09:40:00 UTC
Jan? Could you please prioritize this?

Comment 2 Miro Hrončok 2019-07-30 14:50:38 UTC
Are you responsive?

Comment 3 Ben Cotton 2019-08-13 16:51:36 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 4 Ben Cotton 2019-08-13 17:54:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 5 Miro Hrončok 2019-08-13 18:05:43 UTC
Python 3.8 will happen in Fedora 32, changing back to rawhide.

Comment 6 Miro Hrončok 2019-08-14 22:24:14 UTC
The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag.

If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead:

    on branch master:
    $ fedpkg build --target=f32-python

To wait for a build to show up in the side tag, do:

    $ koji wait-repo f32-python --build=<nvr>

Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32.

An updated mock config is posted at:
http://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away.

Thanks. Let us know if you need up to date info, or if you have any questions.



PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual:

    on branch f31:
    $ fedpkg build

Comment 7 Miro Hrončok 2019-08-21 16:34:27 UTC
The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged:

  $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32


If your built already started in f32-python, after it is finished, please tag it to rawhide with:

  $ koji tag-build f32-pending <nvr>

For example:

  $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32

Thanks!

(This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)

Comment 8 Miro Hrončok 2019-08-21 17:29:02 UTC
(Python 3.8 has landed in the rawhide buildroot.)

Comment 9 Fedora Update System 2019-09-25 08:41:18 UTC
FEDORA-2019-7199bdb1b9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7199bdb1b9

Comment 10 Fedora Update System 2019-09-26 02:55:43 UTC
python-anymarkup-core-0.8.0-1.fc31 has been pushed to the Fedora 31 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-2019-7199bdb1b9

Comment 11 Fedora Update System 2019-10-04 20:04:07 UTC
python-anymarkup-core-0.8.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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