Skip to content

Commit

Permalink
drop python 3.7 support, add python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kalombos committed Jan 7, 2024
1 parent 11e8d76 commit d14e602
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

services:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ORM powered by **[asyncio](https://docs.python.org/3/library/asyncio.html)**.
Overview
--------

* Requires Python 3.7+
* Requires Python 3.8+
* Has support for PostgreSQL via [aiopg](https://github.com/aio-libs/aiopg)
* Has support for MySQL via [aiomysql](https://github.com/aio-libs/aiomysql)
* Single point for high-level async API
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Current state: **alpha**, yet API seems fine and mostly stable.

In current version new-high level API is introduced while older low-level API partially marked as deprecated.

* Works on Python 3.7+
* Works on Python 3.8+
* Has support for PostgreSQL via `aiopg`
* Has support for MySQL via `aiomysql`
* Single point for high-level async API
Expand Down
4 changes: 2 additions & 2 deletions peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import uuid
import warnings

import importlib_metadata
import peewee
from importlib.metadata import version
from playhouse.db_url import register_database

IntegrityErrors = (peewee.IntegrityError,)
Expand All @@ -46,7 +46,7 @@
except AttributeError:
asyncio_current_task = asyncio.Task.current_task

__version__ = importlib_metadata.version("peewee-async")
__version__ = version("peewee-async")


__all__ = [
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
peewee = "^3.15.4"
importlib-metadata = "^6.7.0"

aiopg = { version = "^1.4.0", optional = true }
aiomysql = { version = "^0.2.0", optional = true }
Expand Down

0 comments on commit d14e602

Please sign in to comment.