polyapi-python 0.3.18.dev6__tar.gz → 0.3.18.dev7__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.
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/PKG-INFO +2 -2
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/PKG-INFO +2 -2
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/SOURCES.txt +1 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/requires.txt +1 -1
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/pyproject.toml +2 -2
- polyapi_python-0.3.18.dev7/tests/test_dependency_pins.py +33 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/LICENSE +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/README.md +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/__init__.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/__main__.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/api.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/auth.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/cli.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/cli_constants.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/client.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/config.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/constants.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/deployables.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/error_handler.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/exceptions.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/execute.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/function_cli.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/generate.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/http_client.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/parser.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/poly_schemas.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/poly_tables.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/prepare.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/py.typed +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/rendered_spec.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/schema.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/server.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/sync.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/typedefs.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/utils.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/variables.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi/webhook.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/dependency_links.txt +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/top_level.txt +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/setup.cfg +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_api.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_async_proof.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_auth.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_deployables.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_generate.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_parser.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_poly_custom.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_poly_schemas.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_rendered_spec.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_schema.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_server.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_tabi.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_utils.py +0 -0
- {polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/tests/test_variables.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polyapi-python
|
|
3
|
-
Version: 0.3.18.
|
|
3
|
+
Version: 0.3.18.dev7
|
|
4
4
|
Summary: The Python Client for PolyAPI, the IPaaS by Developers for Developers
|
|
5
5
|
Author-email: PolyAPI <support@polyapi.io>
|
|
6
6
|
License: MIT License
|
|
@@ -35,7 +35,7 @@ Requires-Dist: pydantic==2.8.0
|
|
|
35
35
|
Requires-Dist: stdlib_list==0.11.1
|
|
36
36
|
Requires-Dist: colorama==0.4.4
|
|
37
37
|
Requires-Dist: python-socketio[asyncio_client]==5.11.1
|
|
38
|
-
Requires-Dist: truststore==0.
|
|
38
|
+
Requires-Dist: truststore==0.9.1
|
|
39
39
|
Requires-Dist: httpx==0.28.1
|
|
40
40
|
Dynamic: license-file
|
|
41
41
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polyapi-python
|
|
3
|
-
Version: 0.3.18.
|
|
3
|
+
Version: 0.3.18.dev7
|
|
4
4
|
Summary: The Python Client for PolyAPI, the IPaaS by Developers for Developers
|
|
5
5
|
Author-email: PolyAPI <support@polyapi.io>
|
|
6
6
|
License: MIT License
|
|
@@ -35,7 +35,7 @@ Requires-Dist: pydantic==2.8.0
|
|
|
35
35
|
Requires-Dist: stdlib_list==0.11.1
|
|
36
36
|
Requires-Dist: colorama==0.4.4
|
|
37
37
|
Requires-Dist: python-socketio[asyncio_client]==5.11.1
|
|
38
|
-
Requires-Dist: truststore==0.
|
|
38
|
+
Requires-Dist: truststore==0.9.1
|
|
39
39
|
Requires-Dist: httpx==0.28.1
|
|
40
40
|
Dynamic: license-file
|
|
41
41
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "polyapi-python"
|
|
7
|
-
version = "0.3.18.
|
|
7
|
+
version = "0.3.18.dev7"
|
|
8
8
|
description = "The Python Client for PolyAPI, the IPaaS by Developers for Developers"
|
|
9
9
|
authors = [{ name = "PolyAPI", email = "support@polyapi.io" }]
|
|
10
10
|
dependencies = [
|
|
@@ -15,7 +15,7 @@ dependencies = [
|
|
|
15
15
|
"stdlib_list==0.11.1",
|
|
16
16
|
"colorama==0.4.4",
|
|
17
17
|
"python-socketio[asyncio_client]==5.11.1",
|
|
18
|
-
"truststore==0.
|
|
18
|
+
"truststore==0.9.1",
|
|
19
19
|
"httpx==0.28.1"
|
|
20
20
|
]
|
|
21
21
|
readme = "README.md"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import re
|
|
2
|
+
import sys
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
REPO_ROOT = Path(__file__).resolve().parents[1]
|
|
7
|
+
TRUSTSTORE_MINIMUM_PYTHON_313_VERSION = (0, 9, 1)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def _parse_requirement_version(requirement: str) -> tuple[int, ...]:
|
|
11
|
+
match = re.fullmatch(r"truststore==(\d+)\.(\d+)\.(\d+)", requirement)
|
|
12
|
+
assert match is not None
|
|
13
|
+
return tuple(int(part) for part in match.groups())
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def test_truststore_pin_matches_between_dependency_surfaces():
|
|
17
|
+
requirements_lines = (REPO_ROOT / "requirements.txt").read_text(encoding="utf-8").splitlines()
|
|
18
|
+
requirements_pin = next(line for line in requirements_lines if line.startswith("truststore=="))
|
|
19
|
+
|
|
20
|
+
pyproject_text = (REPO_ROOT / "pyproject.toml").read_text(encoding="utf-8")
|
|
21
|
+
pyproject_match = re.search(r'"(truststore==\d+\.\d+\.\d+)"', pyproject_text)
|
|
22
|
+
assert pyproject_match is not None
|
|
23
|
+
pyproject_pin = pyproject_match.group(1)
|
|
24
|
+
|
|
25
|
+
assert requirements_pin == pyproject_pin
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def test_truststore_pin_supports_python_313_ssl_chain_api():
|
|
29
|
+
requirements_lines = (REPO_ROOT / "requirements.txt").read_text(encoding="utf-8").splitlines()
|
|
30
|
+
requirements_pin = next(line for line in requirements_lines if line.startswith("truststore=="))
|
|
31
|
+
|
|
32
|
+
if sys.version_info >= (3, 13):
|
|
33
|
+
assert _parse_requirement_version(requirements_pin) >= TRUSTSTORE_MINIMUM_PYTHON_313_VERSION
|
|
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
|
|
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
|
|
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
|
{polyapi_python-0.3.18.dev6 → polyapi_python-0.3.18.dev7}/polyapi_python.egg-info/top_level.txt
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|