diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 482aaf33..a4c7aca6 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -18,12 +18,10 @@ build: requirements: host: - - python >=3.7,<3.10 + - python >=3.8,<3.13 - pip run: - - python >=3.7,<3.10 - - tqdm - - typer + - python >=3.8,<3.13 {% for dep in setup_py_data['install_requires'] %} - {{ dep.lower() }} {% endfor %} @@ -47,11 +45,10 @@ requirements: test: imports: - bioimageio.core - - bioimageio.core.build_spec source_files: - tests requires: - {% for dep in setup_py_data['extras_require']['test'] %} + {% for dep in setup_py_data['extras_require']['dev'] %} - {{ dep.lower() }} {% endfor %} commands: @@ -64,6 +61,5 @@ about: license_family: MIT license_file: LICENSE summary: 'Tools for running BioimageIO compliant neural networks in Python.' - doc_url: https://github.com/bioimage-io/core-bioimage-io-python dev_url: https://github.com/bioimage-io/core-bioimage-io-python diff --git a/setup.py b/setup.py index adbf4305..0024c735 100644 --- a/setup.py +++ b/setup.py @@ -42,15 +42,18 @@ "pytorch": ["torch>=1.6", "torchvision"], "tensorflow": ["tensorflow"], "onnx": ["onnxruntime"], - "test": [ - "bioimageio.core[onnx]", - "bioimageio.core[pytorch]", - "black[jupyter]", + "dev": [ + "black", "crick", - "pytest-xdist[psutil]", # parallel pytest with 'pytest -n auto' + "filelock", + "onnxruntime", + "pre-commit", + "psutil", # parallel pytest with 'pytest -n auto' + "pytest-xdist", # parallel pytest "pytest", + "torch>=1.6", + "torchvision", ], - "dev": ["pre-commit", "bioimageio.core[test]"], }, project_urls={ "Bug Reports": "https://github.com/bioimage-io/core-bioimage-io-python/issues",