diff options
author | Tim Hall <tim.hall@arm.com> | 2023-09-29 12:04:57 +0100 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2023-11-16 12:48:26 +0000 |
commit | 6a7fd3d172d1e8787b023d90d331bd37aeedc956 (patch) | |
tree | 7b804ecb97ee068ea95cb9c5073512501af9ff44 /ethosu/vela | |
parent | 32cdbbbf609fe1aeaa941132f3282cfe6bd56010 (diff) | |
download | ethos-u-vela-6a7fd3d172d1e8787b023d90d331bd37aeedc956.tar.gz |
Vela: Update from using deprecated pkg_resources
- Changed deprecated method of getting package version info
- Updated pylint version to be Python 3.11 compatible
Change-Id: I68aae2155098c834653d404c78acf8df86eb88f8
Signed-off-by: Tim Hall <tim.hall@arm.com>
Diffstat (limited to 'ethosu/vela')
-rw-r--r-- | ethosu/vela/_version.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethosu/vela/_version.py b/ethosu/vela/_version.py index cc13395c..c78f8ddf 100644 --- a/ethosu/vela/_version.py +++ b/ethosu/vela/_version.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2020 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2020, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com> # # SPDX-License-Identifier: Apache-2.0 # @@ -13,6 +13,6 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import pkg_resources +from importlib.metadata import version -__version__ = pkg_resources.get_distribution("ethos-u-vela").version +__version__ = version("ethos-u-vela") |