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

models/package: have version_spec only exist in ReqPackage #303

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

kemzeb
Copy link
Collaborator

@kemzeb kemzeb commented Nov 23, 2023

This behavior is specific to ReqPackage, so let's just have it exist in this class rather than having it in the Package parent class.

Just to be extra careful, I ran the rendering options that may be affected by this change (so graphviz, mermaid, and json tree) in both reversed and non-reversed order to cover the code paths that use version_spec. Everything looks fine from what I can see.

This behavior is specific to `ReqPackage`, so let's just have it
exist in this class rather than having it in the `Package`
parent class.
@kemzeb
Copy link
Collaborator Author

kemzeb commented Nov 23, 2023

Recent change includes 2 test cases to satisfy code coverage

Copy link
Member

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

@gaborbernat gaborbernat merged commit ced8bd8 into tox-dev:main Nov 28, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants