Skip to content
Open
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ debug :

nano: FORCE
# smallest version for flare
CURRENT_MODE="_nano" PYODIDE_PACKAGES="False" make
CURRENT_MODE="_nano" PYODIDE_PACKAGES="pyjwt" make

pico: FORCE
# smallest possible python version
Expand Down
4 changes: 2 additions & 2 deletions cpython/Setup_nano.local
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
_contextvars _contextvarsmodule.c
_struct _struct.c # binary structure packing/unpacking, needed for struct and struct is needed by zipfile
_random _randommodule.c # Random number generator
#_bisect _bisectmodule.c # Bisection algorithms
_bisect _bisectmodule.c # Bisection algorithms
#_datetime _datetimemodule.c
#_heapq _heapqmodule.c
#_json _json.c
Expand All @@ -35,7 +35,7 @@ _sha256 sha256module.c
_sha512 sha512module.c
_sha3 _sha3/sha3module.c
_md5 md5module.c
#_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c

# If we put this directly in the next line, makesetup incorrectly views the
# line as a definition line, instead of specifying a module. We bypass this
Expand Down
7 changes: 0 additions & 7 deletions cpython/remove_modules_nano.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ distutils
doctest.py
dummy_threading.py
_dummy_thread.py
email
filecmp.py
fileinput.py
formatter.py
Expand All @@ -49,9 +48,6 @@ getpass.py
gettext.py
glob.py
gzip.py
hmac.py
html
http
imaplib.py
imghdr.py
imp.py
Expand Down Expand Up @@ -91,7 +87,6 @@ pydoc_data
pydoc.py
_pyio.py
queue.py
quopri.py
runpy.py
sched.py
secrets.py
Expand All @@ -114,7 +109,6 @@ sysconfig.py
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py
test
this.py
_threading_local.py
Expand All @@ -124,7 +118,6 @@ trace.py
tty.py
unittest
uuid.py
uu.py
wave.py
wsgiref
xdrlib.py
Expand Down
9 changes: 9 additions & 0 deletions packages/pyjwt/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package:
name: pyjwt
version: 2.1.0
source:
sha256: fba44e7898bbca160a2b2b501f492824fc8382485d3a6f11ba5d0c1937ce6130
url: https://files.pythonhosted.org/packages/0c/c6/3cdc7cb1289b35186fd7fd61836b6d83632ca0f7eee552516777361667b1/PyJWT-2.1.0.tar.gz
test:
imports:
- pyjwt
2 changes: 1 addition & 1 deletion run_docker
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function error() {
}


PYODIDE_IMAGE_TAG="15"
PYODIDE_IMAGE_TAG="151"
PYODIDE_PREBUILT_IMAGE_TAG="0.17.0"
DEFAULT_PYODIDE_DOCKER_IMAGE="pyodide/pyodide-env:${PYODIDE_IMAGE_TAG}"
DEFAULT_PYODIDE_SYSTEM_PORT="8000"
Expand Down