Skip to content

Commit 0649847

Browse files
jswhit2jswhit2
authored andcommitted
skip blosc test on windows
1 parent 8ba7569 commit 0649847

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ environment = {NETCDF_PLUGIN_DIR="/usr/local/hdf5/lib/plugin/"}
134134
[[tool.cibuildwheel.overrides]]
135135
select = "*-macosx_x86_64"
136136
inherit.environment = "append"
137-
environment = {MACOSX_DEPLOYMENT_TARGET="13.0",HDF5_DIR="/Users/runner/micromamba/envs/build",netCDF4_DIR="/Users/runner/micromamba/envs/build",PATH="/Users/runner/micromamba/envs/build/bin:${PATH}",NETCDF_PLUGIN_DIR="/Users/runner/micromamba/envs/build/hdf5/lib/plugin"}
137+
environment = {MACOSX_DEPLOYMENT_TARGET="13.0",HDF5_DIR="/Users/runner/micromamba/envs/build",netCDF4_DIR="/Users/runner/micromamba/envs/build",PATH="${PATH}:/Users/runner/micromamba/envs/build/bin",NETCDF_PLUGIN_DIR="/Users/runner/micromamba/envs/build/hdf5/lib/plugin"}
138138

139139
[[tool.cibuildwheel.overrides]]
140140
select = "*-macosx_arm64"
141141
inherit.environment = "append"
142-
environment = {MACOSX_DEPLOYMENT_TARGET="14.0",HDF5_DIR="/Users/runneradmin/micromambe/envs/build",netCDF4_DIR="/Users/runneradmin/micromambe/envs/build",PATH="/Users/runneradmin/micromambe/envs/build/bin:${PATH}",NETCDF_PLUGIN_DIR="/Users/runneradmin/micromambe/envs/build/hdf5/lib/plugin"}
142+
environment = {MACOSX_DEPLOYMENT_TARGET="14.0",HDF5_DIR="/Users/runner/micromambe/envs/build",netCDF4_DIR="/Users/runner/micromambe/envs/build",PATH="${PATH}:/Users/runner/micromamba/envs/build/bin",NETCDF_PLUGIN_DIR="/Users/runner/micromamba/envs/build/hdf5/lib/plugin"}
143143

144144
[tool.cibuildwheel.windows]
145145
before-build = "python -m pip install delvewheel"

test/test_compression_blosc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def write_netcdf(filename, dtype='f8', blosc_shuffle: Literal[0, 1, 2] = 1, comp
3939
nc.close()
4040

4141

42-
@unittest.skipIf(no_plugins or not has_blosc_filter, "blosc filter not available")
42+
@unittest.skipIf(no_plugins or not has_blosc_filter or sys.platform.startswith("win"), "blosc filter not available or not working")
4343
class CompressionTestCase(unittest.TestCase):
4444
def setUp(self):
4545
self.filename = filename

0 commit comments

Comments
 (0)