Skip to content

STY: Update min versions pre-commit hook to align pixi.toml#65912

Open
mroeschke wants to merge 1 commit into
pandas-dev:mainfrom
mroeschke:ref/min_deps_hook
Open

STY: Update min versions pre-commit hook to align pixi.toml#65912
mroeschke wants to merge 1 commit into
pandas-dev:mainfrom
mroeschke:ref/min_deps_hook

Conversation

@mroeschke

@mroeschke mroeschke commented Jun 19, 2026

Copy link
Copy Markdown
Member

An agent updated scripts/validate_min_versions_in_sync.py to ensure pixi.toml dependency versions are in sync with other files. Additionally removed ci/deps that used to specify conda yaml files that are no longer used in CI

@mroeschke mroeschke added this to the 3.1 milestone Jun 19, 2026
@mroeschke mroeschke added the Code Style Code style, linting, code_checks label Jun 19, 2026


def test_get_versions_from_ci_parses_pixi_toml() -> None:
content = dedent(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the idea that this is kept in sync with the actual pixi.toml file? why not parse the actual file?

if yaml_result_data != yaml_start_data:
with open(ENV_PATH, "w", encoding="utf-8") as f:
f.write(yaml_result_data)
ret |= 1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dedent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Style Code style, linting, code_checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants