Skip to content

Commit 676ed06

Browse files
authored
1 parent 970428a commit 676ed06

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
python-version: '3.12'
4040
- name: Install tox
41-
run: pip install tox==4.11.0
41+
run: pip install tox==4.21.2
4242
- name: Setup tox environment
4343
run: tox run -e ${{ env.TOXENV }} --notest
4444
- name: Test

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ jobs:
128128
name: ${{ matrix.name }}
129129
env:
130130
TOX_SKIP_MISSING_INTERPRETERS: False
131-
# Rich (pip)
132-
FORCE_COLOR: 1
131+
# Rich (pip) -- Disable color for windows + pytest
132+
FORCE_COLOR: ${{ !(startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py')) && 1 || 0 }}
133133
# Tox
134134
PY_COLORS: 1
135135
# Mypy (see https://github.com/python/mypy/issues/7771)
@@ -183,7 +183,7 @@ jobs:
183183
echo debug build; python -c 'import sysconfig; print(bool(sysconfig.get_config_var("Py_DEBUG")))'
184184
echo os.cpu_count; python -c 'import os; print(os.cpu_count())'
185185
echo os.sched_getaffinity; python -c 'import os; print(len(getattr(os, "sched_getaffinity", lambda *args: [])(0)))'
186-
pip install setuptools==75.1.0 tox==4.11.0
186+
pip install setuptools==75.1.0 tox==4.21.2
187187
188188
- name: Compiled with mypyc
189189
if: ${{ matrix.test_mypyc }}
@@ -243,7 +243,7 @@ jobs:
243243
default: 3.11.1
244244
command: python -c "import platform; print(f'{platform.architecture()=} {platform.machine()=}');"
245245
- name: Install tox
246-
run: pip install setuptools==75.1.0 tox==4.11.0
246+
run: pip install setuptools==75.1.0 tox==4.21.2
247247
- name: Setup tox environment
248248
run: tox run -e py --notest
249249
- name: Test

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ envlist =
77
py310,
88
py311,
99
py312,
10+
py313,
1011
docs,
1112
lint,
1213
type,

0 commit comments

Comments
 (0)