workers-py 1.6.0__tar.gz → 1.6.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.
- {workers_py-1.6.0 → workers_py-1.6.1}/CHANGELOG.md +9 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/PKG-INFO +1 -1
- {workers_py-1.6.0 → workers_py-1.6.1}/pyproject.toml +1 -1
- workers_py-1.6.1/src/pywrangler/__main__.py +3 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/cli.py +2 -2
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/sync.py +3 -3
- {workers_py-1.6.0 → workers_py-1.6.1}/uv.lock +1 -1
- workers_py-1.6.0/src/pywrangler/__main__.py +0 -3
- {workers_py-1.6.0 → workers_py-1.6.1}/.gitattributes +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.github/workflows/commitlint.yml +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.github/workflows/lint.yml +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.github/workflows/release.yml +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.github/workflows/tests.yml +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.gitignore +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/.pre-commit-config.yaml +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/CLAUDE.md +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/CONTRIBUTING.md +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/README.md +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/__init__.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/metadata.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/types.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/src/pywrangler/utils.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/tests/__init__.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/tests/test_cli.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/tests/test_py_version_detect.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/tests/test_types.py +0 -0
- {workers_py-1.6.0 → workers_py-1.6.1}/workers.py +0 -0
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v1.6.1 (2025-10-15)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Be more lenient with wrangler version parsing
|
|
10
|
+
([#45](https://github.com/cloudflare/workers-py/pull/45),
|
|
11
|
+
[`8315a03`](https://github.com/cloudflare/workers-py/commit/8315a03de83bff3836c84be28726bea7f6124dd8))
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
## v1.6.0 (2025-10-15)
|
|
6
15
|
|
|
7
16
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workers-py
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.1
|
|
4
4
|
Summary: A set of libraries and tools for Python Workers
|
|
5
5
|
Project-URL: Homepage, https://github.com/cloudflare/workers-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/cloudflare/workers-py/issues
|
|
@@ -61,7 +61,7 @@ class ProxyToWranglerGroup(click.Group):
|
|
|
61
61
|
ctx.invoke(sync_command, force=False, directly_requested=False)
|
|
62
62
|
|
|
63
63
|
if cmd_name == "dev":
|
|
64
|
-
from
|
|
64
|
+
from .sync import check_wrangler_version
|
|
65
65
|
|
|
66
66
|
check_wrangler_version()
|
|
67
67
|
|
|
@@ -134,7 +134,7 @@ def sync_command(force=False, directly_requested=True):
|
|
|
134
134
|
Also creates a virtual env for Workers that you can use for testing.
|
|
135
135
|
"""
|
|
136
136
|
# This module is imported locally because it searches for pyproject.toml at the top-level.
|
|
137
|
-
from
|
|
137
|
+
from .sync import (
|
|
138
138
|
check_requirements_txt,
|
|
139
139
|
check_wrangler_config,
|
|
140
140
|
is_sync_needed,
|
|
@@ -11,11 +11,11 @@ from typing import Literal
|
|
|
11
11
|
import click
|
|
12
12
|
import pyjson5
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from .utils import (
|
|
15
15
|
run_command,
|
|
16
16
|
find_pyproject_toml,
|
|
17
17
|
)
|
|
18
|
-
from
|
|
18
|
+
from .metadata import PYTHON_COMPAT_VERSIONS
|
|
19
19
|
|
|
20
20
|
try:
|
|
21
21
|
import tomllib # Standard in Python 3.11+
|
|
@@ -263,7 +263,7 @@ def check_wrangler_version():
|
|
|
263
263
|
# Parse version from output like "wrangler 4.42.1" or " ⛅️ wrangler 4.42.1"
|
|
264
264
|
version_line = result.stdout.strip()
|
|
265
265
|
# Extract version number using regex
|
|
266
|
-
version_match = re.search(r"
|
|
266
|
+
version_match = re.search(r"(\d+)\.(\d+)\.(\d+)", version_line)
|
|
267
267
|
|
|
268
268
|
if not version_match:
|
|
269
269
|
logger.error(f"Could not parse wrangler version from: {version_line}")
|
|
@@ -689,7 +689,7 @@ wheels = [
|
|
|
689
689
|
|
|
690
690
|
[[package]]
|
|
691
691
|
name = "workers-py"
|
|
692
|
-
version = "1.6.
|
|
692
|
+
version = "1.6.1"
|
|
693
693
|
source = { editable = "." }
|
|
694
694
|
dependencies = [
|
|
695
695
|
{ name = "click", version = "8.1.8", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" },
|
|
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
|