Skip to content

remove deprecated optype.typing.Just* re-exports#601

Merged
jorenham merged 1 commit into
masterfrom
expire-deprecated-just
May 23, 2026
Merged

remove deprecated optype.typing.Just* re-exports#601
jorenham merged 1 commit into
masterfrom
expire-deprecated-just

Conversation

@jorenham

Copy link
Copy Markdown
Owner

They were scheduled for removal in 0.10.0, so it's about time (and then some)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the deprecated Just* protocol re-exports from optype.typing, aligning the module with the project’s flat public API (optype.Just*) and completing the removal that was scheduled for 0.10.0.

Changes:

  • Removed optype.typing.Just, JustInt, JustFloat, and JustComplex deprecated protocol wrappers and their __all__ exports.
  • Simplified related imports and kept TypeVar usage only for the remaining AnyIterable alias.

@github-actions

Copy link
Copy Markdown
Contributor

mypy_primer results

✅ No ecosystem changes detected

@jorenham jorenham merged commit 02d0a39 into master May 23, 2026
37 checks passed
@jorenham jorenham deleted the expire-deprecated-just branch May 23, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants