Skip to content

Commit

Permalink
Merge pull request #53 from mgxd/mnt/housekeeping
Browse files Browse the repository at this point in the history
CHORE: Stop Python3.8 support, bump actions
  • Loading branch information
mgxd authored Oct 21, 2024
2 parents 7d59833 + 23e4611 commit b170e66
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: build-test
on:
push:
branches:
- main
- main
tags:
- '*'
- '*'
pull_request:
branches:
- main
- main
schedule:
# 7am EST / 8am EDT Mondays
- cron: '0 12 * * 1'
# 7am EST / 8am EDT Mondays
- cron: '0 12 * * 1'

defaults:
run:
Expand All @@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3
- name: Check python version and install build
Expand All @@ -39,7 +39,7 @@ jobs:
run: pipx run build
- name: Check distributions
run: pipx run twine check dist/*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -50,15 +50,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']
install: [repo]
include:
- python-version: '3.11'
install: sdist
- python-version: '3.11'
install: wheel
- python-version: '3.9'
install: editable
- python-version: '3.12'
install: sdist
- python-version: '3.12'
install: wheel
- python-version: '3.12'
install: editable
env:
INSTALL_TYPE: ${{ matrix.install }}
steps:
Expand All @@ -67,10 +67,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down Expand Up @@ -117,13 +117,13 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3
- name: Verify python version
run: python -V
- name: Fetch packaged build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -21,7 +20,7 @@ classifiers = [
"Topic :: Software Development :: Bug Tracking",
]
license = {file = "LICENSE"}
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"ci-info",
]
Expand Down

0 comments on commit b170e66

Please sign in to comment.