wpr-http 0.2.1__tar.gz → 0.2.2__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.
- {wpr_http-0.2.1 → wpr_http-0.2.2}/PKG-INFO +2 -2
- {wpr_http-0.2.1 → wpr_http-0.2.2}/pyproject.toml +2 -2
- {wpr_http-0.2.1 → wpr_http-0.2.2}/tests/test_contracts.py +3 -1
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/__init__.py +1 -1
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http.egg-info/PKG-INFO +2 -2
- wpr_http-0.2.2/wpr_http.egg-info/requires.txt +1 -0
- wpr_http-0.2.1/wpr_http.egg-info/requires.txt +0 -1
- {wpr_http-0.2.1 → wpr_http-0.2.2}/README.md +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/setup.cfg +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/tests/test_header_policy.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/tests/test_native_header_policy.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/tests/test_native_http.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/__main__.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/_urls.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/client.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/exceptions.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/models.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http/transport.py +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http.egg-info/SOURCES.txt +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http.egg-info/dependency_links.txt +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http.egg-info/entry_points.txt +0 -0
- {wpr_http-0.2.1 → wpr_http-0.2.2}/wpr_http.egg-info/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wpr-http
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Standalone HTTP client using version-selected Firefox Necko/NSS Workers
|
|
5
5
|
License: MPL-2.0-compatible client; see runtime bundle notices
|
|
6
6
|
Project-URL: Repository, https://github.com/childclm/wpr-http
|
|
7
7
|
Project-URL: Documentation, https://github.com/childclm/wpr-http/blob/main/README.md
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: wpr-runtime-core<0.3,>=0.2.
|
|
10
|
+
Requires-Dist: wpr-runtime-core<0.3,>=0.2.8
|
|
11
11
|
|
|
12
12
|
# WPR HTTP
|
|
13
13
|
|
|
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "wpr-http"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Standalone HTTP client using version-selected Firefox Necko/NSS Workers"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = {text = "MPL-2.0-compatible client; see runtime bundle notices"}
|
|
12
|
-
dependencies = ["wpr-runtime-core>=0.2.
|
|
12
|
+
dependencies = ["wpr-runtime-core>=0.2.8,<0.3"]
|
|
13
13
|
|
|
14
14
|
[project.urls]
|
|
15
15
|
Repository = "https://github.com/childclm/wpr-http"
|
|
@@ -161,11 +161,13 @@ def test_catalog_selects_default_and_exact_build_without_fallback(monkeypatch):
|
|
|
161
161
|
older = deepcopy(releases["builds"]["155.0.6"])
|
|
162
162
|
older["version"] = "155.0.5"
|
|
163
163
|
releases["builds"]["155.0.5"] = older
|
|
164
|
+
missing_build = "155.999.999"
|
|
165
|
+
releases["builds"].pop(missing_build, None)
|
|
164
166
|
monkeypatch.setattr(installer, "RUNTIME_CATALOG", catalog)
|
|
165
167
|
assert installer.select_release("155", product="network")["version"] == releases.get("default_network_build", releases["default_build"])
|
|
166
168
|
assert installer.select_release("155.0.5")["version"] == "155.0.5"
|
|
167
169
|
with pytest.raises(RuntimeCompatibilityError, match="no published runtime"):
|
|
168
|
-
installer.select_release(
|
|
170
|
+
installer.select_release(missing_build)
|
|
169
171
|
|
|
170
172
|
|
|
171
173
|
@pytest.mark.parametrize("kind", ["protocol", "abi", "hash", "escape"])
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wpr-http
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Standalone HTTP client using version-selected Firefox Necko/NSS Workers
|
|
5
5
|
License: MPL-2.0-compatible client; see runtime bundle notices
|
|
6
6
|
Project-URL: Repository, https://github.com/childclm/wpr-http
|
|
7
7
|
Project-URL: Documentation, https://github.com/childclm/wpr-http/blob/main/README.md
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
|
-
Requires-Dist: wpr-runtime-core<0.3,>=0.2.
|
|
10
|
+
Requires-Dist: wpr-runtime-core<0.3,>=0.2.8
|
|
11
11
|
|
|
12
12
|
# WPR HTTP
|
|
13
13
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
wpr-runtime-core<0.3,>=0.2.8
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
wpr-runtime-core<0.3,>=0.2.3
|
|
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
|