Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeunier28 committed Jun 19, 2023
1 parent 53449c9 commit f298868
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ prometheus-client==0.16.0; python_version > '3.0'
protobuf==3.17.3; python_version < '3.0'
protobuf==3.20.2; python_version > '3.0'
psutil==5.9.0
psycopg-binary==3.1.9; python_version > '3.0'
psycopg[binary]==3.1.9; python_version > '3.0'
pyasn1==0.4.6
pycryptodomex==3.10.1
pydantic==1.10.8; python_version > '3.0'
Expand Down
4 changes: 2 additions & 2 deletions pgbouncer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "hatchling.build"
name = "datadog-pgbouncer"
description = "The PGBouncer check"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
keywords = [
"datadog",
"datadog agent",
Expand Down Expand Up @@ -39,7 +39,7 @@ license = "BSD-3-Clause"

[project.optional-dependencies]
deps = [
"psycopg-binary==3.1.9; python_version > '3.0'",
"psycopg[binary]==3.1.9; python_version > '3.0'",
]

[project.urls]
Expand Down
4 changes: 2 additions & 2 deletions postgres/datadog_checks/postgres/statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _emit_pg_stat_statements_dealloc(self):
PG_STAT_STATEMENTS_DEALLOC,
)
if rows:
dealloc = rows[0][0]
dealloc = rows[0]['count']
self._check.monotonic_count(
"postgresql.pg_stat_statements.dealloc",
dealloc,
Expand All @@ -383,7 +383,7 @@ def _emit_pg_stat_statements_metrics(self):
)
count = 0
if rows:
count = rows[0][0]
count = rows[0]['count']
self._check.gauge(
"postgresql.pg_stat_statements.max",
self._check.pg_settings.get("pg_stat_statements.max", 0),
Expand Down
2 changes: 1 addition & 1 deletion postgres/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ deps = [
"cachetools==3.1.1; python_version < '3.0'",
"cachetools==5.3.0; python_version > '3.0'",
"futures==3.4.0; python_version < '3.0'",
"psycopg-binary==3.1.9; python_version > '3.0'",
"psycopg[binary]==3.1.9; python_version > '3.0'",
"semver==2.13.0",
]

Expand Down

0 comments on commit f298868

Please sign in to comment.