CHORE: Update install targets and use dependency groups#6093
Draft
SMoraisAnsys wants to merge 25 commits intomainfrom
Draft
CHORE: Update install targets and use dependency groups#6093SMoraisAnsys wants to merge 25 commits intomainfrom
SMoraisAnsys wants to merge 25 commits intomainfrom
Conversation
Contributor
|
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Collaborator
Author
|
Depends on ansys/actions#794 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6093 +/- ##
===========================================
- Coverage 85.26% 18.61% -66.65%
===========================================
Files 170 170
Lines 64119 64119
===========================================
- Hits 54668 11937 -42731
- Misses 9451 52182 +42731 🚀 New features to boost your workflow:
|
MaxJPRey
previously approved these changes
Apr 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
Do not merge yet
Description
pip 25.1 is out and, on top implementing a first version for PEP 751: pylock.toml file, it implements PEP 735: Dependency groups. This avoids distributing our development dependencies as a target, thus avoiding confusing users.
On top of these changes, the optional dependencies have been refactored into mutliple subsets, leading to: dotnet, jupyter, graphics, analysis, io, all and examples. From now on, users installing from PyPI won't be able to install other targets than the one previously mentionned.. The doc and tests (unit/integration/system) are no longer available unless one clones the repository and install the associated dependencies with
pip install --group testsThis PR should be merged once ansys/actions#794 is released.
Issue linked
Related to #5504
Checklist