celery-types icon indicating copy to clipboard operation
celery-types copied to clipboard

Why not typeshed?

Open hydrargyrum opened this issue 3 years ago • 8 comments

The typeshed repository is certainly the right place where to put those types. Why not submitting the project to them?

hydrargyrum avatar Jun 30 '21 15:06 hydrargyrum

Basically these stubs were started before typeshed releases were disconnected from type checker releases, so by having the types in their own package, it is/was easier to get updates through

sbdchd avatar Jun 30 '21 22:06 sbdchd

Ok, if this problem is fixed, would you consider submitting it to typeshed? That would also bring much more visibility to your project.

hydrargyrum avatar Jul 01 '21 06:07 hydrargyrum

Currently these types are pretty incomplete so they would need to be fleshed out more before submission

sbdchd avatar Jul 02 '21 18:07 sbdchd

It looks like this can be closed? The author is very responsive to bug reports, and I fear within typeshed it may not be as awesome.

jeking3 avatar Nov 06 '21 20:11 jeking3

IMHO, I can't see why the project wouldn't be followed if it's in typeshed. Being in typeshed only means it's available to a wider audience and is better integrated in checkers like mypy.

hydrargyrum avatar Nov 07 '21 09:11 hydrargyrum

Isn't typeshed deprecated? http://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html

huyz avatar Mar 01 '22 16:03 huyz

I can't see how it is deprecated. stub_uploader uploads stuff from typeshed repository to separate pypi packages. Your page only mentions reading pypi, which is not incompatible with using the typeshed repository.

hydrargyrum avatar Mar 01 '22 17:03 hydrargyrum

Typeshed links to PEP561 which says:

New third party stub libraries SHOULD distribute stubs via the third party packaging methods proposed in this PEP in place of being added to typeshed. Typeshed will remain in use, but if maintainers are found, third party stubs in typeshed MAY be split into their own package.

huyz avatar Mar 01 '22 18:03 huyz