From 5e2e85b28d5e0b43e9d13cbce239fd833a2e50cb Mon Sep 17 00:00:00 2001 From: Teque5 Date: Thu, 8 Feb 2024 13:09:42 -0800 Subject: [PATCH] drop python3.6 support --- .github/workflows/main.yml | 7 +++---- pyproject.toml | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b37b254..989dc50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: Python package -on: +on: push: pull_request: types: [opened, synchronize] @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.6"] + python-version: ["3.7", "3.9", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -20,8 +20,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest - pip install . + pip install .[tests,apps] - name: Test with pytest run: | pytest diff --git a/pyproject.toml b/pyproject.toml index 3b4f5f4..7ecbe3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ classifiers = [ "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -16,7 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] dynamic = ["version", "readme"] -requires-python = ">=3.6" +requires-python = ">=3.7" dependencies = [ "numpy", # for vector math "jsonschema", # for spec validation @@ -93,7 +92,7 @@ line-length = 120 legacy_tox_ini = ''' [tox] skip_missing_interpreters = True - envlist = py{36,37,38,39,310,311,312} + envlist = py{37,38,39,310,311,312} [testenv] usedevelop = True