lcdp-sqlalchemy-utils 1.9.3__tar.gz → 1.9.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lcdp-sqlalchemy-utils
3
- Version: 1.9.3
3
+ Version: 1.9.5
4
4
  Summary: SQLAlchemy Utils
5
5
  Author: Le Comptoir Des Pharmacies
6
6
  Author-email: webmaster@lecomptoirdespharmacies.fr
@@ -13,7 +13,8 @@ Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
15
15
  Classifier: Programming Language :: Python :: 3.14
16
- Requires-Dist: SQLAlchemy (==2.0.40)
16
+ Classifier: Programming Language :: Python :: 3.15
17
+ Requires-Dist: SQLAlchemy (==2.0.55)
17
18
  Requires-Dist: alembic (==1.8.1)
18
19
  Requires-Dist: dataclasses-json (==0.5.7)
19
- Requires-Dist: nest_asyncio (==1.5.8)
20
+ Requires-Dist: nest-asyncio2 (==1.7.4)
@@ -1,10 +1,12 @@
1
1
  from sqlalchemy import func
2
2
  import asyncio
3
- import nest_asyncio
3
+ import nest_asyncio2
4
4
 
5
5
  # Avoid RuntimeError: This event loop is already running
6
- # https://github.com/erdewit/nest_asyncio
7
- nest_asyncio.apply()
6
+ # nest_asyncio2 is the maintained fork of nest_asyncio: on Python 3.14 the original breaks
7
+ # asyncio.current_task(), hence every TaskGroup and asyncpg connection of the process.
8
+ # https://github.com/Chaoses-Ib/nest-asyncio2
9
+ nest_asyncio2.apply()
8
10
 
9
11
 
10
12
  class SearchResult:
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "lcdp-sqlalchemy-utils"
3
3
  # https://github.com/python-poetry/poetry/issues/1208
4
- version = "1.9.3"
4
+ version = "1.9.5"
5
5
  description = "SQLAlchemy Utils"
6
6
  authors = ["Le Comptoir Des Pharmacies <webmaster@lecomptoirdespharmacies.fr>"]
7
7
  requires-poetry = ">=2.4.0"
@@ -15,10 +15,10 @@ poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
15
15
 
16
16
  [tool.poetry.dependencies]
17
17
  python = ">=3.8"
18
- SQLAlchemy = "2.0.40"
18
+ SQLAlchemy = "2.0.55"
19
19
  alembic="1.8.1"
20
20
  dataclasses-json = "0.5.7"
21
- nest_asyncio = "1.5.8"
21
+ nest-asyncio2 = "1.7.4"
22
22
 
23
23
  [tool.poetry.group.dev.dependencies]
24
24
  pytest = "^8.0"