#43 [DO NOT MERGE YET] Update to 49.2.0
Closed 3 years ago by churchyard. Opened 3 years ago by churchyard.
rpms/ churchyard/python-setuptools 49.2.0  into  master

file modified
+13 -5
@@ -13,14 +13,17 @@ 

  

  Name:           python-setuptools

  # When updating, update the bundled libraries versions bellow!

- Version:        47.3.1

+ Version:        49.2.0

  Release:        1%{?dist}

  Summary:        Easily build and distribute Python packages

  # setuptools is MIT

+ # appdirs is MIT

  # packaging is BSD or ASL 2.0

  # pyparsing is MIT

  # six is MIT

- # ordered-set is MIT

+ # the setuptools logo has unknown license and possible TM problems,

+ # but the sdist **does not** contain it,

+ # see https://github.com/pypa/setuptools/issues/2227

  License:        MIT and (BSD or ASL 2.0)

  URL:            https://pypi.python.org/pypi/%{srcname}

  Source0:        %{pypi_source %{srcname} %{version} zip}
@@ -59,7 +62,7 @@ 

  # %%{_rpmconfigdir}/pythonbundles.py pkg_resources/_vendor/vendored.txt

  %global bundled %{expand:

  Provides: bundled(python3dist(appdirs)) = 1.4.3

- Provides: bundled(python3dist(packaging)) = 16.8

+ Provides: bundled(python3dist(packaging)) = 19.2

  Provides: bundled(python3dist(pyparsing)) = 2.2.1

  Provides: bundled(python3dist(six)) = 1.10

  }
@@ -103,8 +106,9 @@ 

  rm -f setuptools/*.exe

  # These tests require internet connection

  rm setuptools/tests/test_integration.py 

- # We don't do linting here

- sed -i 's/ --flake8//' pytest.ini

+ # We don't do linting or coverage here

+ sed -i pytest.ini -e 's/ --flake8//' \

+                   -e 's/ --cov//'

  

  %build

  # Warning, different bootstrap meaning here, has nothing to do with our bcond
@@ -176,6 +180,10 @@ 

  

  

  %changelog

+ * Mon Jul 20 2020 Miro Hrončok <mhroncok@redhat.com> - 49.2.0-1

+ - Update to 49.2.0 (#1853597)

+ - https://setuptools.readthedocs.io/en/latest/history.html#v49-2-0

+ 

  * Fri Jun 26 2020 Miro Hrončok <mhroncok@redhat.com> - 47.3.1-1

  - Update to 47.3.1 (#1847049)

  - https://setuptools.readthedocs.io/en/latest/history.html#v47-3-1

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (setuptools-47.3.1.zip) = 05d8ac5e1612f0c22d9f51b5dbb22cdd1edfd9c15e97c5f31f6dee8d660e6ca19720cee5169158d0179baa87518766fda1cd2e4d5c69f683e973a9ff08155d48

+ SHA512 (setuptools-49.2.0.zip) = 72de34b2000fba981eb186b612a6b7ccec920c480966ebec4e178dc024db5628aeefde778c1bbd7dae9d38ae86aa9384a1b7d86f9c358429742daeba72ba9850

  • beware of the logo license/trademark (so far so good)
  • fix the list of licenses (no impact on the result, one MIT thing replaced with another)
  • sed out coverage from pytest.ini as well as linting

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1853597

Build succeeded.

The patch looks good, but NumPy fails to build with the new UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.

Yes, this is a new warning that is expected. Do you think it will affect a lot of packages? Shall we mass try it?

Build succeeded.

Given the conversation there, it seems it would make sense to skip setuptools 49.2.0.

Pull-Request has been closed by churchyard

3 years ago