Skip to content

Commit 9f18143

Browse files
committed
Chore: Use distutils.LooseVersion to parse SA20's "2.0.0rc1" version
1 parent 757bf56 commit 9f18143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crate/client/sqlalchemy/sa_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# software solely pursuant to the terms of the relevant commercial agreement.
2121

2222
import sqlalchemy as sa
23-
from distutils.version import StrictVersion as V
23+
from distutils.version import LooseVersion as V
2424

2525
SA_VERSION = V(sa.__version__)
2626

0 commit comments

Comments
 (0)