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

MAINT: Update dependencies with ranges #4369

Merged
merged 11 commits into from
Mar 20, 2024

Conversation

SMoraisAnsys
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys commented Mar 18, 2024

The current way we handle dependencies is too "tight" and can easily lead to conflicts when installing pyaedt with other projects. This is even more problematic as it happens with other ansys projects, e.g. pyedb, pyaedt toolkits, ...
This PR proposes to use ranges to specify a wider compatibility of dependencies.

This changes have been tested in https://github.com/ansys/pyaedt/actions/runs/8345060900 where used python 3.7, 3.8, 3.9, 3.10 and 3.11, installed pyaedt with test dependencies and run the tests. Except for EMIT that is not available in Python3.7 (explaining the skipif decorator) every tests were passing correctly for every versions !

@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 maintenance Package and maintenance related documentation labels Mar 18, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.67%. Comparing base (f0b25a7) to head (7b8afee).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4369      +/-   ##
==========================================
- Coverage   81.60%   76.67%   -4.93%     
==========================================
  Files         107      107              
  Lines       52489    52489              
==========================================
- Hits        42834    40248    -2586     
- Misses       9655    12241    +2586     

@SMoraisAnsys SMoraisAnsys force-pushed the maint/update_dependencies_with_ranges branch from 1f71f49 to c885d0a Compare March 18, 2024 14:52
@wiz-inc-572fc38784
Copy link

wiz-inc-572fc38784 bot commented Mar 20, 2024

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Vulnerabilities 0C 0H 0M 0L 0I
Sensitive Data 0C 0H 0M 0L 0I
Total 0C 0H 0M 0L 0I
Secrets 0🔑

Copy link
Collaborator

@MaxJPRey MaxJPRey left a comment

Choose a reason for hiding this comment

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

LGTM.

@SMoraisAnsys SMoraisAnsys merged commit 75fab9f into main Mar 20, 2024
15 checks passed
@SMoraisAnsys SMoraisAnsys deleted the maint/update_dependencies_with_ranges branch March 20, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants