From 5f3fdfb3c2d669954cac37b390fa7c37772f0a8e Mon Sep 17 00:00:00 2001 From: Aleksei Babich Date: Fri, 26 Jul 2024 09:23:03 +0200 Subject: [PATCH] try 3.10 python support fix the version format constrait and lock fix Revert "constrait and lock fix" This reverts commit 2808df9f5cc5b6fdf8919792f02e2e4afc9fddfc. ">=3.9,<3.11" --- .github/workflows/build.yml | 7 +++++-- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1793fe..7382b7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,14 +5,17 @@ on: jobs: pytest: runs-on: ubuntu-latest + strategy: + matrix: + version: ["3.9", "3.10"] steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Set up Python ${{ matrix.version }} uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: ${{ matrix.version }} - name: Install Poetry run: pip install poetry diff --git a/pyproject.toml b/pyproject.toml index ae883d3..afc8c51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Scott Esbrandt "] license = "Apache-2.0" [tool.poetry.dependencies] -python = "~3.9" +python = ">=3.9,<3.11" pysnyk = "^0.9.2" typer = "^0.4.1" pydantic = "^2.6.4"