From e5e882e26a34ca90f379debc83cfb707c631ffce Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Wed, 23 Sep 2026 16:23:06 +0200 Subject: [PATCH 1/2] avoid python 3.15 deprecation warning --- src/silx/utils/test/test_external_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/silx/utils/test/test_external_resources.py b/src/silx/utils/test/test_external_resources.py index ffb72d9f28..3b476cfe4c 100644 --- a/src/silx/utils/test/test_external_resources.py +++ b/src/silx/utils/test/test_external_resources.py @@ -81,7 +81,7 @@ def test_download_all(self): filelist = self.resources.getdir(directory) # download file and remove it to create a json mapping file os.remove(filename) - directory_path = os.path.commonprefix(filelist) + directory_path = os.path.commonpath(filelist) # Make sure we will rmtree a dangerous path like "/" self.assertIn(self.resources.data_home, directory_path) shutil.rmtree(directory_path) From 93da5e0edad287c9be1f5213262fadcf9334b5b8 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Wed, 23 Sep 2026 16:39:02 +0200 Subject: [PATCH 2/2] build python 3.15 wheels in release ci, tests are disabled --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cce0dfd5aa..6827750cee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -219,7 +219,7 @@ jobs: if: runner.os == 'Linux' with: platforms: all - - uses: pypa/cibuildwheel@v3.3.1 + - uses: pypa/cibuildwheel@v4.2.1 env: # Configure silx tests WITH_QT_TEST: "False" @@ -229,7 +229,7 @@ jobs: CIBW_ENVIRONMENT_PASS_LINUX: WITH_QT_TEST WITH_GL_TEST SILX_OPENCL CIBW_BUILD_VERBOSITY: 1 - CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-* + CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-* cp315-* CIBW_SKIP: cp310-win_arm64 *-musllinux_* CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_BUILD_FRONTEND: "build; args: -C setup-args=-Duse_openmp=disabled" @@ -243,7 +243,8 @@ jobs: # - ARM64 windows: Wheels missing for some dependencies # - Windows python 3.14: PyOpencl wheel missing # - Linux python 3.14: PySide6 wheel requires a too recent manylinux version - CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-win_arm64 cp314-win_amd64 cp314-manylinux_x86_64" + # - Python 3.15 until all dependencies are available + CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-win_arm64 cp314-win_amd64 cp314-manylinux_x86_64 cp315-*" - uses: actions/upload-artifact@v6 with: