public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-inline-snapshot] f44: Update to 0.35.2 upstream release
Date: Thu, 16 Jul 2026 13:03:55 GMT [thread overview]
Message-ID: <178420703577.1.3606358243184135755.rpms-python-inline-snapshot-7e849ada139e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-inline-snapshot
Branch : f44
Commit : 7e849ada139e12d2f7e74df7d4d33947a18dc173
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-16T13:38:32+01:00
Stats : +3/-204 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-inline-snapshot/c/7e849ada139e12d2f7e74df7d4d33947a18dc173?branch=f44
Log:
Update to 0.35.2 upstream release
- Resolves: rhbz#2501304
Upstream tag: v0.35.2
Upstream commit: ffa62b69
Commit co-authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index 4105cf7..305dbd7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,3 +63,4 @@
/inline_snapshot-0.34.2.tar.gz
/inline_snapshot-0.35.0.tar.gz
/inline_snapshot-0.35.1.tar.gz
+/inline_snapshot-0.35.2.tar.gz
diff --git a/379.patch b/379.patch
deleted file mode 100644
index a0e5cd6..0000000
--- a/379.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-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 1/4] fix: Pass `PYTHONPATH`, `PYTHONDONTWRITEBYTECODE` to test
- environment
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Passing through `PYTHONPATH` is particularly useful for Linux
-distributions like Fedora that need to test a copy of `inline_snapshot`
-installed in an arbitrary “buildroot” directory, in combination with a
-system-wide installation of `pytest`. The `pytest` subprocesses need the
-`PYTHONPATH` containing the buildroot directory in order to be able to
-find the copy of `inline_snapshot` under test.
-
-Setting `PYTHONDONTWRITEBYTECODE` is helpful in similar situations,
-where it can be used to prevent unexpected `.pyc`/`.pyo` files from
-being left in the buildroot.
-
-See https://github.com/15r10nk/inline-snapshot/pull/377 for discussion
-of this change.
-
-See also https://github.com/15r10nk/inline-snapshot/pull/378, which
-handled environment variables needed for Gentoo (which has a rather
-different package build process).
----
- .../20260716_095700_code_pythonpath.md | 41 +++++++++++++++++++
- src/inline_snapshot/testing/_example.py | 2 +
- 2 files changed, 43 insertions(+)
- create mode 100644 changelog.d/20260716_095700_code_pythonpath.md
-
-diff --git a/changelog.d/20260716_095700_code_pythonpath.md b/changelog.d/20260716_095700_code_pythonpath.md
-new file mode 100644
-index 00000000..a7ae302b
---- /dev/null
-+++ b/changelog.d/20260716_095700_code_pythonpath.md
-@@ -0,0 +1,41 @@
-+<!--
-+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.
-+
-+-->
-diff --git a/src/inline_snapshot/testing/_example.py b/src/inline_snapshot/testing/_example.py
-index b511acfd..049ab0aa 100644
---- a/src/inline_snapshot/testing/_example.py
-+++ b/src/inline_snapshot/testing/_example.py
-@@ -131,7 +131,9 @@ def _subprocess_env() -> dict[str, str]:
- "VIRTUAL_ENV",
- "TOP",
- "COVERAGE_PROCESS_START",
-+ "PYTHONDONTWRITEBYTECODE",
- "PYTHONIOENCODING",
-+ "PYTHONPATH",
- "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 9c56ec7..a2aa0c2 100644
--- a/python-inline-snapshot.spec
+++ b/python-inline-snapshot.spec
@@ -9,7 +9,7 @@
%bcond pydantic_tests %[ %{without bootstrap} && %{without pydantic_fti} ]
Name: python-inline-snapshot
-Version: 0.35.1
+Version: 0.35.2
Release: %autorelease
Summary: Golden master/snapshot/approval testing library
@@ -18,10 +18,6 @@ License: MIT
URL: https://github.com/15r10nk/inline-snapshot
Source: %{pypi_source inline_snapshot}
-# fix: Pass `PYTHONPATH` etc. to test environment
-# https://github.com/15r10nk/inline-snapshot/pull/379
-Patch: %{url}/pull/379.patch
-
BuildSystem: pyproject
BuildOption(generate_buildrequires): %{shrink:
--dependency-groups dev
diff --git a/sources b/sources
index 94b83bb..b85104d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (inline_snapshot-0.35.1.tar.gz) = fa765a558d7da13c3eff8bce7f38614349f9611b2d8d5bdb77c19a92b0d70bc5b5ab98d1ab5074eba44a2d33dfd8ba113fa2582b8e98d0a5c085e8b36ca81ec9
+SHA512 (inline_snapshot-0.35.2.tar.gz) = c87808c222cc658f4d1691859920bb8bd5e203ad1d04d3070bae78850831f08782ee08833e7151c52a5a3433c7ee615b5c9b683e3c4e3ad0cf4e621d219cd5c6
reply other threads:[~2026-07-16 13:03 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=178420703577.1.3606358243184135755.rpms-python-inline-snapshot-7e849ada139e@fedoraproject.org \
--to=code@musicinmybrain.net \
--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