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

Move types- stub packages to dev dependencies #88

Open
y4n9squared opened this issue Feb 15, 2025 · 0 comments
Open

Move types- stub packages to dev dependencies #88

y4n9squared opened this issue Feb 15, 2025 · 0 comments

Comments

@y4n9squared
Copy link

y4n9squared commented Feb 15, 2025

We wanted to upgrade our library from 0.1.5 to 0.2 but noticed that stub packages have been added and are propagated to the users.

As a library maintainer, you have no way of knowing which versions of the stubs are required by applications as they perform their own lock with a superset of constraints.

In addition, it is also very hard to keep the stub packages consistent with the libraries they are supposed to annotate (e.g. your own lock file resolved PyYAML 6.0.2 but your stubs are for PyYAML 6.0.12 which means your static analysis is not reflective of whether the types are actually consistent or not.

Would it be possible to move types-pyyaml and types-python-dateutil to dev dependencies?

Thank you!

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

No branches or pull requests

1 participant