Skip to content

Commit ee21c2f

Browse files
committed
Try to fix PyPy CI flake
1 parent ef1e05a commit ee21c2f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
6161
env:
6262
COVERAGE_XML_PATH: ${{ runner.temp }}
6363
BABEL_TOX_EXTRA_DEPS: pytest-github-actions-annotate-failures
64-
LC_ALL: C # Python 3.10.16[pypy-7.3.19-final] in GHA failed with "unsupported locale setting"
6564
- uses: codecov/codecov-action@v5
6665
with:
6766
directory: ${{ runner.temp }}

tests/messages/test_setuptools_frontend.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ def test_extract_distutils_keyword_arg_388(kwarg, expected):
4545
assert set(cmdinst.add_comments) == {"Bar", "Foo"}
4646

4747

48+
@pytest.mark.xfail(
49+
# Python 3.10.16[pypy-7.3.19-final] in GHA fails with "unsupported locale setting"
50+
# in the subprocesses this test spawns. Hard to say why because it doesn't do that
51+
# locally.
52+
condition=(sys.implementation.name == "pypy" and "BABEL_TOX_INI_DIR" in os.environ),
53+
)
4854
def test_setuptools_commands(tmp_path, monkeypatch):
4955
"""
5056
Smoke-tests all of the setuptools versions of the commands in turn.

0 commit comments

Comments
 (0)