bug: use Accept header to return other formats #5627
Annotations
4 errors and 10 warnings
Run tests:
tests/ui/test_signposting_ui.py#L17
test_link_in_landing_page_response_headers
werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
|
Run tests:
tests/ui/test_stats_ui.py#L34
test_record_view_events
assert 404 == 200
+ where 404 = <WrapperTestResponse streamed [404 NOT FOUND]>.status_code
|
Run tests:
tests/ui/test_stats_ui.py#L66
test_record_view_statistics
assert 404 == 200
+ where 404 = <WrapperTestResponse streamed [404 NOT FOUND]>.status_code
|
Run tests
Process completed with exit code 1.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_vocabularies/config.py#L15
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
Run tests:
opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
|
Loading