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

Allow update of dpf-site.zip #1379

Merged
merged 5 commits into from
Jan 25, 2024
Merged

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Jan 25, 2024

Based on the current venv.
Store the original dpf-site.zip and give a restore option.

…r.py (WIP)

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
# Otherwise get the path to the site_packages of the current virtual environment
current_site_packages_path = None
# Zip it
# Store original dpf-site.zip for this DPF Server
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand what this code is doing, sorry

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cbellot000, updated to a working version, tested locally

Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (e0b7883) 87.54% compared to head (f3ec00c) 87.24%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1379      +/-   ##
==========================================
- Coverage   87.54%   87.24%   -0.30%     
==========================================
  Files          81       81              
  Lines        9360     9401      +41     
==========================================
+ Hits         8194     8202       +8     
- Misses       1166     1199      +33     

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
@PProfizi PProfizi merged commit ffa2f41 into master Jan 25, 2024
39 of 40 checks passed
@PProfizi PProfizi deleted the feat/custom_operator_site_update branch January 25, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants