Bug 2098783 - F37FailsToInstall: pre-commit
Summary: F37FailsToInstall: pre-commit
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pre-commit
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 2099010 2099079
TreeView+ depends on / blocked
 
Reported: 2022-06-20 09:32 UTC by Miro Hrončok
Modified: 2022-07-10 09:18 UTC (History)
6 users (show)

Fixed In Version: pre-commit-2.19.0-2.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-10 09:18:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Scratch-build log (266.68 KB, text/plain)
2022-06-27 16:25 UTC, Ben Beasley
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pre-commit pre-commit issues 2450 0 None open pre_commit/util.py:72 read_text / :68 open_binary is deprecated. Use files() instead 2022-07-09 17:58:24 UTC
Github pre-commit pre-commit issues 2451 0 None open Python 3.11 improved tracebacks break the tests 2022-07-09 18:02:09 UTC

Description Miro Hrončok 2022-06-20 09:32:40 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 (pre-commit) Fails To Install in Fedora 37:

can't install pre-commit:
  - 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
  
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 pre-commit


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:06:03 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:56:11 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 Ben Beasley 2022-06-27 16:25:53 UTC
Created attachment 1892990 [details]
Scratch-build log

A fresh scratch build[1] shows three failing tests plus a bunch of errors due to a deprecation warning from importlib-resources.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=88808451

Comment 4 Miro Hrončok 2022-07-09 17:58:25 UTC
Reported the errors as https://github.com/pre-commit/pre-commit/issues/2450

Comment 5 Miro Hrončok 2022-07-09 18:02:09 UTC
(In reply to Miro Hrončok from comment #4)
> Reported the errors as https://github.com/pre-commit/pre-commit/issues/2450

Upstream recommends disabling the warning and is not interested in fixing that :/




I've also reported the test failures as https://github.com/pre-commit/pre-commit/issues/2451 -- they all look caused by extra ^^^^^^^^^^^^ in Python 3.11+ tracebacks.


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