diff --git a/.github/workflows/all-tests.yml b/.github/workflows/all-tests.yml index 1ddbf10d69..d7e9e4aa67 100644 --- a/.github/workflows/all-tests.yml +++ b/.github/workflows/all-tests.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.13"] # Lower and higher versions we support + python-version: ["3.9", "3.13.3"] # Lower and higher versions we support, bug in 3.13.4 adjust when fixed os: [macos-latest, windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 3e1e86348b..2b3e746e4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ authors = [ ] description = "Python toolkit for analysis, visualization, and comparison of spike sorting output" readme = "README.md" -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.13.4" # limit until Windows bug is fixed. classifiers = [ "Programming Language :: Python :: 3 :: Only", "License :: OSI Approved :: MIT License", diff --git a/src/spikeinterface/sorters/tests/test_launcher.py b/src/spikeinterface/sorters/tests/test_launcher.py index 203f20b7e6..408e72173e 100644 --- a/src/spikeinterface/sorters/tests/test_launcher.py +++ b/src/spikeinterface/sorters/tests/test_launcher.py @@ -193,8 +193,7 @@ def test_run_sorter_jobs_slurm_kwargs(mocker, tmp_path, job_list): engine="slurm", engine_kwargs=None, ) - tmp_script_folder = "_".join(tempfile.mkdtemp(prefix="spikeinterface_slurm_").split("_")[:-1]) - assert tmp_script_folder in mock_subprocess_run.call_args_list[-1].args[0][5] + assert "spikeinterface_slurm_" in mock_subprocess_run.call_args_list[-1].args[0][5] def test_run_sorter_by_property(create_cache_folder):