Skip to content

Commit

Permalink
Upgrade: python-pytest-relaxed version to 2.0.2 (microsoft#12511)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhila-guruju authored Feb 21, 2025
1 parent cfa99db commit 1a10bc5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"python-pytest-relaxed-2.0.0.tar.gz": "c05211458db33ece8ccfe2bce7bd9e1d4009f758055314529885fde79c7af889"
"python-pytest-relaxed-2.0.2.tar.gz": "aba10bf2dd25ef25b0a6e116e5ee10e43852fe285f66a4092984c87cbfcf5b18"
}
}
}
68 changes: 45 additions & 23 deletions SPECS-EXTENDED/python-pytest-relaxed/python-pytest-relaxed.spec
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
Name: python-pytest-relaxed
Version: 2.0.0
Release: 1%{?dist}
Version: 2.0.2
Release: 4%{?dist}
Summary: Relaxed test discovery/organization for pytest

License: BSD-2-Clause
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://github.com/bitprophet/pytest-relaxed
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source: %{url}/archive/%{version}/pytest-relaxed-%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-packaging
BuildRequires: python3-requests
BuildRequires: python3-wheel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pytest
BuildRequires: python3-decorator

%global _description %{expand:
This package provides relaxed test discovery for pytest.
Expand All @@ -25,44 +25,66 @@ ability to opt-in to various behaviors).}

%description %_description


%package -n python3-pytest-relaxed
%package -n python3-pytest-relaxed
Summary: %{summary}

%description -n python3-pytest-relaxed %_description


%prep
%autosetup -p1 -n pytest-relaxed-%{version}
sed -i 's/decorator>=4,<5/decorator>=4,<6/' setup.py


%generate_buildrequires
%pyproject_buildrequires


%build
%pyproject_wheel


%install
%pyproject_install
%pyproject_save_files pytest_relaxed


%check
%pyproject_check_import
%pytest


%files -n python3-pytest-relaxed -f %{pyproject_files}

%license LICENSE
%doc README.rst

%changelog
* Fri Mar 03 2023 Muhammad Falak <mwani@microsoft.com> - 2.0.0-1
- Initial CBL-Mariner import from Fedora 36 (license: MIT).
- Bump version to 2.0.0
* Wed Feb 19 2025 Akhila Guruju <v-guakhila@microsoft.com> - 2.0.2-4
- Initial Azure Linux import from Fedora 41 (license: MIT).
- License verified
- Added `BuildRequires: python3-pytest python3-decorator` to fix build.

* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.0.2-2
- Rebuilt for Python 3.13

* Tue Apr 16 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 2.0.2-1
- Update to 2.0.2
- Fixes: rhbz#2209340

* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.0-2
- Rebuilt for Python 3.12

* Sat Mar 04 2023 Jiří Kučera <jkucera@redhat.com> - 2.0.0-1
- Update to 2.0.0
Resolves: #2157782

* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5^20220502git000bba0e-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Mon May 02 2022 Miro Hrončok <mhroncok@redhat.com> - 1.1.5^20220502git000bba0e-1
- Initial package from upstream pull request #22
Expand Down
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24183,8 +24183,8 @@
"type": "other",
"other": {
"name": "python-pytest-relaxed",
"version": "2.0.0",
"downloadUrl": "https://github.com/bitprophet/pytest-relaxed/archive/refs/tags/2.0.0.tar.gz"
"version": "2.0.2",
"downloadUrl": "https://github.com/bitprophet/pytest-relaxed/archive/2.0.2/pytest-relaxed-2.0.2.tar.gz"
}
}
},
Expand Down

0 comments on commit 1a10bc5

Please sign in to comment.