Closed nemacysts closed 3 years ago
This looks like it should resolve https://github.com/python/typeshed/issues/5643 - although I can't test the rest of the workflow, https://github.com/typeshed-internal/stub_uploader/blob/main/scripts/upload_changed.py#L48 looks like it'd also upload the sdist that will now be created.
I tested this by:
python -m scripts.build_wheel typeshed/ mock 1
types-mock-0.1.1.tar.gz types_mock-0.1.1-py2.py3-none-any.whl
Should we trigger an update for all types-* packages somehow so that we get sdists for existing packages?
Sounds like a good idea.
You both should have permission to do this https://github.com/typeshed-internal/stub_uploader/actions/workflows/force_update.yml (IIRC the package accepts regex, so you probably want something like '.*'
).
Actually, let me do this right now.
And it is done! (took around 5min to build and upload all)
Thanks Ivan!
Some users prefer to build their own wheels, and the fact that the modular types packages are only uploaded as wheels means that these users can't use pip with "--no-binary :all:" to guarantee that pip only downloads sdists in order to then rebuild the corresponding wheel.