diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4dfd74..e3f3f39 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: '3.10' architecture: 'x64' - uses: actions/download-artifact@v2 with: diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 2a4c1d2..7ea99dc 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -19,7 +19,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: '3.10' architecture: 'x64' - name: Install node uses: actions/setup-node@v2 diff --git a/jupyterlite_xeus_python/env_build_addon.py b/jupyterlite_xeus_python/env_build_addon.py index 32c5d64..ca12d29 100644 --- a/jupyterlite_xeus_python/env_build_addon.py +++ b/jupyterlite_xeus_python/env_build_addon.py @@ -52,6 +52,10 @@ class XeusPythonEnv(FederatedExtensionAddon): description="The path or URL to the empack config file", ) + pin_packages = PackagesList([]).tag( + description="This property is not supposed to be used, unless you know what you're doing.", + ) + packages = PackagesList([]).tag( config=True, description="A comma-separated list of packages to install in the xeus-python env", @@ -78,7 +82,7 @@ def post_build(self, manager): env_prefix = build_and_pack_emscripten_env( xeus_python_version=self.xeus_python_version, - packages=self.packages, + packages=[*self.packages, *self.pin_packages], environment_file=Path(self.manager.lite_dir) / self.environment_file, empack_config=self.empack_config, output_path=self.cwd.name,