Skip to content

Commit e206e06

Browse files
committed
fix: simplify version retrieval by removing exception handling for PackageNotFoundError
1 parent a05fe03 commit e206e06

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

python/datafusion/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@
6666
udwf,
6767
)
6868

69-
try:
70-
__version__ = importlib_metadata.version(__name__)
71-
except importlib_metadata.PackageNotFoundError:
72-
__version__ = "0.0.0"
69+
__version__ = importlib_metadata.version(__name__)
7370

7471
__all__ = [
7572
"Accumulator",

0 commit comments

Comments
 (0)