#4 Fix compatibility with pytest 8 (rhbz#2274119)
Merged 11 days ago by jujens. Opened 13 days ago by lbalhar.
rpms/ lbalhar/python-glob2 rawhide  into  rawhide

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

  

  Name:           python-%{pkg_name}

  Version:        0.7

- Release:        19%{?dist}

+ Release:        20%{?dist}

  Summary:        Glob module recursive wildcards support

  

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

  

  %prep

  %setup -q -n %{pkg_name}-%{pypi_version}

+ # Compatibility with pytest 8

+ sed -i "s/setup(/setup_method(/" test.py

+ sed -i "s/teardown(/teardown_method(/" test.py

  

  

  %build
@@ -52,6 +55,9 @@ 

  

  

  %changelog

+ * Wed Apr 17 2024 Lumír Balhar <lbalhar@redhat.com> - 0.7-20

+ - Fix compatibility with pytest 8 (rhbz#2274119)

+ 

  * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-19

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

  

Metadata