Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions src/ga4gh/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@
)
from ga4gh.core.pydantic import is_curie_type, is_pydantic_instance, pydantic_copy

try:
__version__ = version(__name__)
except PackageNotFoundError: # pragma: nocover
__version__ = "unknown"
finally:
del version, PackageNotFoundError

CORE_VERSION = "1.1.0"

__all__ = [
"CORE_VERSION",
"CURIE_NAMESPACE",
"CURIE_SEP",
"GA4GH_DIGEST_REGEXP",
Expand All @@ -42,10 +52,3 @@
"sha512t24u",
"use_ga4gh_compute_identifier_when",
]

try:
__version__ = version(__name__)
except PackageNotFoundError: # pragma: nocover
__version__ = "unknown"
finally:
del version, PackageNotFoundError
Loading