Bug 2098775

Summary: F37FailsToInstall: pgcli, python3-pgcli+keyring
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: pgcliAssignee: Dick Marinus <dick>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dick
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-08 07:20:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2016048, 2045102, 2045109    

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

can't install pgcli:
  - nothing provides python(abi) = 3.10 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(psycopg2) >= 2.8 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(click) >= 4.1 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides (python3.10dist(prompt-toolkit) < 4 with python3.10dist(prompt-toolkit) >= 2.0.6) needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides (python3.10dist(sqlparse) < 0.5 with python3.10dist(sqlparse) >= 0.3) needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(cli-helpers) >= 2 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(cli-helpers[styles]) >= 2 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(configobj) >= 5.0.6 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(pendulum) >= 2.1 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(pgspecial) >= 1.11.8 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(pygments) >= 2 needed by pgcli-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(setproctitle) >= 1.1.9 needed by pgcli-3.1.0-4.fc35.noarch
  
can't install python3-pgcli+keyring:
  - nothing provides python(abi) = 3.10 needed by python3-pgcli+keyring-3.1.0-4.fc35.noarch
  - nothing provides python3.10dist(keyring) >= 12.2 needed by python3-pgcli+keyring-3.1.0-4.fc35.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 pgcli python3-pgcli+keyring


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:49:17 UTC
=================================== FAILURES ===================================
______________________________ test_format_output ______________________________
    def test_format_output():
        settings = OutputSettings(table_format="psql", dcmlfmt="d", floatfmt="g")
        results = format_output(
            "Title", [("abc", "def")], ["head1", "head2"], "test status", settings
        )
        expected = [
            "Title",
            "+---------+---------+",
            "| head1   | head2   |",
            "|---------+---------|",
            "| abc     | def     |",
            "+---------+---------+",
            "test status",
        ]
>       assert list(results) == expected
E       AssertionError: assert ['Title', '+-...------+', ...] == ['Title', '+-...------+', ...]
E         At index 1 diff: '+-------+-------+' != '+---------+---------+'
E         Use -v to get more diff
tests/test_main.py:71: AssertionError
________________________ test_format_output_auto_expand ________________________
    def test_format_output_auto_expand():
        settings = OutputSettings(
            table_format="psql", dcmlfmt="d", floatfmt="g", max_width=100
        )
        table_results = format_output(
            "Title", [("abc", "def")], ["head1", "head2"], "test status", settings
        )
        table = [
            "Title",
            "+---------+---------+",
            "| head1   | head2   |",
            "|---------+---------|",
            "| abc     | def     |",
            "+---------+---------+",
            "test status",
        ]
>       assert list(table_results) == table
E       AssertionError: assert ['Title', '+-...------+', ...] == ['Title', '+-...------+', ...]
E         At index 1 diff: '+-------+-------+' != '+---------+---------+'
E         Use -v to get more diff
tests/test_main.py:138: AssertionError

Comment 3 Miro Hrončok 2022-06-27 14:56:06 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 4 Dick Marinus 2022-08-07 05:52:11 UTC
version bumped to latest release, should now be compatible with python 3.11

Comment 5 Miro Hrončok 2022-08-07 11:13:08 UTC
The package still does not build, it seems the sources were not uploaded.

Comment 6 Dick Marinus 2022-08-07 18:27:08 UTC
oh sorry about that, I've just uploaded the source and successfully rebuild pgcli.

Comment 7 Miro Hrončok 2022-08-08 07:20:23 UTC
Hello,

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

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!