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

Update dependencies. #329

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Update dependencies. #329

merged 3 commits into from
Jan 15, 2025

Conversation

bohning
Copy link
Owner

@bohning bohning commented Jan 14, 2025

This makes #327 obsolete.

@Baklap4

This comment was marked as outdated.

@bohning bohning requested a review from RumovZ January 14, 2025 20:06
This allows retrieving the version number from git tags.

If the version is needed in the code, it can either be written to a file by adding the following to the [tool.poetry-dynamic-versioning] section of the pyproject.toml:

write_to = "usdb_syncer/_version.py"

and using the following in the code:

from usdb_syncer._version import __version__

or it can be dynamically retrieved by using importlib.metadata:

from importlib.metadata import version
print(version("usdb_syncer"))
@bohning bohning merged commit 25c6e07 into main Jan 15, 2025
1 check passed
@bohning bohning deleted the update_dependencies branch January 15, 2025 20:18
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.

3 participants