Skip to content

Commit

Permalink
switch to new blosc major version blosc2
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Mar 26, 2024
1 parent eb2f51f commit b1ec0ac
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pytest-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest numpy
pip install -e .[compression]
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade importlib_metadata pytest numpy
python3 -m pip install -e .[compression]
env:
PYTHONPATH: $PWD

- name: Run examples
run: |
python examples/use_classic.py
python examples/use_modernised.py
python3 examples/use_classic.py
python3 examples/use_modernised.py
- name: Test with pytest
run: py.test -vs tests
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/pytest-macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,25 @@ jobs:
python-version: [3.6-dev, 3.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest numpy
pip install -e .
python3 -m pip install --upgrade pip
python3 -m pip install pytest numpy
python3 -m pip install -e .
env:
PYTHONPATH: $PWD

- name: Run examples
run: |
python examples/use_classic.py
python examples/use_modernised.py
python3 examples/use_classic.py
python3 examples/use_modernised.py
- name: Test with pytest
run: py.test -vs tests
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def extensions():
'packages': find_packages(exclude=['examples', 'tests']),
'setup_requires': s_required,
'install_requires': i_required,
'extras_require': {'compression': ['blosc', 'pyzfp']},
'extras_require': {'compression': ['blosc2', 'pyzfp']},
'ext_modules': lazy_cythonize(extensions),
'version': versioneer.get_version(),
'cmdclass': versioneer.get_cmdclass(),
Expand All @@ -52,7 +52,7 @@ def extensions():
'long_description_content_type': 'text/markdown',
'url': 'https://github.com/opesci/pyrevolve/',
'author': "Imperial College London",
'author_email': 'opesci@imperial.ac.uk',
'author_email': 'g.gorman@imperial.ac.uk',
'license': 'MIT',
'zip_safe': False
}
Expand Down

0 comments on commit b1ec0ac

Please sign in to comment.