f"parameter on the mapped collection factory."
)
- @collection.appender # type: ignore[misc]
- @collection.internally_instrumented # type: ignore[misc]
+ @collection.appender # type: ignore[untyped-decorator]
+ @collection.internally_instrumented # type: ignore[untyped-decorator]
def set(
self,
value: _KT,
self.__setitem__(key, value, _sa_initiator) # type: ignore[call-arg]
- @collection.remover # type: ignore[misc]
- @collection.internally_instrumented # type: ignore[misc]
+ @collection.remover # type: ignore[untyped-decorator]
+ @collection.internally_instrumented # type: ignore[untyped-decorator]
def remove(
self,
value: _KT,
return None
# this is ported from py3.13.0a7
- _BASE_GET_ANNOTATIONS = type.__dict__["__annotations__"].__get__ # type: ignore # noqa: E501
+ _BASE_GET_ANNOTATIONS = type.__dict__["__annotations__"].__get__
def _get_dunder_annotations(obj):
if isinstance(obj, type):
[dependency-groups]
tests = [
- "pytest>=7.0.0,<8.4",
+ "pytest>=7.0.0,<10",
"pytest-xdist",
]
mypy = [
{include-group = "tests-greenlet"},
- "mypy>=1.16.0",
+ "mypy>=1.19.0",
"nox", # because we check noxfile.py
- "pytest>8,<8.4", # alembic/testing imports pytest
+ "pytest>8,<10", # alembic/testing imports pytest
"types-greenlet",
]
# if newer versions will fix the segfault or not
mysql: mariadb<1.1.13
- pytest>=7.0.0,<8.4
+ pytest>=7.0.0,<10
# tracked by https://github.com/pytest-dev/pytest-xdist/issues/907
pytest-xdist!=3.3.0
deps=
greenlet >= 1
importlib_metadata; python_version < '3.8'
- mypy >= 1.17.0
+ mypy >= 1.19.0
types-greenlet
commands =
mypy {env:MYPY_COLOR} ./lib/sqlalchemy
[testenv:mypy]
deps=
- pytest>=7.0.0rc1,<8.4
+ pytest>=7.0.0rc1,<10
pytest-xdist
types-greenlet
importlib_metadata; python_version < '3.8'
- mypy >= 1.17.0
+ mypy >= 1.19.0
patch==1.*
extras=
{[greenletextras]extras}