Skip to content

deps: add packaging to required deps #2573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ repos:
files: src|tests
additional_dependencies:
# Package dependencies
- packaging
- donfig
- numcodecs[crc32c]
- numpy
- numpy==2.1 # until https://github.com/numpy/numpy/issues/28034 is resolved
- typing_extensions
- universal-pathlib
# Tests
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ maintainers = [
requires-python = ">=3.11"
# If you add a new dependency here, please also add it to .pre-commit-config.yml
dependencies = [
'packaging>=22.0',
'numpy>=1.25',
'numcodecs[crc32c]>=0.14',
'typing_extensions>=4.9',
Expand Down Expand Up @@ -173,6 +174,7 @@ serve = "sphinx-autobuild docs docs/_build --host 0.0.0.0"
[tool.hatch.envs.upstream]
python = "3.13"
dependencies = [
'packaging @ git+https://github.com/pypa/packaging',
'numpy', # from scientific-python-nightly-wheels
'numcodecs @ git+https://github.com/zarr-developers/numcodecs',
'fsspec @ git+https://github.com/fsspec/filesystem_spec',
Expand Down Expand Up @@ -206,6 +208,7 @@ See Spec 0000 for details and drop schedule: https://scientific-python.org/specs
"""
python = "3.11"
dependencies = [
'packaging==22.*',
'numpy==1.25.*',
'numcodecs==0.14.*', # 0.14 needed for zarr3 codecs
'fsspec==2022.10.0',
Expand Down
Loading