From 1e5423d46ac7f1afa138bb0bc5155cb8f82ac42b Mon Sep 17 00:00:00 2001 From: Fahad Heylaal Date: Sat, 25 Jul 2026 00:10:59 +0200 Subject: [PATCH] chore: upgrade to Python SDK v2 --- .github/workflows/checks.yml | 41 ++++++++++++++++++++++++++++++------ requirements.txt | 2 +- 2 files changed, 35 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bfb2ec5..af7cea7 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,21 +2,48 @@ name: Checks on: push: - branches: ["**"] + branches: + - main + pull_request: + +permissions: + contents: read + +concurrency: + group: checks-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: checks: + name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest + timeout-minutes: 10 + + strategy: + fail-fast: false + matrix: + python-version: + - "3.10" + - "3.14" steps: - - uses: actions/checkout@v4 + - name: Check out repository + uses: actions/checkout@v7 - - uses: actions/setup-python@v5 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v7 with: - python-version: "3.13" + python-version: ${{ matrix.python-version }} + cache: pip + cache-dependency-path: requirements.txt - name: Install dependencies - run: make install + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + + - name: Check syntax + run: python -m compileall -q main.py - - name: Run app - run: make build + - name: Run application + run: python main.py diff --git a/requirements.txt b/requirements.txt index 6b1586a..58a5592 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -featurevisor==1.0.0 +featurevisor==2.0.0