File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +25
-5
lines changed
Original file line number Diff line number Diff line change @@ -30,10 +30,30 @@ jobs:
30
30
}
31
31
shell : powershell
32
32
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)"
37
57
38
58
- name : Install build dependencies
39
59
run : python -m pip install "pymsbuild>=1.2.0b1"
Original file line number Diff line number Diff line change 4
4
5
5
6
6
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"
8
8
9
9
def can_embed (tag ):
10
10
"""Return False if tag doesn't match DLL_NAME and EMBED_URL.
You can’t perform that action at this time.
0 commit comments