#2 Update to 2.10.1
Merged 4 years ago by churchyard. Opened 4 years ago by thrnciar.
rpms/ thrnciar/python-numpy-stl master  into  master

file modified
+1
@@ -9,3 +9,4 @@ 

  /numpy-stl-v2.7.0.tar.xz

  /numpy-stl-v2.8.0.tar.xz

  /numpy-stl-v2.10.0.tar.xz

+ /numpy-stl-v2.10.1.tar.xz

file modified
+5 -5
@@ -1,8 +1,8 @@ 

  %global pypi_name numpy-stl

  

  Name:           python-%{pypi_name}

- Version:        2.10.0

- Release:        5%{?dist}

+ Version:        2.10.1

+ Release:        1%{?dist}

  Summary:        Library for reading, writing and modifying STL files

  

  License:        BSD
@@ -60,9 +60,6 @@ 

  # Remove pytest config - it assumes coverage and is not otherwise needed

  rm pytest.ini

  

- # https://github.com/WoLpH/numpy-stl/pull/96

- sed -i 's/warnings.ImportWarning/ImportWarning/' tests/test_ascii.py

- 

  %build

  %py3_build

  # generate html docs
@@ -91,6 +88,9 @@ 

  %doc html

  

  %changelog

+ * Thu Mar 12 2020 Tomas Hrnciar <thrnciar@redhat.com> - 2.10.1-1

+ - Update to 2.10.1

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

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

- SHA512 (numpy-stl-v2.10.0.tar.xz) = d71f2994a2f07de06cce1de92e21741c0ed3358e0d5393b3e040af43e8d4df9202c52c8ff0381f963487a9cbb0c3e85c97cba10a0d75b60b70399add881509e7

+ SHA512 (numpy-stl-v2.10.1.tar.xz) = 365a852f2c2a6922619b8a025ff37355b74652c139de9763a73c8816b4ce10da5a7da2cfc93814c719c5b1cb34c3343e13a7392764934b66b5b3dee132353cbc

[thrnciar@localhost python-numpy-stl (master)]$ repoquery --repo=rawhide{,-source} --whatrequires python3-numpy-stl
Last metadata expiration check: 2:23:16 ago on Thu 12 Mar 2020 08:00:45 AM CET.
cura-lulzbot-1:3.6.21-3.fc32.noarch

Built OK in COPR.

There is this section in the spec:

# https://github.com/WoLpH/numpy-stl/pull/96
sed -i 's/warnings.ImportWarning/ImportWarning/' tests/test_ascii.py

If I remember correctly, 2.10.1 was released to contain the fix. If that's the case, the code should be removed to clean up the spec.

$ repoquery --repo=rawhide{,-source} --hatrequires python3-numpy-stl
cura-lulzbot-1:3.6.21-3.fc32.noarch

The package name ends with .noarch (not .src). That means the dependency exists solely on runtime and not buildtime. Rebuilding the package in copr hence gives no valuable information.

Technically, either cura-lulzbot needs to be tested, or we lok at the upstream changes and we assume this update is OK (because it is very minor).

If I remember correctly, 2.10.1 was released to contain the fix.

Not correct, the fix was released even sooner and this should have been removed before already. Anyway, please do so now.

rebased onto e112f70

4 years ago

Pull-Request has been merged by churchyard

4 years ago