Bug 1915285 - python-haversion: FTBFS in Fedora rawhide: ModuleNotFoundError: No module named 'awesomeversion'
Summary: python-haversion: FTBFS in Fedora rawhide: ModuleNotFoundError: No module nam...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-haversion
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On: 1914195
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2021-01-12 11:45 UTC by Tomáš Hrnčiar
Modified: 2021-06-14 10:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-14 10:34:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-01-12 11:45:48 UTC
Description of problem:
Package python-haversion fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
3.3.0-1.fc34

Steps to Reproduce:
koji build --scratch f34 python-haversion-3.3.0-1.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-haversion

ImportError while loading conftest '/builddir/build/BUILD/pyhaversion-20.12.1/tests/conftest.py'.
tests/conftest.py:6: in <module>
    from pyhaversion import HaVersion as PyHaVersion
pyhaversion/__init__.py:3: in <module>
    from .version import HaVersion
pyhaversion/version.py:7: in <module>
    from awesomeversion import AwesomeVersion
E   ModuleNotFoundError: No module named 'awesomeversion'

Comment 1 Ben Cotton 2021-02-09 15:40:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 2 Miro Hrončok 2021-06-04 20:14:45 UTC
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla.


The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide.

You can either build the package in the side tag, with:

    $ fedpkg build --target=f35-python

Or you can the build and we will eventually build it for you.

Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away.

Thanks.

See also https://fedoraproject.org/wiki/Changes/Python3.10

If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/

Comment 3 Miro Hrončok 2021-06-07 22:59:19 UTC
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.

Comment 4 Miro Hrončok 2021-06-14 10:34:12 UTC
This package was successfully rebuilt with Python 3.10.

If you need this bugzilla open for tracking purposes, sorry for the automatic closing: feel free to reopen it.


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