From 29ab55d9c3d9220055d4ddd60349b13d8cc0bfd9 Mon Sep 17 00:00:00 2001 From: Marko Ristin Date: Fri, 7 Jun 2024 16:06:11 +0200 Subject: [PATCH] Add support for Python 3.11 and 3.12 (#493) We include Python 3.11 and 3.12 in the CI to make sure everything runs on those Python versions as well. We have to upgrade the package `xmlschema` to the latest version (3.3.1), since the previous used version (1.10.0) did not support Python 3.12. Related issues: #491 and #492 --- .github/workflows/ci.yml | 2 +- setup.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 060556f0..e96c4811 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@master diff --git a/setup.py b/setup.py index 39e6ad6b..4f1309b8 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,8 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], license="License :: OSI Approved :: MIT License", keywords="asset administration shell code generation industry 4.0 industrie i4.0", @@ -49,7 +51,7 @@ "pyinstaller>=4, <5", "twine", "jsonschema==3.2.0", - "xmlschema==1.10.0", + "xmlschema==3.3.1", "aas-core-meta@git+https://github.com/aas-core-works/aas-core-meta@6d5411b#egg=aas-core-meta", "ssort==0.12.3", ]