Update to 51.1.2, assert the wheel is "small enough"
This commit is contained in:
parent
5caab120ae
commit
7be6637b2e
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: python-setuptools
|
Name: python-setuptools
|
||||||
# When updating, update the bundled libraries versions bellow!
|
# When updating, update the bundled libraries versions bellow!
|
||||||
Version: 51.1.1
|
Version: 51.1.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easily build and distribute Python packages
|
Summary: Easily build and distribute Python packages
|
||||||
# setuptools is MIT
|
# setuptools is MIT
|
||||||
@ -168,6 +168,10 @@ rm %{buildroot}%{_bindir}/easy_install
|
|||||||
# Verify bundled provides are up to date
|
# Verify bundled provides are up to date
|
||||||
%{_rpmconfigdir}/pythonbundles.py pkg_resources/_vendor/vendored.txt --compare-with '%{bundled}'
|
%{_rpmconfigdir}/pythonbundles.py pkg_resources/_vendor/vendored.txt --compare-with '%{bundled}'
|
||||||
|
|
||||||
|
# Regression test, the wheel should not be larger than 600 KiB
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1914481#c3
|
||||||
|
test $(du dist/%{python_wheelname} | cut -f1) -lt 600
|
||||||
|
|
||||||
# Upstream tests
|
# Upstream tests
|
||||||
# --ignore=pavement.py:
|
# --ignore=pavement.py:
|
||||||
# pavement.py is only used by upstream to do releases and vendoring, we don't ship it
|
# pavement.py is only used by upstream to do releases and vendoring, we don't ship it
|
||||||
@ -199,6 +203,12 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 11 2021 Miro Hrončok <mhroncok@redhat.com> - 51.1.2-1
|
||||||
|
- Update to 51.1.2
|
||||||
|
- Removes tests from the wheel
|
||||||
|
- https://setuptools.readthedocs.io/en/latest/history.html#v51-1-2
|
||||||
|
- Fixes: rhbz#1914481
|
||||||
|
|
||||||
* Tue Dec 29 2020 Miro Hrončok <mhroncok@redhat.com> - 51.1.1-1
|
* Tue Dec 29 2020 Miro Hrončok <mhroncok@redhat.com> - 51.1.1-1
|
||||||
- Update to 51.1.1
|
- Update to 51.1.1
|
||||||
- Fixes test failures with pip 20.3 as well as with pytest 6.2+
|
- Fixes test failures with pip 20.3 as well as with pytest 6.2+
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (setuptools-51.1.1.tar.gz) = ef08f0ecd0b4a255a8e43c2785c2a1ce76f807322c3358b7955d2ea814f9fa3f52962f7cd0431439ef9ee910fd44922d1be1888c350703031cfcab8db0f60ce7
|
SHA512 (setuptools-51.1.2.tar.gz) = cdfdb3c3666239268ab225704d1a887f027c297262521ee8d55af547cbcef0931656997cc86f4f9a871df6028974bd90b9eea6177c02bf34f98297415b9c410f
|
||||||
|
Loading…
Reference in New Issue
Block a user