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

build!: use setuptools-scm to declare version #428

Merged
merged 5 commits into from
Jul 15, 2024
Merged

Conversation

jsstevenson
Copy link
Member

No description provided.

@jsstevenson jsstevenson added the priority:low Low priority label Jul 12, 2024
APP_ROOT: Path = Path(__file__).resolve().parents[0]


try:
__version__ = version("{{ cookiecutter.project_slug }}")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
__version__ = version("{{ cookiecutter.project_slug }}")
__version__ = version("thera-py")

Copy link
Member Author

Choose a reason for hiding this comment

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

f!

@jsstevenson jsstevenson removed the request for review from korikuzma July 15, 2024 18:47
@@ -756,14 +756,14 @@ def test_service_meta(search_handler, normalize_handler):
response = search_handler.search(query)
service_meta = response.service_meta_
assert service_meta.name == "thera-py"
assert service_meta.version >= "0.2.13"
assert service_meta.version != "unknown"
Copy link
Member

Choose a reason for hiding this comment

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

Ah, I should have done this for disease or gene? I forget which one made this check

Copy link
Member Author

Choose a reason for hiding this comment

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

eh I don't really think it matters but at some point we can just run this one around everywhere

@jsstevenson jsstevenson merged commit 7647f17 into main Jul 15, 2024
9 checks passed
@jsstevenson jsstevenson deleted the setuptools-scm branch July 15, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants