Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit a3d6359

Browse files
committed
Don't use importlib.metadata for __version__
Fixes #166
1 parent 64de65d commit a3d6359

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backoff/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
For examples and full documentation see the README at
1313
https://github.com/litl/backoff
1414
"""
15-
import importlib.metadata
16-
1715
from backoff._decorator import on_exception, on_predicate
1816
from backoff._jitter import full_jitter, random_jitter
1917
from backoff._wait_gen import constant, expo, fibo, runtime
@@ -29,4 +27,4 @@
2927
'random_jitter',
3028
]
3129

32-
__version__ = importlib.metadata.version("backoff")
30+
__version__ = "2.1.2"

0 commit comments

Comments
 (0)