| |
@@ -19,7 +19,7 @@
|
| |
Name: python-setuptools
|
| |
# When updating, update the bundled libraries versions bellow!
|
| |
Version: 40.8.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: Easily build and distribute Python packages
|
| |
# setuptools is MIT
|
| |
# packaging is BSD or ASL 2.0
|
| |
@@ -35,6 +35,10 @@
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1576924
|
| |
Patch0: create-site-packages.patch
|
| |
|
| |
+ # Make setuptools compatible with Python 3.9, backported from setuptools 41.1+
|
| |
+ # https://github.com/pypa/setuptools/pull/1788
|
| |
+ Patch1: python39.patch
|
| |
+
|
| |
BuildArch: noarch
|
| |
|
| |
BuildRequires: gcc
|
| |
@@ -49,7 +53,6 @@
|
| |
BuildRequires: python2-pip
|
| |
BuildRequires: python2-pytest
|
| |
BuildRequires: python2-mock
|
| |
- BuildRequires: python2-backports-unittest_mock
|
| |
BuildRequires: python2-pytest-fixture-config
|
| |
BuildRequires: python2-pytest-virtualenv
|
| |
%endif # with tests
|
| |
@@ -66,6 +69,9 @@
|
| |
%if %{without bootstrap}
|
| |
BuildRequires: python3-pip
|
| |
BuildRequires: python3-wheel
|
| |
+ # python3 bootstrap: this is built before the final build of python3, which
|
| |
+ # adds the dependency on python3-rpm-generators, so we require it manually
|
| |
+ BuildRequires: python3-rpm-generators
|
| |
%endif # without bootstrap
|
| |
|
| |
%description
|
| |
@@ -253,6 +259,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue Nov 26 2019 Miro Hrončok <mhroncok@redhat.com> - 40.8.0-2
|
| |
+ - Make python-setuptools-wheel work with Python 3.9
|
| |
+
|
| |
* Tue Feb 05 2019 Miro Hrončok <mhroncok@redhat.com>
|
| |
- Update to 40.8.0 (#1672756)
|
| |
- https://github.com/pypa/setuptools/blob/v40.8.0/CHANGES.rst
|
| |