Skip to content

No stub for setuptools? #2171

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

Closed
rbtcollins opened this issue May 29, 2018 · 4 comments
Closed

No stub for setuptools? #2171

rbtcollins opened this issue May 29, 2018 · 4 comments
Labels
stubs: request OUTDATED! Request to add stubs for a new package to typeshed

Comments

@rbtcollins
Copy link
Member

I see one for pkg_resources, but setuptools is missing - seems like that would be useful, no?

@gvanrossum
Copy link
Member

gvanrossum commented May 29, 2018 via email

@rbtcollins
Copy link
Member Author

rbtcollins commented May 29, 2018

The way I ran into this was that I wanted to be sure all Python code we wrote (at work) was getting linted, and didn't do anything specific to avoid linting setup.py.

However wearing another hat - as a (somewhat emeritus) maintainer of pbr, there setuptools stubs would be directly and meaningfully useful, because pbr itself makes extensive use of the setuptools APIs.

@JelleZijlstra
Copy link
Member

The reason there's no stub for setuptools is that nobody has contributed one, and the reason nobody has contributed one is probably that type checking setup.py is not that useful for most people (as Guido says).

We'd likely accept a PR adding stubs for setuptools though.

@srittau srittau added stubs: request OUTDATED! Request to add stubs for a new package to typeshed size-large labels Sep 11, 2018
@srittau
Copy link
Collaborator

srittau commented Aug 26, 2020

We are closing all third-party stub requests issues without recent activity. We still welcome pull requests that add these to typeshed, although distributing the stubs with the the third-party package itself is preferable.

@srittau srittau closed this as completed Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: request OUTDATED! Request to add stubs for a new package to typeshed
Projects
None yet
Development

No branches or pull requests

4 participants