mirror of
https://github.com/actions/python-versions.git
synced 2025-12-20 06:39:53 +00:00
Compare commits
5 Commits
3.14.0-alp
...
3.10.16-12
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c71e7fbce | ||
|
|
75c061081b | ||
|
|
e50bc1c2bf | ||
|
|
4fd1d81fcf | ||
|
|
acd80ba7b4 |
4
.github/workflows/build-python-packages.yml
vendored
4
.github/workflows/build-python-packages.yml
vendored
@@ -109,10 +109,6 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Adding Symlink
|
||||
if: matrix.os == 'macos-13'
|
||||
run: ln -sf /usr/local/opt/tcl-tk@8 /usr/local/opt/tcl-tk
|
||||
|
||||
- name: Build Python ${{ env.VERSION }}
|
||||
run: |
|
||||
./builders/build-python.ps1 -Version $env:VERSION `
|
||||
|
||||
2
.github/workflows/releases-validation.yml
vendored
2
.github/workflows/releases-validation.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13, ubuntu-latest]
|
||||
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||
python: [3.9.13, 3.10.11, 3.11.8, 3.12.7, 3.13.0]
|
||||
steps:
|
||||
- name: setup-python ${{ matrix.python }}
|
||||
|
||||
2
.github/workflows/test-python-version.yml
vendored
2
.github/workflows/test-python-version.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-13]
|
||||
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04]
|
||||
steps:
|
||||
- name: Setup Python ${{ github.event.inputs.version }}
|
||||
uses: actions/setup-python@main
|
||||
|
||||
44
.github/workflows/test-tk.yml
vendored
Normal file
44
.github/workflows/test-tk.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
name: Test Python Tk
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- tcl-tk
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests-poetry:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest-large]
|
||||
# python-version: ["3.8.10", "3.8.17", "3.9.1", "3.9.19", "3.9.19", "3.10.1", "3.10.14", "3.11.9"]
|
||||
python-version: [ "3.10.16"]
|
||||
|
||||
fail-fast: false
|
||||
name: ${{ matrix.python-version }} - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
# uses: actions/setup-python@v5
|
||||
# uses: priya-kinthali/setup-python@test-930
|
||||
uses: priya-kinthali/setup-python@test-tcl
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
# - name: Print Tcl/Tk version
|
||||
# run: |
|
||||
# tclsh <<< 'puts [info patchlevel]; exit'
|
||||
# wish <<< 'puts [info patchlevel]; exit'
|
||||
- name: Verify Python Tk Version
|
||||
run: |
|
||||
python -c "import tkinter; print(f'Tkinter TkVersion: {tkinter.TkVersion}')"
|
||||
- name: Prepare Ubuntu xvfb
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxkbcommon-x11-0 xvfb
|
||||
- name: Run tk script (closes itself after 5 seconds) - Ubuntu
|
||||
if: runner.os == 'Linux'
|
||||
run: xvfb-run python tk_min.py
|
||||
- name: Run tk script (closes itself after 5 seconds)
|
||||
if: runner.os != 'Linux'
|
||||
run: python tk_min.py
|
||||
@@ -80,9 +80,9 @@ class macOSPythonBuilder : NixPythonBuilder {
|
||||
$env:CFLAGS = "-I/usr/local/opt/zlib/include"
|
||||
}
|
||||
|
||||
# if ($this.Version -gt "3.7.12") {
|
||||
if ($this.Version -lt "3.10") {
|
||||
$configureString += " --with-tcltk-includes='-I /usr/local/opt/tcl-tk/include/tcl-tk' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"
|
||||
# }
|
||||
}
|
||||
|
||||
if ($this.Version -eq "3.7.17") {
|
||||
$env:LDFLAGS += " -L$(brew --prefix bzip2)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix ncurses)/lib"
|
||||
|
||||
7
tk_min.py
Normal file
7
tk_min.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import tkinter as tk
|
||||
|
||||
root = tk.Tk()
|
||||
label = tk.Label(root, text="Hello World!")
|
||||
label.pack(padx=20, pady=20)
|
||||
root.after(5000, root.destroy) # Close the Window after 5 seconds
|
||||
root.mainloop()
|
||||
@@ -1,76 +1,4 @@
|
||||
[
|
||||
{
|
||||
"version": "3.14.0-alpha.3",
|
||||
"stable": false,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.14.0-alpha.3-12385635145",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-linux-24.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-win32-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.14.0-alpha.3-win32-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.14.0-alpha.3-12385635145/python-3.14.0-alpha.3-win32-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.14.0-alpha.2",
|
||||
"stable": false,
|
||||
@@ -3831,54 +3759,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.10.16",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.16-12302993382",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.10.16-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.16-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.16-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.16-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.16-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.16-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.16-12302993382/python-3.10.16-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.10.15",
|
||||
"stable": true,
|
||||
@@ -5332,54 +5212,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.9.21",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.9.21-12303000710",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.9.21-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.9.21-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.9.21-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.9.21-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.9.21-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.9.21-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.9.21-12303000710/python-3.9.21-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.9.20",
|
||||
"stable": true,
|
||||
@@ -6637,48 +6469,48 @@
|
||||
{
|
||||
"version": "3.8.18",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.18-12303122501",
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.18-9962543870",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.18-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-darwin-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.18-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-linux-20.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.18-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-linux-22.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.18-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-linux-22.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.18-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-linux-24.04-arm64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.18-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-12303122501/python-3.8.18-linux-24.04-x64.tar.gz"
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.18-9962543870/python-3.8.18-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user