Skip to content

Commit

Permalink
Backport PR #58209: CI: Pin blosc to fix pytables (#58211)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 committed Apr 10, 2024
1 parent 5466f15 commit 98aeac9
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ci/deps/actions-310.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-311-downstream_compat.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-311.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-312.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-39-minimum_versions.yaml
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=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/actions-39.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/circle-310-arm64.yaml
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>=2022.12.0
Expand Down
2 changes: 2 additions & 0 deletions environment.yml
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
- bottleneck>=1.3.6
- fastparquet>=2022.12.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_pip_deps_from_conda.py
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
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", "pandas-gbq", "pyqt", "pyqt5"}
EXCLUDE_DEPS = {"tzdata", "blosc", "c-blosc2", "pandas-gbq", "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

0 comments on commit 98aeac9

Please sign in to comment.