From 8546c9b977167f297b5b60135e55b8134a5c8928 Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Tue, 2 Jul 2024 13:04:54 +0200 Subject: [PATCH] Remove Python 3.7 from default test matrix We no longer support Python 3.7, so no need to test on it. --- .github/workflows/build-and-test.yml | 2 +- .sonarcloud.properties | 2 +- tox.ini | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a3bd8952a4..37af42d93c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.7", "3.9", "3.10"] + python-version: ["3.9", "3.10"] steps: - uses: actions/checkout@v4 diff --git a/.sonarcloud.properties b/.sonarcloud.properties index bbbf78c710..1b3e3e07b7 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -11,7 +11,7 @@ sonar.sources=bin, python # Encoding of the source code. Default is default system encoding #sonar.sourceEncoding=UTF-8 -sonar.python.version=3.7, 3.8, 3.9 +sonar.python.version=3.8, 3.9 sonar.tests=tests sonar.exclusions=python/nav/smidumps/**, python/nav/enterprise/ids.py, python/nav/etc/geomap/config.py diff --git a/tox.ini b/tox.ini index a5e7e62de8..edd85b533d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,11 +7,11 @@ # of the documentation in hacking.rst [tox] envlist = - {unit,integration,functional}-py{37,39,310}-django{32} + {unit,integration,functional}-py{39,310}-django{32} javascript docs skipsdist = True -basepython = python3.7 +basepython = python3.9 [pytest] addopts = --failed-first @@ -20,7 +20,6 @@ markers = [gh-actions] python = - 3.7: py37 3.9: py39 3.10: py310