Skip to content

Commit d8e3cda

Browse files
committed
pyyaml strict requirement fix
1 parent 50d191a commit d8e3cda

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ isodate==0.6.0
22
dictpath==0.1.3
33
openapi-spec-validator==0.3.3
44
openapi-schema-validator==0.1.6
5-
PyYAML==5.3.1
65
six
76
lazy-object-proxy
87
attrs

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ install_requires =
3030
dictpath
3131
openapi-spec-validator < 0.4.0
3232
openapi-schema-validator < 0.2.0
33-
PyYAML < 6.0; python_version>="3.6"
3433
six
3534
lazy-object-proxy
3635
attrs

tests/integration/contrib/django/data/djangoproject/testapp/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TestView(APIView):
1717
def get(self, request, pk):
1818
with open(settings.OPENAPI_SPEC_PATH) as file:
1919
spec_yaml = file.read()
20-
spec_dict = yaml.load(spec_yaml)
20+
spec_dict = yaml.load(spec_yaml, yaml.FullLoader)
2121
spec = create_spec(spec_dict)
2222

2323
openapi_request = DjangoOpenAPIRequest(request)

0 commit comments

Comments
 (0)