Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cryptography for
openSUSE:Factory checked in at 2026-03-31 15:46:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old)
and /work/SRC/openSUSE:Factory/.python-cryptography.new.1999 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cryptography"
Tue Mar 31 15:46:36 2026 rev:109 rq:1343812 version:46.0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes
2026-03-28 20:12:20.218912026 +0100
+++
/work/SRC/openSUSE:Factory/.python-cryptography.new.1999/python-cryptography.changes
2026-03-31 15:49:24.232243000 +0200
@@ -1,0 +2,7 @@
+Tue Mar 31 03:34:22 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-maturin-1.12.patch:
+ * Correctly deal with maturin bugfix that installs tests and
+ docs under sitearch.
+
+-------------------------------------------------------------------
New:
----
support-maturin-1.12.patch
----------(New B)----------
New:
- Add patch support-maturin-1.12.patch:
* Correctly deal with maturin bugfix that installs tests and
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.Jegs6O/_old 2026-03-31 15:49:25.032276474 +0200
+++ /var/tmp/diff_new_pack.Jegs6O/_new 2026-03-31 15:49:25.036276641 +0200
@@ -32,7 +32,6 @@
Release: 0
Summary: Python library which exposes cryptographic recipes and
primitives
License: Apache-2.0 OR BSD-3-Clause
-Group: Development/Languages/Python
URL: https://cryptography.io/en/latest/
Source0:
https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-%{version}.tar.gz
# use `osc service manualrun` to regenerate
@@ -43,6 +42,8 @@
Patch4: no-pytest_benchmark.patch
# PATCH-FIX-OPENSUSE
Make-unsafe-subinterpreter-support-available-via-cfg.patch boo#1248987
Patch5: Make-unsafe-subinterpreter-support-available-via-cfg.patch
+# PATCH-FIX-UPSTREAM gh#pyca/cryptography#14319
+Patch6: support-maturin-1.12.patch
BuildRequires: %{python_module cffi >= 1.12}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module exceptiongroup}
++++++ support-maturin-1.12.patch ++++++
>From b89a7737e3f135333125b0984e75ea553a485203 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
Date: Sun, 15 Feb 2026 17:47:48 +0100
Subject: [PATCH] Fix installing stray files into site-packages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix the `include` pattern in `pyproject.toml` not to install stray files
such as `CHANGELOG.rst`, `CONTRIBUTING.rst`, `docs` and `tests` straight
into site-packages. Apparently Maturin did not install them before due
to a bug, but it was fixed in maturin 1.12.0, leading to the files being
suddenly installed.
Originally reported as https://bugs.gentoo.org/970090.
Signed-off-by: Michał Górny <[email protected]>
---
pyproject.toml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index e26b386280a5..8640cb6e5951 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -106,10 +106,10 @@ module-name = "cryptography.hazmat.bindings._rust"
locked = true
sdist-generator = "git"
include = [
- "CHANGELOG.rst",
- "CONTRIBUTING.rst",
+ { path = "CHANGELOG.rst", format = "sdist" },
+ { path = "CONTRIBUTING.rst", format = "sdist" },
- "docs/**/*",
+ { path = "docs/**/*", format = "sdist" },
{ path = "src/_cffi_src/**/*.py", format = "sdist" },
{ path = "src/_cffi_src/**/*.c", format = "sdist" },
@@ -121,7 +121,7 @@ include = [
{ path = "src/rust/**/Cargo.lock", format = "sdist" },
{ path = "src/rust/**/*.rs", format = "sdist" },
- "tests/**/*.py",
+ { path = "tests/**/*.py", format = "sdist" },
]
exclude = [
"vectors/**/*",