diff --git a/python/pyproject.toml b/python/pyproject.toml index 005c0e8d..66df8393 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -73,7 +73,7 @@ version = "${version}" [tool.cibuildwheel] build = "cp312-*" -test-requires = ["pytest", "packaging"] +test-requires = ["pytest"] test-command = "pytest {package}/tests" musllinux-x86_64-image = "musllinux_1_1" musllinux-i686-image = "musllinux_1_1" diff --git a/python/tests/test_binder.py b/python/tests/test_binder.py index a0d390ac..cc97dc76 100644 --- a/python/tests/test_binder.py +++ b/python/tests/test_binder.py @@ -1,9 +1,6 @@ import re import subprocess -from binder import __version__ -from packaging.version import Version - def test_check_binder_llvm_version(): # Check the output of the `binder -version` command to obtain the versions of Binder and LLVM @@ -11,7 +8,5 @@ def test_check_binder_llvm_version(): pattern = r"binder ([\d\.]+)\nLLVM ([\d\.]+)" binder_version, llvm_version = re.match(pattern, output).groups() - # Check the versions of Binder and LLVM - binder_base_version = Version(__version__).base_version - assert binder_base_version == binder_version, f"Binder version mismatch: {binder_base_version} != {binder_version}" + # Check the versions of LLVM assert llvm_version == "6.0.1", f"LLVM version mismatch: {llvm_version} != 6.0.1"