diff --git a/news/fbv.rst b/news/fbv.rst new file mode 100644 index 0000000..e002016 --- /dev/null +++ b/news/fbv.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* Removed fallback version handling in `src/pyobjcryst/version.py`. + +**Fixed:** + +* + +**Security:** + +* diff --git a/src/pyobjcryst/version.py b/src/pyobjcryst/version.py index 5192a4f..fbd0634 100644 --- a/src/pyobjcryst/version.py +++ b/src/pyobjcryst/version.py @@ -18,13 +18,8 @@ # __all__ = ["__date__", "__git_commit__", "__timestamp__", "__version__"] # obtain version information -from importlib.metadata import PackageNotFoundError, version +from importlib.metadata import version -FALLBACK_VERSION = "2024.2.1" - -try: - __version__ = version("pyobjcryst") -except PackageNotFoundError: - __version__ = FALLBACK_VERSION +__version__ = version("pyobjcryst") # End of file