Commit Graph

264 Commits

Author SHA256 Message Date
Dominique Leuenberger
eb7bfcc137 Accepting request 942716 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=67
2021-12-28 11:26:07 +00:00
2dc7434aec Accepting request 942234 from home:dimstar:Factory
- Remove unzip BuildRequires: the tarball is proper gz compressed,
  no zip files to decompress here.

OBS-URL: https://build.opensuse.org/request/show/942234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=219
2021-12-27 09:16:21 +00:00
Dominique Leuenberger
4be85d7486 Accepting request 907692 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/907692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=66
2021-07-25 18:09:06 +00:00
db1399c221 Accepting request 907610 from home:apersaud:branches:devel:languages:python
- update to version 57.4.0:
  * Changes
    + #2722: Added support for SETUPTOOLS_EXT_SUFFIX environment
       variable to override the suffix normally detected from the
       sysconfig module.
- changes from version 57.3.0:
  * Changes
    + #2465: Documentation is now published using the Furo theme.
- changes from version 57.2.0:
  * Changes
    + #2724: Added detection of Windows ARM64 build environments using
       the VSCMD_ARG_TGT_ARCH environment variable.
- changes from version 57.1.0:
  * Changes
    + #2692: Globs are now sorted in 'license_files' restoring
       reproducibility by eliminating variance from disk order.
    + #2714: Update to distutils at pypa/distutils@e2627b7.
    + #2715: Removed reliance on deprecated ssl.match_hostname by
       removing the ssl support. Now any index operations rely on the
       native SSL implementation.
  * Documentation changes
    + #2604: Revamped the backward/cross tool compatibility section to
       remove some confusion. Add some examples and the version since
       when entry_points are supported in declarative
       configuration. Tried to make the reading flow a bit leaner,
       gather some informations that were a bit dispersed.

OBS-URL: https://build.opensuse.org/request/show/907610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=218
2021-07-22 09:43:14 +00:00
Dominique Leuenberger
bb01fdaebe Accepting request 904146 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/904146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=65
2021-07-16 20:12:21 +00:00
Steve Kowalik
e017d2b69f Accepting request 904140 from home:alarrosa:branches:devel:languages:python
- Add patch to remove a dependency cycle between
  python-more-itertools and python-setuptools (which requires the
  former just for one simple function):
  * remove-more-itertools-dependency-cycle.patch

OBS-URL: https://build.opensuse.org/request/show/904140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=217
2021-07-05 11:33:23 +00:00
9195e8307b Accepting request 902450 from home:bnavigator:branches:devel:languages:python
- Update to 57.0.0
  * big changelog since 44.1, see CHANGES.rst.
- No python2 support anymore.
- Refresh sort-for-reproducibility.patch and remove_mock.patch.
- Drop importlib.patch, fixed upstream.
- Remove testdata.tar.gz, packaged upstream.
- Update requirements.
  * New Ring-1 dep: python-jaraco.path <-- python-singledispatch

OBS-URL: https://build.opensuse.org/request/show/902450
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=216
2021-06-26 08:43:14 +00:00
1ede3fffef Accepting request 900809 from home:bnavigator:branches:devel:languages:python
- Add python dist provides for setuptools, pkg_resources and
  easy_install: work around boo#1186870
- Dont create a package for -test flavor

OBS-URL: https://build.opensuse.org/request/show/900809
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=215
2021-06-18 19:35:18 +00:00
Dominique Leuenberger
20155ce641 Accepting request 866133 from devel:languages:python
- We cannot remove vendored packages when generating setuptools
  wheel (bsc#1177127).

OBS-URL: https://build.opensuse.org/request/show/866133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=64
2021-01-26 13:44:41 +00:00
7cabbfc77d Remove superfluous comment.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=213
2021-01-22 20:50:05 +00:00
0d4abacab1 - We cannot remove vendored packages when generating setuptools
wheel (bsc#1177127).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=212
2021-01-22 19:05:46 +00:00
b0014cbe2f - Run spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=211
2021-01-20 07:04:07 +00:00
Dominique Leuenberger
08196911de Accepting request 855355 from devel:languages:python
- Add remove_mock.patch to remove dependency on the external mock
  package. (forwarded request 855342 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/855355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=63
2020-12-16 09:59:12 +00:00
cd599d0344 Accepting request 855342 from home:mcepl:branches:devel:tools:scm
- Add remove_mock.patch to remove dependency on the external mock
  package.

OBS-URL: https://build.opensuse.org/request/show/855342
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=209
2020-12-12 12:13:22 +00:00
Dominique Leuenberger
2016c9bc92 Accepting request 848902 from devel:languages:python
- Avoid duplicite wheel name in the generated package, and we actually
  don't need a subpackage at all.
- Make wheel a separate build run to avoid the setuptools/wheel build
  cycle.
- Add wheel subpackage with the generated wheel for this package
  (bsc#1176262, CVE-2019-20916).

OBS-URL: https://build.opensuse.org/request/show/848902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=62
2020-11-17 20:21:26 +00:00
3195338bfe - Avoid duplicite wheel name in the generated package, and we actually
don't need a subpackage at all.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=207
2020-11-16 14:03:11 +00:00
6e0b8f1866 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=206
2020-11-13 18:53:22 +00:00
ed29718a36 Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=205
2020-11-12 16:18:43 +00:00
971e8341f5 Fix SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=204
2020-11-12 16:18:24 +00:00
309a0e84ee Clean up
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=203
2020-11-12 16:15:14 +00:00
d736a7a77c - Make wheel a separate build run to avoid the setuptools/wheel build
cycle.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=202
2020-11-12 16:09:42 +00:00
cd821b8dc3 Accepting request 847489 from home:mcepl:branches:devel:languages:python
- Add wheel subpackage with the generated wheel for this package.

OBS-URL: https://build.opensuse.org/request/show/847489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=201
2020-11-10 12:57:57 +00:00
Dominique Leuenberger
f1fd2e125f Accepting request 826260 from devel:languages:python
- update to 44.1.0
  * Set sys.argv[0] in setup script run by build_meta.__legacy__
  * Fix for Python 4: replace unsafe six.PY3 with six.PY2
  * Fixed a bug in the “setuptools.finalize_distribution_options” hook
     that lead to ignoring the order attribute of entry points managed
     by this hook.
 * Avoid loading working set during Distribution.finalize_options prior
     to invoking _install_setup_requires, broken since v42.0.0.

OBS-URL: https://build.opensuse.org/request/show/826260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=61
2020-08-25 10:36:08 +00:00
a8de44f268 - update to 44.1.0
* Set sys.argv[0] in setup script run by build_meta.__legacy__
  * Fix for Python 4: replace unsafe six.PY3 with six.PY2
  * Fixed a bug in the “setuptools.finalize_distribution_options” hook
     that lead to ignoring the order attribute of entry points managed
     by this hook.
 * Avoid loading working set during Distribution.finalize_options prior
     to invoking _install_setup_requires, broken since v42.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=199
2020-08-13 11:09:10 +00:00
Dominique Leuenberger
b2f25c0676 Accepting request 816632 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/816632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=60
2020-06-26 19:43:52 +00:00
Tomáš Chvátal
9b0c40f6d2 Accepting request 816623 from home:bnavigator:branches:devel:languages:python
- use local source dir for pytest imports
  gh#openSUSE/python-rpm-macros#48

OBS-URL: https://build.opensuse.org/request/show/816623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=197
2020-06-23 16:44:57 +00:00
Dominique Leuenberger
1b4124ecc3 Accepting request 791828 from devel:languages:python
- Fix License to the correct MIT

OBS-URL: https://build.opensuse.org/request/show/791828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=59
2020-04-09 21:14:24 +00:00
7bfc82bdea Remove unnecessary license files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=195
2020-04-06 17:14:40 +00:00
0e3b6dc586 - Fix License to the correct MIT
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=194
2020-04-06 17:14:21 +00:00
Dominique Leuenberger
6b1826deef Accepting request 784647 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/784647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=58
2020-03-26 23:23:03 +00:00
Tomáš Chvátal
0ab740a1c9 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=192
2020-03-13 13:17:24 +00:00
aa9e8b0acb - remove dependency on six, this is vendored in setuptools to break
the buildcycle with six (bsc#1166139)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=191
2020-03-10 08:04:47 +00:00
Dominique Leuenberger
3886e70755 Accepting request 769997 from devel:languages:python
- update to 44.0.0
- last version with python2 support
- add testdata.tar.gz -> missing data for testsuite
 * Drop support for Python 3.4.
 * include pyproject.toml in source distribution by default.
     Projects relying on the previous behavior where pyproject.toml
 * Setuptools once again declares 'setuptools' in the build-system.requires
     and adds PEP 517 build support by declaring itself as the build-backend
 * Fix support for easy_install's find-links option in setup.cfg
 * Build dependencies (setup_requires and tests_require) now install transitive
     dependencies indicated by extras.
 * Mark the easy_install script and setuptools command as deprecated, and use
     pip when available to fetch/build wheels for missing setup_requires/tests_require
     requirements, with the following differences in behavior:
       + support for python_requires
       + better support for wheels (proper handling of priority with respect to PEP 425 tags)
       + PEP 517/518 support
       + eggs are not supported
       + no support for the allow_hosts easy_install option (index_url/find_links are still honored)
       + pip environment variables are honored (and take precedence over easy_install options)
 * Removed the "upload" and "register" commands in favor of twine.
 * Add support for the license_files option in setup.cfg to automatically
    include multiple license files in a source distribution.
 * Update handling of wheels compatibility tags: * add support for manylinux2010
     * fix use of removed 'm' ABI flag in Python 3.8 on Windows
 * Fix empty namespace package installation from wheel.
 * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options",
     enabling plugins like setuptools_scm to configure options on the distribution
     at finalization time.

OBS-URL: https://build.opensuse.org/request/show/769997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=57
2020-02-07 14:52:11 +00:00
1f1ebc325a - update to 44.0.0
- last version with python2 support
- add testdata.tar.gz -> missing data for testsuite
 * Drop support for Python 3.4.
 * include pyproject.toml in source distribution by default.
     Projects relying on the previous behavior where pyproject.toml
 * Setuptools once again declares 'setuptools' in the build-system.requires
     and adds PEP 517 build support by declaring itself as the build-backend
 * Fix support for easy_install's find-links option in setup.cfg
 * Build dependencies (setup_requires and tests_require) now install transitive
     dependencies indicated by extras.
 * Mark the easy_install script and setuptools command as deprecated, and use
     pip when available to fetch/build wheels for missing setup_requires/tests_require
     requirements, with the following differences in behavior:
       + support for python_requires
       + better support for wheels (proper handling of priority with respect to PEP 425 tags)
       + PEP 517/518 support
       + eggs are not supported
       + no support for the allow_hosts easy_install option (index_url/find_links are still honored)
       + pip environment variables are honored (and take precedence over easy_install options)
 * Removed the "upload" and "register" commands in favor of twine.
 * Add support for the license_files option in setup.cfg to automatically
    include multiple license files in a source distribution.
 * Update handling of wheels compatibility tags: * add support for manylinux2010
     * fix use of removed 'm' ABI flag in Python 3.8 on Windows
 * Fix empty namespace package installation from wheel.
 * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options",
     enabling plugins like setuptools_scm to configure options on the distribution
     at finalization time.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=189
2020-02-04 14:34:09 +00:00
Dominique Leuenberger
554b0735dc Accepting request 748817 from devel:languages:python
- update to 41.6.0
- add importlib.patch
 * Replace usage of deprecated imp module with local
    re-implementation in setuptools._imp
 *  Fix pkg_resources.Requirement hash/equality implementation
 * Fix tests when running under python3.10.
 * drop 'deprecated' documentation (test command, ez_setup, EasyInstall)

- Remove runtime dependency for the full python3 package, as the
  actually required SSL module is in python3-base. For python(2),
  SSL is in the "full" python package. Avoids build loops and
  shortens the dependency chain for e.g. rust.

- Try to use system packages rather than the vendored variants

- Add patch to sort outputs for better reproducability:
  * sort-for-reproducibility.patch
- Add missing dep on ordered-set as it is now in the vendored
  dir too

- Update to 41.4.0
  * In declarative config, now traps errors when invalid python_requires 
    values are supplied.
  * When storing extras, rely on OrderedSet to retain order of extras 
    as indicated by the packager, which will also be deterministic 
    on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+.
  * Fixed failing integration test triggered by 'long_description_content_type' in packaging.

OBS-URL: https://build.opensuse.org/request/show/748817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=56
2020-01-19 20:00:15 +00:00
9334e9c089 fix name of patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=187
2019-11-15 08:58:26 +00:00
1900883591 - add importlib.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=186
2019-11-15 07:49:54 +00:00
5360121d55 - update to 41.6.0
* Replace usage of deprecated imp module with local
    re-implementation in setuptools._imp
 *  Fix pkg_resources.Requirement hash/equality implementation
 * Fix tests when running under python3.10.
 * drop 'deprecated' documentation (test command, ez_setup, EasyInstall)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=185
2019-11-11 12:50:31 +00:00
211f51d1c0 Accepting request 740901 from home:StefanBruens:branches:devel:languages:python
- Remove runtime dependency for the full python3 package, as the
  actually required SSL module is in python3-base. For python(2),
  SSL is in the "full" python package. Avoids build loops and
  shortens the dependency chain for e.g. rust.

OBS-URL: https://build.opensuse.org/request/show/740901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=184
2019-10-18 14:05:58 +00:00
Tomáš Chvátal
d3d6dc0eec OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=183 2019-10-17 08:51:25 +00:00
Tomáš Chvátal
47c8c7ab20 - Try to use system packages rather than the vendored variants
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=182
2019-10-16 14:24:01 +00:00
Tomáš Chvátal
274c3cbad5 - Add patch to sort outputs for better reproducability:
* sort-for-reproducibility.patch
- Add missing dep on ordered-set as it is now in the vendored
  dir too

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=181
2019-10-16 12:00:39 +00:00
Tomáš Chvátal
f46ea89c28 Accepting request 737429 from home:mcalabkova:branches:devel:languages:python
- Update to 41.4.0
  * In declarative config, now traps errors when invalid python_requires 
    values are supplied.
  * When storing extras, rely on OrderedSet to retain order of extras 
    as indicated by the packager, which will also be deterministic 
    on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+.
  * Fixed failing integration test triggered by 'long_description_content_type' in packaging.

OBS-URL: https://build.opensuse.org/request/show/737429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=180
2019-10-11 09:46:40 +00:00
Dominique Leuenberger
9ea73c648e Accepting request 731303 from devel:languages:python
- Define LANG in %check to fix openSUSE/SLE 15 testsuite

OBS-URL: https://build.opensuse.org/request/show/731303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=55
2019-09-23 10:18:14 +00:00
Tomáš Chvátal
9dacc45bd5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=178 2019-09-16 14:03:17 +00:00
Tomáš Chvátal
b1e92fb56f Accepting request 731210 from home:jayvdb:py3only
Allow building only python and fix Leap/SLE 15

OBS-URL: https://build.opensuse.org/request/show/731210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=177
2019-09-16 09:18:31 +00:00
Dominique Leuenberger
cfffd12146 Accepting request 725049 from devel:languages:python
- Switch to multibuild to enable testsuite

- Update to 41.2.0:
  * #479: Remove some usage of the deprecated imp module.
  * #1565: Changed html_sidebars from string to list of string as per https://www.sphinx-doc.org/en/master/changes.html#id58
  * #1697: Moved most of the constants from setup.py to setup.cfg
  * #1756: Forse metadata-version >= 1.2. when project urls are present.

- build python3 subpackage (FATE#323875)

- update to 18.0.1 for fate#319032
  * see full changelog in CHANGES.txt


- fix vulnerability in non-RFC6125-compliant host name matching
  (bsc#930189, setuptools-1.1.7-match-hostname.patch)
- Add package to SLE 12 SDK (FATE#318137, bnc#913229)

OBS-URL: https://build.opensuse.org/request/show/725049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=54
2019-08-27 13:54:28 +00:00
Tomáš Chvátal
0577003532 - Switch to multibuild to enable testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=175
2019-08-21 13:08:44 +00:00
Tomáš Chvátal
91b3263796 - Update to 41.2.0:
* #479: Remove some usage of the deprecated imp module.
  * #1565: Changed html_sidebars from string to list of string as per https://www.sphinx-doc.org/en/master/changes.html#id58
  * #1697: Moved most of the constants from setup.py to setup.cfg
  * #1756: Forse metadata-version >= 1.2. when project urls are present.

- build python3 subpackage (FATE#323875)
- update to 18.0.1 for fate#319032
  * see full changelog in CHANGES.txt


- fix vulnerability in non-RFC6125-compliant host name matching
  (bsc#930189, setuptools-1.1.7-match-hostname.patch)
- Add package to SLE 12 SDK (FATE#318137, bnc#913229)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=174
2019-08-21 12:18:57 +00:00
Dominique Leuenberger
a6dc982edc Accepting request 700985 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/700985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=53
2019-05-07 21:12:01 +00:00