Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2026 17:46:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 294631] devel/py-installer update to 1.0.0 broke several python ports builds
Message-ID:  <bug-294631-21822-25fSJYBBB9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294631-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294631

--- Comment #24 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to Tijl Coosemans from comment #19)
Yes, it should have had those lines removed (although it didn't hurt anything
since the just get assigned twice).  Sorry for the patch mangling.

(In reply to Tijl Coosemans from comment #22)
Thanks for fixing the patch.  Looks good.  Please commit (after maintainer
timeout if it comes to that).

Note: v3 of the patch also had context at the start of the patch.  v4 doesn't. 
Although I like to have the context committed with the patch, I'll just add the
context here rather than churn the perfectly working v4 patch.

+See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294631
+
+based on upstream commit
https://github.com/pypa/installer/commit/8b72cf945bfa...
+  - not including the not-applicable removal of the import of "is_relative_to"
+    (added by post-1.0.0 intervening upstream commit
https://github.com/pypa/installer/commit/b5f03f151f0e and later removed by
upstream 8b72cf945bfa )
+  - and not including the changes to test_util.py that don't apply to 1.0.0
release
+    (just a removal of the now unnecessary test_utils.py addition from
b5f03f151f0e )
+  - basically the 8b72cf945bfa commit undoes b5f03f151f0e and applies the
correct fix,
+     and we end up with the end result in the FreeBSD patch here (attachment
270207)
+     that is applicable directly to the 1.0.0 release.
+========
+From 8b72cf945bfa72295fe4e0e8b9ddc13f8df32964 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Randy=20D=C3=B6ring?=
+ <30527984+radoering@users.noreply.github.com>
+Date: Wed, 8 Apr 2026 12:35:08 +0200
+Subject: [PATCH] perf: use `os.path.abspath()` instead of `Path.resolve()`
+ (#326)
+
+Additionally, remove the Windows long path workaround because it should not be
required if we no not resolve paths.
+---
+ src/installer/destinations.py | 19 +++++++---
+ src/installer/utils.py        | 28 ---------------
+ tests/test_utils.py           | 66 -----------------------------------
+ 3 files changed, 14 insertions(+), 99 deletions(-)
+========

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294631-21822-25fSJYBBB9>