You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2024/08/30 18:27:17 UTC
(plc4x) branch develop updated: fix(plc4py): add 3.8 to github action
This is an automated email from the ASF dual-hosted git repository.
hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 07627b8f4e fix(plc4py): add 3.8 to github action
07627b8f4e is described below
commit 07627b8f4edbb50b9f4cc8d94637abde84499b99
Author: hutcheb <be...@gmail.com>
AuthorDate: Sat Aug 31 02:27:06 2024 +0800
fix(plc4py): add 3.8 to github action
---
.github/workflows/python-platform.yml | 2 +-
plc4py/tests/unit/plc4py/utils/ParserSerializerTestSuiteRunner.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/python-platform.yml b/.github/workflows/python-platform.yml
index 74173fa19f..ee292b813a 100644
--- a/.github/workflows/python-platform.yml
+++ b/.github/workflows/python-platform.yml
@@ -48,7 +48,7 @@ jobs:
test:
strategy:
matrix:
- python-version: ['3.10', '3.11', '3.12']
+ python-version: ['3.8', '3.10', '3.11', '3.12']
os: [ ubuntu-latest, macos-latest, windows-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
diff --git a/plc4py/tests/unit/plc4py/utils/ParserSerializerTestSuiteRunner.py b/plc4py/tests/unit/plc4py/utils/ParserSerializerTestSuiteRunner.py
index 1f1599dc92..cf1e7cb997 100644
--- a/plc4py/tests/unit/plc4py/utils/ParserSerializerTestSuiteRunner.py
+++ b/plc4py/tests/unit/plc4py/utils/ParserSerializerTestSuiteRunner.py
@@ -27,7 +27,7 @@ import logging
import unittest
from abc import ABC, abstractmethod
from dataclasses import dataclass, field
-from typing import List, Iterator, Any
+from typing import List, Iterator, Any, Tuple
from xml.etree import ElementTree
from xsdata.formats.dataclass.parsers import XmlParser
@@ -48,7 +48,7 @@ class XmlTestSuiteLoader(unittest.TestLoader, ABC):
#
test_suite_document: str
- test_suite_document_xml: Iterator[tuple[str, Any]] = field(init=False)
+ test_suite_document_xml: Iterator[Tuple[str, Any]] = field(init=False)
def __post_init__(self) -> None:
# ElementTree.register_namespace('test', 'https://plc4x.apache.org/schemas/driver-testsuite.xsd')