Skip to content

Commit 16f4867

Browse files
authored
Fix crc32c deprecation warning (#2128)
Fix a deprecation warning in the newest version.
1 parent 098ecbf commit 16f4867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kafka/record/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from kafka.record._crc32c import crc as crc32c_py
44
try:
5-
from crc32c import crc32 as crc32c_c
5+
from crc32c import crc32c as crc32c_c
66
except ImportError:
77
crc32c_c = None
88

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ pylint==2.5.3
1313
pytest-pylint==0.17.0
1414
pytest-mock==1.10.0
1515
sphinx-rtd-theme==0.2.4
16-
crc32c==1.7
16+
crc32c==2.1
1717
py==1.8.0

0 commit comments

Comments
 (0)