Skip to content

Commit

Permalink
#77 update reqs (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
roefem committed Jun 15, 2022
1 parent fc99fc7 commit a2c46c0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Runtime requirements
--requirement requirements.txt

waitress==1.4.4
waitress==2.1.2
pyramid_debugtoolbar==4.9

#testing
pytest==6.1.2
pytest-cov==2.10.1
webtest==2.0.35
coveralls==2.2.0
pytest==7.1.2
pytest-cov==3.0.0
webtest==3.0.0
coveralls==3.3.1

# Wheel
wheel==0.36.1
wheel==0.37.1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyramid==1.10.5
PyYAML==5.3.1
pyramid==2.0
PyYAML==6.0
2 changes: 1 addition & 1 deletion urihandler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _load_configuration(path):
"""
log.debug("Loading uriregistry config from %s." % path)
f = open(path)
content = yaml.load(f.read())
content = yaml.safe_load(f.read())
log.debug(content)
f.close()
return content
Expand Down
3 changes: 2 additions & 1 deletion urihandler/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import base64
import hashlib

from pyramid.compat import native_, bytes_
from pyramid.renderers import render
from pyramid_debugtoolbar.compat import bytes_
from pyramid_debugtoolbar.compat import native_


def create_version_hash(uri_dict, request):
Expand Down

0 comments on commit a2c46c0

Please sign in to comment.