Bug 2099079 - F37FailsToInstall: python3-pyscaffold
Summary: F37FailsToInstall: python3-pyscaffold
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pyscaffold
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2098783
Blocks: PYTHON3.11 F37FailsToInstall 2099174
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:41 UTC by Miro Hrončok
Modified: 2022-07-10 16:12 UTC (History)
2 users (show)

Fixed In Version: python-pyscaffold-4.2.1-3.fc37
Clone Of:
Environment:
Last Closed: 2022-07-10 16:12:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-06-20 09:41:15 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-pyscaffold) Fails To Install in Fedora 37:

can't install python3-pyscaffold:
  - nothing provides python(abi) = 3.10 needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides (python3.10dist(configupdater) < 4~~ with python3.10dist(configupdater) >= 3) needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides (python3.10dist(platformdirs) < 3~~ with python3.10dist(platformdirs) >= 2) needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides (python3.10dist(tomlkit) < 2~~ with python3.10dist(tomlkit) >= 0.7) needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides python3.10dist(packaging) >= 20.7 needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides python3.10dist(setuptools) >= 46.1 needed by python3-pyscaffold-4.2.1-2.fc37.noarch
  - nothing provides python3.10dist(setuptools-scm) >= 5 needed by python3-pyscaffold-4.2.1-2.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-pyscaffold


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:10:07 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:46 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 Ankur Sinha (FranciscoD) 2022-07-05 16:04:52 UTC
Does not build because of pre-commit FTI:

Error: 
 Problem: conflicting requests
  - nothing provides python3.10dist(cfgv) >= 2 needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python3.10dist(identify) >= 1 needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python3.10dist(nodeenv) >= 0.11.1 needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python3.10dist(virtualenv) >= 20.0.8 needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python3.10dist(toml) needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python(abi) = 3.10 needed by pre-commit-2.19.0-1.fc37.noarch
  - nothing provides python3.10dist(pyyaml) >= 5.1 needed by pre-commit-2.19.0-1.fc37.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 4 Miro Hrončok 2022-07-05 21:23:53 UTC
Why does this package BuildRequire pre-commit?

Comment 5 Ankur Sinha (FranciscoD) 2022-07-06 07:19:08 UTC
It's an auto generated BR, so "because upstream has set it so" is the short answer. setup.cfg shows it's required for tests:

https://github.com/pyscaffold/pyscaffold/blob/v4.2.3/setup.cfg#L89

Comment 6 Miro Hrončok 2022-07-06 09:00:23 UTC
I see:

	pre-commit  # system tests run pre-commit

Anyway, this skips that:

    %prep
    ...
    sed -r -i '/\bpre-commit\b.*tests/d' setup.cfg


And the tests fail with:


=================================== FAILURES ===================================
______________________________ test_get_log_level ______________________________

    def test_get_log_level():
>       assert cli.get_log_level([]) == logging.WARNING
E       assert 20 == 30
E        +  where 20 = <function get_log_level at 0x7fa8452f1ee0>([])
E        +    where <function get_log_level at 0x7fa8452f1ee0> = cli.get_log_level
E        +  and   30 = logging.WARNING

tests/test_cli.py:155: AssertionError


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