Skip to content
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

Use custom stubgen version with decorator improvements #517

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Jan 20, 2025

python/mypy#18430 was merged yesterday and I finally had the time to work on adding (simple) decorator support upstream in python/mypy#18489. This will include the propcache decorator so that custom commit for the --preserve-decorators option is no longer necessary.

python/mypy@master...cdce8p:stubgen-decorators-1
python/mypy@68cffa7...a4ea153

@KapJI
Copy link
Owner

KapJI commented Jan 20, 2025

Thanks a lot for working on this!

@KapJI KapJI merged commit 5ec7056 into KapJI:main Jan 20, 2025
2 checks passed
@cdce8p cdce8p deleted the custom-stubgen branch January 20, 2025 14:49
@cdce8p
Copy link
Contributor Author

cdce8p commented Jan 21, 2025

Seems like the latest release 2025.1.3 just failed. Would you mind taking a look? It seems to be some sort of uv issue.
https://github.com/KapJI/homeassistant-stubs/actions/runs/12878596848/job/35904787687#step:5:34

@KapJI
Copy link
Owner

KapJI commented Jan 21, 2025

Fixed incompatibility with uv versions. The latest release added ton of missing decorators, thank you!
af954dc

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.

2 participants