Skip to content

Commit

Permalink
Drop unused importlib-metadata dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur committed Jan 13, 2025
1 parent c32b251 commit c969c05
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ flup,Vendor,BSD-3-Clause,Copyright (c) 2005 Allan Saddi. All Rights Reserved.
flup-py3,Vendor,BSD-3-Clause,"Copyright (c) 2005, 2006 Allan Saddi <allan@saddi.com> All rights reserved."
foundationdb,PyPI,Apache-2.0,Copyright 2017 FoundationDB
hazelcast-python-client,PyPI,Apache-2.0,"Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved."
importlib-metadata,PyPI,Apache-2.0,"Copyright 2017-2019 Jason R. Coombs, Barry Warsaw"
in-toto,PyPI,Apache-2.0,Copyright 2018 New York University
jellyfish,PyPI,MIT,Copyright (c) 2015 James Turk
kentik-snmp-profiles,"https://github.com/kentik/snmp-profiles",Apache-2.0,
Expand Down
1 change: 0 additions & 1 deletion agent_requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dnspython==2.6.1
duckdb==1.1.1
foundationdb==6.3.24
hazelcast-python-client==5.4.0
importlib-metadata==2.1.3; python_version < '3.8'
in-toto==2.0.0
jellyfish==1.1.0
kubernetes==30.1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# (C) Datadog, Inc. 2019-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import sys

if sys.version_info >= (3, 8):
from importlib.metadata import distributions
else:
from importlib_metadata import distributions
from importlib.metadata import distributions

DATADOG_CHECK_PREFIX = 'datadog-'

Expand Down
1 change: 0 additions & 1 deletion datadog_checks_base/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ deps = [
"cachetools==5.5.0",
"cryptography==43.0.1",
"ddtrace==2.10.6",
"importlib-metadata==2.1.3; python_version < '3.8'",
"jellyfish==1.1.0",
"prometheus-client==0.20.0",
"protobuf==5.27.3",
Expand Down

0 comments on commit c969c05

Please sign in to comment.