Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow_addons/version.py: 100%
10 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 07:57 +0000
1# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ============================================================================
15"""Define TensorFlow Addons version information."""
17# Required TensorFlow version [min, max)
18INCLUSIVE_MIN_TF_VERSION = "2.13.0"
19EXCLUSIVE_MAX_TF_VERSION = "2.16.0"
21# We follow Semantic Versioning (https://semver.org/)
22_MAJOR_VERSION = "0"
23_MINOR_VERSION = "23"
24_PATCH_VERSION = "0"
26# When building releases, we can update this value on the release branch to
27# reflect the current release candidate ('rc0', 'rc1') or, finally, the official
28# stable release (indicated by `_VERSION_SUFFIX = ''`). Outside the context of a
29# release branch, the current version is by default assumed to be a
30# 'development' version, labeled 'dev'.
31_VERSION_SUFFIX = "dev"
33# Example, '0.1.0-dev'
34__version__ = ".".join([_MAJOR_VERSION, _MINOR_VERSION, _PATCH_VERSION])
35if _VERSION_SUFFIX:
36 __version__ = "{}-{}".format(__version__, _VERSION_SUFFIX)