Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 550fb82

Browse filesBrowse files
authored
Update PyManager to use 3.14.0b1 runtime (#71)
1 parent 4add401 commit 550fb82
Copy full SHA for 550fb82

File tree

Expand file treeCollapse file tree

2 files changed

+25
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+25
-5
lines changed

‎.github/workflows/build.yml

Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+24-4Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,30 @@ jobs:
3030
}
3131
shell: powershell
3232

33-
- name: Set up Python 3.14
34-
uses: actions/setup-python@v5
35-
with:
36-
python-version: 3.14-dev
33+
#- name: Set up Python 3.14
34+
# uses: actions/setup-python@v5
35+
# with:
36+
# python-version: 3.14-dev
37+
38+
# We move faster than GitHub's Python runtimes, so use NuGet instead
39+
# One day we can use ourselves to download Python, but not yet...
40+
- name: Set up NuGet
41+
uses: nuget/setup-nuget@v2.0.1
42+
43+
- name: Set up Python 3.14.0b1
44+
run: |
45+
nuget install python -Version 3.14.0-b1 -x -o .
46+
$py = Get-Item python\tools
47+
Write-Host "Adding $py to PATH"
48+
"$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
49+
working-directory: ${{ runner.temp }}
50+
51+
- name: Check Python version is 3.14.0b1
52+
run: >
53+
python -c "import sys;
54+
print(sys.version);
55+
print(sys.executable);
56+
sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 1) else 1)"
3757
3858
- name: Install build dependencies
3959
run: python -m pip install "pymsbuild>=1.2.0b1"

‎_msbuild.py

Copy file name to clipboardExpand all lines: _msbuild.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
DLL_NAME = "python314"
7-
EMBED_URL = "https://www.python.org/ftp/python/3.14.0/python-3.14.0a7-embed-amd64.zip"
7+
EMBED_URL = "https://www.python.org/ftp/python/3.14.0/python-3.14.0b1-embed-amd64.zip"
88

99
def can_embed(tag):
1010
"""Return False if tag doesn't match DLL_NAME and EMBED_URL.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.