Skip to content
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

CI: Pin blosc to fix pytables #58209

Merged
merged 2 commits into from
Apr 10, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-39-minimum_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ dependencies:

# optional dependencies
- beautifulsoup4=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc=1.21.3
- bottleneck=1.3.6
- fastparquet=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/circle-310-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.11.2
# https://github.com/conda-forge/pytables-feedstock/issues/97
- c-blosc2=2.13.2
- blosc
- bottleneck>=1.3.6
- fastparquet>=2023.10.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_pip_deps_from_conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import tomli as tomllib
import yaml

EXCLUDE = {"python", "c-compiler", "cxx-compiler"}
EXCLUDE = {"python", "c-compiler", "cxx-compiler", "c-blosc2"}
REMAP_VERSION = {"tzdata": "2022.7"}
CONDA_TO_PIP = {
"pytables": "tables",
Expand Down
5 changes: 4 additions & 1 deletion scripts/validate_min_versions_in_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
SETUP_PATH = pathlib.Path("pyproject.toml").resolve()
YAML_PATH = pathlib.Path("ci/deps")
ENV_PATH = pathlib.Path("environment.yml")
EXCLUDE_DEPS = {"tzdata", "blosc", "pyqt", "pyqt5"}
EXCLUDE_DEPS = {"tzdata", "blosc", "c-blosc2", "pyqt", "pyqt5"}
EXCLUSION_LIST = frozenset(["python=3.8[build=*_pypy]"])
# pandas package is not available
# in pre-commit environment
Expand Down Expand Up @@ -225,6 +225,9 @@ def get_versions_from_ci(content: list[str]) -> tuple[dict[str, str], dict[str,
seen_required = True
elif "# optional dependencies" in line:
seen_optional = True
elif "#" in line:
# just a comment
continue
elif "- pip:" in line:
continue
elif seen_required and line.strip():
Expand Down