From 02c08dcea891e86c75e00d5b846ccc3bed52f4d9 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Fri, 24 May 2024 23:18:18 -0700 Subject: [PATCH 1/5] =?UTF-8?q?gh-119535:=20python=CF=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/venv/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py index fa69d5846f2fa7..38d8ca4c4a89b5 100644 --- a/Lib/venv/__init__.py +++ b/Lib/venv/__init__.py @@ -303,8 +303,11 @@ def setup_python(self, context): copier(context.executable, path) if not os.path.islink(path): os.chmod(path, 0o755) - for suffix in ('python', 'python3', - f'python3.{sys.version_info[1]}'): + + suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}'] + if sys.version_info[:2] == (3, 14): + suffixes.append('pythonπ') + for suffix in suffixes: path = os.path.join(binpath, suffix) if not os.path.exists(path): # Issue 18807: make copies if From d9d70db6e6f6e02e10ed3b63b82a39364cdeeb8c Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Sat, 25 May 2024 06:19:50 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst diff --git a/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst b/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst new file mode 100644 index 00000000000000..7ae689dfc7e728 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst @@ -0,0 +1 @@ +On Python 3.14, :mod:`venv` creates an additional `pythonπ` symlink on non-Windows systems From 6e97c877a41969cbaeb47724821cd289240afc35 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Fri, 24 May 2024 23:22:29 -0700 Subject: [PATCH 3/5] fix markup --- .../next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst b/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst index 7ae689dfc7e728..04da622d21f9a9 100644 --- a/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst +++ b/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst @@ -1 +1 @@ -On Python 3.14, :mod:`venv` creates an additional `pythonπ` symlink on non-Windows systems +On Python 3.14, :mod:`venv` creates an additional ``pythonπ`` symlink on non-Windows systems From 1a413cdd77ea5fcd66b46adcdc55c3c8886b96cf Mon Sep 17 00:00:00 2001 From: Shantanu Jain Date: Sun, 6 Oct 2024 11:03:46 -0700 Subject: [PATCH 4/5] use 1d70b --- Lib/venv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py index 38d8ca4c4a89b5..0efc01049ec26a 100644 --- a/Lib/venv/__init__.py +++ b/Lib/venv/__init__.py @@ -306,7 +306,7 @@ def setup_python(self, context): suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}'] if sys.version_info[:2] == (3, 14): - suffixes.append('pythonπ') + suffixes.append('python𝜋') for suffix in suffixes: path = os.path.join(binpath, suffix) if not os.path.exists(path): From d0f8f837911b30fd13a878a3af31fcc76b9fc8f2 Mon Sep 17 00:00:00 2001 From: Shantanu Jain Date: Sun, 6 Oct 2024 11:04:00 -0700 Subject: [PATCH 5/5] remove news --- .../next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst diff --git a/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst b/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst deleted file mode 100644 index 04da622d21f9a9..00000000000000 --- a/Misc/NEWS.d/next/Library/2024-05-25-06-19-46.gh-issue-119535.RXmed8.rst +++ /dev/null @@ -1 +0,0 @@ -On Python 3.14, :mod:`venv` creates an additional ``pythonπ`` symlink on non-Windows systems