Skip to content

Commit

Permalink
TST skip test checking the Cython version in pyproject toml
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored and jeremiedbb committed Sep 20, 2023
1 parent bbe9960 commit 91163a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sklearn/tests/test_min_dependencies_readme.py
Expand Up @@ -53,6 +53,13 @@ def test_min_dependencies_readme():
assert version == min_version, f"{package} has a mismatched version"


@pytest.mark.skip(
reason=(
"For the release purpose, the upper limit of Cython is set to 3.0 since it "
"leads to performance regression. Scikit-learn can still be built with "
"Cython 3."
)
)
def test_min_dependencies_pyproject_toml():
"""Check versions in pyproject.toml is consistent with _min_dependencies."""
# tomllib is available in Python 3.11
Expand Down

0 comments on commit 91163a6

Please sign in to comment.