Bug 2099063 - F37FailsToInstall: python3-pycountry
Summary: F37FailsToInstall: python3-pycountry
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pycountry
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.11 F37FailsToInstall 2098771 2099044 2099124
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:40 UTC by Miro Hrončok
Modified: 2022-07-04 10:40 UTC (History)
2 users (show)

Fixed In Version: python-pycountry-22.3.5-3.fc37
Clone Of:
Environment:
Last Closed: 2022-07-04 10:40:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-06-20 09:40:46 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (python-pycountry) Fails To Install in Fedora 37:

can't install python3-pycountry:
  - nothing provides python3.10dist(setuptools) needed by python3-pycountry-22.3.5-1.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by python3-pycountry-22.3.5-1.fc37.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --disablerepo='*' --enablerepo=local install python3-pycountry


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-06-20 10:08:35 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Miro Hrončok 2022-06-27 14:59:28 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 3 Miro Hrončok 2022-07-04 10:13:27 UTC
+ /usr/bin/pytest --pyargs pycountry
============================= test session starts ==============================
platform linux -- Python 3.11.0b3, pytest-7.1.2, pluggy-1.0.0
rootdir: /builddir/build/BUILD/pycountry-22.3.5
collected 21 items
tests/test_general.py ....F...F............                              [100%]
=================================== FAILURES ===================================
____________________ test_subdivisions_directly_accessible _____________________
    def test_subdivisions_directly_accessible():
>       assert len(pycountry.subdivisions) == 5123
E       assert 5127 == 5123
E        +  where 5127 = len(<pycountry.Subdivisions object at 0x7fff81b56c10>)
E        +    where <pycountry.Subdivisions object at 0x7fff81b56c10> = pycountry.subdivisions
../../BUILDROOT/python-pycountry-22.3.5-2.fc37.noarch/usr/lib/python3.11/site-packages/pycountry/tests/test_general.py:79: AssertionError
_______________________________ test_currencies ________________________________
    def test_currencies():
>       assert len(pycountry.currencies) == 170
E       assert 181 == 170
E        +  where 181 = len(<pycountry.Currencies object at 0x7fff81db0a50>)
E        +    where <pycountry.Currencies object at 0x7fff81db0a50> = pycountry.currencies
../../BUILDROOT/python-pycountry-22.3.5-2.fc37.noarch/usr/lib/python3.11/site-packages/pycountry/tests/test_general.py:117: AssertionError
=========================== short test summary info ============================
FAILED tests/test_general.py::test_subdivisions_directly_accessible - assert ...
FAILED tests/test_general.py::test_currencies - assert 181 == 170
========================= 2 failed, 19 passed in 1.13s =========================


Looks to me like teh update of iso-codes added some subdivisions and currencies.


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