Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ensure that RemoveEverything also removed any old base python environments.

Open
#153 0 comments 0 reactions 1 assignee View on GitHub

@Tom-Kingstone is already working on this.

Since Dec 11, 2024.

Assessment

This issue has not been assessed yet.

Description

type:bug
Description:

between v7.3 and v8.0, the location of the base python environments have changed slightly, meaning that the new RemoveEverything method does not remove the old folder. While it is possible to manually do this, it would be better if the method fixed it automatically
(ideally, the BasePythonEnvironment method would also check for this and remove the old environment)

How to replicate:

install bhom version 7.3 beta, then run BasePythonEnvironment. Then install bhom version 8.0, and run RemoveEverything. Check the folder BHoM/Extensions/PythonEnvironments/Python_Toolkit and the base environment will still be there.

Expected behaviour:

RemoveEverything also deletes the contents of BHoM/Extensions/PythonEnvironments to ensure that everything is actually removed.

Test file(s):
Dominant language
Python
Stars
5
Forks
1
Avg merge
1d 10h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BHoM/Python_Toolkit

All issues in BHoM/Python_Toolkit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.