diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee3f04c..393db89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-alpha - 3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.0-alpha - 3.13'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fbc886..69b7f99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## Unreleased +### Changed +* Python >=3.9 required ## [1.4](https://pypi.org/project/waiter/1.4/) - 2023-11-09 ### Changed diff --git a/pyproject.toml b/pyproject.toml index f0cfca8..aef2593 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "waiter" dynamic = ["version"] description = "Delayed iteration for polling and retries." readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = {file = "LICENSE.txt"} authors = [{name = "Aric Coady", email = "aric.coady@gmail.com"}] keywords = ["wait", "retry", "poll", "delay", "sleep", "timeout", "incremental", "exponential", "backoff", "async"] @@ -17,7 +17,6 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/waiter/__init__.py b/waiter/__init__.py index 54366c9..c70500c 100644 --- a/waiter/__init__.py +++ b/waiter/__init__.py @@ -7,9 +7,9 @@ import random import time import types -from collections.abc import AsyncIterable, Callable, Iterable, Sequence +from collections.abc import AsyncIterable, Callable, Iterable, Iterator, Sequence from functools import partial -from typing import Iterator, Optional +from typing import Optional from multimethod import multimethod, overload __version__ = '1.4'