Skip to content

Commit 414c3dd

Browse files
committed
TST: skip a test that exposes a Meson bug on Python 3.14
1 parent 85253bc commit 414c3dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_sdist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ def test_reproducible(package_pure, tmp_path):
217217
assert sdist_path_a == sdist_path_b
218218
assert tmp_path.joinpath('a', sdist_path_a).read_bytes() == tmp_path.joinpath('b', sdist_path_b).read_bytes()
219219

220+
# ``meson dist`` does not handle tarballs containing symbolic links to absolute
221+
# paths on Python 3.14, see https://github.com/mesonbuild/meson/issues/15142
222+
@pytest.mark.skipif(sys.version_info >= (3, 14), reason='incompatible Python version')
220223
@pytest.mark.filterwarnings('ignore:symbolic link')
221224
def test_symlinks(tmp_path, sdist_symlinks):
222225
with tarfile.open(sdist_symlinks, 'r:gz') as sdist:

0 commit comments

Comments
 (0)