Skip to content

Commit

Permalink
Merge pull request #15 from spreaker/dependabot/pip/pyyaml-5.1
Browse files Browse the repository at this point in the history
Bump pyyaml from 3.12 to 5.1
  • Loading branch information
Esteban Sanchez authored Jul 10, 2020
2 parents 3967637 + 89f2319 commit 5496cde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prometheus_pgbouncer_exporter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def env_var_multi_replacer(loader, node):
# Read file
try:
stream = open(filepath, "r")
self.config = yaml.load(stream)
self.config = yaml.load(stream, Loader=yaml.FullLoader)

# Handle an empty configuration file
if not self.config:
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.7.3.2
prometheus_client==0.0.21
python-json-logger==0.1.5
pycodestyle
PyYAML==3.12
PyYAML==5.3.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
keywords = ['prometheus', 'pgbouncer'],
classifiers = [],
python_requires = ' >= 3',
install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'],
install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==5.3.1'],
entry_points = {
'console_scripts': [
'pgbouncer-exporter=prometheus_pgbouncer_exporter.cli:main',
Expand Down

0 comments on commit 5496cde

Please sign in to comment.