Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Fix hardcoded APPDATA in extension manager #5300

Merged
merged 15 commits into from
Oct 25, 2024
Merged

Conversation

Samuelopez-ansys
Copy link
Member

Toolkit venv is still in APPDATA or HOME for Linux fixed for now

Close #5294

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@github-actions github-actions bot added the bug Something isn't working label Oct 15, 2024
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.24%. Comparing base (3098639) to head (7f3445b).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5300      +/-   ##
==========================================
+ Coverage   80.36%   84.24%   +3.88%     
==========================================
  Files         140      140              
  Lines       58565    58565              
==========================================
+ Hits        47065    49338    +2273     
+ Misses      11500     9227    -2273     

Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this changes, they make total sense !
I proposed some minor changes to remove dead code and avoid shell injection.
Also, following #5288, we might need to add a disclaimer here.

doc/source/Resources/toolkit_installer_from_aedt.py Outdated Show resolved Hide resolved
doc/source/Resources/toolkit_installer_from_aedt.py Outdated Show resolved Hide resolved
@SMoraisAnsys
Copy link
Collaborator

@Samuelopez-ansys Any news on what doesn't allow us to use subprocess ?

Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM I was finally able to test running the script on Linux !

@Samuelopez-ansys Samuelopez-ansys merged commit 465935b into main Oct 25, 2024
41 checks passed
@Samuelopez-ansys Samuelopez-ansys deleted the fix/issue_5294 branch October 25, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension_manager.py not working when venv is not in APPDATA or HOME
2 participants