From 306a3ad762bdcbf8fb8b4993b18c20bf913413a4 Mon Sep 17 00:00:00 2001 From: Terje Rosten Date: Sat, 13 Jan 2024 18:44:15 +0100 Subject: [PATCH] 3.0.3 --- .gitignore | 1 + python-greenlet.spec | 5 ++++- skip-leak-checks.patch | 14 ++++++++------ sources | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 0c5a5c9..26c93f8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ greenlet-0.3.1.tar.gz /greenlet-3.0.0.tar.gz /greenlet-3.0.1.tar.gz /greenlet-3.0.2.tar.gz +/greenlet-3.0.3.tar.gz diff --git a/python-greenlet.spec b/python-greenlet.spec index 93335bb..8289de0 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -1,7 +1,7 @@ %global modname greenlet Name: python-%{modname} -Version: 3.0.2 +Version: 3.0.3 Release: 1%{?dist} Summary: Lightweight in-process concurrent programming License: MIT AND PSF-2.0 @@ -67,6 +67,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}" \ %{_includedir}/python%{python3_version}*/%{modname}/ %changelog +* Sat Jan 13 2024 Terje Rosten - 3.0.3-1 +- 3.0.3 + * Mon Dec 11 2023 Terje Rosten - 3.0.2-1 - 3.0.2 diff --git a/skip-leak-checks.patch b/skip-leak-checks.patch index 83228d5..8492115 100644 --- a/skip-leak-checks.patch +++ b/skip-leak-checks.patch @@ -1,7 +1,8 @@ -diff -rU3 greenlet-2.0.2-orig/src/greenlet/tests/leakcheck.py greenlet-2.0.2/src/greenlet/tests/leakcheck.py ---- greenlet-2.0.2-orig/src/greenlet/tests/leakcheck.py 2023-01-28 15:19:12.000000000 +0100 -+++ greenlet-2.0.2/src/greenlet/tests/leakcheck.py 2023-06-14 17:49:32.395412453 +0200 -@@ -30,39 +30,7 @@ +diff --git a/src/greenlet/tests/leakcheck.py b/src/greenlet/tests/leakcheck.py +index a5152fb..ebe12e5 100644 +--- a/src/greenlet/tests/leakcheck.py ++++ b/src/greenlet/tests/leakcheck.py +@@ -30,39 +30,7 @@ import gc from functools import wraps import unittest @@ -42,7 +43,7 @@ diff -rU3 greenlet-2.0.2-orig/src/greenlet/tests/leakcheck.py greenlet-2.0.2/src RUNNING_ON_GITHUB_ACTIONS = os.environ.get('GITHUB_ACTIONS') RUNNING_ON_TRAVIS = os.environ.get('TRAVIS') or RUNNING_ON_GITHUB_ACTIONS -@@ -74,53 +42,15 @@ +@@ -74,53 +42,15 @@ SKIP_FAILING_LEAKCHECKS = os.environ.get('GREENLET_SKIP_FAILING_LEAKCHECKS') ONLY_FAILING_LEAKCHECKS = os.environ.get('GREENLET_ONLY_FAILING_LEAKCHECKS') def ignores_leakcheck(func): @@ -97,7 +98,7 @@ diff -rU3 greenlet-2.0.2-orig/src/greenlet/tests/leakcheck.py greenlet-2.0.2/src class ignores_types_in_strict_leakcheck(object): def __init__(self, types): -@@ -129,190 +59,5 @@ +@@ -129,191 +59,5 @@ class ignores_types_in_strict_leakcheck(object): func.leakcheck_ignore_types = self.types return func @@ -192,6 +193,7 @@ diff -rU3 greenlet-2.0.2-orig/src/greenlet/tests/leakcheck.py greenlet-2.0.2/src - - def _growth_after(self): - # Grab post snapshot +- # pylint:disable=no-member - if 'urlparse' in sys.modules: - sys.modules['urlparse'].clear_cache() - if 'urllib.parse' in sys.modules: diff --git a/sources b/sources index 31263e9..54c0342 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (greenlet-3.0.2.tar.gz) = 31a8948ee6e92ac5be83e5a16c88dc79f626dee6fcd360563c0f00e8ab272f89321b16bf0b2ff8e037e5a289976d0e4e8471da40069d0e7b8da072663c0be43d +SHA512 (greenlet-3.0.3.tar.gz) = b0aeb251e6847ab37c3d262c9e0b39d413e9e564fa7e95377d67a68970af027cc5f7d1cd5a03245855c822d94c09d2429f91c0ee1d7f36681ec2598a1d47e80e