Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes urllib3 package under Pyodide 0.27.1 . #3625

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ http_archive(
http_archive(
name = "pyodide",
build_file = "//:build/BUILD.pyodide",
sha256 = "fbda450a64093a8d246c872bb901ee172a57fe594c9f35bba61f36807c73300d",
urls = ["https://github.com/pyodide/pyodide/releases/download/0.26.0a2/pyodide-core-0.26.0a2.tar.bz2"],
sha256 = "6e45f93c71ed21bff4a06d6d9d8e27e815269dabf8ab34dc400939fd45edc665",
urls = ["https://github.com/pyodide/pyodide/releases/download/0.27.1/pyodide-core-0.27.1.tar.bz2"],
)

http_archive(
Expand Down
2 changes: 1 addition & 1 deletion src/workerd/io/compatibility-date.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef {
pythonWorkersDevPyodide @58 :Bool
$compatEnableFlag("python_workers_development")
$pythonSnapshotRelease(pyodide = "dev", pyodideRevision = "dev",
packages = "20240829.4", backport = 0,
packages = "20241218", backport = 0,
baselineSnapshotHash = "92859211804cd350f9e14010afad86e584bdd017dc7acfd94709a87f3220afae")
$experimental;
# Enables Python Workers and uses the bundle from the Pyodide source directory directly. For testing only.
Expand Down
1 change: 0 additions & 1 deletion src/workerd/server/tests/python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ py_wd_test("seek-metadatafs")
"tblib",
"pydantic_core",
"requests",
"urllib3",
],
},
)
Expand Down
1 change: 1 addition & 0 deletions src/workerd/server/tests/python/hello/worker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def test():
from pyodide import __version__ as v; print(v)
from js import console
from js.WebAssembly import Suspending

Expand Down
Loading