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

Fixed test_version to ensure it always has _version.py #574

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

MicahGale
Copy link
Collaborator

@MicahGale MicahGale commented Oct 16, 2024

Description

This fixes test_version to make no assumptions about the users setup. It does this by running setuptools_scm first if the _version.py file is not present.

Fixes #572

Checklist

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

@MicahGale MicahGale linked an issue Oct 16, 2024 that may be closed by this pull request
@MicahGale MicahGale added bugs A deviation from expected behavior that does not reach the level of being reportable as an "Error". CI/CD code improvement A feature request that will improve the software and its maintainability, but be invisible to users. PyOpenSci / JOSS labels Oct 16, 2024
@MicahGale MicahGale self-assigned this Oct 16, 2024
@MicahGale MicahGale marked this pull request as ready for review October 17, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs A deviation from expected behavior that does not reach the level of being reportable as an "Error". CI/CD code improvement A feature request that will improve the software and its maintainability, but be invisible to users. PyOpenSci / JOSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit test failure (test_version) (v0.4.1)
1 participant