diff --git a/docs/lz4.rst b/docs/lz4.rst index f95ff269..be058f5a 100644 --- a/docs/lz4.rst +++ b/docs/lz4.rst @@ -12,6 +12,5 @@ Contents :members: library_version_number, library_version_string, - lz4version, version diff --git a/lz4/__init__.py b/lz4/__init__.py index 10eaff72..69da37eb 100644 --- a/lz4/__init__.py +++ b/lz4/__init__.py @@ -6,12 +6,3 @@ library_version_number, library_version_string, ) - -from deprecation import deprecated - -@deprecated(deprecated_in="0.14", removed_in="1.0", - # See https://github.com/briancurtin/deprecation/issues/9 - # current_version=__version__, - details="Use the lz4.library_version_number function instead") -def lz4version(): - return library_version_number() diff --git a/lz4/frame/__init__.py b/lz4/frame/__init__.py index fecfc6f8..28e8e45a 100644 --- a/lz4/frame/__init__.py +++ b/lz4/frame/__init__.py @@ -1,4 +1,3 @@ -import deprecation import lz4 import io import os @@ -285,20 +284,6 @@ def flush(self): self._started = False return result - @deprecation.deprecated(deprecated_in='0.23.1', removed_in='1.0', - current_version=lz4.__version__, - details='Use the LZ4FrameCompressor.flush() method' - 'instead') - def finalize(self): - """This function is identical to `LZ4FrameCompressor.flush()`. - - This is provided for backwards compatibility only. You should migrate - your code to use `LZ4FrameCompressor.flush()`. - - """ - result = self.flush() - return result - def reset(self): """Reset the `LZ4FrameCompressor` instance. diff --git a/setup.py b/setup.py index ac065d83..7dbc2331 100644 --- a/setup.py +++ b/setup.py @@ -123,9 +123,8 @@ include_dirs=include_dirs, ) -install_requires=[ - 'deprecation', -] +install_requires=[] + # On Python earlier than 3.0 the builtins package isn't included, but it is # provided by the future package if sys.version_info < (3, 0):