Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 9bcc3a2

Browse files
committed
Iterate
1 parent bd88ac7 commit 9bcc3a2

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

docs/build-environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies:
1111
- pydata-sphinx-theme
1212
- yarn
1313
- jupyterlab
14+
- empack >=2.0.9,<3
1415
- pip:
1516
- jupyterlite-core==0.1.0
1617
- jupyterlite-sphinx
17-
- git+https://github.com/martinRenou/empack.git@pip
1818
- ..

docs/environment.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ channels:
55
dependencies:
66
- numpy
77
- matplotlib
8-
- ipycanvas
98
- mpmath
109
- pip:
11-
- sympy
10+
- ipycanvas

jupyterlite_xeus_python/build.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from subprocess import check_call, run, DEVNULL
77
from typing import List
88
from urllib.parse import urlparse
9+
import sys
910

1011
import yaml
1112

@@ -25,7 +26,9 @@
2526
MICROMAMBA_COMMAND = shutil.which("micromamba")
2627
CONDA_COMMAND = shutil.which("conda")
2728

28-
PYTHON_VERSION = "3.10"
29+
PYTHON_MAJOR = 3
30+
PYTHON_MINOR = 10
31+
PYTHON_VERSION = f"{PYTHON_MAJOR}.{PYTHON_MINOR}"
2932

3033
CHANNELS = [
3134
"https://repo.mamba.pm/emscripten-forge",
@@ -125,8 +128,9 @@ def _install_pip_dependencies(prefix_path, dependencies):
125128
*dependencies,
126129
"--prefix",
127130
prefix_path,
131+
"--python-version",
132+
PYTHON_VERSION,
128133
"--no-input",
129-
"--no-deps",
130134
"--verbose",
131135
],
132136
check=True,

0 commit comments

Comments
 (0)