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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jupyterlite/xeus-python-kernel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.5
Choose a base ref
...
head repository: jupyterlite/xeus-python-kernel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fd6ab092a2820d3bd619792623d22599263ca580
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 30, 2022

  1. Fix caching issue

    martinRenou committed Aug 30, 2022
    Copy the full SHA
    533040f View commit details
  2. Merge pull request #73 from martinRenou/fix_caching

    Fix caching issue
    martinRenou authored Aug 30, 2022
    Copy the full SHA
    fd6ab09 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 jupyterlite_xeus_python/env_build_addon.py
4 changes: 2 additions & 2 deletions jupyterlite_xeus_python/env_build_addon.py
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ def __init__(self, *args, **kwargs):
self.env_name = "xeus-python-kernel"

# Cleanup tmp dir in case it's not empty
shutil.rmtree(self.root_prefix, ignore_errors=True)
shutil.rmtree(Path(self.root_prefix) / "envs", ignore_errors=True)
Path(self.root_prefix).mkdir(parents=True, exist_ok=True)

self.orig_config = os.environ.get("CONDARC")
@@ -306,7 +306,7 @@ def dedupe_federated_extensions(self, config):

def __del__(self):
# Cleanup
shutil.rmtree(self.root_prefix, ignore_errors=True)
shutil.rmtree(Path(self.root_prefix) / "envs", ignore_errors=True)

if self.orig_config is not None:
os.environ["CONDARC"] = self.orig_config