From 36d4767aca313ff436d398787d8df09b58678b50 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 13 Sep 2023 13:16:05 +0200 Subject: [PATCH] Skip project remotes test for python 3.12 (#12980) `weasel` (using `cloudpathlib`) does not currently support remote paths for python 3.12. --- spacy/tests/test_cli_app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spacy/tests/test_cli_app.py b/spacy/tests/test_cli_app.py index 3a426113b..a2fd4d666 100644 --- a/spacy/tests/test_cli_app.py +++ b/spacy/tests/test_cli_app.py @@ -1,4 +1,5 @@ import os +import sys from pathlib import Path import pytest @@ -213,6 +214,9 @@ def test_project_clone(options): assert (out / "README.md").is_file() +@pytest.mark.skipif( + sys.version_info >= (3, 12), reason="Python 3.12+ not supported for remotes" +) def test_project_push_pull(project_dir): proj = dict(SAMPLE_PROJECT) remote = "xyz"