Skip to content

Commit

Permalink
feat: bump 'google-crc32c >= 1.0' (#162)
Browse files Browse the repository at this point in the history
Uses the new namespaced-version of the library.

Release-As: 1.0.0
  • Loading branch information
tseaver committed Aug 10, 2020
1 parent c7bb8a0 commit eaf9faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions google/resumable_media/_helpers.py
Expand Up @@ -187,9 +187,9 @@ def _get_crc32c_object():
to use CRCMod. CRCMod might be using a 'slow' varietal. If so, warn...
"""
try:
import crc32c
import google_crc32c

crc_obj = crc32c.Checksum()
crc_obj = google_crc32c.Checksum()
except ImportError:
try:
import crcmod
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -25,7 +25,7 @@

REQUIREMENTS = [
'six',
'google-crc32c >= 0.1.0, < 0.2dev; python_version>="3.5"',
'google-crc32c >= 1.0, < 2.0dev; python_version>="3.5"',
'crcmod >= 1.7; python_version=="2.7"',
]
EXTRAS_REQUIRE = {
Expand Down

0 comments on commit eaf9faa

Please sign in to comment.