Skip to content

BREAK: require excluded-python-versions to be an array - #734

Merged
redeboer merged 2 commits into
mainfrom
enh/733-excluded-python-versions-array
Oct 9, 2026
Merged

redeboer merged 2 commits into
mainfrom
enh/733-excluded-python-versions-array

Conversation

@redeboer

@redeboer redeboer commented Oct 9, 2026

Copy link
Copy Markdown
Member

Closes #733

⚠️ Interface

  • excluded-python-versions in [tool.compwa.policy.python] must now be an array of known Python versions, such as excluded-python-versions = ["3.14", "3.15"]. A string value like "3.14" or an unknown version like "3,14" is rejected, and the JSON schema lists the allowed versions.
  • policy python --excluded-python-versions takes one version per use and can be repeated, like --type-checker.
  • policy migrate splits comma- or space-separated values of list-valued hook arguments into separate array items, so --excluded-python-versions=3.14,3.15 becomes ["3.14", "3.15"].

Squash commit messages

* BREAK: require `excluded-python-versions` to be an array

@redeboer redeboer added this to the 0.9.9 milestone Oct 9, 2026
@redeboer redeboer added the ⚠️ Interface Breaking changes to the API label Oct 9, 2026
@redeboer redeboer self-assigned this Oct 9, 2026
@redeboer
redeboer added this pull request to stack #731 October 9, 2026 17:31
Base automatically changed from fix/728-pixi-uv-linkcheck to main October 9, 2026 17:40
@redeboer
redeboer force-pushed the enh/733-excluded-python-versions-array branch from c23db19 to 20cc53e Compare October 9, 2026 17:40
@redeboer redeboer linked an issue Oct 9, 2026 that may be closed by this pull request
@redeboer
redeboer merged commit d29eaac into main Oct 9, 2026
21 checks passed
@redeboer
redeboer deleted the enh/733-excluded-python-versions-array branch October 9, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Interface Breaking changes to the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require excluded-python-versions to be an array of Python versions

1 participant