From fa5da9ef442c9969db46bf6cc594c3b3a74ec4cb Mon Sep 17 00:00:00 2001 From: Martin Gaughran Date: Tue, 27 Aug 2024 13:10:38 +0000 Subject: [PATCH 1/2] Update minimum Python version to 3.11 --- .github/workflows/ci.yml | 6 +++--- pyproject.toml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc606ea..7cb8d90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: runs-on: ["ubuntu-latest"] # can add windows-latest, macos-latest - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12"] include: # Include one that runs in the dev environment - runs-on: "ubuntu-latest" @@ -38,14 +38,14 @@ jobs: needs: check if: needs.check.outputs.branch-pr == '' uses: ./.github/workflows/_dist.yml - + pypi: if: github.ref_type == 'tag' needs: dist uses: ./.github/workflows/_pypi.yml permissions: id-token: write - + release: if: github.ref_type == 'tag' needs: [dist] diff --git a/pyproject.toml b/pyproject.toml index 66ba048..569b89b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ name = "dls-deploy-tools" classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] @@ -18,7 +17,7 @@ dependencies = [ dynamic = ["version"] license.file = "LICENSE" readme = "README.md" -requires-python = ">=3.10" +requires-python = ">=3.11" [project.optional-dependencies] dev = [ From 04da9818af6186860ac6adf4576070abd536355f Mon Sep 17 00:00:00 2001 From: Martin Gaughran Date: Tue, 27 Aug 2024 14:51:57 +0000 Subject: [PATCH 2/2] Add missing dependencies to pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 569b89b..bbf1c4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,9 @@ classifiers = [ description = "A set of tools used for deploying applications to a shared filesystem." dependencies = [ "typer", + "pydantic", + "jinja2", + "pyyaml", ] # Add project dependencies here, e.g. ["click", "numpy"] dynamic = ["version"] license.file = "LICENSE"