File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ scikit-build>=0.7.1
10
10
setuptools >= 28.0.0
11
11
twine
12
12
virtualenv >= 15.0.3
13
- wheel
13
+ wheel == 0.31.1
Original file line number Diff line number Diff line change 2
2
import os
3
3
import pytest
4
4
5
- from path import Path
5
+ from path import Path , matchers
6
6
7
7
DIST_DIR = os .path .abspath (os .path .join (os .path .dirname (__file__ ), '../dist' ))
8
8
@@ -18,7 +18,7 @@ def _check_ninja_install(virtualenv):
18
18
19
19
@pytest .mark .skipif (not Path (DIST_DIR ).exists (), reason = "dist directory does not exist" )
20
20
def test_source_distribution (virtualenv ):
21
- sdists = Path (DIST_DIR ).files (pattern = "*.tar.gz" )
21
+ sdists = Path (DIST_DIR ).files (match = matchers . CaseInsensitive ( "*.tar.gz" ) )
22
22
if not sdists :
23
23
pytest .skip ("no source distribution available" )
24
24
assert len (sdists ) == 1
@@ -32,7 +32,7 @@ def test_source_distribution(virtualenv):
32
32
33
33
@pytest .mark .skipif (not Path (DIST_DIR ).exists (), reason = "dist directory does not exist" )
34
34
def test_wheel (virtualenv ):
35
- wheels = Path (DIST_DIR ).files (pattern = "*.whl" )
35
+ wheels = Path (DIST_DIR ).files (match = matchers . CaseInsensitive ( "*.whl" ) )
36
36
if not wheels :
37
37
pytest .skip ("no wheel available" )
38
38
assert len (wheels ) == 1
You can’t perform that action at this time.
0 commit comments