Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ jobs:
with:
python-version: "3.12"
- name: Install pyproject2conda
run: pip install pyproject2conda
# Pinned to the 0.22.x line to match the local prek hook rev (v0.22.1).
# 0.23.0 introduced a regression:
# `AttributeError: 'CondaRequirement' object has no attribute 'channel'`
# raised from `_iter_parts` during `__hash__` of any conda requirement,
# so any invocation that processes conda deps fails immediately.
# The upper bound allows a hypothetical 0.22.x patch backport while
# excluding 0.23.x. Bump in lockstep with the .pre-commit-config.yaml
# rev once a fixed release is available.
run: pip install "pyproject2conda>=0.22.1,<0.23"
- name: Regenerate environment.yml (same args as local prek hook config)
run: |
pyproject2conda yaml -e dev -o /tmp/environment.generated.yml -n CausalPy \
Expand Down
Loading