Skip to content

Update mypy requirement from ~=1.9.0 to >=1.9,<1.18 #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Issues = "https://github.com/atlanhq/atlan-python/issues"

[dependency-groups]
dev = [
"mypy~=1.9.0",
"mypy>=1.9,<1.18",
Copy link

Choose a reason for hiding this comment

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

Bug: Mypy Version Range Causes Inconsistent Type Checking

The mypy version constraint was broadened from ~=1.9.0 to >=1.9,<1.18. This wide range (1.9.x through 1.17.x) is problematic as mypy frequently introduces breaking changes between minor versions, leading to inconsistent type checking across environments, new type errors, or build failures.

Fix in Cursor Fix in Web

"ruff~=0.12.8",
"types-requests~=2.31.0.6",
"types-setuptools~=75.8.0.20250110",
Expand Down
Loading