From 5eb80b7836b2e71b37598d2c7fa06ed8141ff6fd Mon Sep 17 00:00:00 2001 From: Matthew Burn Date: Mon, 2 Feb 2026 19:28:26 +0000 Subject: [PATCH 1/2] Fixed python3.14 type annotation issue --- propka/parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/propka/parameters.py b/propka/parameters.py index 7f09863..26bebde 100644 --- a/propka/parameters.py +++ b/propka/parameters.py @@ -144,7 +144,7 @@ def parse_line(self, line): if len(words) == 0: return # parse the words - typeannotation = self.__annotations__.get(words[0]) + typeannotation = type(self).__annotations__.get(words[0]) if typeannotation is _T_NUMBER_DICTIONARY: self.parse_to_number_dictionary(words) elif typeannotation is _T_STRING_LIST: From 3663adb7c69f5af8dad556931967430f83c1ca8d Mon Sep 17 00:00:00 2001 From: Matthew Burn Date: Mon, 2 Feb 2026 19:31:45 +0000 Subject: [PATCH 2/2] Added python 3.13 and 3.14 to github workflow --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5f5bf3f..eb6a9c4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "windows-latest"] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6