#4 Fix tests
Merged 3 years ago by churchyard. Opened 3 years ago by lbalhar.
rpms/ lbalhar/python-pint master  into  master

file modified
+6 -3
@@ -3,7 +3,7 @@ 

  

  Name:           python-pint

  Version:        0.13

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Physical quantities module

  

  License:        BSD
@@ -60,7 +60,7 @@ 

  %setup -q -n %{pypi_name}-%{version}

  

  %generate_buildrequires

- %pyproject_buildrequires -t

+ %pyproject_buildrequires -x test

  

  %build

  %pyproject_wheel
@@ -77,7 +77,7 @@ 

  %pyproject_install

  

  %check

- %tox

+ %pytest

  

  %files -n python3-pint

  %license LICENSE
@@ -92,6 +92,9 @@ 

  %endif

  

  %changelog

+ * Mon Sep 21 2020 Lumír Balhar <lbalhar@redhat.com> - 0.13-3

+ - Fix test dependencies and execution

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2

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

  

Upstream does not use tox for testing and test dependencies are defined in extras_requires: https://github.com/hgrecco/pint/blob/master/setup.cfg#L41

This also fixes the current FTBFS.

But, please bump the release and add changelog to satisfy Koschei.

rebased onto da0cb64

3 years ago

Pull-Request has been merged by churchyard

3 years ago