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 1737273 - koschei fails to build with Python 3.8
Summary: koschei fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: koschei
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Michael Simacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-08-04 22:42 UTC by Miro Hrončok
Modified: 2019-08-20 15:46 UTC (History)
3 users (show)

Fixed In Version: koschei-2.4.0-7.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-20 15:46:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-08-04 22:42:42 UTC
koschei fails to build with Python 3.8.0b3.

======================================================================
ERROR: test_session_lock_exception_propagation (test.locks_test.LocksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/koschei-2.4.0/test/locks_test.py", line 61, in test_session_lock_exception_propagation
    with pg_session_lock(self.s2.db, LOCK_REPO_RESOLVER, 1, block=False):
  File "/usr/lib64/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/builddir/build/BUILD/koschei-2.4.0/koschei/locks.py", line 101, in pg_session_lock
    pg_lock(db, namespace, key, block=block, shared=shared)
  File "/builddir/build/BUILD/koschei-2.4.0/koschei/locks.py", line 66, in pg_lock
    raise Locked()
koschei.locks.Locked


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

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

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-08-05 11:32:42 UTC
Severity rationale:  If this package won't build with 3.8, it won't be installable after the side tag is merged.

The side tag is planed for next week (right after branching).

Comment 2 Mikolaj Izdebski 2019-08-05 11:35:08 UTC
From what I can see Python 3.8 is not built for Fedora yet, therefore it's not a high-severity issue IMO. Once it is in rawhide I will try to reproduce the issue and fix it as appropriate.

Comment 3 Miro Hrončok 2019-08-05 11:46:55 UTC
That is correct, we try to test everything and have it prepared. If you don't consider that important enough, that's totally fine. We won't block the side tag merge because of koschei.

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

Comment 5 Ben Cotton 2019-08-13 18:33:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 6 Miro Hrončok 2019-08-14 22:24:28 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


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