python-zarr fails to build with Python 3.15.0a7. ___________________ ERROR collecting zarr/tests/test_core.py ___________________ /usr/lib/python3.15/site-packages/_pytest/python.py:498: in importtestmodule mod = import_path( /usr/lib/python3.15/site-packages/_pytest/pathlib.py:587: in import_path importlib.import_module(module_name) /usr/lib64/python3.15/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <frozen importlib._bootstrap>:1317: in _gcd_import ??? <frozen importlib._bootstrap>:1282: in _find_and_load ??? <frozen importlib._bootstrap>:1247: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:857: in _load_unlocked ??? /usr/lib/python3.15/site-packages/_pytest/assertion/rewrite.py:177: in exec_module source_stat, co = _rewrite_test(fn, self.config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/_pytest/assertion/rewrite.py:357: in _rewrite_test tree = ast.parse(source, filename=strfn) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/ast.py:46: in parse return compile(source, filename, mode, flags, E File "/builddir/build/BUILD/python-zarr-2.18.7-build/zarr-2.18.7/zarr/tests/test_core.py", line 89 E pytest.mark.filterwarnings("ignore:Call to deprecated function .* \_cbuffer\_sizes.*"), E ^^ E SyntaxError: "\_" is an invalid escape sequence. Did you mean "\\_"? A raw string is also an option. ___________________ ERROR collecting zarr/tests/test_sync.py ___________________ /usr/lib/python3.15/site-packages/_pytest/python.py:498: in importtestmodule mod = import_path( /usr/lib/python3.15/site-packages/_pytest/pathlib.py:587: in import_path importlib.import_module(module_name) /usr/lib64/python3.15/importlib/__init__.py:88: in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <frozen importlib._bootstrap>:1317: in _gcd_import ??? <frozen importlib._bootstrap>:1282: in _find_and_load ??? <frozen importlib._bootstrap>:1247: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:857: in _load_unlocked ??? /usr/lib/python3.15/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) zarr/tests/test_sync.py:20: in <module> from zarr.tests.test_core import TestArray <frozen importlib._bootstrap>:1282: in _find_and_load ??? <frozen importlib._bootstrap>:1247: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:857: in _load_unlocked ??? /usr/lib/python3.15/site-packages/_pytest/assertion/rewrite.py:177: in exec_module source_stat, co = _rewrite_test(fn, self.config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/_pytest/assertion/rewrite.py:357: in _rewrite_test tree = ast.parse(source, filename=strfn) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/ast.py:46: in parse return compile(source, filename, mode, flags, E File "/builddir/build/BUILD/python-zarr-2.18.7-build/zarr-2.18.7/zarr/tests/test_core.py", line 89 E pytest.mark.filterwarnings("ignore:Call to deprecated function .* \_cbuffer\_sizes.*"), E ^^ E SyntaxError: "\_" is an invalid escape sequence. Did you mean "\\_"? A raw string is also an option. https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10279373-python-zarr/ For all our attempts to build python-zarr with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-zarr/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.