- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3k
Drop support for running with Python 3.7 #15566
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
Changes from all commits
d58bf6d
              eb67168
              7780bed
              be2e9f3
              5259f19
              87ddea8
              b1717a2
              4bccb47
              3e3771b
              c96f880
              7525f47
              b3b41ef
              ac7db77
              c3e4e25
              9dd794b
              f5687ff
              7fa9537
              f488592
              e5cfb30
              b1aceaf
              cb56517
              888c3fe
              9489f16
              7205da5
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -26,37 +26,27 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - name: Test suite with py37-windows-64 | ||
| python: '3.7' | ||
| arch: x64 | ||
| os: windows-latest | ||
| toxenv: py37 | ||
| - name: Test suite with py38-ubuntu | ||
| # Make sure to run mypyc compiled unit tests for both | ||
| # the oldest and newest supported Python versions | ||
| - name: Test suite with py38-ubuntu, mypyc-compiled | ||
| python: '3.8' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: py | ||
| tox_extra_args: "-n 2" | ||
| - name: Test suite with py39-ubuntu | ||
| python: '3.9' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: py | ||
| tox_extra_args: "-n 2" | ||
| - name: Test suite with py37-ubuntu, mypyc-compiled | ||
| python: '3.7' | ||
| test_mypyc: true | ||
| - name: Test suite with py38-windows-64 | ||
| python: '3.8' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: py | ||
| os: windows-latest | ||
| toxenv: py38 | ||
| tox_extra_args: "-n 2" | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if my previous suggestion might have been bad; maybe this might be the thing that's breaking things? Maybe there's a reason that the windows py37 job was the only job that didn't have  There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Didn't work :-/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, i saw :( | ||
| test_mypyc: true | ||
| - name: Test suite with py310-ubuntu, mypyc-compiled | ||
| python: '3.10' | ||
| - name: Test suite with py39-ubuntu | ||
| python: '3.9' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: py | ||
| tox_extra_args: "-n 2" | ||
| test_mypyc: true | ||
| - name: Test suite with py310-ubuntu | ||
| python: '3.10' | ||
| arch: x64 | ||
|  | @@ -70,29 +60,32 @@ jobs: | |
| toxenv: py | ||
| tox_extra_args: "-n 2" | ||
| test_mypyc: true | ||
| - name: mypyc runtime tests with py37-macos | ||
| python: '3.7' | ||
|  | ||
| - name: mypyc runtime tests with py38-macos | ||
| python: '3.8.17' | ||
| arch: x64 | ||
| os: macos-latest | ||
| toxenv: py | ||
| tox_extra_args: "-n 2 mypyc/test/test_run.py mypyc/test/test_external.py" | ||
| - name: mypyc runtime tests with py37-debug-build-ubuntu | ||
| python: '3.7.13' | ||
| - name: mypyc runtime tests with py38-debug-build-ubuntu | ||
| python: '3.8.17' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: py | ||
| tox_extra_args: "-n 2 mypyc/test/test_run.py mypyc/test/test_external.py" | ||
| debug_build: true | ||
| - name: Type check our own code (py37-ubuntu) | ||
| python: '3.7' | ||
|  | ||
| - name: Type check our own code (py38-ubuntu) | ||
| python: '3.8' | ||
| arch: x64 | ||
| os: ubuntu-latest | ||
| toxenv: type | ||
| - name: Type check our own code (py37-windows-64) | ||
| python: '3.7' | ||
| - name: Type check our own code (py38-windows-64) | ||
| python: '3.8' | ||
| arch: x64 | ||
| os: windows-latest | ||
| toxenv: type | ||
|  | ||
| # We also run these checks with pre-commit in CI, | ||
| # but it's useful to run them with tox too, | ||
| # to ensure the tox env works as expected | ||
|  | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -2,4 +2,3 @@ | |
| -r mypy-requirements.txt | ||
| types-psutil | ||
| types-setuptools | ||
| types-typed-ast>=1.5.8.5,<1.6.0 | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,6 +1,4 @@ | ||
| # NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml | ||
| typing_extensions>=4.1.0; python_version >= '3.8' | ||
| typing_extensions>=4.7.0; python_version < '3.8' | ||
| typing_extensions>=4.1.0 | ||
| mypy_extensions>=1.0.0 | ||
| typed_ast>=1.4.0,<2; python_version<'3.8' | ||
| tomli>=1.1.0; python_version<'3.11' | 
Uh oh!
There was an error while loading. Please reload this page.