2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-11-03 20:07:15 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.4.1
4.4.1 (2024-11-03)
- Dropped Python 3.8 support
- Changed the signature of ``typeguard_ignore()`` to be compatible with
``typing.no_type_check()``
- Avoid creating reference cycles when type checking uniontypes and classes
- Fixed checking of variable assignments involving tuple unpacking
- Fixed ``TypeError`` when checking a class against ``type[Self]``
- Fixed checking of protocols on the class level (against ``type[SomeProtocol]``)
- Fixed ``Self`` checks in instance/class methods that have positional-only arguments
- Fixed explicit checks of PEP 604 unions against ``types.UnionType``
- Fixed checks against annotations wrapped in ``NotRequired`` not being run \
unless the
``NotRequired`` is a forward reference
- Fixed the ``pytest_ignore_collect`` hook in the pytest plugin blocking default \
pytest
collection ignoring behavior by returning ``None`` instead of ``False``
|
2024-10-30 09:52:36 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.4.0
4.4.0 (2024-10-27)
- Added proper checking for method signatures in protocol checks
- Fixed basic support for intersection protocols
- Fixed protocol checks running against the class of an instance and not the instance
itself (this produced wrong results for non-method member checks)
|
2024-05-29 13:38:41 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.3.0
4.3.0 (2024-05-27)
- Added support for checking against static protocols
- Fixed some compatibility problems when running on Python 3.13
- Fixed test suite incompatibility with pytest 8.2
- Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just
present)
|
2024-03-25 07:28:27 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.2.1
4.2.1 (2023-03-24)
- Fixed missing ``typing_extensions`` dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
|
2024-03-24 08:28:27 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.2.0
4.2.0
Added support for specifying options for the pytest plugin via pytest config files
Avoid creating reference cycles when type checking unions (PR by Shantanu)
Fixed Optional[...] being removed from the AST if it was located within a subscript
Fixed TypedDict from typing_extensions not being recognized as one
Fixed typing types (dict[str, int], List[str], etc.) not passing checks against \
type or Type
Fixed detection of optional fields (NotRequired[...]) in TypedDict when using \
forward references
Fixed mapping checks against Django's MultiValueDict
|
2023-11-19 17:02:44 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-typeguard: fix DEPENDS and test target
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-09-15 16:52:14 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.1.5
4.1.5 (2023-09-11)
- Fixed ``Callable`` erroneously rejecting a callable that has the requested \
amount of
positional arguments but they have defaults
- Fixed a regression introduced in v4.1.4 where the elements of ``Literal`` got \
quotes
removed from them by the AST transformer
|
2023-09-11 11:30:20 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-typeguard: updated to 4.1.4
4.1.4
- Fixed ``AttributeError`` where the transformer removed elements from a PEP 604 \
union
- Fixed ``AttributeError: 'Subscript' object has no attribute 'slice'`` when
encountering an annotation with a subscript containing an ignored type (imported
within an ``if TYPE_CHECKING:`` block)
- Fixed type checking not being skipped when the target is a union (PEP 604 or
``typing.Union``) where one of the elements is an ignored type (shadowed by an
argument, variable assignment or an ``if TYPE_CHECKING`` import)
- Fixed type checking of class instances created in ``__new__()`` in cases such \
as enums
where this method is already invoked before the class has finished initializing
|