Bug 2417959 - argparse-manpage fails to build with pip 25.3
Summary: argparse-manpage fails to build with pip 25.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: argparse-manpage
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS, RAWHIDEFTBFS 2406299
TreeView+ depends on / blocked
 
Reported: 2025-12-01 09:45 UTC by Miro Hrončok
Modified: 2026-01-05 17:20 UTC (History)
1 user (show)

Fixed In Version: argparse-manpage-4.7-4.fc44
Clone Of:
Environment:
Last Closed: 2026-01-05 17:20:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources argparse-manpage pull-request 6 0 None None None 2025-12-01 18:33:32 UTC

Description Miro Hrončok 2025-12-01 09:45:42 UTC
Description of problem:
We want to update pip from 25.2 to 25.3 in Rawhide but argparse-manpage fails to build:

https://copr.fedorainfracloud.org/coprs/churchyard/pip-25.3/package/argparse-manpage/

=================================== FAILURES ===================================
________________________ TestAllExamples.test_copr[pip] ________________________

self = <test_examples.TestAllExamples object at 0x7f0ece13f950>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_copr(self, installer):
        with pushd('examples/copr'):
            name = 'copr-cli.1'
            prefix = '/usr'
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            mandir = os.path.join(idir, _mandir("usr/"))
            _rmtree(idir)
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
    
            def version_version_filter(string):
                return string.replace('[VERSION [VERSION ...]]',
                                      '[VERSION ...]')
    
>           file_cmp(os.path.join(mandir, os.path.basename(name)),
                     ['expected-output.1', "expected-output.1.python3.13"],
                     filter_string=version_version_filter)

tests/test_examples.py:148: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1'
expected_outputs = ['expected-output.1', 'expected-output.1.python3.13']
filter_string = <function TestAllExamples.test_copr.<locals>.version_version_filter at 0x7f0ece214eb0>

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/copr
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f7fefffe660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f7feffc7250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f7feffc7390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f7feffc74d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f7feffc7610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/copr' when installing build dependencies
______________________ TestAllExamples.test_distgen[pip] _______________________

self = <test_examples.TestAllExamples object at 0x7f0ece32ae70>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_distgen(self, installer):
        with pushd('examples/raw-description'):
            name = 'man/dg.1'
            prefix = "/usr"
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            _rmtree(idir)
            mandir = os.path.join(idir, _mandir("usr/"))
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
>           file_cmp(os.path.join(mandir, os.path.basename(name)), 'expected-output.1')

tests/test_examples.py:165: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1'
expected_outputs = 'expected-output.1', filter_string = None

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/raw-description
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd398c0a660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd398bd3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd398bd3390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd398bd34d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd398bd3610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/raw-description' when installing build dependencies
______________________ TestAllExamples.test_resalloc[pip] ______________________

self = <test_examples.TestAllExamples object at 0x7f0ece15e250>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_resalloc(self, installer):
        with pushd('examples/resalloc'):
            prefix = "/usr"
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            _rmtree(idir)
            mandir = os.path.join(idir, _mandir("usr/"))
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
            for name in ['man/resalloc.1', 'man/resalloc-maint.1']:
>               file_cmp(os.path.join(mandir, os.path.basename(name)),
                         'expected/' + name)

tests/test_examples.py:178: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1'
expected_outputs = 'expected/man/resalloc.1', filter_string = None

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/resalloc
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0f630fa660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0f630c3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0f630c3390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0f630c34d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f0f630c3610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/resalloc' when installing build dependencies
______________ TestAllExamples.test_argument_groups_example[pip] _______________

self = <test_examples.TestAllExamples object at 0x7f0ece1ce350>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_argument_groups_example(self, installer):
        with pushd('examples/argument_groups'):
            prefix = "/usr"
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            _rmtree(idir)
            mandir = os.path.join(idir, _mandir("usr/"))
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
            compiled = os.path.join('man', 'test.1')
            base = os.path.basename(compiled)
            expected = os.path.join('expected', base)
            installed = os.path.join(mandir, base)
>           file_cmp(installed, expected)

tests/test_examples.py:194: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1'
expected_outputs = 'expected/test.1', filter_string = None

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/argument_groups
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f81e56da660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f81e56a3250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f81e56a3390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f81e56a34d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f81e56a3610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/argument_groups' when installing build dependencies
________________________ TestAllExamples.test_osc[pip] _________________________

self = <test_examples.TestAllExamples object at 0x7f0ece14ff20>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_osc(self, installer):
        with pushd('examples/osc'):
            name = 'osc.1'
            prefix = '/usr'
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            mandir = os.path.join(idir, _mandir("usr/"))
            _rmtree(idir)
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
    
>           file_cmp(os.path.join(mandir, os.path.basename(name)), 'expected-output.1')

tests/test_examples.py:207: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/osc/pip_install_dir/usr/share/man/man1/osc.1'
expected_outputs = 'expected-output.1', filter_string = None

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/osc/pip_install_dir/usr/share/man/man1/osc.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/osc
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2168b8e660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2168b57250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2168b57390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2168b574d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f2168b57610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/osc' when installing build dependencies
________________ TestAllExamples.test_pre_written_man_page[pip] ________________

self = <test_examples.TestAllExamples object at 0x7f0ece1d3930>
installer = 'pip'

    @pytest.mark.parametrize("installer", ["pip", "setuppy"])
    def test_pre_written_man_page(self, installer):
        with pushd('examples/pre-written-man-page'):
            name = 'psutils.1'
            prefix = '/usr'
            idir = os.path.join(os.getcwd(), installer + "_install_dir")
            mandir = os.path.join(idir, _mandir("usr/"))
            _rmtree(idir)
            run_one_installer(installer, ['install', '--root', idir, '--prefix', prefix])
    
>           file_cmp(os.path.join(mandir, name), name)

tests/test_examples.py:220: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input_file = '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/pre-written-man-page/pip_install_dir/usr/share/man/man1/psutils.1'
expected_outputs = 'psutils.1', filter_string = None

    def file_cmp(input_file, expected_outputs, filter_string=None):
        """
        Compare the generated INPUT_FILE with EXPECTED_OUTPUTS.  EXPECTED_OUTPUTS
        might be a filename, or list of filenames.  Filter string is an optional
        string-filter method, if specified - applied on every line on both sides.
        """
>       with open(input_file, 'r') as f1:
             ^^^^^^^^^^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/pre-written-man-page/pip_install_dir/usr/share/man/man1/psutils.1'

tests/test_examples.py:102: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
Processing /builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/pre-written-man-page
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
----------------------------- Captured stderr call -----------------------------
  error: subprocess-exited-with-error
  
  × installing build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8353c76660>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8353c43250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8353c43390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8353c434d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f8353c43610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/setuptools/
      ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
      ERROR: No matching distribution found for setuptools>=40.8.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/pre-written-man-page' when installing build dependencies
=========================== short test summary info ============================
FAILED tests/test_examples.py::TestAllExamples::test_copr[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/copr/pip_install_dir/usr/share/man/man1/copr-cli.1'
FAILED tests/test_examples.py::TestAllExamples::test_distgen[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/raw-description/pip_install_dir/usr/share/man/man1/dg.1'
FAILED tests/test_examples.py::TestAllExamples::test_resalloc[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/resalloc/pip_install_dir/usr/share/man/man1/resalloc.1'
FAILED tests/test_examples.py::TestAllExamples::test_argument_groups_example[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/argument_groups/pip_install_dir/usr/share/man/man1/test.1'
FAILED tests/test_examples.py::TestAllExamples::test_osc[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/osc/pip_install_dir/usr/share/man/man1/osc.1'
FAILED tests/test_examples.py::TestAllExamples::test_pre_written_man_page[pip] - FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/argparse-manpage-4.7-build/argparse_manpage-4.7/examples/pre-written-man-page/pip_install_dir/usr/share/man/man1/psutils.1'
======================== 6 failed, 15 passed in 50.36s =========================


This looks like the following change in pip:

https://pip.pypa.io/en/stable/news/#v25-3

"""
Remove support for the deprecated setup.py bdist_wheel mechanism. Consequently, --use-pep517 is now always on, and --no-use-pep517 has been removed.
"""

https://github.com/pypa/pip/issues/6334


As a workaround, try building the package with PIP_NO_BUILD_ISOLATION=0 set -- that disables build isolation (which is a tad confusing, see https://github.com/pypa/pip/issues/5735).


Version-Release number of selected component (if applicable): 4.7-3.fc44

Steps to Reproduce: Build the package from distgit using our copr linked above. E.g.:

fedpkg --release rawhide mockbuild -- --addrepo=https://download.copr.fedorainfracloud.org/results/churchyard/pip-25.3/fedora-rawhide-x86_64

Comment 1 Fedora Update System 2026-01-05 16:59:57 UTC
FEDORA-2026-d8cad1b61b (argparse-manpage-4.7-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d8cad1b61b

Comment 2 Fedora Update System 2026-01-05 17:20:28 UTC
FEDORA-2026-d8cad1b61b (argparse-manpage-4.7-4.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.