Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ scikit-build>=0.7.1
setuptools>=28.0.0
twine
virtualenv>=15.0.3
wheel
wheel==0.31.1
6 changes: 3 additions & 3 deletions tests/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import pytest

from path import Path
from path import Path, matchers

DIST_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '../dist'))

Expand All @@ -18,7 +18,7 @@ def _check_ninja_install(virtualenv):

@pytest.mark.skipif(not Path(DIST_DIR).exists(), reason="dist directory does not exist")
def test_source_distribution(virtualenv):
sdists = Path(DIST_DIR).files(pattern="*.tar.gz")
sdists = Path(DIST_DIR).files(match=matchers.CaseInsensitive("*.tar.gz"))
if not sdists:
pytest.skip("no source distribution available")
assert len(sdists) == 1
Expand All @@ -32,7 +32,7 @@ def test_source_distribution(virtualenv):

@pytest.mark.skipif(not Path(DIST_DIR).exists(), reason="dist directory does not exist")
def test_wheel(virtualenv):
wheels = Path(DIST_DIR).files(pattern="*.whl")
wheels = Path(DIST_DIR).files(match=matchers.CaseInsensitive("*.whl"))
if not wheels:
pytest.skip("no wheel available")
assert len(wheels) == 1
Expand Down