#5 Actually run the tests in %check
Merged 6 months ago by kevin. Opened 7 months ago by churchyard.
rpms/ churchyard/python-jmespath nonononononose  into  rawhide

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

  /jmespath-0.9.3.tar.gz

  /jmespath-0.9.4.tar.gz

  /jmespath-0.10.0.tar.gz

+ /jmespath.py-0.10.0.tar.gz

file modified
+12 -5
@@ -2,12 +2,12 @@ 

  

  Name:           python-%{pypi_name}

  Version:        0.10.0

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        JSON Matching Expressions

  

  License:        MIT

  URL:            https://github.com/jmespath/jmespath.py

- Source0:        https://pypi.python.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

+ Source0:        %{url}/archive/%{version}/jmespath.py-%{version}.tar.gz

  BuildArch:      noarch

  

  %description
@@ -20,9 +20,13 @@ 

  %{?python_provide:%python_provide python-%{pypi_name}}

  

  BuildRequires:  python3-devel

- BuildRequires:  python3-nose

  BuildRequires:  python3-setuptools

  

+ # The tests unfortunately still import from nose, but we use pytest as test runner:

+ BuildRequires:  python3-nose

+ BuildRequires:  python3-pytest

+ BuildRequires:  python3-hypothesis

+ 

  Obsoletes: python2-jmespath < 0.9.4-2

  

  %description -n python3-%{pypi_name}
@@ -30,7 +34,7 @@ 

  a JSON document.

  

  %prep

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

+ %setup -q -n jmespath.py-%{version}

  rm -rf %{pypi_name}.egg-info

  

  %build
@@ -40,7 +44,7 @@ 

  %py3_install

  

  %check

- nosetests-%{python3_version}

+ %pytest

  

  %files -n python3-%{pypi_name}

  %doc README.rst
@@ -50,6 +54,9 @@ 

  %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info

  

  %changelog

+ * Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3

+ - Actually run the tests in %%check

+ 

  * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.0-2

  - Rebuilt for Python 3.10

  

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

- SHA512 (jmespath-0.10.0.tar.gz) = 9e229b5809d2dd74eb7dbf518953f848175743fb0ee91ffc901777be2f4809cc0c4f4ba40890746533e344f64e900ec189d6a8c847c864fa47fbf67e5106a7bc

+ SHA512 (jmespath.py-0.10.0.tar.gz) = 84d787a9547bf0d33dfb4cf42514d6a7a1e69fb8867ccb9d84aa0555ea52b3064a9c6a49b3c51564090bb1d1d2d067fe1887105d744a0f25a991d9e9595c85c5

no initial comment

Looks good to me. Thanks!

Pull-Request has been merged by kevin

6 months ago