Accepting request 694749 from devel:languages:python

- update to 41.0.0
 * #1735: When parsing setup.cfg files, setuptools now requires the files
    to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError.
    This change removes support for specifying an encoding using a 'coding: '
    directive in the header of the file, a feature that was introduces in 40.7.
    Given the recent release of the aforementioned feature, it is assumed that
    few if any projects are utilizing the feature to specify an encoding
    other than UTF-8.

OBS-URL: https://build.opensuse.org/request/show/694749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2019-04-19 16:37:31 +00:00 committed by Git OBS Bridge
commit 9b0c369842
4 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Apr 16 09:16:42 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 41.0.0
* #1735: When parsing setup.cfg files, setuptools now requires the files
to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError.
This change removes support for specifying an encoding using a 'coding: '
directive in the header of the file, a feature that was introduces in 40.7.
Given the recent release of the aforementioned feature, it is assumed that
few if any projects are utilizing the feature to specify an encoding
other than UTF-8.
-------------------------------------------------------------------
Sun Feb 10 22:30:38 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-setuptools
Version: 40.8.0
Version: 41.0.0
Release: 0
Summary: Enhancements to distutils for building and distributing Python packages
License: Python-2.0 OR ZPL-2.0
@ -86,7 +86,7 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Can not run testsuite as this introduces build cycle
#%check
#%%check
#export LANG="en_US.UTF-8"
#python setup.py ptr --addopts='-rxs'

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d
size 845071

3
setuptools-41.0.0.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1
size 848208