From b1c80b7fdf08ce275b6987ac99f656440b1edba6 Mon Sep 17 00:00:00 2001 From: mborgerson Date: Tue, 7 May 2024 21:01:31 -0700 Subject: [PATCH] Bump min Python to 3.10 (#215) * Bump min Python to 3.10 * Remove broken docs job --------- Co-authored-by: Kevin Phoenix --- .github/workflows/ci.yml | 22 ---------------------- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- .readthedocs.yml | 2 +- pyproject.toml | 2 +- setup.cfg | 4 +--- 6 files changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c51c487..accad7f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,26 +14,4 @@ jobs: uses: ./.github/workflows/windows.yml macos: uses: ./.github/workflows/macos.yml - docs: - runs-on: ubuntu-22.04 - steps: - - name: Checkout code - uses: actions/checkout@v3 - - name: Setup python - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - name: Install - run: pip install .[docs] - - name: Build docs - run: cd docs && make html - - name: Build coverage - run: cd docs && make coverage - - name: Test coverage - run: | - if [ -s docs/_build/coverage/python.txt ]; then - echo "Doc coverage is missing for the for:" - cat docs/_build/coverage/python.txt - exit 1 - fi diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 62585605..f3ba5f3f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.10" - run: python -m venv $HOME/venv name: Create venv shell: bash diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a16037e3..bbd7a697 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.10" - run: python -m venv $HOME/venv name: Create venv shell: bash diff --git a/.readthedocs.yml b/.readthedocs.yml index 005c80a2..3b71e22d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,7 +5,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.8" + python: "3.10" python: install: diff --git a/pyproject.toml b/pyproject.toml index e1cebbfe..0df09add 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [tool.black] line-length = 120 -target-version = ['py38'] +target-version = ['py310'] [tool.ruff] line-length = 120 diff --git a/setup.cfg b/setup.cfg index a73b3eaf..78b328e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,8 +11,6 @@ classifiers = License :: OSI Approved :: BSD License Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 @@ -21,7 +19,7 @@ classifiers = packages = find: install_requires = backports.strenum>=1.2.8;python_version<'3.11' -python_requires = >=3.8 +python_requires = >=3.10 [options.extras_require] docs =