Skip to content

Commit 4abe4be

Browse files
authored
Add pcodec (#501)
* added PCodec * fix line length and print statements * docs * mock pcodec on rtd * fix typo * add dtype details * changed import style for pcodec * fix flake8 * revert import changes * fix errors due to changes in pcodec API * change import style * skip coverage of failed import path * skip pcodec tests if not installed
1 parent 0878717 commit 4abe4be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+250
-5
lines changed

.github/workflows/ci-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
conda activate env
5252
export DISABLE_NUMCODECS_AVX2=""
53-
python -m pip install -v -e .[test,test_extras,msgpack,zfpy]
53+
python -m pip install -v -e .[test,test_extras,msgpack,zfpy,pcodec]
5454
5555
- name: List installed packages
5656
shell: "bash -l {0}"

.github/workflows/ci-osx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
conda activate env
5252
export DISABLE_NUMCODECS_AVX2=""
53-
python -m pip install -v -e .[test,test_extras,msgpack,zfpy]
53+
python -m pip install -v -e .[test,test_extras,msgpack,zfpy,pcodec]
5454
5555
- name: List installed packages
5656
shell: "bash -l {0}"

.github/workflows/ci-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
shell: "bash -l {0}"
4343
run: |
4444
conda activate env
45-
python -m pip install -v -e .[test,test_extras,msgpack,zfpy]
45+
python -m pip install -v -e .[test,test_extras,msgpack,zfpy,pcodec]
4646
4747
- name: List installed packages
4848
shell: "bash -l {0}"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __getattr__(cls, name):
2323
return Mock()
2424

2525

26-
MOCK_MODULES = ['msgpack']
26+
MOCK_MODULES = ['msgpack', 'pcodec']
2727
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
2828

2929

docs/index.rst

Lines changed: 1 addition & 0 deletions

docs/pcodec.rst

Lines changed: 10 additions & 0 deletions

docs/release.rst

Lines changed: 2 additions & 0 deletions

fixture/pcodec/array.00.npy

4.03 KB
Binary file not shown.

fixture/pcodec/array.01.npy

7.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)