From 463d3fbe11b29c6567528f97a6f194610e207399 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Wed, 23 Aug 2023 11:07:33 +0200 Subject: [PATCH] Update testing with py38 (#150) --- .github/workflows/checks.yml | 4 ++-- .github/workflows/ndex.yml | 2 +- .github/workflows/update_web.yml | 2 +- docs/source/conf.py | 1 - setup.cfg | 6 ++---- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 005febf9..ebf64fc2 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.7", "3.11" ] + python-version: [ "3.11", "3.8" ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.7", "3.11" ] + python-version: [ "3.11", "3.8" ] steps: - name: Check out repo uses: actions/checkout@v2 diff --git a/.github/workflows/ndex.yml b/.github/workflows/ndex.yml index 658e07c5..571ebd6f 100644 --- a/.github/workflows/ndex.yml +++ b/.github/workflows/ndex.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: "3.9" - name: Install dependencies run: | pip install tox diff --git a/.github/workflows/update_web.yml b/.github/workflows/update_web.yml index e8e3d28f..7c4cb610 100644 --- a/.github/workflows/update_web.yml +++ b/.github/workflows/update_web.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: "3.9" - name: Install dependencies run: | pip install tox diff --git a/docs/source/conf.py b/docs/source/conf.py index 9a4e3aac..538143ed 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,7 +63,6 @@ "sphinx.ext.todo", "sphinx.ext.mathjax", "sphinx.ext.viewcode", - "sphinx_autodoc_typehints", "sphinx_automodapi.automodapi", "sphinx_automodapi.smart_resolver", # 'texext', diff --git a/setup.cfg b/setup.cfg index 539f7157..c8ac310e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,6 @@ classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -55,7 +54,7 @@ install_requires = zip_safe = false include_package_data = True -python_requires = >=3.7 +python_requires = >=3.8 # Where is my code packages = find: @@ -74,10 +73,9 @@ tests = pytest coverage docs = - sphinx<7.0 + sphinx sphinx-rtd-theme sphinx-click - sphinx-autodoc-typehints sphinx_automodapi charts = matplotlib