Skip to content

3.14t and 3.14

3.14t and 3.14 #26

Workflow file for this run

name: Setting up both python 3.14t and 3.14 on windows arm
on:
push:
branches:
- test-973
workflow_dispatch:
jobs:
test-multiple-python:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, macos-15-intel, windows-latest, windows-11-arm]
os: [windows-11-arm]
fail-fast: false
steps:
- uses: actions/checkout@v6
- name: Clear cache
run: |
mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
mkdir -p "${{ runner.tool_cache }}"
- name: Setup Python 3.14t and 3.14
# uses: actions/setup-python@v6
uses: priya-kinthali/setup-python@test-1079
with:
python-version: |
3.14t
3.14
- name: Verify Python installation
shell: bash
run: |
echo "Default Python version:"
python --version
echo ""
echo "Python executable location:"
which python
echo ""
echo "Python sys info:"
python -c "import sys; print(f'Executable: {sys.executable}'); print(f'Version: {sys.version}')"
echo ""
echo "=== Checking all installed Python versions ==="
for py in python3.14t python3.14; do
echo ""
echo "Testing $py:"
if command -v $py &> /dev/null; then
$py --version
$py -c "import sys; print(f' Executable: {sys.executable}')"
$py -c "import sys; print(f' Free-threading: {sys._is_gil_enabled() if hasattr(sys, \"_is_gil_enabled\") else \"N/A\"}')"
else
echo " $py not found!"
fi
done