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.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wpr-http
3
- Version: 0.2.1
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.3
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.1"
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.3,<0.3"]
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("155.0.4")
170
+ installer.select_release(missing_build)
169
171
 
170
172
 
171
173
  @pytest.mark.parametrize("kind", ["protocol", "abi", "hash", "escape"])
@@ -14,7 +14,7 @@ from .exceptions import (
14
14
  )
15
15
  from .models import Headers, HttpRequest, HttpResponse, NetworkTiming, Request, Timeout
16
16
 
17
- __version__ = "0.2.0"
17
+ __version__ = "0.2.2"
18
18
 
19
19
 
20
20
  class AsyncClient(AsyncWprHttpClient):
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wpr-http
3
- Version: 0.2.1
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.3
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