Skip to content

Make the PySide2 compatibility requirement optional - #9

Merged
altendky merged 2 commits into
mainfrom
optional-binding-extra
Oct 23, 2026
Merged

altendky merged 2 commits into
mainfrom
optional-binding-extra

Conversation

@altendky

@altendky altendky commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Move the existing PySide2 version compatibility constraint into the pyside2 extra so users can opt into enforcement by dependency resolvers. Preserve the existing declared lower bound of PySide2 5.11.0.

Document compatibility enforcement as the purpose of the extra. Selecting it may also cause pip to install or change PySide2 as a side effect of satisfying the constraint. Record the change in the changelog. Base installations no longer require PySide2; the existing mypy requirement and development extra remain unchanged.

Validation: Built a wheel and source distribution with Python 3.12 and setuptools 75.8.0. Verified that the binding requirement is conditional on the extra, its version bound and other dependencies are preserved, and all 50 packaged stub files are byte-for-byte identical to the base branch. Reviewed the documentation correction and checked whitespace.

@altendky altendky closed this Oct 23, 2026
@altendky altendky reopened this Oct 23, 2026
@altendky
altendky merged commit e2341c7 into main Oct 23, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant