Skip to content

Commit 31595a8

Browse files
committed
Switch to pytest-lazy-fixtures
Remove the `pytest-lazy-fixture` plugin and use the replacement `pytest-lazy-fixtures` package instead. Address #755 Signed-off-by: Gigon Bae <[email protected]>
1 parent b7c9196 commit 31595a8

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2016 Marsel Zaripov
3+
Copyright (c) 2023 Anton Petrov
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
copies of the Software, and to permit persons to whom the Software is
1010
furnished to do so, subject to the following conditions:
1111

12-
The above copyright notice and this permission notice shall be included in
13-
all copies or substantial portions of the Software.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE-3rdparty.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,11 @@ libcuckoo
243243
- Copyright: Carnegie Mellon University and Intel Corporation
244244
- Usage: Using concurrent hash table implementation for cache mechanism.
245245

246-
pytest-lazy-fixture
246+
pytest-lazy-fixtures
247247
- License: MIT License
248-
- https://github.com/TvoroG/pytest-lazy-fixture/blob/master/LICENSE
249-
- Copyright: Marsel Zaripov
248+
- https://github.com/dev-petrov/pytest-lazy-fixtures
249+
- https://github.com/dev-petrov/pytest-lazy-fixtures/blob/master/LICENSE
250+
- Copyright: Anton Petrov
250251
- Usage: Using lazy fixture feature in PyTest.
251252

252253
psutil

conda/environments/all_cuda-118_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737
- psutil>=5.8.0
3838
- pydata-sphinx-theme
3939
- pytest-cov>=2.12.1
40-
- pytest-lazy-fixture>=0.6.3
40+
- pytest-lazy-fixtures
4141
- pytest-xdist
4242
- pytest>=6.2.4,<8.0.0a0
4343
- python>=3.8,<3.12

conda/environments/all_cuda-125_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies:
3636
- psutil>=5.8.0
3737
- pydata-sphinx-theme
3838
- pytest-cov>=2.12.1
39-
- pytest-lazy-fixture>=0.6.3
39+
- pytest-lazy-fixtures
4040
- pytest-xdist
4141
- pytest>=6.2.4,<8.0.0a0
4242
- python>=3.8,<3.12

dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ dependencies:
303303
- psutil>=5.8.0
304304
- pytest>=6.2.4,<8.0.0a0
305305
- pytest-cov>=2.12.1
306-
- pytest-lazy-fixture>=0.6.3
306+
- pytest-lazy-fixtures
307307
- pytest-xdist
308308
- tifffile>=2022.7.28
309309
- pooch>=1.6.0 # needed to download scikit-image sample data

python/cucim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ test = [
6666
"pooch>=1.6.0",
6767
"psutil>=5.8.0",
6868
"pytest-cov>=2.12.1",
69-
"pytest-lazy-fixture>=0.6.3",
69+
"pytest-lazy-fixtures",
7070
"pytest-xdist",
7171
"pytest>=6.2.4,<8.0.0a0",
7272
"pywavelets>=1.0",

python/cucim/tests/fixtures/testimage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import shutil
1717

1818
import pytest
19-
from pytest_lazyfixture import lazy_fixture
19+
from pytest_lazy_fixtures import lf as lazy_fixture
2020

2121
from ..util.gen_image import ImageGenerator
2222

0 commit comments

Comments
 (0)