14
0

- 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/package/show/devel:languages:python/python-setuptools?expand=0&rev=170
This commit is contained in:
2019-04-16 09:19:24 +00:00
committed by Git OBS Bridge
parent 1981f513ee
commit 6be7a48fb9
4 changed files with 17 additions and 5 deletions

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'