Skip to content

docs: add guidance on dependency version range #586

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

Merged
merged 8 commits into from
Apr 23, 2025

Conversation

SMoraisAnsys
Copy link
Contributor

Following the comments in #558 (comment)

This PR aims at adding guidance on dependencies version ranges. In particular it explains why upper limits should only be added when absolutely necessary. I'd like this PR to only focus on that point and have your feedback on it.

When I start updating the docs to handle the first bullet point in #558 comment, I'll edit with required changes (e.g. references to the section on why pinning versions in CI / CD).

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Apr 17, 2025
Copy link
Member

@greschd greschd left a comment

Choose a reason for hiding this comment

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

Very nice, thanks for taking this on @SMoraisAnsys! I just left some optional suggestions.

@SMoraisAnsys
Copy link
Contributor Author

Thanks @greschd @da1910 @RobPasMue for your feedback. I've removed the part about testing with minimum versions from this PR but that might be something to consider later on.

Copy link
Contributor

@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.

Thanks @SMoraisAnsys for writing it done.

Copy link
Member

@jorgepiloto jorgepiloto 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 documenting this, @SMoraisAnsys. Looks good to me.

@SMoraisAnsys SMoraisAnsys enabled auto-merge (squash) April 23, 2025 15:17
@SMoraisAnsys SMoraisAnsys merged commit 679da01 into main Apr 23, 2025
7 checks passed
@SMoraisAnsys SMoraisAnsys deleted the docs/guidance-on-dependency-version-range branch April 23, 2025 15:20
github-actions bot pushed a commit that referenced this pull request Apr 23, 2025
* docs: add guidance on dependency version range

* docs: fix vale warnings

* Update doc/source/how-to/packaging.rst

Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>

* refactor: update following reviews

* docs: fix vale warning

* docs: fix typo in code-block

* docs: fix code block rendering

---------

Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants