3131 git
3232 meson
3333 pkgconf
34- uv
34+ poetry
3535 zstd
3636 python3
3737 python3-dev
@@ -48,38 +48,37 @@ jobs:
4848
4949 - name : Install zfp
5050 run : |
51- uv venv
52- PYTHON_INCLUDE=$(uv run python -c 'from sysconfig import get_paths; print(get_paths()["include"])');
53- PYTHON_LIB=$(uv run python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))');
51+ poetry init
52+ PYTHON_INCLUDE=$(poetry run python -c 'from sysconfig import get_paths; print(get_paths()["include"])');
53+ PYTHON_LIB=$(poetry run python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))');
5454 git clone https://github.com/LLNL/zfp
5555 mkdir zfp/build;
56- uv run cmake zfp -B zfp/build -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE
57- uv run make -C zfp/build
56+ poetry run cmake zfp -B zfp/build -DBUILD_ZFPY=ON -DBUILD_TESTING=OFF -DPYTHON_LIBRARY=$PYTHON_LIB -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE
57+ poetry run make -C zfp/build
5858 cp zfp/build/lib*/libzfp* /usr/local/lib;
5959 cp zfp/build/lib*/libzfp* /usr/local/lib64;
60- uv add "zfpy @ ./zfp"
60+ poetry add ./zfp
6161 shell : alpine.sh {0}
6262
6363 - name : Install numcodecs
6464 run : |
6565 export DISABLE_NUMCODECS_AVX2=""
66- uv venv
67- uv pip install -v -e .[test,test_extras,msgpack,crc32c,pcodec,zfpy]
66+ poetry install --with test,test_extras,msgpack,crc32c,pcodec,zfpy
6867 shell : alpine.sh {0}
6968
7069
7170 - name : Install zarr-python
7271 # Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out
7372 # so we can have some tests of our minimum version of numpy (1.24)
7473 if : matrix.python-version != '3.11'
75- run : uv add zarr>=3
74+ run : poetry add zarr>=3
7675 shell : alpine.sh {0}
7776
7877
7978 - name : List installed packages
80- run : uv pip list
79+ run : poetry list
8180 shell : alpine.sh {0}
8281
8382 - name : Run tests
84- run : uv run pytest -v
83+ run : poetry run pytest -v
8584 shell : alpine.sh {0}
0 commit comments