summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Fazio <vfazio@gmail.com>2023-01-03 12:39:13 -0500
committersqla-tester <sqla-tester@sqlalchemy.org>2023-01-03 12:39:13 -0500
commit40df5ecb410660fdf96a750d626d4f2f5b2d98ea (patch)
tree3d35c5b8f558da6885de148c2a4e19dd6cfe173d /tests
parent7cda8187d63c0c64c0a08b8763c2d41c0f970032 (diff)
downloadalembic-40df5ecb410660fdf96a750d626d4f2f5b2d98ea.tar.gz
add overload stubs for proxied classes
<!-- Provide a general summary of your proposed changes in the Title field above --> ### Description Closes #1146 Closes #1147 <!-- Describe your changes in detail --> Overloaded functions would not have type stubs generated by the stub generator for proxied classes. Now they will. ### Checklist <!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once) --> This pull request is: - [ ] A documentation / typographical error fix - Good to go, no issue or tests are needed - [x] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #<issue number>` in the commit message - please include tests. Closes: #1148 Pull-request: https://github.com/sqlalchemy/alembic/pull/1148 Pull-request-sha: ed3c28cc78e57314b7a4e533d77108efc6751949 Change-Id: I7c0ee9d333015174ee6ab754909748f745af2ff9
Diffstat (limited to 'tests')
-rw-r--r--tests/requirements.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/requirements.py b/tests/requirements.py
index aa88f66..c774e67 100644
--- a/tests/requirements.py
+++ b/tests/requirements.py
@@ -402,7 +402,7 @@ class DefaultRequirements(SuiteRequirements):
requirements, "black and zimports are required for this test"
)
version = exclusions.only_if(
- lambda _: compat.py39, "python 3.9 is required"
+ lambda _: compat.py311, "python 3.11 is required"
)
sqlalchemy = exclusions.only_if(