From 6be7a48fb9f957ea47d8be93c6e8b2f3cb65df6174b11de4e5286ddeed8ba222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 16 Apr 2019 09:19:24 +0000 Subject: [PATCH] - 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 --- python-setuptools.changes | 12 ++++++++++++ python-setuptools.spec | 4 ++-- setuptools-40.8.0.zip | 3 --- setuptools-41.0.0.zip | 3 +++ 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 setuptools-40.8.0.zip create mode 100644 setuptools-41.0.0.zip diff --git a/python-setuptools.changes b/python-setuptools.changes index 9309247..b2ab530 100644 --- a/python-setuptools.changes +++ b/python-setuptools.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Apr 16 09:16:42 UTC 2019 - Ondřej Súkup + +- 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 diff --git a/python-setuptools.spec b/python-setuptools.spec index f77fca9..0bad558 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -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' diff --git a/setuptools-40.8.0.zip b/setuptools-40.8.0.zip deleted file mode 100644 index 79167a7..0000000 --- a/setuptools-40.8.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d -size 845071 diff --git a/setuptools-41.0.0.zip b/setuptools-41.0.0.zip new file mode 100644 index 0000000..c63aa31 --- /dev/null +++ b/setuptools-41.0.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79d30254b6fe7a8e672e43cd85f13a9f3f2a50080bc81d851143e2219ef0dcb1 +size 848208