public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-setproctitle] rawhide: Update to 1.3.8
@ 2026-10-07 20:39 Leigh Scott
0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-10-07 20:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-setproctitle
Branch : rawhide
Commit : 97f6fa3ea954a9fea503a52050338cc5d9550eba
Author : Leigh Scott <leigh123linux@gmail.com>
Date : 2026-10-07T21:39:27+01:00
Stats : +7/-41 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-setproctitle/c/97f6fa3ea954a9fea503a52050338cc5d9550eba?branch=rawhide
Log:
Update to 1.3.8
---
diff --git a/.gitignore b/.gitignore
index 1df3f64..ea13d5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/py-setproctitle-version-1.3.5.tar.gz
/py-setproctitle-version-1.3.6.tar.gz
/py-setproctitle-version-1.3.7.tar.gz
+/py-setproctitle-version-1.3.8.tar.gz
diff --git a/158.patch b/158.patch
deleted file mode 100644
index 8a7c27d..0000000
--- a/158.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 6c72eb7039c124167ed5d3bc9a8b2c2f9d030c6a Mon Sep 17 00:00:00 2001
-From: Victor Stinner <vstinner@python.org>
-Date: Thu, 30 Oct 2025 15:12:24 +0100
-Subject: [PATCH] Fix for CPython 3.15 (clearenv)
-
-Fix find_argv_from_env() if clearenv() has been called. Python 3.15
-implements os.environ.clear() as clearenv().
-
-Co-Authored-By: Karolina Surma <ksurma@redhat.com>
----
- src/spt_setup.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/src/spt_setup.c b/src/spt_setup.c
-index ba7a7a6..4078d36 100644
---- a/src/spt_setup.c
-+++ b/src/spt_setup.c
-@@ -139,6 +139,13 @@ find_argv_from_env(int argc, char *arg0)
- }
- buf[argc] = NULL;
-
-+ /* environ can be NULL if clearenv() has been called.
-+ * Python 3.15 implements os.environ.clear() as clearenv(). */
-+ if (!environ) {
-+ spt_debug("environ pointer is NULL");
-+ goto exit;
-+ }
-+
- /* Walk back from environ until you find argc-1 null-terminated strings.
- * Don't look for argv[0] as it's probably not preceded by 0. */
- ptr = environ[0];
diff --git a/python-setproctitle.spec b/python-setproctitle.spec
index b65a4b9..5ae9f2f 100644
--- a/python-setproctitle.spec
+++ b/python-setproctitle.spec
@@ -2,7 +2,7 @@
%global forgeurl https://github.com/dvarrazzo/py-setproctitle
Name: python-%{pypi_name}
-Version: 1.3.7
+Version: 1.3.8
%global tag version-%{version}
%forgemeta
Release: %{autorelease}
@@ -12,10 +12,6 @@ License: BSD-3-Clause
URL: %{forgeurl}
Source0: %{forgesource}
-# Fix segfault happening with Python 3.15.0a1
-# https://github.com/dvarrazzo/py-setproctitle/pull/158
-Patch: 158.patch
-
BuildRequires: gcc
BuildRequires: python3-devel
# Tests
@@ -48,11 +44,10 @@ It's based on PostgreSQL implementation which has proven to be portable.
%prep
-%forgesetup
-%patch -p1 0
+%forgeautosetup -p1
%generate_buildrequires
-%pyproject_buildrequires -t
+%pyproject_buildrequires -x test
%build
@@ -65,7 +60,8 @@ It's based on PostgreSQL implementation which has proven to be portable.
%check
-%tox
+%pyproject_check_import
+%pytest -v tests
%files -n python3-%{pypi_name} -f %{pyproject_files}
diff --git a/sources b/sources
index ef5c0b0..b38c6d5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (py-setproctitle-version-1.3.7.tar.gz) = f757a26fcc5797e559b1bcfa60b29952bdd2fa3fe56d96373dc4e49f1bfcf4059ab71142e287949a219e543ce2094c0f26d6ee684154b256cfbcbdb0fe899273
+SHA512 (py-setproctitle-version-1.3.8.tar.gz) = c117e479de17fedbdf0651de3f5e1e72ea205dd11c723192fc6d0da45262ac16155df320d3136a89dacbcd3a974e2d46e0132de80b6cc86a00f46f94b7948d91
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 20:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 20:39 [rpms/python-setproctitle] rawhide: Update to 1.3.8 Leigh Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox