Skip to content

Commit

Permalink
Merge pull request #40 from pulse-vadc/ndavidson/pyaml-5.4.1
Browse files Browse the repository at this point in the history
Bump pyyaml dependency from 5.3.1 to 5.4.1
  • Loading branch information
zakili authored May 19, 2022
2 parents 9f6c5b5 + 683879a commit ae86d15
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### 2.1.2 (2021-10-08)

- Upgraded dependencies
- `pyyaml` to 5.4.1 also changed fixed version to minimum version
constraint.

### 2.1.1 (2020-07-14)

- Upgraded dependencies
Expand Down
2 changes: 1 addition & 1 deletion prometheus_pgbouncer_exporter/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main():

# Init logger
logHandler = logging.FileHandler(args.log_file) if args.log_file is not "stdout" else logging.StreamHandler()
formatter = jsonlogger.JsonFormatter("(asctime) (levelname) (message)", datefmt="%Y-%m-%d %H:%M:%S")
formatter = jsonlogger.JsonFormatter("%(asctime)s %(levelname)s %(message)s`", datefmt="%Y-%m-%d %H:%M:%S")
logHandler.setFormatter(formatter)
logging.getLogger().addHandler(logHandler)
logging.getLogger().setLevel(args.log_level)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ psycopg2==2.8.5
prometheus_client==0.8.0
python-json-logger==0.1.11
pycodestyle
PyYAML==5.3.1
PyYAML>=5.4.1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
setup(
name = 'prometheus-pgbouncer-exporter',
packages = ['prometheus_pgbouncer_exporter'],
version = '2.1.1',
version = '2.1.2',
description = 'Prometheus exporter for PgBouncer',
long_description = long_description,
long_description_content_type = "text/markdown",
Expand All @@ -22,7 +22,7 @@
keywords = ['prometheus', 'pgbouncer'],
classifiers = [],
python_requires = ' >= 3',
install_requires = ['psycopg2 == 2.8.5', 'prometheus_client==0.8.0', 'python-json-logger==0.1.11', 'PyYAML==5.3.1'],
install_requires = ['psycopg2 == 2.8.5', 'prometheus_client==0.8.0', 'python-json-logger==0.1.11', 'PyYAML>=5.4.1'],
entry_points = {
'console_scripts': [
'pgbouncer-exporter=prometheus_pgbouncer_exporter.cli:main',
Expand Down

0 comments on commit ae86d15

Please sign in to comment.