Skip to content

Commit 0e89da3

Browse files
committed
tests: ignore failure on 3.14.0b1
Signed-off-by: Henry Schreiner <[email protected]>
1 parent a9a35c3 commit 0e89da3

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ jobs:
9797
-DCMAKE_CXX_FLAGS="/DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE /GR /EHsc"
9898
- runs-on: 'ubuntu-latest'
9999
python: 'graalpy-24.1'
100+
# Only working one for 3.14.0b1 on Windows
101+
- runs-on: windows-2022
102+
python: '3.14t'
100103

101104
exclude:
102105
# The setup-python action currently doesn't have graalpy for windows
@@ -109,6 +112,9 @@ jobs:
109112
# No NumPy for PyPy 3.10 ARM
110113
- runs-on: macos-14
111114
python: 'pypy-3.10'
115+
# Beta 1 broken for compiling on GHA (thinks it's free-threaded)
116+
- runs-on: windows-2022
117+
python: '3.14'
112118

113119

114120
name: "🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"

tests/test_methods_and_attributes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ def test_property_rvalue_policy():
305305

306306
# https://foss.heptapod.net/pypy/pypy/-/issues/2447
307307
@pytest.mark.xfail("env.PYPY")
308+
@pytest.mark.xfail(
309+
sys.version_info == (3, 14, 0, "beta", 1),
310+
reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912",
311+
strict=True,
312+
)
308313
def test_dynamic_attributes():
309314
instance = m.DynamicClass()
310315
assert not hasattr(instance, "foo")

tests/test_pickling.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import pickle
44
import re
5+
import sys
56

67
import pytest
78

@@ -62,7 +63,20 @@ def test_roundtrip(cls_name):
6263

6364

6465
@pytest.mark.xfail("env.PYPY")
65-
@pytest.mark.parametrize("cls_name", ["PickleableWithDict", "PickleableWithDictNew"])
66+
@pytest.mark.parametrize(
67+
"cls_name",
68+
[
69+
pytest.param(
70+
"PickleableWithDict",
71+
marks=pytest.mark.xfail(
72+
sys.version_info == (3, 14, 0, "beta", 1),
73+
reason="3.14.0b1 bug: https://github.com/python/cpython/issues/133912",
74+
strict=True,
75+
),
76+
),
77+
"PickleableWithDictNew",
78+
],
79+
)
6680
def test_roundtrip_with_dict(cls_name):
6781
cls = getattr(m, cls_name)
6882
p = cls("test_value")

0 commit comments

Comments
 (0)