Skip to content

Commit 583e2df

Browse files
committed
Add msgpack as a requirement for wheels
1 parent 23d0d3a commit 583e2df

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/cibuildwheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Install dependencies
6161
run: |
6262
python -m pip install --upgrade pip
63-
python -m pip install -r requirements.txt
63+
python -m pip install -r requirements-build.txt
6464
python -m pip install -r requirements-tests.txt
6565
6666
- name: Build wheels (Windows)
@@ -71,7 +71,7 @@ jobs:
7171
python -m cibuildwheel --output-dir wheelhouse
7272
env:
7373
CIBW_BUILD: 'cp38-win_amd64 cp39-win_amd64 cp310-win_amd64'
74-
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt
74+
CIBW_BEFORE_BUILD: python -m pip install -r requirements-build.txt
7575
CIBW_BEFORE_TEST: python -m pip install -r requirements-tests.txt
7676
CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/tests
7777
CIBW_BUILD_VERBOSITY: 1
@@ -86,7 +86,7 @@ jobs:
8686
CIBW_BUILD: 'cp38-* cp39-* cp310-*'
8787
CIBW_SKIP: '*-manylinux*_i686'
8888
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
89-
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt
89+
CIBW_BEFORE_BUILD: python -m pip install -r requirements-build.txt
9090
CIBW_BEFORE_TEST: python -m pip install -r requirements-tests.txt
9191
CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/tests
9292
CIBW_BUILD_VERBOSITY: 1
@@ -122,7 +122,7 @@ jobs:
122122
- name: Install dependencies
123123
run: |
124124
python -m pip install --upgrade pip
125-
python -m pip install -r requirements.txt
125+
python -m pip install -r requirements-build.txt
126126
python -m pip install -r requirements-tests.txt
127127
128128
- name: Build sdist

RELEASING.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Preliminaries
66

77
* Check that `VERSION` file contains the correct number.
88

9-
* Make sure that the c-blosc2 submodule is updated to the latest version (or a specific version that will be documented in the `RELEASE_NOTES.md`)::
9+
* Make sure that the c-blosc2 submodule is updated to the latest version (or a specific
10+
version that will be documented in the `RELEASE_NOTES.md`)::
1011

1112
cd blosc2/c-blosc2
1213
git checkout <desired tag>
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
scikit-build
22
cython
33
cmake
4-
msgpack

requirements-runtime.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
msgpack

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ def cmake_bool(cond):
6161
platforms=["any"],
6262
packages=["blosc2"],
6363
package_dir={"blosc2": "blosc2"},
64+
install_requires=open("requirements-runtime.txt").read().split()
6465
)

0 commit comments

Comments
 (0)