Fedora Account System
Red Hat Associate
Red Hat Customer
When checking the impact of upgradign pip from 23.0.1 to 23.1.2 in https://src.fedoraproject.org/rpms/python-pip/pull-request/123 I realized asciidoc repeatedly fails with the new pip but succeeds with the old one. The error is: + make install docs manpages DESTDIR=/builddir/build/BUILDROOT/asciidoc-10.2.0-2.fc39.x86_64 python3 -m pip install --root /builddir/build/BUILDROOT/asciidoc-10.2.0-2.fc39.x86_64 . Processing /builddir/build/BUILD/asciidoc-py-10.2.0 Installing build dependencies: started Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install 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 0x7fd261eacb10>: 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 0x7fd2638df1d0>: 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 0x7fd26203b9d0>: 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 0x7fd26208d510>: 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 0x7fd26208c1d0>: 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: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. I believe pip defaults to isolated builds now and will always attempt to install build dependencies (setuptools>=40.8.0 in this case because that I the default when no build dependencies are mentioned in pyproject.toml) from the internet to a temporary virtual environment. I think this can be fixed by adding --no-build-isolation to pip install: $ pip install --help | grep isolation --no-build-isolation Disable isolation when building a modern source Reproducible: Always Steps to Reproduce: Build asciidoc e.g. in https://copr.fedorainfracloud.org/coprs/churchyard/pip-23.1.2 Actual Results: Build fails. Expected Results: Build succeeds. All logs available at https://copr.fedorainfracloud.org/coprs/churchyard/pip-23.1.2/package/asciidoc/
https://src.fedoraproject.org/rpms/asciidoc/pull-request/6
FEDORA-2023-ec7b27ed44 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ec7b27ed44
FEDORA-2023-ec7b27ed44 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.