public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Leigh Scott <leigh123linux@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-setproctitle] f45: Update to 1.3.8
Date: Wed, 07 Oct 2026 20:40:39 GMT	[thread overview]
Message-ID: <179140563951.1.10786103430221612311.rpms-python-setproctitle-97f6fa3ea954@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-setproctitle
Branch : f45
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=f45

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

                 reply	other threads:[~2026-10-07 20:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179140563951.1.10786103430221612311.rpms-python-setproctitle-97f6fa3ea954@fedoraproject.org \
    --to=leigh123linux@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox