Skip to content

Commit 34262eb

Browse files
authored
Merge branch 'main' into fix-deref-of-null-testembed
2 parents 3be06fb + 2462807 commit 34262eb

File tree

182 files changed

+6381
-2574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+6381
-2574
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Lib/test/test_android.py @mhsmith @freakboy3742
150150
# iOS
151151
Doc/using/ios.rst @freakboy3742
152152
Lib/_ios_support.py @freakboy3742
153+
Apple/ @freakboy3742
153154
iOS/ @freakboy3742
154155

155156
# macOS

.github/CONTRIBUTING.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ our workflow that are not covered by a bot or status check are:
3434
- All discussions that are not directly related to the code in the pull request
3535
should happen on `GitHub Issues <https://github.com/python/cpython/issues>`_.
3636
- Upon your first non-trivial pull request (which includes documentation changes),
37-
feel free to add yourself to ``Misc/ACKS``
37+
feel free to add yourself to ``Misc/ACKS``.
3838

3939

4040
Setting Expectations
4141
--------------------
42-
Due to the fact that this project is entirely volunteer-run (i.e. no one is paid
43-
to work on Python full-time), we unfortunately can make no guarantees as to if
42+
Due to the fact that this project is run by volunteers,
43+
unfortunately we cannot make any guarantees as to if
4444
or when a core developer will get around to reviewing your pull request.
4545
If no core developer has done a review or responded to changes made because of a
46-
"changes requested" review, please feel free to email python-dev to ask if
47-
someone could take a look at your pull request.
46+
"changes requested" review within a month, you can ask for someone to
47+
review your pull request via a post in the `Core Development Discourse
48+
category <https://discuss.python.org/c/core-dev/23>`__.
4849

4950

5051
Code of Conduct

.github/workflows/jit.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,34 @@ jobs:
134134
make all --jobs 4
135135
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
136136
137+
jit-with-disabled-gil:
138+
name: Free-Threaded (Debug)
139+
needs: interpreter
140+
runs-on: ubuntu-24.04
141+
timeout-minutes: 90
142+
strategy:
143+
fail-fast: false
144+
matrix:
145+
llvm:
146+
- 19
147+
steps:
148+
- uses: actions/checkout@v4
149+
with:
150+
persist-credentials: false
151+
- uses: actions/setup-python@v5
152+
with:
153+
python-version: '3.11'
154+
- name: Build with JIT enabled and GIL disabled
155+
run: |
156+
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
157+
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
158+
./configure --enable-experimental-jit --with-pydebug --disable-gil
159+
make all --jobs 4
160+
- name: Run tests
161+
run: |
162+
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
163+
continue-on-error: true
164+
137165
no-opt-jit:
138166
name: JIT without optimizations (Debug)
139167
needs: interpreter
@@ -160,31 +188,3 @@ jobs:
160188
- name: Run tests without optimizations
161189
run: |
162190
PYTHON_UOPS_OPTIMIZE=0 ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
163-
164-
# XXX: GH-133171
165-
# jit-with-disabled-gil:
166-
# name: Free-Threaded (Debug)
167-
# needs: interpreter
168-
# runs-on: ubuntu-24.04
169-
# timeout-minutes: 90
170-
# strategy:
171-
# fail-fast: false
172-
# matrix:
173-
# llvm:
174-
# - 19
175-
# steps:
176-
# - uses: actions/checkout@v4
177-
# with:
178-
# persist-credentials: false
179-
# - uses: actions/setup-python@v5
180-
# with:
181-
# python-version: '3.11'
182-
# - name: Build with JIT enabled and GIL disabled
183-
# run: |
184-
# sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
185-
# export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
186-
# ./configure --enable-experimental-jit --with-pydebug --disable-gil
187-
# make all --jobs 4
188-
# - name: Run tests
189-
# run: |
190-
# ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

.gitignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ Lib/test/data/*
7171
/Makefile
7272
/Makefile.pre
7373
/iOSTestbed.*
74-
iOS/Frameworks/
75-
iOS/Resources/Info.plist
76-
iOS/testbed/build
77-
iOS/testbed/Python.xcframework/ios-*/bin
78-
iOS/testbed/Python.xcframework/ios-*/include
79-
iOS/testbed/Python.xcframework/ios-*/lib
80-
iOS/testbed/Python.xcframework/ios-*/Python.framework
81-
iOS/testbed/iOSTestbed.xcodeproj/project.xcworkspace
82-
iOS/testbed/iOSTestbed.xcodeproj/xcuserdata
74+
Apple/iOS/Frameworks/
75+
Apple/iOS/Resources/Info.plist
76+
Apple/testbed/build
77+
Apple/testbed/Python.xcframework/*/bin
78+
Apple/testbed/Python.xcframework/*/include
79+
Apple/testbed/Python.xcframework/*/lib
80+
Apple/testbed/Python.xcframework/*/Python.framework
81+
Apple/testbed/*Testbed.xcodeproj/project.xcworkspace
82+
Apple/testbed/*Testbed.xcodeproj/xcuserdata
8383
Mac/Makefile
8484
Mac/PythonLauncher/Info.plist
8585
Mac/PythonLauncher/Makefile

0 commit comments

Comments
 (0)