Skip to content

Commit 0285dcc

Browse files
committed
build(python): remove hatch env specifications
Testing packages and test commands are now specified with pixi.
1 parent 390c65f commit 0285dcc

File tree

19 files changed

+0
-360
lines changed

19 files changed

+0
-360
lines changed

packages/compare-images/python/itkwasm-compare-images-emscripten/pyproject.toml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,10 @@ dependencies = [
3838
[tool.hatch.version]
3939
path = "itkwasm_compare_images_emscripten/_version.py"
4040

41-
[tool.hatch.envs.default]
42-
dependencies = [
43-
"pytest",
44-
"pytest-pyodide",
45-
"itk-webassemblyinterface >= 1.0.b173",
46-
"itkwasm >= 1.0.b171",
47-
]
48-
4941
[project.urls]
5042
Home = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5143
Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5244

53-
[tool.hatch.envs.default.scripts]
54-
test = [
55-
"hatch build -t wheel ./dist/pyodide/",
56-
"pytest -s --dist-dir=./dist/pyodide --rt=chrome",
57-
]
58-
download-pyodide = [
59-
"curl -L https://github.com/pyodide/pyodide/releases/download/0.25.1/pyodide-0.25.1.tar.bz2 -o pyodide.tar.bz2",
60-
"tar xjf pyodide.tar.bz2",
61-
"rm -rf dist/pyodide pyodide.tar.bz2",
62-
"mkdir -p dist",
63-
"mv pyodide dist",
64-
]
65-
serve = [
66-
"hatch build -t wheel ./dist/pyodide",
67-
'echo "\nVisit http://localhost:8877/console.html\n"',
68-
"python -m http.server --directory=./dist/pyodide 8877",
69-
]
70-
71-
7245
[tool.hatch.build]
7346
exclude = [
7447
"/examples",

packages/compare-images/python/itkwasm-compare-images-wasi/pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,15 @@ requires-python = ">=3.8"
3434
dependencies = [
3535
"itkwasm >= 1.0.b171",
3636
"importlib_resources",
37-
3837
]
3938

4039
[tool.hatch.version]
4140
path = "itkwasm_compare_images_wasi/_version.py"
4241

43-
[tool.hatch.envs.default]
44-
dependencies = [
45-
"pytest",
46-
"itk-webassemblyinterface >= 1.0.b173"
47-
]
48-
4942
[project.urls]
5043
Home = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5144
Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5245

53-
[tool.hatch.envs.default.scripts]
54-
test = "pytest"
55-
56-
5746
[tool.hatch.build]
5847
exclude = [
5948
"/examples",

packages/compare-images/python/itkwasm-compare-images/pyproject.toml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -42,36 +42,10 @@ dependencies = [
4242
[tool.hatch.version]
4343
path = "itkwasm_compare_images/_version.py"
4444

45-
[tool.hatch.envs.default]
46-
dependencies = [
47-
"pytest",
48-
"pytest-pyodide",
49-
"itk-webassemblyinterface >= 1.0.b173",
50-
"itkwasm >= 1.0.b171",
51-
]
52-
5345
[project.urls]
5446
Home = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5547
Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5648

57-
[tool.hatch.envs.default.scripts]
58-
test = [
59-
"hatch build -t wheel ./dist/pyodide/",
60-
"pytest -s --dist-dir=./dist/pyodide --rt=chrome",
61-
]
62-
download-pyodide = [
63-
"curl -L https://github.com/pyodide/pyodide/releases/download/0.25.1/pyodide-0.25.1.tar.bz2 -o pyodide.tar.bz2",
64-
"tar xjf pyodide.tar.bz2",
65-
"rm -rf dist/pyodide pyodide.tar.bz2",
66-
"mkdir -p dist",
67-
"mv pyodide dist",
68-
]
69-
serve = [
70-
"hatch build -t wheel ./dist/pyodide",
71-
'echo "\nVisit http://localhost:8877/console.html\n"',
72-
"python -m http.server --directory=./dist/pyodide 8877",
73-
]
74-
7549
[tool.hatch.build]
7650
exclude = [
7751
"/examples",

packages/compress-stringify/python/itkwasm-compress-stringify-emscripten/pyproject.toml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,32 +43,6 @@ Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
4343
[tool.hatch.version]
4444
path = "itkwasm_compress_stringify_emscripten/_version.py"
4545

46-
[tool.hatch.envs.default]
47-
dependencies = [
48-
"pytest",
49-
"pytest-pyodide",
50-
]
51-
52-
53-
[tool.hatch.envs.default.scripts]
54-
test = [
55-
"hatch build -t wheel ./dist/pyodide/",
56-
"pytest --dist-dir=./dist/pyodide --rt=chrome",
57-
]
58-
download-pyodide = [
59-
"curl -L https://github.com/pyodide/pyodide/releases/download/0.25.1/pyodide-0.25.1.tar.bz2 -o pyodide.tar.bz2",
60-
"tar xjf pyodide.tar.bz2",
61-
"rm -rf dist/pyodide pyodide.tar.bz2",
62-
"mkdir -p dist",
63-
"mv pyodide dist",
64-
]
65-
serve = [
66-
"hatch build -t wheel ./dist/pyodide/",
67-
'echo "\nVisit http://localhost:8877/console.html\n"',
68-
"python -m http.server --directory=./dist/pyodide 8877",
69-
]
70-
71-
7246
[tool.hatch.build]
7347
exclude = [
7448
"/examples",

packages/compress-stringify/python/itkwasm-compress-stringify-wasi/pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ requires-python = ">=3.8"
3434
dependencies = [
3535
"itkwasm >= 1.0.b171",
3636
"importlib_resources",
37-
3837
]
3938

4039
[project.urls]
@@ -45,16 +44,6 @@ Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
4544
[tool.hatch.version]
4645
path = "itkwasm_compress_stringify_wasi/_version.py"
4746

48-
[tool.hatch.envs.default]
49-
dependencies = [
50-
"pytest",
51-
]
52-
53-
54-
[tool.hatch.envs.default.scripts]
55-
test = "pytest"
56-
57-
5847
[tool.hatch.build]
5948
exclude = [
6049
"/examples",

packages/compress-stringify/python/itkwasm-compress-stringify/pyproject.toml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -47,37 +47,6 @@ Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
4747
[tool.hatch.version]
4848
path = "itkwasm_compress_stringify/_version.py"
4949

50-
[tool.hatch.envs.default]
51-
dependencies = [
52-
"pytest",
53-
"pytest-pyodide",
54-
"itkwasm-compare-images",
55-
"itkwasm-image-io",
56-
"itkwasm-compare-meshes",
57-
"itkwasm-mesh-io",
58-
"itkwasm-mesh-to-poly-data",
59-
]
60-
61-
62-
[tool.hatch.envs.default.scripts]
63-
test = [
64-
"hatch build -t wheel ./dist/pyodide/",
65-
"pytest --dist-dir=./dist/pyodide --rt=chrome",
66-
]
67-
download-pyodide = [
68-
"curl -L https://github.com/pyodide/pyodide/releases/download/0.25.1/pyodide-0.25.1.tar.bz2 -o pyodide.tar.bz2",
69-
"tar xjf pyodide.tar.bz2",
70-
"rm -rf dist/pyodide pyodide.tar.bz2",
71-
"mkdir -p dist",
72-
"mv pyodide dist",
73-
]
74-
serve = [
75-
"hatch build -t wheel ./dist/pyodide/",
76-
'echo "\nVisit http://localhost:8877/console.html\n"',
77-
"python -m http.server --directory=./dist/pyodide 8877",
78-
]
79-
80-
8150
[tool.hatch.build]
8251
exclude = [
8352
"/examples",

packages/dicom/python/itkwasm-dicom-emscripten/pyproject.toml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,36 +38,11 @@ dependencies = [
3838
[tool.hatch.version]
3939
path = "itkwasm_dicom_emscripten/_version.py"
4040

41-
[tool.hatch.envs.default]
42-
dependencies = [
43-
"pytest",
44-
"pytest-pyodide",
45-
]
46-
4741
[project.urls]
4842
Home = "https://itk-wasm-dicom-python-docs.on.fleek.co"
4943
Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5044
Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
5145

52-
[tool.hatch.envs.default.scripts]
53-
test = [
54-
"hatch build -t wheel ./dist/pyodide/",
55-
"pytest --dist-dir=./dist/pyodide --rt=chrome",
56-
]
57-
download-pyodide = [
58-
"curl -L https://github.com/pyodide/pyodide/releases/download/0.25.1/pyodide-0.25.1.tar.bz2 -o pyodide.tar.bz2",
59-
"tar xjf pyodide.tar.bz2",
60-
"rm -rf dist/pyodide pyodide.tar.bz2",
61-
"mkdir -p dist",
62-
"mv pyodide dist",
63-
]
64-
serve = [
65-
"hatch build -t wheel ./dist/pyodide/",
66-
'echo "\nVisit http://localhost:8877/console.html\n"',
67-
"python -m http.server --directory=./dist/pyodide 8877",
68-
]
69-
70-
7146
[tool.hatch.build]
7247
exclude = [
7348
"/examples",

packages/dicom/python/itkwasm-dicom-wasi/pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@ Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
4545
[tool.hatch.version]
4646
path = "itkwasm_dicom_wasi/_version.py"
4747

48-
[tool.hatch.envs.default]
49-
dependencies = [
50-
"pytest",
51-
"pillow",
52-
]
53-
54-
55-
[tool.hatch.envs.default.scripts]
56-
test = "pytest"
57-
58-
5948
[tool.hatch.build]
6049
exclude = [
6150
"/examples",

packages/dicom/python/itkwasm-dicom/pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ dependencies = [
3636
"itkwasm >= 1.0.b131",
3737
"itkwasm-dicom-wasi; sys_platform != \"emscripten\"",
3838
"itkwasm-dicom-emscripten; sys_platform == \"emscripten\"",
39-
4039
]
4140

4241
[project.urls]
@@ -47,16 +46,6 @@ Issues = "https://github.com/InsightSoftwareConsortium/ITK-Wasm/issues"
4746
[tool.hatch.version]
4847
path = "itkwasm_dicom/_version.py"
4948

50-
[tool.hatch.envs.default]
51-
dependencies = [
52-
"pytest",
53-
]
54-
55-
56-
[tool.hatch.envs.default.scripts]
57-
test = "pytest"
58-
59-
6049
[tool.hatch.build]
6150
exclude = [
6251
"/examples",

packages/downsample/python/itkwasm-downsample-cucim/pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ dependencies = [
4040
[tool.hatch.version]
4141
path = "itkwasm_downsample_cucim/_version.py"
4242

43-
[tool.hatch.envs.default]
44-
dependencies = [
45-
"pytest",
46-
"itkwasm-image-io",
47-
"itkwasm-compare-images",
48-
]
49-
5043
[project.urls]
5144
Home = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5245
Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
@@ -57,10 +50,6 @@ Source = "https://github.com/InsightSoftwareConsortium/ITK-Wasm"
5750
[project.entry-points."itkwasm_downsample.downsample"]
5851
"itkwasm_downsample-downsample.priority.10" = "itkwasm_downsample_cucim.downsample:downsample"
5952

60-
[tool.hatch.envs.default.scripts]
61-
test = "pytest"
62-
63-
6453
[tool.hatch.build]
6554
exclude = [
6655
"/examples",

0 commit comments

Comments
 (0)