Skip to content

Commit

Permalink
Drop support for Python 3.8, now EOL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 30, 2024
1 parent 9a95bbd commit 85a3e6b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions newsfragments/+0f6aea93.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop support for Python 3.8, now EOL.
2 changes: 1 addition & 1 deletion tempora/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
For example, to run a job at 08:00 every morning in 'Asia/Calcutta':
>>> from tests.compat.py38 import zoneinfo
>>> import zoneinfo
>>> job = lambda: print("time is now", datetime.datetime())
>>> time = datetime.time(8, tzinfo=zoneinfo.ZoneInfo('Asia/Calcutta'))
>>> cmd = PeriodicCommandFixedDelay.daily_at(time, job)
Expand Down
7 changes: 0 additions & 7 deletions tests/compat/py38.py

This file was deleted.

3 changes: 1 addition & 2 deletions tests/test_schedule.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import time
import random
import datetime
import zoneinfo
from unittest import mock

import pytest
import freezegun

from tempora import schedule

from .compat.py38 import zoneinfo


do_nothing = type(None)

Expand Down

0 comments on commit 85a3e6b

Please sign in to comment.