forked from pyodide/pyodide
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/urllib3/patches/0001-Remove-emscripten-shim.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 7a0d3099be580cdb10357862d07133c296224e78 Mon Sep 17 00:00:00 2001 | ||
From: Hood Chatham <[email protected]> | ||
Date: Wed, 20 Mar 2024 18:41:24 +0100 | ||
Subject: [PATCH] Remove emscripten shim | ||
|
||
--- | ||
src/urllib3/__init__.py | 6 ------ | ||
1 file changed, 6 deletions(-) | ||
|
||
diff --git a/src/urllib3/__init__.py b/src/urllib3/__init__.py | ||
index 1e0bf37b..be84504e 100644 | ||
--- a/src/urllib3/__init__.py | ||
+++ b/src/urllib3/__init__.py | ||
@@ -203,9 +203,3 @@ def request( | ||
timeout=timeout, | ||
json=json, | ||
) | ||
- | ||
- | ||
-if sys.platform == "emscripten": | ||
- from .contrib.emscripten import inject_into_urllib3 # noqa: 401 | ||
- | ||
- inject_into_urllib3() | ||
-- | ||
2.34.1 | ||
|