From aa216e96758fb740fcda321aae3fd1bb289377ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Sun, 16 Apr 2023 10:21:46 +0200 Subject: [PATCH] Remove Python 3.7 support --- .github/workflows/test.yaml | 7 +------ setup.py | 1 - tox.ini | 4 ++-- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f606c7c3..125bc276 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,7 +35,7 @@ jobs: matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] # Run on the full set on schedule, workflow_dispatch and push&tags events, otherwise on a subset. - python-version: ${{ ( github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'push' && github.ref_type == 'tag' ) ) && fromJSON('["3.7", "3.8", "3.9", "3.10", "3.11"]') || fromJSON('["3.7", "3.9", "3.11"]') }} + python-version: ${{ ( github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'push' && github.ref_type == 'tag' ) ) && fromJSON('["3.8", "3.9", "3.10", "3.11"]') || fromJSON('["3.8", "3.10", "3.11"]') }} timeout-minutes: 60 defaults: run: @@ -58,11 +58,6 @@ jobs: conda-mamba: mamba nodejs: true id: install - - name: patch fiona/geostack on Python 3.7 / Macos - if: steps.install.outputs.cache-hit != 'true' && contains(matrix.os, 'macos') && matrix.python-version == '3.7' - run: | - conda activate test-environment - mamba install "fiona=1.8" "gdal=3.3" - name: doit env_capture run: | conda activate test-environment diff --git a/setup.py b/setup.py index a605d787..bc92afe3 100644 --- a/setup.py +++ b/setup.py @@ -193,7 +193,6 @@ def run(self): classifiers = [ "License :: OSI Approved :: BSD License", "Development Status :: 5 - Production/Stable", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/tox.ini b/tox.ini index 6f8e896f..b0c3d9fc 100644 --- a/tox.ini +++ b/tox.ini @@ -3,12 +3,12 @@ [tox] # python version test group extra envs extra commands -envlist = {py37,py38,py39,py310,py311}-{flakes,unit,examples,all_recommended,examples_extra}-{default}-{dev,pkg} +envlist = {py38,py39,py310,py311}-{flakes,unit,examples,all_recommended,examples_extra}-{default}-{dev,pkg} [_simple] description = Flake check python and notebooks deps = . -commands = python -c "import holoviews as gv; print(gv.__version__)" +commands = python -c "import geoviews as gv; print(gv.__version__)" [_flakes]