workers-py 1.1.4__tar.gz → 1.1.5__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.1.4 → workers_py-1.1.5}/CHANGELOG.md +8 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/PKG-INFO +1 -1
- {workers_py-1.1.4 → workers_py-1.1.5}/pyproject.toml +1 -1
- {workers_py-1.1.4 → workers_py-1.1.5}/src/pywrangler/sync.py +22 -3
- {workers_py-1.1.4 → workers_py-1.1.5}/uv.lock +1 -1
- {workers_py-1.1.4 → workers_py-1.1.5}/.github/workflows/commitlint.yml +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/.github/workflows/lint.yml +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/.github/workflows/release.yml +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/.github/workflows/tests.yml +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/.gitignore +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/CONTRIBUTING.md +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/README.md +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/src/pywrangler/__init__.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/src/pywrangler/__main__.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/src/pywrangler/cli.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/src/pywrangler/utils.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/tests/__init__.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/tests/test_cli.py +0 -0
- {workers_py-1.1.4 → workers_py-1.1.5}/workers.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v1.1.5 (2025-08-26)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Lock pyodide-build to fix running on Py 3.12
|
|
10
|
+
([`2f301f4`](https://github.com/cloudflare/workers-py/commit/2f301f483be59ead2a799a0e8cba6291e428080b))
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## v1.1.4 (2025-08-06)
|
|
6
14
|
|
|
7
15
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workers-py
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
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
|
|
@@ -55,6 +55,10 @@ def check_wrangler_config():
|
|
|
55
55
|
raise click.exceptions.Exit(code=1)
|
|
56
56
|
|
|
57
57
|
|
|
58
|
+
def _get_python_version():
|
|
59
|
+
return os.environ.get("_PYWRANGLER_PYTHON_VERSION", "3.12")
|
|
60
|
+
|
|
61
|
+
|
|
58
62
|
def create_workers_venv():
|
|
59
63
|
"""
|
|
60
64
|
Creates a virtual environment at `VENV_WORKERS_PATH` if it doesn't exist.
|
|
@@ -64,8 +68,10 @@ def create_workers_venv():
|
|
|
64
68
|
return
|
|
65
69
|
|
|
66
70
|
logger.debug(f"Creating virtual environment at {VENV_WORKERS_PATH}...")
|
|
67
|
-
|
|
68
|
-
run_command(
|
|
71
|
+
python_version = _get_python_version()
|
|
72
|
+
run_command(
|
|
73
|
+
["uv", "venv", str(VENV_WORKERS_PATH), "--python", f"python{python_version}"]
|
|
74
|
+
)
|
|
69
75
|
|
|
70
76
|
|
|
71
77
|
def _get_pyodide_cli_path():
|
|
@@ -99,7 +105,14 @@ def install_pyodide_build():
|
|
|
99
105
|
run_command(["uv", "pip", "install", "-p", str(venv_python_executable), "pip"])
|
|
100
106
|
|
|
101
107
|
run_command(
|
|
102
|
-
[
|
|
108
|
+
[
|
|
109
|
+
"uv",
|
|
110
|
+
"pip",
|
|
111
|
+
"install",
|
|
112
|
+
"-p",
|
|
113
|
+
str(venv_python_executable),
|
|
114
|
+
"pyodide-build==0.30.7",
|
|
115
|
+
]
|
|
103
116
|
)
|
|
104
117
|
|
|
105
118
|
|
|
@@ -111,6 +124,12 @@ def create_pyodide_venv():
|
|
|
111
124
|
)
|
|
112
125
|
return
|
|
113
126
|
|
|
127
|
+
# Workaround to fix caching issue on some machines.
|
|
128
|
+
#
|
|
129
|
+
# Fix is here: pyodide/pyodide-build#239
|
|
130
|
+
logger.debug("Installing xbuildenv...")
|
|
131
|
+
run_command([str(pyodide_cli_path), "xbuildenv", "install"])
|
|
132
|
+
|
|
114
133
|
logger.debug(f"Creating Pyodide virtual environment at {PYODIDE_VENV_PATH}...")
|
|
115
134
|
PYODIDE_VENV_PATH.parent.mkdir(parents=True, exist_ok=True)
|
|
116
135
|
run_command([str(pyodide_cli_path), "venv", str(PYODIDE_VENV_PATH)])
|
|
@@ -402,7 +402,7 @@ wheels = [
|
|
|
402
402
|
|
|
403
403
|
[[package]]
|
|
404
404
|
name = "workers-py"
|
|
405
|
-
version = "1.1.
|
|
405
|
+
version = "1.1.5"
|
|
406
406
|
source = { editable = "." }
|
|
407
407
|
dependencies = [
|
|
408
408
|
{ 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
|