public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-inline-snapshot] f44: Update patch to track upstream PR#379
@ 2026-07-16 13:03 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-16 13:03 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-inline-snapshot
Branch : f44
Commit : 8a8bf43c5e83cdad9e67f5438a21f2c5247e1854
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-16T10:52:45+01:00
Stats  : +107/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-inline-snapshot/c/8a8bf43c5e83cdad9e67f5438a21f2c5247e1854?branch=f44

Log:
Update patch to track upstream PR#379

---
diff --git a/379.patch b/379.patch
index 1d73942..a0e5cd6 100644
--- a/379.patch
+++ b/379.patch
@@ -1,7 +1,7 @@
 From 46b81204bb31a5e6e80a63b58b768e5557600689 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Thu, 16 Jul 2026 06:54:31 +0100
-Subject: [PATCH] fix: Pass `PYTHONPATH`, `PYTHONDONTWRITEBYTECODE` to test
+Subject: [PATCH 1/4] fix: Pass `PYTHONPATH`, `PYTHONDONTWRITEBYTECODE` to test
  environment
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
@@ -91,3 +91,108 @@ index b511acfd..049ab0aa 100644
          "PYTEST_DISABLE_PLUGIN_AUTOLOAD",
          "PYTEST_PLUGINS",
      ]
+
+From 2618c3f236661397c233ca0cc42eb261c993a56c Mon Sep 17 00:00:00 2001
+From: "pre-commit-ci[bot]"
+ <66853113+pre-commit-ci[bot]@users.noreply.github.com>
+Date: Thu, 16 Jul 2026 09:03:00 +0000
+Subject: [PATCH 2/4] style: pre-commit fixed styling
+
+---
+ .../20260716_095700_code_pythonpath.md        | 38 -------------------
+ 1 file changed, 38 deletions(-)
+
+diff --git a/changelog.d/20260716_095700_code_pythonpath.md b/changelog.d/20260716_095700_code_pythonpath.md
+index a7ae302b..62c8090f 100644
+--- a/changelog.d/20260716_095700_code_pythonpath.md
++++ b/changelog.d/20260716_095700_code_pythonpath.md
+@@ -1,41 +1,3 @@
+-<!--
+-A new scriv changelog fragment.
+-
+-Uncomment the section that is right (remove the HTML comment wrapper).
+-For top level release notes, leave all the headers commented out.
+--->
+-
+-<!--
+-### Removed
+-
+-- A bullet item for the Removed category.
+-
+--->
+-<!--
+-### Added
+-
+-- A bullet item for the Added category.
+-
+--->
+-<!--
+-### Changed
+-
+-- A bullet item for the Changed category.
+-
+--->
+-<!--
+-### Deprecated
+-
+-- A bullet item for the Deprecated category.
+-
+--->
+ ### Fixed
+ 
+ - fix passing `PYTHONPATH` and `PYTHONDONTWRITEBYTECODE` while running the test suite.
+-
+-<!--
+-### Security
+-
+-- A bullet item for the Security category.
+-
+--->
+
+From 3421c7f6598c8b086b9914cde208b4fee2bc6096 Mon Sep 17 00:00:00 2001
+From: Ben Beasley <code@musicinmybrain.net>
+Date: Thu, 16 Jul 2026 10:47:52 +0100
+Subject: [PATCH 3/4] fix: Pass `PYTHONWARNINGS` to test environment
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Suggested by @mgorny.
+
+Co-authored-by: Michał Górny <mgorny@gentoo.org>
+---
+ src/inline_snapshot/testing/_example.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/inline_snapshot/testing/_example.py b/src/inline_snapshot/testing/_example.py
+index 049ab0aa..20d79a99 100644
+--- a/src/inline_snapshot/testing/_example.py
++++ b/src/inline_snapshot/testing/_example.py
+@@ -134,6 +134,7 @@ def _subprocess_env() -> dict[str, str]:
+         "PYTHONDONTWRITEBYTECODE",
+         "PYTHONIOENCODING",
+         "PYTHONPATH",
++        "PYTHONWARNINGS",
+         "PYTEST_DISABLE_PLUGIN_AUTOLOAD",
+         "PYTEST_PLUGINS",
+     ]
+
+From 0627878873b16465ff0241b24f0bb171c2147822 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 16 Jul 2026 10:50:44 +0100
+Subject: [PATCH 4/4] Updated changelog entry to mention `PYTHONWARNINGS`
+
+---
+ changelog.d/20260716_095700_code_pythonpath.md | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/changelog.d/20260716_095700_code_pythonpath.md b/changelog.d/20260716_095700_code_pythonpath.md
+index 62c8090f..765be02c 100644
+--- a/changelog.d/20260716_095700_code_pythonpath.md
++++ b/changelog.d/20260716_095700_code_pythonpath.md
+@@ -1,3 +1,4 @@
+ ### Fixed
+ 
+-- fix passing `PYTHONPATH` and `PYTHONDONTWRITEBYTECODE` while running the test suite.
++- fix passing `PYTHONPATH`, `PYTHONWARNINGS`, and `PYTHONDONTWRITEBYTECODE`
++  while running the test suite.

diff --git a/python-inline-snapshot.spec b/python-inline-snapshot.spec
index 08bdea0..9c56ec7 100644
--- a/python-inline-snapshot.spec
+++ b/python-inline-snapshot.spec
@@ -18,7 +18,7 @@ License:        MIT
 URL:            https://github.com/15r10nk/inline-snapshot
 Source:         %{pypi_source inline_snapshot}
 
-# fix: Pass PYTHONPATH, PYTHONDONTWRITEBYTECODE to test environment
+# fix: Pass `PYTHONPATH` etc. to test environment
 # https://github.com/15r10nk/inline-snapshot/pull/379
 Patch:          %{url}/pull/379.patch
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-16 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 13:03 [rpms/python-inline-snapshot] f44: Update patch to track upstream PR#379 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox