Skip to content
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

[pip] Bump mypy from 1.13.0 to 1.14.1 #120

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 31, 2024

Bumps mypy from 1.13.0 to 1.14.1.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Drop Support for Python 3.8

Mypy no longer supports running with Python 3.8, which has reached end-of-life. When running mypy with Python 3.9+, it is still possible to type check code that needs to support Python 3.8 with the --python-version 3.8 argument. Support for this will be dropped in the first half of 2025!

Contributed by Marc Mueller (PR 17492).

Mypyc accelerated mypy wheels for aarch64

Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for manylinux_aarch64 to PyPI, making it easy for users on such platforms to realise this speedup.

Contributed by Christian Bundy (PR mypy_mypyc-wheels#76)

--strict-bytes

By default, mypy treats an annotation of bytes as permitting bytearray and memoryview. PEP 688 specified the removal of this special case. Use this flag to disable this behavior. --strict-bytes will be enabled by default in mypy 2.0.

Contributed by Ali Hamdan (PR 18137) and Shantanu Jain (PR 13952).

Improvements to partial type handling in loops

This change results in mypy better modelling control flow within loops and hence detecting several issues it previously did not detect. In some cases, this change may require use of an additional explicit annotation of a variable.

Contributed by Christoph Tyralla (PR 18180).

(Speaking of partial types, another reminder that mypy plans on enabling --local-partial-types by default in mypy 2.0).

Mypy 1.14

We’ve just uploaded mypy 1.14 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.13.0...v1.14.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 31, 2024
Copy link

github-actions bot commented Dec 31, 2024

🎉 All tests #1 of a0f7297 passed successfully.

Coverage report
Name                                                     Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------------------
server/database.py                                          58     29    50%   1-43, 49, 53, 59, 74-75, 88-89, 105, 115
server/globals.py                                          110    102     7%   1-57, 68-180
server/utils.py                                             52     40    23%   1-29, 37, 43, 48-77, 81, 85, 89, 93, 97, 101-126
server/v1/app.py                                            24     21    12%   1-20, 26-43
server/v1/models/accounts.py                                36     17    53%   1-23, 35-36, 52, 59, 66
server/v1/models/auth.py                                    68     42    38%   1-32, 38-39, 42-43, 51-74, 85-91, 94-95, 103-104
server/v1/models/info.py                                    31     24    23%   1-39, 41, 44, 47, 50, 53, 58-61
server/v1/models/reg_request.py                             80     41    49%   1-32, 65-66, 68, 83-102, 115, 118, 121, 124, 127, 130, 133, 136, 164-167, 180, 191
server/v1/models/residents.py                               96     52    46%   1-58, 71, 82, 94-95, 97, 112-113, 146-147, 150, 154, 158-159, 168-174, 177, 203
server/v1/models/rooms.py                                   75     65    13%   1-142, 151-152, 162-163
server/v1/routes/admin/login.py                             13     10    23%   1-30, 35
server/v1/routes/admin/registration_requests/accept.py      13     10    23%   1-31, 40-41
server/v1/routes/admin/registration_requests/count.py       14     10    29%   1-33
server/v1/routes/admin/registration_requests/root.py        13     11    15%   1-31, 55-56
server/v1/routes/admin/residents/count.py                   14     10    29%   1-32
server/v1/routes/admin/residents/delete.py                  13     10    23%   1-31, 40-41
server/v1/routes/admin/residents/root.py                    13     11    15%   1-31, 55-56
server/v1/routes/admin/residents/update.py                  15     11    27%   1-30, 39, 43-44
server/v1/routes/admin/rooms/count.py                       12      8    33%   1-30
server/v1/routes/admin/rooms/root.py                        13     11    15%   1-31, 41-42
server/v1/routes/login.py                                   13     10    23%   1-30, 33
server/v1/routes/register.py                                17     14    18%   1-46, 62-63
server/v1/routes/residents/me.py                            11      9    18%   1-30, 35
--------------------------------------------------------------------------------------
TOTAL                                                      804    568    29%
Performance report
  • /
$ wrk --script root.lua -t 12 -c 100 -d 30s -R 10000 http://localhost:8000
Running 30s test @ http://localhost:8000
  12 threads and 100 connections
  Thread calibration: mean lat.: 385.225ms, rate sampling interval: 2344ms
  Thread calibration: mean lat.: 1004.010ms, rate sampling interval: 4681ms
  Thread calibration: mean lat.: 829.022ms, rate sampling interval: 3997ms
  Thread calibration: mean lat.: 1033.551ms, rate sampling interval: 5132ms
  Thread calibration: mean lat.: 669.105ms, rate sampling interval: 3971ms
  Thread calibration: mean lat.: 676.271ms, rate sampling interval: 5115ms
  Thread calibration: mean lat.: 851.503ms, rate sampling interval: 4784ms
  Thread calibration: mean lat.: 1196.301ms, rate sampling interval: 4915ms
  Thread calibration: mean lat.: 984.237ms, rate sampling interval: 4179ms
  Thread calibration: mean lat.: 780.110ms, rate sampling interval: 3880ms
  Thread calibration: mean lat.: 464.134ms, rate sampling interval: 3160ms
  Thread calibration: mean lat.: 480.716ms, rate sampling interval: 2822ms
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     3.01s     3.05s   15.25s    83.20%
    Req/Sec   695.26     47.85   776.00     64.91%
  246888 requests in 29.99s, 29.90MB read
Requests/sec:   8231.91
Transfer/sec:      1.00MB
  • /api/v1/admin/login
$ wrk --script api/v1/admin/login.lua -t 12 -c 100 -d 30s -R 10000 http://localhost:8000/api/v1/admin/login
Running 30s test @ http://localhost:8000/api/v1/admin/login
  12 threads and 100 connections
  Thread calibration: mean lat.: 4483.438ms, rate sampling interval: 15949ms
  Thread calibration: mean lat.: 4422.861ms, rate sampling interval: 15622ms
  Thread calibration: mean lat.: 4607.982ms, rate sampling interval: 16465ms
  Thread calibration: mean lat.: 4495.812ms, rate sampling interval: 15523ms
  Thread calibration: mean lat.: 4353.512ms, rate sampling interval: 15523ms
  Thread calibration: mean lat.: 4610.148ms, rate sampling interval: 15949ms
  Thread calibration: mean lat.: 4465.419ms, rate sampling interval: 15335ms
  Thread calibration: mean lat.: 4445.956ms, rate sampling interval: 15417ms
  Thread calibration: mean lat.: 4446.036ms, rate sampling interval: 16048ms
  Thread calibration: mean lat.: 4514.555ms, rate sampling interval: 15818ms
  Thread calibration: mean lat.: 4370.539ms, rate sampling interval: 15728ms
  Thread calibration: mean lat.: 4255.267ms, rate sampling interval: 15359ms
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    17.46s     5.13s   28.13s    59.45%
    Req/Sec    89.42     17.50   122.00     66.67%
  32066 requests in 29.96s, 4.83MB read
  Non-2xx or 3xx responses: 32066
Requests/sec:   1070.24
Transfer/sec:    165.13KB
  • /api/v1/login
$ wrk --script api/v1/login.lua -t 12 -c 100 -d 30s -R 10000 http://localhost:8000/api/v1/login
Running 30s test @ http://localhost:8000/api/v1/login
  12 threads and 100 connections
  Thread calibration: mean lat.: 4978.549ms, rate sampling interval: 17530ms
  Thread calibration: mean lat.: 4994.702ms, rate sampling interval: 17530ms
  Thread calibration: mean lat.: 4969.210ms, rate sampling interval: 17645ms
  Thread calibration: mean lat.: 4922.276ms, rate sampling interval: 17661ms
  Thread calibration: mean lat.: 4913.939ms, rate sampling interval: 17416ms
  Thread calibration: mean lat.: 5009.632ms, rate sampling interval: 17612ms
  Thread calibration: mean lat.: 5047.899ms, rate sampling interval: 17743ms
  Thread calibration: mean lat.: 5014.196ms, rate sampling interval: 17547ms
  Thread calibration: mean lat.: 4917.880ms, rate sampling interval: 17416ms
  Thread calibration: mean lat.: 5003.778ms, rate sampling interval: 17399ms
  Thread calibration: mean lat.: 4982.244ms, rate sampling interval: 17678ms
  Thread calibration: mean lat.: 5021.918ms, rate sampling interval: 17629ms
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    19.44s     5.59s   29.51s    57.69%
    Req/Sec    21.67      3.09    25.00     91.67%
  7907 requests in 30.04s, 1.19MB read
  Non-2xx or 3xx responses: 7907
Requests/sec:    263.22
Transfer/sec:     40.61KB

Note that this workflow YAML is fetched from the main branch.

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 5, 2025

Superseded by #129.

@dependabot dependabot bot closed this Feb 5, 2025
@dependabot dependabot bot deleted the dependabot/pip/mypy-1.14.1 branch February 5, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants