Bug 2403567 - python-vcstool: Fails to build with setuptools 80.9.0 [test_options fails]
Summary: python-vcstool: Fails to build with setuptools 80.9.0 [test_options fails]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-vcstool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Scott K Logan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS, RAWHIDEFTBFS 2362565
TreeView+ depends on / blocked
 
Reported: 2025-10-13 15:42 UTC by Miro Hrončok
Modified: 2025-11-20 09:18 UTC (History)
2 users (show)

Fixed In Version: python-vcstool-0.3.0-15.fc44
Clone Of:
Environment:
Last Closed: 2025-11-19 22:21:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-10-13 15:42:00 UTC
Dear package maintainer,

We want to update python-setuptools to 80.9.0 or newer.

However, your package fails to build with it, in our testing Copr:

https://copr.fedorainfracloud.org/coprs/churchyard/setuptools-80.9.0/package/python-vcstool

To reproduce, try to build your package in mock with:

 $ fedpkg --release rawhide mockbuild -N -- --addrepo=https://download.copr.fedorainfracloud.org/results/churchyard/setuptools-80.9.0/fedora-rawhide-x86_64

As the number of failures is rather high, I have not yet tried to look into the details about each individual failure.
When you do, please feel free to post relevant part of the logs as comments.

Thank you. Let me know if you need help.

Comment 1 Miro Hrončok 2025-10-13 16:20:48 UTC
+ /usr/bin/python3 -m pytest --ignore=test/test_flake8.py --ignore test/test_commands.py test
============================= test session starts ==============================
platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.6.0
rootdir: /builddir/build/BUILD/python-vcstool-0.3.0-build/vcstool-0.3.0
collected 2 items

test/test_options.py FF                                                  [100%]

=================================== FAILURES ===================================
___________________________ TestOptions.test_clients ___________________________

self = <test_options.TestOptions testMethod=test_clients>

    def test_clients(self):
        output = run_command(['--clients'])
        expected = get_expected_output('clients')
>       self.assertEqual(output, expected)
E       AssertionError: b'/builddir/build/BUILD/python-vcstool-0.3.[408 chars]ip\n' != b'The available VCS clients are:\n  bzr\n  [28 chars]ip\n'

test/test_options.py:12: AssertionError
__________________________ TestOptions.test_commands ___________________________

self = <test_options.TestOptions testMethod=test_commands>

    def test_commands(self):
        output = run_command(['--commands'])
        expected = get_expected_output('commands')
>       self.assertEqual(output, expected)
E       AssertionError: b'/builddir/build/BUILD/python-vcstool-0.3.[407 chars]te\n' != b'branch custom diff export import log pull[27 chars]te\n'

test/test_options.py:17: AssertionError
=========================== short test summary info ============================
FAILED test/test_options.py::TestOptions::test_clients - AssertionError: b'/b...
FAILED test/test_options.py::TestOptions::test_commands - AssertionError: b'/...
============================== 2 failed in 0.27s ===============================

Comment 2 Miro Hrončok 2025-10-31 13:42:11 UTC
I plan to proceed with the setuptools update soon. Let me know if I should wait for python-vcstool.

Comment 3 Miro Hrončok 2025-11-12 17:38:41 UTC
This now fails to build in rawhide.

Comment 4 Miro Hrončok 2025-11-19 21:42:16 UTC
Please respond.

Comment 5 Fedora Update System 2025-11-19 22:18:27 UTC
FEDORA-2025-13bc127d84 (python-vcstool-0.3.0-15.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-13bc127d84

Comment 6 Fedora Update System 2025-11-19 22:21:47 UTC
FEDORA-2025-13bc127d84 (python-vcstool-0.3.0-15.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


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