vercel-queue-bundle 0.9.0__tar.gz → 0.9.1__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.
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/PKG-INFO +6 -5
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/pyproject.toml +5 -4
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/devserver.py +2 -2
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/embedded.py +2 -2
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/http.py +1 -1
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/lease.py +6 -6
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/polling.py +1 -1
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/retry.py +1 -1
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/streams.py +3 -3
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/embedded.py +1 -1
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/version.py +1 -1
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/LICENSE +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/README.md +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/_vercel_hatch_build.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/hatch_build.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/__main__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/api_async.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/api_common.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/api_sync.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/asynctools.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/cli.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/client.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/client_sync.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/config.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/constants.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/errors.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/log.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/messages.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/multipart.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/names.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/push.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/response.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/subscribers.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/transports.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/types.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/LICENSE.python-multipart.txt +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/decoders.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/exceptions.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/multipart.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/python_multipart/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/python_multipart/decoders.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/python_multipart/exceptions.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/python_multipart/multipart.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/devserver.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/py.typed +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/sync.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/testing/__init__.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/testing/pytest.py +0 -0
- {vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/testing/state.py +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vercel-queue-bundle
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
Summary: Vercel Queue client for Python
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
License-File: vercel/queue/_vendor/LICENSE.python-multipart.txt
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
|
+
Requires-Dist: anyio<5,>=4.11.0
|
|
9
10
|
Requires-Dist: vercel-headers-bundle>=0.7.2
|
|
10
|
-
Requires-Dist: vercel-internal-core-bundle<0.3.0,>=0.2.
|
|
11
|
-
Requires-Dist: vercel-internal-shared-vendored-deps>=0.1.
|
|
12
|
-
Requires-Dist: vercel-oidc-bundle>=0.
|
|
11
|
+
Requires-Dist: vercel-internal-core-bundle<0.3.0,>=0.2.1
|
|
12
|
+
Requires-Dist: vercel-internal-shared-vendored-deps>=0.1.4
|
|
13
|
+
Requires-Dist: vercel-oidc-bundle>=0.10.0
|
|
13
14
|
Provides-Extra: devserver
|
|
14
15
|
Requires-Dist: uvicorn; extra == 'devserver'
|
|
15
16
|
Provides-Extra: trio
|
|
16
|
-
Requires-Dist: anyio[trio]
|
|
17
|
+
Requires-Dist: anyio[trio]<5,>=4.11.0; extra == 'trio'
|
|
17
18
|
Provides-Extra: typed
|
|
18
19
|
Requires-Dist: pydantic>=2.7.0; extra == 'typed'
|
|
19
20
|
Description-Content-Type: text/markdown
|
|
@@ -20,16 +20,17 @@ path = "hatch_build.py"
|
|
|
20
20
|
|
|
21
21
|
[tool.vercel.release.dependencies]
|
|
22
22
|
dependencies = [
|
|
23
|
+
"anyio>=4.11.0,<5",
|
|
23
24
|
"vercel-headers-bundle>=0.7.2",
|
|
24
|
-
"vercel-internal-core-bundle>=0.2.
|
|
25
|
-
"vercel-oidc-bundle>=0.
|
|
26
|
-
"vercel-internal-shared-vendored-deps>=0.1.
|
|
25
|
+
"vercel-internal-core-bundle>=0.2.1,<0.3.0",
|
|
26
|
+
"vercel-oidc-bundle>=0.10.0",
|
|
27
|
+
"vercel-internal-shared-vendored-deps>=0.1.4",
|
|
27
28
|
]
|
|
28
29
|
|
|
29
30
|
[project.optional-dependencies]
|
|
30
31
|
devserver = ["uvicorn"]
|
|
31
32
|
typed = ["pydantic>=2.7.0"]
|
|
32
|
-
trio = ["anyio[trio]>=4.
|
|
33
|
+
trio = ["anyio[trio]>=4.11.0,<5"]
|
|
33
34
|
|
|
34
35
|
[tool.uv.sources]
|
|
35
36
|
vercel-oidc = { workspace = true }
|
|
@@ -14,8 +14,8 @@ import threading
|
|
|
14
14
|
import time
|
|
15
15
|
from collections.abc import Callable, Iterator
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
from
|
|
17
|
+
import anyio
|
|
18
|
+
from anyio import from_thread
|
|
19
19
|
|
|
20
20
|
from ..embedded import create_embedded_queue_app
|
|
21
21
|
from .embedded import EmbeddedQueueDevServer
|
|
@@ -30,9 +30,9 @@ from pathlib import Path
|
|
|
30
30
|
from tempfile import TemporaryDirectory
|
|
31
31
|
from urllib.parse import unquote
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
import anyio
|
|
34
34
|
import vercel.internal._vendor.httpx2 as httpx
|
|
35
|
-
from
|
|
35
|
+
from anyio.abc import TaskGroup
|
|
36
36
|
|
|
37
37
|
from .client import QueueClient
|
|
38
38
|
from .client_sync import QueueClient as SyncQueueClient
|
|
@@ -21,7 +21,7 @@ from threading import Lock
|
|
|
21
21
|
from urllib.parse import urljoin, urlsplit
|
|
22
22
|
|
|
23
23
|
import vercel.internal._vendor.httpx2 as httpx
|
|
24
|
-
from
|
|
24
|
+
from anyio.lowlevel import get_async_backend
|
|
25
25
|
|
|
26
26
|
from vercel._internal.core.http._compat import (
|
|
27
27
|
response_not_read_errors,
|
|
@@ -39,12 +39,12 @@ from dataclasses import dataclass
|
|
|
39
39
|
from datetime import datetime, timezone
|
|
40
40
|
from types import TracebackType
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
from
|
|
45
|
-
from
|
|
46
|
-
from
|
|
47
|
-
from
|
|
42
|
+
import anyio
|
|
43
|
+
import anyio.from_thread
|
|
44
|
+
from anyio import to_thread
|
|
45
|
+
from anyio.abc import ObjectReceiveStream, ObjectSendStream, TaskGroup
|
|
46
|
+
from anyio.lowlevel import EventLoopToken, current_token
|
|
47
|
+
from anyio.streams.memory import MemoryObjectSendStream
|
|
48
48
|
|
|
49
49
|
from vercel.oidc import get_vercel_oidc_token_sync
|
|
50
50
|
|
|
@@ -6,9 +6,9 @@ import codecs
|
|
|
6
6
|
from collections.abc import AsyncIterator, Awaitable, Callable, Iterator, Mapping
|
|
7
7
|
from functools import wraps
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
from
|
|
11
|
-
from
|
|
9
|
+
import anyio
|
|
10
|
+
from anyio.abc import ByteReceiveStream
|
|
11
|
+
from anyio.streams.buffered import BufferedByteReceiveStream
|
|
12
12
|
|
|
13
13
|
from .asynctools import iter_async_iterator
|
|
14
14
|
|
|
@@ -13,7 +13,7 @@ Use this for embedded, single-process local mode and tests.
|
|
|
13
13
|
Run an embedded queue server in a test and use a client that sends to
|
|
14
14
|
it directly:
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
import anyio
|
|
17
17
|
import vercel.queue as vq
|
|
18
18
|
import vercel.queue.embedded as vq_embedded
|
|
19
19
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/api_common.py
RENAMED
|
File without changes
|
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/asynctools.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/client_sync.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/subscribers.py
RENAMED
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_internal/transports.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/__init__.py
RENAMED
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/decoders.py
RENAMED
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/exceptions.py
RENAMED
|
File without changes
|
{vercel_queue_bundle-0.9.0 → vercel_queue_bundle-0.9.1}/vercel/queue/_vendor/multipart/multipart.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|