diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3d6960..51c8e0a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11, 3.12] + python-version: [3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 029536c..5d22bba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## Pedantic 2.1.9 +- added Python 3.13 to CI + ## Pedantic 2.1.8 - add more parameters to `transformation` in `create_decorator` to make it more flexible diff --git a/pedantic/type_checking_logic/check_generic_classes.py b/pedantic/type_checking_logic/check_generic_classes.py index 604c1e9..e6ba3c1 100644 --- a/pedantic/type_checking_logic/check_generic_classes.py +++ b/pedantic/type_checking_logic/check_generic_classes.py @@ -28,7 +28,7 @@ def check_instance_of_generic_class_and_get_type_vars(instance: Any) -> Dict[Typ >>> e = B[int]() Traceback (most recent call last): ... - TypeError: Too few ...; actual 1, expected 2 + TypeError: Too few ...; actual 1, expect... 2 >>> f = B[int, float]() >>> check_instance_of_generic_class_and_get_type_vars(f) {~T: , ~S: } diff --git a/setup.py b/setup.py index 522043b..bd5d902 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def get_content_from_readme(file_name: str = 'README.md') -> str: setup( name="pedantic", - version="2.1.8", + version="2.1.9", python_requires='>=3.11.0', packages=find_packages(), install_requires=[],