diff --git a/tf_keras/__init__.py b/tf_keras/__init__.py index 8089f415f..6a0c9f604 100644 --- a/tf_keras/__init__.py +++ b/tf_keras/__init__.py @@ -35,6 +35,6 @@ from tensorflow.python import tf2 from tensorflow.python.util.tf_export import keras_export -__version__ = "2.19.0" +__version__ = "2.19.1" keras_export("keras.__version__").export_constant(__name__, "__version__") diff --git a/tf_keras/saving/saving_lib.py b/tf_keras/saving/saving_lib.py index cc27530d8..7eb84416a 100644 --- a/tf_keras/saving/saving_lib.py +++ b/tf_keras/saving/saving_lib.py @@ -639,7 +639,7 @@ def __init__(self, root_path, archive=None, mode="r"): self.f = archive.open(root_path, mode="r") else: self.f = open(root_path, mode="rb") - self.contents = np.load(self.f, allow_pickle=True) + self.contents = np.load(self.f, allow_pickle=False) def make(self, path): if not path: diff --git a/tf_keras/tools/pip_package/setup.py b/tf_keras/tools/pip_package/setup.py index ba45f86c0..876c17273 100644 --- a/tf_keras/tools/pip_package/setup.py +++ b/tf_keras/tools/pip_package/setup.py @@ -31,7 +31,7 @@ # This version string is semver compatible, but incompatible with pip. # For pip, we will remove all '-' characters from this string, and use the # result for pip. -_VERSION = "2.19.0" +_VERSION = "2.19.1" REQUIRED_PACKAGES = [ # We depend on TensorFlow's declared pip dependencies.