Skip to content

Commit bd9200b

Browse files
authored
Remove debug build for now (#17917)
It's started failing on master due to agent changes and also it never tested debug builds in the first place, see issues linked https://github.com/python/mypy/actions/runs/11283075094/job/31381791947
1 parent 33717e5 commit bd9200b

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
toxenv: py
7171
tox_extra_args: "-n 4"
7272
test_mypyc: true
73-
7473
- name: Test suite with py313-ubuntu, mypyc-compiled
7574
python: '3.13'
7675
arch: x64
7776
os: ubuntu-latest
7877
toxenv: py
7978
tox_extra_args: "-n 4"
8079
test_mypyc: true
80+
8181
# - name: Test suite with py314-dev-ubuntu
8282
# python: '3.14-dev'
8383
# arch: x64
@@ -94,13 +94,16 @@ jobs:
9494
os: macos-13
9595
toxenv: py
9696
tox_extra_args: "-n 3 mypyc/test/test_run.py mypyc/test/test_external.py"
97-
- name: mypyc runtime tests with py38-debug-build-ubuntu
98-
python: '3.8.17'
99-
arch: x64
100-
os: ubuntu-latest
101-
toxenv: py
102-
tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py"
103-
debug_build: true
97+
# This is broken. See
98+
# - https://github.com/python/mypy/issues/17819
99+
# - https://github.com/python/mypy/pull/17822
100+
# - name: mypyc runtime tests with py38-debug-build-ubuntu
101+
# python: '3.8.17'
102+
# arch: x64
103+
# os: ubuntu-latest
104+
# toxenv: py
105+
# tox_extra_args: "-n 4 mypyc/test/test_run.py mypyc/test/test_external.py"
106+
# debug_build: true
104107

105108
- name: Type check our own code (py38-ubuntu)
106109
python: '3.8'
@@ -148,17 +151,17 @@ jobs:
148151
./misc/build-debug-python.sh $PYTHONVERSION $PYTHONDIR $VENV
149152
# TODO: does this do anything? env vars aren't passed to the next step right
150153
source $VENV/bin/activate
151-
- name: Latest Dev build
154+
- name: Latest dev build
152155
if: ${{ endsWith(matrix.python, '-dev') }}
153156
run: |
154-
sudo apt-get update
155-
sudo apt-get install -y --no-install-recommends \
156-
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
157-
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
158157
git clone --depth 1 https://github.com/python/cpython.git /tmp/cpython --branch $( echo ${{ matrix.python }} | sed 's/-dev//' )
159158
cd /tmp/cpython
160159
echo git rev-parse HEAD; git rev-parse HEAD
161160
git show --no-patch
161+
sudo apt-get update
162+
sudo apt-get install -y --no-install-recommends \
163+
build-essential gdb lcov libbz2-dev libffi-dev libgdbm-dev liblzma-dev libncurses5-dev \
164+
libreadline6-dev libsqlite3-dev libssl-dev lzma lzma-dev tk-dev uuid-dev zlib1g-dev
162165
./configure --prefix=/opt/pythondev
163166
make -j$(nproc)
164167
sudo make install
@@ -190,7 +193,7 @@ jobs:
190193
191194
- name: Setup tox environment
192195
run: |
193-
tox run -e ${{ matrix.toxenv }} --notes
196+
tox run -e ${{ matrix.toxenv }} --notest
194197
- name: Test
195198
run: tox run -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }}
196199
continue-on-error: ${{ matrix.allow_failure == 'true' }}

0 commit comments

Comments
 (0)