Skip to content

Commit 2fbd2dc

Browse files
committed
Release 1.2.0
1 parent 5d07b03 commit 2fbd2dc

7 files changed

Lines changed: 1494 additions & 1126 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1717

1818
steps:
1919
- uses: actions/checkout@v4

README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ aiohttp-sqlalchemy
1111
:target: https://pypi.org/project/aiohttp-sqlalchemy/
1212
:alt: Release
1313

14-
.. |PyPI downloads| image:: https://static.pepy.tech/personalized-badge/aiohttp-sqlalchemy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads
15-
:target: https://pepy.tech/project/aiohttp-sqlalchemy
16-
:alt: PyPI downloads count
14+
.. |License| image:: https://img.shields.io/badge/License-MIT-green
15+
:target: https://github.com/rigilfanov/aiohttp-sqlalchemy/blob/master/LICENSE
16+
:alt: MIT License
1717

18-
.. |Python versions| image:: https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue
18+
.. |Python versions| image:: https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue
1919
:target: https://pypi.org/project/aiohttp-sqlalchemy/
2020
:alt: Python version support
2121

22-
.. |License| image:: https://img.shields.io/badge/License-MIT-green
23-
:target: https://github.com/ri-gilfanov/aiohttp-sqlalchemy/blob/master/LICENSE
24-
:alt: MIT License
22+
.. |PyPI downloads| image:: https://static.pepy.tech/personalized-badge/aiohttp-sqlalchemy?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads
23+
:target: https://pepy.tech/project/aiohttp-sqlalchemy
24+
:alt: PyPI downloads count
2525

26-
.. |GitHub CI| image:: https://github.com/ri-gilfanov/aiohttp-sqlalchemy/actions/workflows/ci.yml/badge.svg?branch=master
27-
:target: https://github.com/ri-gilfanov/aiohttp-sqlalchemy/actions/workflows/ci.yml
26+
.. |GitHub CI| image:: https://github.com/rigilfanov/aiohttp-sqlalchemy/actions/workflows/ci.yml/badge.svg?branch=master
27+
:target: https://github.com/rigilfanov/aiohttp-sqlalchemy/actions/workflows/ci.yml
2828
:alt: GitHub continuous integration
2929

3030
`SQLAlchemy 2.0 <https://www.sqlalchemy.org/>`_ support for `AIOHTTP

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ aiohttp-sqlalchemy's documentation
1515
:target: https://pepy.tech/project/aiohttp-sqlalchemy
1616
:alt: PyPI downloads count
1717

18-
.. |Python versions| image:: https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue
18+
.. |Python versions| image:: https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue
1919
:target: https://pypi.org/project/aiohttp-sqlalchemy/
2020
:alt: Python version support
2121

docs/releases.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
========
22
Releases
33
========
4-
Version 1.1.0
4+
Version 1.2.0
55
-------------
6+
**Added**
7+
8+
* Added support for Python 3.14.
9+
10+
**Changed**
611

12+
* Update dependencies.
13+
14+
Version 1.1.0
15+
-------------
716
**Changed**
817

918
* Update dependencies.
@@ -14,7 +23,6 @@ Version 1.1.0
1423

1524
Version 1.0.1
1625
-------------
17-
1826
**Added**
1927

2028
* Added support for Python 3.13.

poetry.lock

Lines changed: 1451 additions & 1093 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[project]
22
name = "aiohttp-sqlalchemy"
33
packages = [{include = "aiohttp_sqlalchemy", from = "src" }]
4-
version = "1.1.1"
4+
version = "1.2.0"
55
description = "SQLAlchemy 2.0 support for aiohttp."
66
license = "MIT"
77

88
authors = [
9-
{ name = "Ruslan Ilyasovich Gilfanov", email = "ri.gilfanov@yandex.ru>" },
9+
{ name = "Ruslan Ilyasovich Gilfanov", email = "rigilfanov@yandex.ru>" },
1010
]
1111
maintainers = [
12-
{ name = "Ruslan Ilyasovich Gilfanov", email = "ri.gilfanov@yandex.ru>" },
12+
{ name = "Ruslan Ilyasovich Gilfanov", email = "rigilfanov@yandex.ru>" },
1313
]
1414

1515
readme = "README.rst"
1616
homepage = "https://pypi.org/project/aiohttp-sqlalchemy/"
17-
repository = "https://github.com/ri-gilfanov/aiohttp-sqlalchemy"
17+
repository = "https://github.com/rigilfanov/aiohttp-sqlalchemy"
1818
documentation = "https://aiohttp-sqlalchemy.readthedocs.io/"
1919

2020
keywords = ["aiohttp", "sqlalchemy", "asyncio"]
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
"Topic :: Database",
3536
"Topic :: Database :: Front-Ends",
3637
"Topic :: Internet",
@@ -41,28 +42,28 @@ classifiers = [
4142
"Typing :: Typed",
4243
]
4344

44-
requires-python = ">=3.9,<3.14"
45+
requires-python = ">=3.9,<3.15"
4546
dependencies = [
46-
"aiohttp-things (>=1.1.1,<2)",
47-
"sqlalchemy-things (>=1.1.1,<2)",
47+
"aiohttp-things (>=1.2.post0,<2)",
48+
"sqlalchemy-things (>=1.2.0,<2)",
4849
]
4950

5051
[project.optional-dependencies]
51-
mysql = [ "aiomysql>=0.2.0,<1" ]
52-
postgresql = [ "asyncpg>=0.30.0,<1" ]
53-
sqlite = [ "aiosqlite>=0.21.0,<1" ]
52+
mysql = [ "aiomysql>=0.3.2,<1" ]
53+
postgresql = [ "asyncpg>=0.31.0,<1" ]
54+
sqlite = [ "aiosqlite>=0.22.1,<1" ]
5455

5556
[tool.poetry.group.dev.dependencies]
56-
aiomysql = ">=0.2.0,<1"
57-
aiosqlite = ">=0.21.0,<1"
58-
asyncpg = ">=0.30.0,<1"
59-
mypy = ">=1.16.0"
60-
pytest = ">=8.3.5"
61-
pytest-cov = ">=6.1.1"
62-
ruff = '>=0.11.12'
57+
aiomysql = ">=0.3.2,<1"
58+
aiosqlite = ">=0.22.1,<1"
59+
asyncpg = ">=0.31.0,<1"
60+
mypy = ">=1.19.1"
61+
pytest = ">=8.4.2"
62+
pytest-cov = ">=7.0.0"
63+
ruff = '>=0.14.11'
6364
sphinx = ">=7.4.7"
64-
sphinx_rtd_theme = ">=3.0.2"
65-
tomli = { version = "^2.2.1", optional = true, python = "~3.9 || ~3.10" }
65+
sphinx_rtd_theme = ">=3.1.0"
66+
tomli = { version = "^2.4.0", optional = true, python = "~3.9 || ~3.10" }
6667

6768
[build-system]
6869
requires = ["poetry-core>=1.0.0"]

tests/test_web_handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def test_sa_session(
3838
view.get_sa_session("wrong key")
3939

4040

41-
def test_instance_add(
41+
@pytest.mark.asyncio(scope="session")
42+
async def test_instance_add(
4243
mocked_request: Request,
4344
session: AsyncSession,
4445
base_model: orm.Mapper[Any],

0 commit comments

Comments
 (0)