Accepting request 527255 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/527255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2017-09-21 10:27:27 +00:00 committed by Git OBS Bridge
commit 67998ba82d
5 changed files with 112 additions and 26 deletions

View File

@ -1,15 +0,0 @@
This fixes a test failure on SLE11SP3:
Error is:
AssertionError: error: must supply either home or prefix/exec-prefix -- not both
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -217,7 +217,7 @@ class TestEggInfo(object):
if cmd is None:
cmd = [
'install',
- '--home', env.paths['home'],
+ '--prefix', env.paths['home'],
'--install-lib', env.paths['lib'],
'--install-scripts', env.paths['scripts'],
'--install-data', env.paths['data'],

View File

@ -1,3 +1,111 @@
-------------------------------------------------------------------
Tue Sep 19 04:30:46 UTC 2017 - tbechtold@suse.com
- update to 36.5.0:
* #170: When working with Mercurial checkouts, use Windows-friendly
syntax for suppressing output.
* Inspired by #1134, performed substantial refactoring of
``pkg_resources.find_on_path`` to facilitate an optimization
for paths with many non-version entries.
* #1075: Add new ``Description-Content-Type`` metadata field. `See here for
documentation on how to use this field.
<https://packaging.python.org/specifications/#description-content-type>`_
* #1068: Sort files and directories when building eggs for
deterministic order.
* #196: Remove caching of easy_install command in fetch_build_egg.
Fixes issue where ``pytest-runner-N.N`` would satisfy the installation
of ``pytest``.
* #1129: Fix working set dependencies handling when replacing conflicting
distributions (e.g. when using ``setup_requires`` with a conflicting
transitive dependency, fix #1124).
* #1133: Improved handling of README files extensions and added
Markdown to the list of searched READMES.
* #1135: Improve performance of pkg_resources import by not invoking
``access`` or ``stat`` and using ``os.listdir`` instead.
* #1131: Make possible using several files within ``file:`` directive
in metadata.long_description in ``setup.cfg``.
* fix #1105: Fix handling of requirements with environment
markers when declared in ``setup.cfg`` (same treatment as
for #1081).
* #462: Don't assume a directory is an egg by the ``.egg``
extension alone.
* #1093: Fix test command handler with extras_require.
* #1112, #1091, #1115: Now using Trusty containers in
Travis for CI and CD.
* #1092: ``pkg_resources`` now uses ``inspect.getmro`` to
resolve classes in method resolution order.
* #1102: Restore behavior for empty extras.
-------------------------------------------------------------------
Mon Jul 24 20:08:32 UTC 2017 - michael@stroeder.com
- update to 36.2.2
v36.2.2
-------
* #1099: Revert commit a3ec721, restoring intended purpose of
extras as part of a requirement declaration.
v36.2.1
-------
* fix #1086
* fix #1087
* support extras specifiers in install_requires requirements
v36.2.0
-------
* #1081: Environment markers indicated in ``install_requires``
are now processed and treated as nameless ``extras_require``
with markers, allowing their metadata in requires.txt to be
correctly generated.
* #1053: Tagged commits are now released using Travis-CI
build stages, meaning releases depend on passing tests on
all supported Python versions (Linux) and not just the latest
Python version.
v36.1.1
-------
* #1083: Correct ``py31compat.makedirs`` to correctly honor
``exist_ok`` parameter.
* #1083: Also use makedirs compatibility throughout setuptools.
v36.1.0
-------
* #1083: Avoid race condition on directory creation in
``pkg_resources.ensure_directory``.
* Removed deprecation of and restored support for
``upload_docs`` command for sites other than PyPI.
Only warehouse is dropping support, but services like
`devpi <http://doc.devpi.net/latest/>`_ continue to
support docs built by setuptools' plugins. See
`this comment <https://bitbucket.org/hpk42/devpi/issues/388/support-rtd-model-for-building-uploading#comment-34292423>`_
for more context on the motivation for this change.
-------------------------------------------------------------------
Thu Jun 8 10:04:16 UTC 2017 - dmueller@suse.com
- update to 36.0.1
* #1042: Fix import in py27compat module that still
referenced six directly, rather than through the externs
module (vendored packages hook).
* #980 and others: Once again, Setuptools vendors all
of its dependencies. It seems to be the case that in
the Python ecosystem, all build tools must run without
any dependencies (build, runtime, or otherwise). At
such a point that a mechanism exists that allows
build tools to have dependencies, Setuptools will adopt
it.
* #1015: Fix test failures on Python 3.7.
* #1024: Add workaround for Jython #2581 in monkey module.
* #992: Revert change introduced in v34.4.1, now
considered invalid.
* #1016: Revert change introduced in v35.0.0 per #1014,
referencing #436. The approach had unintended
consequences, causing sdist installs to be missing
files.
- remove fix-sle11-test-failure.patch: this doesn't build for
SLE11 anymore, so no need to patch it anymore
-------------------------------------------------------------------
Thu Feb 23 13:28:56 UTC 2017 - jmatejek@suse.com

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-setuptools
Version: 34.2.0
Version: 36.5.0
Release: 0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
License: Python-2.0 or ZPL-2.0
@ -27,8 +27,6 @@ Group: Development/Languages/Python
Source: https://pypi.io/packages/source/s/setuptools/setuptools-%{version}.zip
Source1: psfl.txt
Source2: zpl.txt
# NOTE(toabctl): Fix for SLE11SP3 test failures
Patch3: fix-sle11-test-failure.patch
BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module packaging}
@ -52,9 +50,7 @@ Requires(postun): update-alternatives
Provides: %{oldpython}-distribute = %{version}
Obsoletes: %{oldpython}-distribute < %{version}
%endif
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%python_subpackages
@ -66,9 +62,6 @@ especially ones that have dependencies on other packages.
%prep
%setup -q -n setuptools-%{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1220
%patch3 -p1
%endif
find . -type f -name "*.orig" -delete
# fix rpmlint spurious-executable-perm

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b551f5070f9414d48c08dda58bcb879c8d9276199283a99dc8e1362e2f378a2
size 621904

3
setuptools-36.5.0.zip Normal file
View File

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