31
31
git
32
32
meson
33
33
pkgconf
34
- uv
34
+ poetry
35
35
zstd
36
36
python3
37
37
python3-dev
@@ -48,38 +48,37 @@ jobs:
48
48
49
49
- name : Install zfp
50
50
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"))');
54
54
git clone https://github.com/LLNL/zfp
55
55
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
58
58
cp zfp/build/lib*/libzfp* /usr/local/lib;
59
59
cp zfp/build/lib*/libzfp* /usr/local/lib64;
60
- uv add "zfpy @ ./zfp"
60
+ poetry add ./zfp
61
61
shell : alpine.sh {0}
62
62
63
63
- name : Install numcodecs
64
64
run : |
65
65
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
68
67
shell : alpine.sh {0}
69
68
70
69
71
70
- name : Install zarr-python
72
71
# Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out
73
72
# so we can have some tests of our minimum version of numpy (1.24)
74
73
if : matrix.python-version != '3.11'
75
- run : uv add zarr>=3
74
+ run : poetry add zarr>=3
76
75
shell : alpine.sh {0}
77
76
78
77
79
78
- name : List installed packages
80
- run : uv pip list
79
+ run : poetry list
81
80
shell : alpine.sh {0}
82
81
83
82
- name : Run tests
84
- run : uv run pytest -v
83
+ run : poetry run pytest -v
85
84
shell : alpine.sh {0}
0 commit comments