Skip to content

Commit

Permalink
Remove python 3.8 support (EOL), add 3.13 to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
cuu508 committed Nov 4, 2024
1 parent 114bf94 commit 4f7f827
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,14 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: ${{ matrix.python-version == '3.7' || matrix.python-version == '3.8' }}
run: |
python -m pip install --upgrade pip
pip install backports.zoneinfo
- name: Run tests
run: python -m unittest tests/test_*
- name: Run mypy
run: pip install mypy && mypy --strict cronsim/
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: python -m unittest tests/test_*
- name: Run mypy
run: pip install mypy && mypy --strict cronsim/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## 2.7-dev - Unreleased
- Remove python 3.8 support (EOL)

## 2.6 - 2024-10-02
- Add support for iteration backwards in time (#2)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Tests](https://github.com/cuu508/cronsim/actions/workflows/pytest.yml/badge.svg)](https://github.com/cuu508/cronsim/actions/workflows/pytest.yml)

Cron Sim(ulator), a cron expression parser and evaluator. Works with Python 3.8+.
Cron Sim(ulator), a cron expression parser and evaluator. Works with Python 3.9+.
CronSim is written for and being used in
[Healthchecks](https://github.com/healthchecks/healthchecks/)
(a cron job monitoring service).
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "2.7-dev"
authors = [{ name = "Pēteris Caune", email = "[email protected]" }]
description = "Cron expression parser and evaluator"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
keywords = ["cron", "cronjob", "crontab", "schedule"]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 4f7f827

Please sign in to comment.