From 7678d758c7c6e7a66f6b229e9b649c75d84ea73d Mon Sep 17 00:00:00 2001 From: Fstei Date: Wed, 25 Sep 2024 09:27:08 +0200 Subject: [PATCH] test --- .github/workflows/python-publish.yml | 11 ++++++----- .github/workflows/unittests.yml | 2 +- pyproject.toml | 3 +-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index e43c9dd..a81f99f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -35,17 +35,18 @@ jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI - runs-on: ubuntu-latest - # Specifying a GitHub environment, # Specifying a GitHub environment, which is strongly recommended by PyPI: https://docs.pypi.org/trusted-publishers/adding-a-publisher/ - # you have to create an environment in your repository settings and add the environment name here + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: [ "3.12" ] + os: [ ubuntu-latest ] environment: release permissions: - # IMPORTANT: this permission is mandatory for trusted publishing id-token: write needs: tests steps: - uses: actions/checkout@v4 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index e348007..30e8d23 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12"] pydantic: [true, false] os: [ubuntu-latest] steps: diff --git a/pyproject.toml b/pyproject.toml index 6026a8d..1f0e52e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "fundamend" description = "XML basierte Formate und DatemModelle für die Energiewirtschaft in Deutschland" license = { text = "MIT" } -requires-python = ">=3.10" +requires-python = ">=3.11" authors = [{ name = "Hochfrequenz Unternehmensberatung GmbH", email = "info+github@hochfrequenz.de" }] keywords = ["BDEW", "XML", "AHB", "MIG", "Marktkommunikation"] classifiers = [ @@ -13,7 +13,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ]