Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/add-issue-header.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Add issue header
# Automatically edits an issue's descriptions with a header,
# one of:


#
# - Bug report
# - Crash report
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'main'
- '3.*'


permissions:
contents: read

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
include:
- target: i686-pc-windows-msvc/msvc
architecture: Win32
runner: windows-2022
runner: windows-latest
- target: x86_64-pc-windows-msvc/msvc
architecture: x64
runner: windows-2022
runner: windows-latest
- target: aarch64-pc-windows-msvc/msvc
architecture: ARM64
runner: windows-11-arm
Expand Down Expand Up @@ -106,23 +106,24 @@ jobs:
./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3

- name: macOS
# The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
# This is a bug in the macOS runner image where the pre-installed Python is installed in the same
# directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
# the symlink to the pre-installed Python so that the Homebrew Python is used instead.
- name: macOS
# also see: rosetta https://github.com/numpy/numpy/pull/29756/files
if: runner.os == 'macOS'
run: |
brew update
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
find /usr/local/bin -lname "*/Library/Frameworks/Python.framework/*" -delete
brew install llvm@${{ matrix.llvm }}
export SDKROOT="$(xcrun --show-sdk-path)"
# Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to
# make sure we don't break downstream distributors (like uv):
export CFLAGS_JIT='-Werror=unguarded-availability'
export MACOSX_DEPLOYMENT_TARGET=10.15
./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
make all --jobs 4
arch -x86_64 make all --jobs 4
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

- name: Linux
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Lint

on: [push, pull_request, workflow_dispatch]


permissions:
contents: read

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
pull_request:

paths:
- ".github/workflows/mypy.yml"
- "Lib/_colorize.py"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/new-bugs-announce-notifier.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: new-bugs-announce notifier

on:
issues:

issues:
types:
- opened

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/project-updater.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Update GH projects

on:
issues:

issues:
types:
- opened
- labeled
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Check labels

on:
pull_request:

pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Mark stale pull requests

on:
schedule:

schedule:
- cron: "0 */6 * * *"

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tail-call.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Tail calling interpreter
on:
pull_request:
paths:

paths:
- '.github/workflows/tail-call.yml'
- 'Python/bytecodes.c'
- 'Python/ceval.c'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verify-ensurepip-wheels.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Verify bundled wheels

on:
workflow_dispatch:

workflow_dispatch:
push:
paths:
- 'Lib/ensurepip/_bundled/**'
Expand Down
Loading