From f8bac8fde1aa256b3732fa6b30cb728ffcd3254f Mon Sep 17 00:00:00 2001 From: Moritz Schott Date: Mon, 13 Nov 2023 21:06:46 +0100 Subject: [PATCH] build: use latest poetry version and more recent python version --- .github/workflows/ci-development.yml | 7 ++----- .github/workflows/ci-production.yml | 13 ++++--------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-development.yml b/.github/workflows/ci-development.yml index 251b8c9..143b533 100644 --- a/.github/workflows/ci-development.yml +++ b/.github/workflows/ci-development.yml @@ -31,21 +31,18 @@ jobs: - python-version: 3.12 tox: 312 - steps: - uses: actions/checkout@v4 - name: Set up testing Python ${{ matrix.config.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.config.python-version }} - - name: Set up base Python 3.10 + - name: Set up base Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: 3.11 - name: Python Poetry Action uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: 1.7.0 - name: Install dependencies run: | sudo add-apt-repository -y ppa:ubuntugis/ppa && sudo apt-get update && sudo apt-get install -y build-essential gdal-bin libgdal-dev diff --git a/.github/workflows/ci-production.yml b/.github/workflows/ci-production.yml index 93e357e..6b0a7d0 100644 --- a/.github/workflows/ci-production.yml +++ b/.github/workflows/ci-production.yml @@ -23,21 +23,18 @@ jobs: - python-version: 3.12 tox: 312 - steps: - uses: actions/checkout@v4 - name: Set up testing Python ${{ matrix.config.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.config.python-version }} - - name: Set up base Python 3.10 + - name: Set up base Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: 3.11 - name: Python Poetry Action uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: 1.7.0 - name: Install dependencies run: | sudo add-apt-repository -y ppa:ubuntugis/ppa && sudo apt-get update && sudo apt-get install -y build-essential gdal-bin libgdal-dev @@ -51,14 +48,12 @@ jobs: - linux-tests steps: - uses: actions/checkout@v4 - - name: Set up base Python 3.10 + - name: Set up base Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: 3.11 - name: Python Poetry Action uses: abatilo/actions-poetry@v2.3.0 - with: - poetry-version: 1.7.0 - name: Publish distribution 📦 with test.pypi.org if: startsWith(github.ref, 'refs/tags') run: |