FS#65208 - [python2-setuptools] version 45.0.0 no longer supports Python 2

Attached to Project: Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Sunday, 19 January 2020, 14:09 GMT
Last edited by freswa (frederik) - Friday, 14 February 2020, 13:17 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When testing repos are enabled, a BIG warning is displayed whenever setuptools is imported. For example,

$ python2 -c 'import pkg_resources'
/usr/lib/python2.7/site-packages/pkg_resources/py2_warn.py:19: UserWarning: ************************************************************
You are running Setuptools on Python 2, which is no longer
supported and
>>> SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release. Please ensure you are installing
Setuptools using pip 9.x or later or pin to `setuptools<45`
in your environment.
If you have done those things and are still encountering
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.
************************************************************
sys.version_info < (3,) and warnings.warn("*" * 60 + msg + "*" * 60)

python2-setuptools should be extracted from the split package and become a standalone one.

Additional info:
testing/python2-setuptools 1:45.0.0-1

Steps to reproduce:
See descriptions
This task depends upon

Closed by  freswa (frederik)
Friday, 14 February 2020, 13:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-setuptools is reverted to 44.0.0 in https://git.archlinux.org/svntogit/packa ges.git/commit/trunk?h=packages/python2- setuptools&id=cab1721ae7634c87f913ba 025e076f8c4638cf91
Comment by Eli Schwartz (eschwartz) - Sunday, 19 January 2020, 15:33 GMT
Worth noting: https://github.com/pypa/setuptools/pull/1955#issuecomment-573417296

So the setuptools/PyPA maintainers are currently at odds about whether this deprecation should have happened at all; multiple people are calling for the change to be reverted.

Loading...