Skip to content

Commit

Permalink
Merge pull request #37 from syrusakbary/deprecate-python-36
Browse files Browse the repository at this point in the history
Deprecate support for Python 3.6
  • Loading branch information
markedwards committed Feb 22, 2023
2 parents d1fae40 + 3f69acb commit 6fed6b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.9']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.9']

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion aiodataloader/__init__.py
Expand Up @@ -48,7 +48,6 @@ def iscoroutinefunctionorpartial(


class DataLoader(Generic[KeyT, ReturnT]):

batch: bool = True
max_batch_size: Optional[int] = None
cache: Optional[bool] = True
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Expand Up @@ -8,13 +8,12 @@ dynamic = ["version"]
authors = [{ name="Syrus Akbary", email="me@syrusakbary.com" }]
description = "Asyncio DataLoader implementation for Python"
readme = "README.md"
requires-python = ">=3.6"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -33,7 +32,7 @@ test = ["pytest>=3.6", "pytest-cov", "coveralls", "mock", "pytest-asyncio"]
"Homepage" = "https://github.com/syrusakbary/aiodataloader"

[tool.black]
target-version = ["py36", "py37", "py38", "py39", "py310", "py311"]
target-version = ["py37", "py38", "py39", "py310", "py311"]

[tool.hatch.version]
path = "aiodataloader/__init__.py"
Expand Down

0 comments on commit 6fed6b6

Please sign in to comment.