Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- macos-15-intel
python:
- '3.9'
- '3.14'
- '3.15'
meson:
-
dependencies:
Expand Down Expand Up @@ -115,6 +115,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true

- name: Install Ninja
run: sudo apt-get install ninja-build
Expand Down
5 changes: 5 additions & 0 deletions tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ def test_reproducible(package_pure, tmp_path):
# containing symbolic links to absolute paths on Python 3.14.
# See https://github.com/mesonbuild/meson/issues/15142
@pytest.mark.skipif(sys.version_info >= (3, 14) and MESON_VERSION < (1, 9, 2), reason='incompatible Python version')
# Python 3.15 tarfile module translates POSIX paths to Windows paths
# when extracting tar archives on Windows, but does not implement the
# inverse when creating archives. This results in invalid tar archives
# and breaks this test. See https://github.com/python/cpython/pull/151671
@pytest.mark.xfail(sys.version_info >= (3, 15) and sys.platform == 'win32', reason='Python 3.15 tarfile module bug')
@pytest.mark.filterwarnings('ignore:symbolic link')
def test_symlinks(tmp_path, sdist_symlinks):
with tarfile.open(sdist_symlinks, 'r:gz') as sdist:
Expand Down
Loading