Skip to content

Commit b6ec439

Browse files
authored
Merge branch 'main' into rm-3.8
2 parents 82f977a + 5aa0709 commit b6ec439

File tree

6 files changed

+6
-19
lines changed

6 files changed

+6
-19
lines changed

.github/workflows/apple.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
schedule:
8-
- cron: '13 11 * * *'
97

108
concurrency:
119
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1311

1412
jobs:
1513
pythonbuild:
16-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1714
runs-on: 'macos-13'
1815
steps:
1916
- uses: actions/checkout@v4
@@ -41,7 +38,6 @@ jobs:
4138
path: target/release/pythonbuild
4239

4340
build:
44-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4541
strategy:
4642
fail-fast: false
4743
matrix:

.github/workflows/linux.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
schedule:
8-
- cron: '13 11 * * *'
97

108
concurrency:
119
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1311

1412
jobs:
1513
pythonbuild:
16-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1714
runs-on: ubuntu-22.04
1815
steps:
1916
- name: Install System Dependencies
@@ -46,7 +43,6 @@ jobs:
4643
path: target/release/pythonbuild
4744

4845
image:
49-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
5046
strategy:
5147
fail-fast: false
5248
matrix:
@@ -117,7 +113,6 @@ jobs:
117113
path: build/image-*
118114

119115
build:
120-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
121116
strategy:
122117
fail-fast: false
123118
matrix:
@@ -876,7 +871,6 @@ jobs:
876871
# GitHub enforces a limit of 256 entries per matrix, which we exceeded above
877872
# so the CPython 3.13 jobs are split out
878873
build-313:
879-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
880874
strategy:
881875
fail-fast: false
882876
matrix:

.github/workflows/windows.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
schedule:
8-
- cron: '13 11 * * *'
97

108
concurrency:
119
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1311

1412
jobs:
1513
pythonbuild:
16-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
17-
runs-on: 'windows-2019'
14+
runs-on: 'windows-2022'
1815
steps:
1916
- uses: actions/checkout@v4
2017

@@ -41,7 +38,6 @@ jobs:
4138
path: target/release/pythonbuild.exe
4239

4340
build:
44-
if: ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4541
strategy:
4642
fail-fast: false
4743
matrix:
@@ -66,7 +62,7 @@ jobs:
6662
options: 'freethreaded+pgo'
6763

6864
needs: pythonbuild
69-
runs-on: 'windows-2019'
65+
runs-on: 'windows-2022'
7066
steps:
7167
- uses: actions/checkout@v4
7268
with:
@@ -96,7 +92,7 @@ jobs:
9692
- name: Build
9793
shell: cmd
9894
run: |
99-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
95+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
10096
py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.options }}
10197
10298
- name: Validate Distribution

cpython-unix/build-sqlite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ elif [ "${TARGET_TRIPLE}" = "x86_64-apple-ios" ]; then
2222
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_search_system=no"
2323
fi
2424

25-
CFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS}
25+
CFLAGS="${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS}
2626

2727
make -j ${NUM_CPUS}
2828
make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ def main() -> None:
16571657
parser.add_argument(
16581658
"--vs",
16591659
choices={"2019", "2022"},
1660-
default="2019",
1660+
default="2022",
16611661
help="Visual Studio version to use",
16621662
)
16631663
parser.add_argument(

src/validation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ const PE_ALLOWED_LIBRARIES: &[&str] = &[
107107
"USERENV.dll",
108108
"VERSION.dll",
109109
"VCRUNTIME140.dll",
110+
"VCRUNTIME140_1.dll",
110111
"WINMM.dll",
111112
"WS2_32.dll",
112113
// Our libraries.

0 commit comments

Comments
 (0)