We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Support TypeIs (PEP 742)
Mypy now supports TypeIs (PEP 742), which allows
functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard,
TypeIs can narrow in both the if and else branches of an if statement:
Integration-Test-Docker-Environment 2.0.0, released 2023-08-07
Summary
Version 2.0.0 of ITDE comes with breaking changes as the public API class DatabaseInfo has been changed. Former separate attributes database_port_forwardand bucketfs_port_forward have been replaced by a single attribute port set to an instance of PortForwarding with attributes database, bucketfs, and ssh.
Previous versions of the ITDE used docker_exec to access the Docker Container, e.g. to analyze the content of logfiles or execute some shell commands. In future versions of the Exasol Docker-DB the format of the Docker Containers might change so that docker_exec is no longer possible. Instead ITDE will then need to use SSH access.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the other group with 5 updates in the / directory:
2024.3.2
2024.4.15
24.3.0
24.4.2
2024.1.29
2024.4.27
1.9.0
1.10.0
1.7.1
3.0.0
Updates
nox
from 2024.3.2 to 2024.4.15Release notes
Sourced from nox's releases.
Changelog
Sourced from nox's changelog.
... (truncated)
Commits
5656fce
Release 2024.04.158f33d1c
fix: ensure 'uv' always works in a uv venv (#818)d6e1906
feat: support PEP 723 with a toml load function (#811)d3dd1f8
feat: use static arguments instaed of **kwargs (#815)bc21883
feat: support None to remone envvars (#812)5e3d90d
fix: disallow UV_SYSTEM_PYTHON (#817)55c7eaf
feat: support default=False (#810)9a4068f
feat: add micromamba support (#807)11dac8c
fix: don't error if not installing to passthrough (#809)956f10c
ci: use uv (#805)Updates
black
from 24.3.0 to 24.4.2Release notes
Sourced from black's releases.
Changelog
Sourced from black's changelog.
Commits
3702ba2
Prepare release 24.4.2 (#4335)e4aaa8a
Fix incorrect f-string tokenization (#4332)ba88fc3
Simplify string tokenization regexes (#4331)5683242
New release templatee7fb048
Prepare release 24.4.1 (#4328)3f0f8f1
Support PEP 696 (#4327)2f88085
Github Action: Directly install from repo ifexport-subst
is skipped (#4313)12ce3db
Move changelog entry to right section (#4326)1354be2
Add support to style function definitions with newlines before function stubs...f4b644b
Prevent wrapping of multiline fstrings in parens (#4325)Updates
furo
from 2024.1.29 to 2024.4.27Changelog
Sourced from furo's changelog.
... (truncated)
Commits
750fcd7
Prepare release: 2024.04.27c0cb020
Update changelog3787a7c
Patchapp.config
in a more resilient manner (#783)6a3afab
Indent all children of aside.footnote (#788)035b276
fix: no index content on search page (#784)151f523
[pre-commit.ci] pre-commit autoupdate (#771)2eb75aa
Bump the github-actions group with 1 update (#777)df6f65c
Bump the npm group with 6 updates (#778)0b51a5e
Add space after period in ToC warning (#776)0188705
Bump the npm group with 5 updates (#770)Updates
mypy
from 1.9.0 to 1.10.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
3faf0fc
Remove +dev for version for release 1.10a5998d2
Update CHANGELOG.md (#17159)62ea5b0
Various updates to changelog for 1.10 (#17158)2f0864c
Update CHANGELOG.md with draft for release 1.10 (#17150)e1443bb
fix: incorrect returned type of access descriptors on unions of types (#16604)5161ac2
Sync typeshed (#17124)e2fc1f2
Fix crash when expanding invalid Unpack in aCallable
alias (#17028)3ff6e47
Docs: docstrings in checker.py, ast_helpers.py (#16908)732d98e
Fix string formatting for string enums (#16555)8019010
Narrow individual items when matching a tuple to a sequence pattern (#16905)Updates
exasol-integration-test-docker-environment
from 1.7.1 to 3.0.0Release notes
Sourced from exasol-integration-test-docker-environment's releases.
... (truncated)
Commits
35548cc
Remove pytest itde plugin (#392)ed82c5e
Re-lock dependencies 2024-02-22 (#395)cbceeed
Streamline error message (#380)d3450d9
Updated changes file (#373)37ff344
Replaced calls to DockerContainer.exec_run() to support SSH access alternativ...9d045bf
Removed versions 7.0.x of Exasol database (#369)7c0e930
Create SSH access replacements for calls to docker.exec_run() (#362)d6fcbaa
Fixed env variable LOG_ENV_VARIABLE_NAME (#360)390968a
Unify ports for database, BucketFS, and SSH (#354)985abe2
Add port, keys, user to DatabaseInfo with parent field ssh_info (#353)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