microsoft / python-type-stubs

A set of type stubs for popular Python packages. These are works in progress from the Microsoft Python team and others, with the intent that they are contributed to typeshed or to the associated packages once sufficiently complete.
MIT License
252 stars 99 forks source link

Update automated tests, pass as-is #301

Closed Avasam closed 2 weeks ago

Avasam commented 1 year ago

Work towards #296

Counterpart to #302 but this only touches configurations and infra. No stub change here except for stubs/scipy-stubs/optimize/cython_optimize/__init__.pyi (which is purely a mypy workaround otherwise it wouldn't even run due to same-name modules). So you can decide which you want first. There will be slight conflicts but I'll resolve them.

Avasam commented 3 months ago

Updated with latest review comments! Btw feel free to squash commit once this is accepted. I avoid rebases/force-pushes on GitHub to make it easier on the reviewer to see latest changes.

debonte commented 3 weeks ago

What is the status of this PR?

Avasam commented 3 weeks ago

What is the status of this PR?

Unless you have any other comment, it's good to be squash-merged on my side if it passes the CI. https://github.com/microsoft/python-type-stubs/pull/301#discussion_r1714086800 and https://github.com/microsoft/python-type-stubs/pull/301#discussion_r1811575673 are more follow-ups than something to be done here.

Avasam commented 3 weeks ago

The conflict is caused by: The user requested typing_extensions==4.2.0 mypy 1.11.2 depends on typing-extensions>=4.6.0 The user requested typing_extensions==4.2.0 mypy 1.11.1 depends on typing-extensions>=4.6.0 The user requested typing_extensions==4.2.0 mypy 1.11.0 depends on typing-extensions>=4.6.0

I unpinned typing_extensions to just follow what mypy uses

debonte commented 2 weeks ago

@Avasam, thanks for your work here!