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

make tests compatible with setuptools_scm 8+ #57

Closed
wants to merge 1 commit into from

Conversation

gotmax23
Copy link

These changes address incompatibilities introduced in setuptools_scm 8
that affect the utils.versiontools unit tests.

@gotmax23
Copy link
Author

@webknjaz, workflows need approval.

@webknjaz webknjaz force-pushed the ssm8 branch 2 times, most recently from fbb4fd0 to 8b30d21 Compare November 4, 2023 04:40
@@ -131,7 +134,9 @@ def test_get_version_from_scm_tag_in_git_repo(
git_cmd, git_commit_cmd, git_tag_cmd,
):
"""Check that get_version_from_scm_tag works properly in Git repo."""
assert get_self_version() == '0.1.dev0'
# setuptools_scm 8+ includes a date stamp here.
Copy link
Member

Choose a reason for hiding this comment

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

I'd like to understand if there's a parameter we can set that would normalize its behavior and keep it as it was...

These changes address incompatibilities introduced in setuptools_scm 8
that affect the utils.versiontools unit tests.
@webknjaz
Copy link
Member

Those tests were checking the helper producing the version for packaging metadata. Now, the packaging has been updated not to use it so I dropped it.

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