esuls 0.1.19__tar.gz → 0.1.20__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: esuls
3
- Version: 0.1.19
3
+ Version: 0.1.20
4
4
  Summary: Utility library for async database operations, HTTP requests, and parallel execution
5
5
  Author-email: IperGiove <ipergiove@gmail.com>
6
6
  License: MIT
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.14
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: aiosqlite>=0.21.0
15
+ Requires-Dist: aiosqlite==0.22.1
16
16
  Requires-Dist: curl-cffi>=0.13.0
17
17
  Requires-Dist: fake-useragent>=2.2.0
18
18
  Requires-Dist: httpx[http2]>=0.28.1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "esuls"
7
- version = "0.1.19"
7
+ version = "0.1.20"
8
8
  description = "Utility library for async database operations, HTTP requests, and parallel execution"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.14"
@@ -20,7 +20,7 @@ classifiers = [
20
20
 
21
21
  # All dependencies (always installed)
22
22
  dependencies = [
23
- "aiosqlite>=0.21.0",
23
+ "aiosqlite==0.22.1",
24
24
  "curl-cffi>=0.13.0",
25
25
  "fake-useragent>=2.2.0",
26
26
  "httpx[http2]>=0.28.1",
@@ -94,7 +94,13 @@ class AsyncDB(Generic[SchemaType]):
94
94
  try:
95
95
  db = aiosqlite.connect(self.db_path, timeout=30.0)
96
96
  # Mark aiosqlite's thread as daemon so it won't block process exit
97
- db._thread.daemon = True
97
+ # Must be set before await (which calls start())
98
+ # <=0.21: Connection extends Thread directly
99
+ # >=0.22: Connection wraps Thread in _thread attr
100
+ if hasattr(db, '_thread'):
101
+ db._thread.daemon = True
102
+ elif isinstance(db, threading.Thread):
103
+ db.daemon = True
98
104
  db = await db
99
105
  # Fast WAL mode with minimal sync
100
106
  await db.execute("PRAGMA journal_mode=WAL")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: esuls
3
- Version: 0.1.19
3
+ Version: 0.1.20
4
4
  Summary: Utility library for async database operations, HTTP requests, and parallel execution
5
5
  Author-email: IperGiove <ipergiove@gmail.com>
6
6
  License: MIT
@@ -12,7 +12,7 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.14
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: aiosqlite>=0.21.0
15
+ Requires-Dist: aiosqlite==0.22.1
16
16
  Requires-Dist: curl-cffi>=0.13.0
17
17
  Requires-Dist: fake-useragent>=2.2.0
18
18
  Requires-Dist: httpx[http2]>=0.28.1
@@ -1,4 +1,4 @@
1
- aiosqlite>=0.21.0
1
+ aiosqlite==0.22.1
2
2
  curl-cffi>=0.13.0
3
3
  fake-useragent>=2.2.0
4
4
  httpx[http2]>=0.28.1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes