Skip to content

run stubtest on python 3.10 - #5305

Merged
srittau merged 18 commits into
python:masterfrom
Akuli:stubtest-310
May 2, 2021
Merged

run stubtest on python 3.10#5305
srittau merged 18 commits into
python:masterfrom
Akuli:stubtest-310

Conversation

@Akuli

@Akuli Akuli commented May 2, 2021

Copy link
Copy Markdown
Collaborator

To do:

  • enable stubtest_unused.py
  • figure out which py310.txt lines are linux-specific, put them to linux-py310.txt

@JelleZijlstra

Copy link
Copy Markdown
Member

3.10-dev might work?

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

2 similar comments
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Akuli added 8 commits May 2, 2021 17:30
python -m mypy.stubtest --ignore-missing-stub --check-typeshed --custom-typeshed-dir . --whitelist tests/stubtest_whitelists/py3_common.txt --whitelist tests/stubtest_whitelists/py310.txt --ignore-unused-whitelist --whitelist tests/stubtest_whitelists/linux.txt --generate-whitelist
TEMPORARY: change stubtest_test output
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Comment thread .github/workflows/stubtest-unused-whitelist.yml Outdated
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@Akuli
Akuli marked this pull request as ready for review May 2, 2021 15:03
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

1 similar comment
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

3 similar comments
@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@github-actions

github-actions Bot commented May 2, 2021

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@srittau
srittau merged commit 7590506 into python:master May 2, 2021
@Akuli
Akuli deleted the stubtest-310 branch May 2, 2021 16:16
@hauntsaninja

Copy link
Copy Markdown
Collaborator

Thanks for doing this, but I think I might roll back this change for now:

  • This is running with an older alpha, so is currently getting in the way of changes
  • With 3.9, even post-beta, we ended up having to switch off stubtest in CI for a while because the level of breakage was too high
  • This PR will likely also cause problems with unused, I imagine there are some things that will need to be removed from py3_common
  • We also at some point need to move the positional-only test to use 3.10 (we only check positional-only compatibility on latest version)

Akuli added a commit that referenced this pull request May 2, 2021
hauntsaninja pushed a commit to hauntsaninja/typeshed that referenced this pull request May 2, 2021
This was enabled in python#5305

- This is running with an older alpha, so is currently getting in the
  way of changes

- With 3.9, even post-beta, we ended up having to switch off stubtest in
  CI for a while because the level of breakage was too high

- This PR will likely also cause problems with unused, I imagine there
  are some things that will need to be removed from py3_common

- We also at some point need to move the positional-only test to use
  3.10 (we only check positional-only compatibility on latest version)
hauntsaninja pushed a commit that referenced this pull request May 2, 2021
@Akuli
Akuli restored the stubtest-310 branch May 2, 2021 20:27
Akuli added a commit to Akuli/typeshed that referenced this pull request May 2, 2021
@Akuli
Akuli deleted the stubtest-310 branch May 2, 2021 20:35
@Akuli Akuli mentioned this pull request May 2, 2021
@Akuli
Akuli restored the stubtest-310 branch May 3, 2021 09:24
@Akuli
Akuli deleted the stubtest-310 branch May 6, 2021 14:27
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

Successfully merging this pull request may close these issues.

4 participants