Rebase to 0.3.4 and enable testing with Python 3.11

Resolves: RHEL-309
This commit is contained in:
Lumir Balhar 2023-03-28 16:52:43 +02:00
parent 2e88d99471
commit 0ceb9e30bd
4 changed files with 12 additions and 11 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/marshalparser-0.3.0.tar.gz /marshalparser-0.3.0.tar.gz
/marshalparser-0.3.4.tar.gz

View File

@ -1,6 +1,6 @@
Name: marshalparser Name: marshalparser
Version: 0.3.0 Version: 0.3.4
Release: 5%{?dist} Release: 1%{?dist}
Summary: Parser for Python internal Marshal format Summary: Parser for Python internal Marshal format
License: MIT License: MIT
@ -12,10 +12,10 @@ BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros BuildRequires: pyproject-rpm-macros
# Test dependencies # Test dependencies
BuildRequires: python3-pytest BuildRequires: python3.11
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires %pyproject_buildrequires -x test
%description %description
Parser for Python internal Marshal format which can fix pyc files Parser for Python internal Marshal format which can fix pyc files
@ -24,10 +24,6 @@ reproducibility.
%prep %prep
%autosetup %autosetup
# Remove tests for Python versions that we don't ship, leave 3.9.
# They are skipped automatically, but it takes a long time.
rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
%build %build
%pyproject_wheel %pyproject_wheel
@ -44,6 +40,10 @@ rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
%{_bindir}/%{name} %{_bindir}/%{name}
%changelog %changelog
* Tue Mar 28 2023 Lumír Balhar <lbalhar@redhat.com> - 0.3.4-1
- Rebase to 0.3.4 and enable testing with Python 3.11
Resolves: RHEL-309
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5 * Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
- Rebuild to imrove gating - Rebuild to imrove gating

View File

@ -1 +1 @@
SHA512 (marshalparser-0.3.0.tar.gz) = 4ec95c1106f62b70d0de1fafd6f7b0afdc6a93f922ffc2bedc94848dc057562324c6804cc3a5a298fa453b47fc728e1fd9bf0fda1641a5443b0cb84daf4eb09a SHA512 (marshalparser-0.3.4.tar.gz) = 51ee373fed1cf4c9fb4f5453590ce6275fd84ee386bfc5e86af5c9c24cbbdfe9781fd9a37f227334300bd43019180f60bc6aee33e0d5d2ad11cc33741355d86c

View File

@ -1,9 +1,9 @@
test: | test: |
rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8} ;
pytest -v test.py pytest -v test.py
path: marshalparser-0.3.0/ path: marshalparser-0.3.4/
require: require:
- python3-pytest - python3-pytest
- pyproject-rpm-macros - pyproject-rpm-macros
- python3-devel - python3-devel
- python3.11
duration: 15m duration: 15m