From da7ae8419ba09049e04441dedd4ee268dfe8af5d Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 28 Mar 2023 16:52:43 +0200 Subject: [PATCH] Rebase to 0.3.4 and enable testing with Python 3.11 --- .gitignore | 1 + .marshalparser.metadata | 1 + marshalparser.spec | 16 ++++++++-------- sources | 2 +- tests/upstream.fmf | 4 ++-- 5 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 .marshalparser.metadata diff --git a/.gitignore b/.gitignore index b74ceaf..0ed9152 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /marshalparser-0.3.0.tar.gz +/marshalparser-0.3.4.tar.gz diff --git a/.marshalparser.metadata b/.marshalparser.metadata new file mode 100644 index 0000000..13bc236 --- /dev/null +++ b/.marshalparser.metadata @@ -0,0 +1 @@ +27d0905c27535dfbf13871c4d4ce4bcb146dad72 marshalparser-0.3.4.tar.gz diff --git a/marshalparser.spec b/marshalparser.spec index 76602a1..cd78a66 100644 --- a/marshalparser.spec +++ b/marshalparser.spec @@ -1,6 +1,6 @@ Name: marshalparser -Version: 0.3.0 -Release: 5%{?dist} +Version: 0.3.4 +Release: 1%{?dist} Summary: Parser for Python internal Marshal format License: MIT @@ -12,10 +12,10 @@ BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # Test dependencies -BuildRequires: python3-pytest +BuildRequires: python3.11 %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -x test %description Parser for Python internal Marshal format which can fix pyc files @@ -24,10 +24,6 @@ reproducibility. %prep %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 %pyproject_wheel @@ -44,6 +40,10 @@ rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8} %{_bindir}/%{name} %changelog +* Tue Mar 28 2023 Lumír Balhar - 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 - 0.3.0-5 - Rebuild to imrove gating diff --git a/sources b/sources index ccd56b1..ea33a22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (marshalparser-0.3.0.tar.gz) = 4ec95c1106f62b70d0de1fafd6f7b0afdc6a93f922ffc2bedc94848dc057562324c6804cc3a5a298fa453b47fc728e1fd9bf0fda1641a5443b0cb84daf4eb09a +SHA512 (marshalparser-0.3.4.tar.gz) = 51ee373fed1cf4c9fb4f5453590ce6275fd84ee386bfc5e86af5c9c24cbbdfe9781fd9a37f227334300bd43019180f60bc6aee33e0d5d2ad11cc33741355d86c diff --git a/tests/upstream.fmf b/tests/upstream.fmf index 77adc95..43f6bc0 100644 --- a/tests/upstream.fmf +++ b/tests/upstream.fmf @@ -1,9 +1,9 @@ test: | - rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8} ; pytest -v test.py -path: marshalparser-0.3.0/ +path: marshalparser-0.3.4/ require: - python3-pytest - pyproject-rpm-macros - python3-devel +- python3.11 duration: 15m