public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/poetry] rawhide: Update to 2.4.3 (rhbz#2529011)
Date: Wed, 23 Sep 2026 10:42:37 GMT	[thread overview]
Message-ID: <179016015789.1.7346793833665818157.rpms-poetry-c9ac4db8a6e9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/poetry
            Branch : rawhide
            Commit : c9ac4db8a6e9925945aca1bafe448c757bb6d729
            Author : Lumir Balhar <lbalhar@redhat.com>
            Date   : 2026-09-17T16:00:02+02:00
            Stats  : +51/-2 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/poetry/c/c9ac4db8a6e9925945aca1bafe448c757bb6d729?branch=rawhide

            Log:
            Update to 2.4.3 (rhbz#2529011)

Assisted-By: Claude

---
diff --git a/.gitignore b/.gitignore
index 5a4361a..219256a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,4 @@
 /poetry-2.3.4.tar.gz
 /poetry-2.4.1.tar.gz
 /poetry-2.4.2.tar.gz
+/poetry-2.4.3.tar.gz

diff --git a/11046.patch b/11046.patch
new file mode 100644
index 0000000..ca08b4b
--- /dev/null
+++ b/11046.patch
@@ -0,0 +1,44 @@
+From 0eea3769f0d2cff8537e6fab630465f6959ed015 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Randy=20D=C3=B6ring?=
+ <30527984+radoering@users.noreply.github.com>
+Date: Sun, 6 Sep 2026 18:24:56 +0200
+Subject: [PATCH] add Python 3.15 to tests matrix
+
+---
+ .github/workflows/tests.yaml | 1 +
+ tests/utils/test_helpers.py  | 3 ++-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
+index 149868a8a17..e16108fe2ac 100644
+--- a/.github/workflows/tests.yaml
++++ b/.github/workflows/tests.yaml
+@@ -137,6 +137,7 @@ jobs:
+           - "3.12"
+           - "3.13"
+           - "3.14"
++          - "3.15"
+       fail-fast: false
+ 
+   status:
+diff --git a/tests/utils/test_helpers.py b/tests/utils/test_helpers.py
+index c46d79477a5..52fb2241eb8 100644
+--- a/tests/utils/test_helpers.py
++++ b/tests/utils/test_helpers.py
+@@ -370,6 +370,7 @@ def test_extractall_sdist_no_symlink_path_traversal_via_directory_symlink(
+         regular.size = len(data)
+         tar.addfile(regular, io.BytesIO(data))
+ 
++    raises = sys.version_info < (3, 15) and not WINDOWS
+     exception: type[Exception]
+     if hasattr(tarfile, "data_filter"):
+         exception = tarfile.OutsideDestinationError
+@@ -377,7 +378,7 @@ def test_extractall_sdist_no_symlink_path_traversal_via_directory_symlink(
+         # tarfile.OutsideDestinationError does not exist
+         exception = ValueError
+ 
+-    with pytest.raises(exception) if not WINDOWS else contextlib.nullcontext():
++    with pytest.raises(exception) if raises else contextlib.nullcontext():
+         extractall(source=archive, dest=dest, zip=False)
+ 
+     assert not (tmp_path / "traversal.txt").exists()

diff --git a/poetry.spec b/poetry.spec
index 2dfc280..def7de0 100644
--- a/poetry.spec
+++ b/poetry.spec
@@ -8,7 +8,7 @@ projects, ensuring you have the right stack everywhere.}
 
 Name:           poetry
 Summary:        Python dependency management and packaging made easy
-Version:        2.4.2
+Version:        2.4.3
 Release:        %autorelease
 
 # SPDX
@@ -28,6 +28,10 @@ Patch:          Patch-get_embedded_wheel-to-return-system-wheels-fro.patch
 
 # Fixes tests with packaging 26.3
 Patch:          https://github.com/python-poetry/poetry/pull/11014.patch
+
+# Python 3.15 tarfile normalizes ".." in member names before the traversal
+# check, so the symlink traversal archive extracts safely instead of raising.
+Patch:          https://github.com/python-poetry/poetry/pull/11046.patch
 BuildArch:      noarch
 
 BuildRequires:  python3-devel

diff --git a/sources b/sources
index 0b7c282..ed261ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (poetry-2.4.2.tar.gz) = 74c1430a65e25593fcd926a09ef320b6d05a3736d399a8c9cee341c5e06308a3ac34b72c0c60b2134e12da6321805485fef85d2da2204a40f70c16f3da7d4fdd
+SHA512 (poetry-2.4.3.tar.gz) = 61af4259a4b02d97a244b1e85b52eefc46663c357e353a78538749f2db161a0bf0ad3e5fcd59a138e509acff8f4ca3a6c72db460eda1b04a1df9f1ec5efed8a0

                 reply	other threads:[~2026-09-23 10:42 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=179016015789.1.7346793833665818157.rpms-poetry-c9ac4db8a6e9@fedoraproject.org \
    --to=lbalhar@redhat.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