Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning about retrieval of remote schemas #6666

Open
achave11-ucsc opened this issue Oct 29, 2024 · 0 comments
Open

DeprecationWarning about retrieval of remote schemas #6666

achave11-ucsc opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
orange [process] Done by the Azul team

Comments

@achave11-ucsc
Copy link
Member

achave11-ucsc commented Oct 29, 2024

This started occurring after updating to version 0.7.1 of the openapi-spec-validator package.

  'Automatically retrieving remote references can be a security vulnerability and'
  ' is discouraged by the JSON Schema specifications. Relying on this behavior is'
  ' deprecated and will shortly become an error. If you are sure you want to '
  'remotely retrieve your reference and that it is safe to do so, you can find '
  'instructions for doing so via referencing.Registry in the referencing '
  'documentation (https://referencing.readthedocs.org).'
@achave11-ucsc achave11-ucsc added the orange [process] Done by the Azul team label Oct 29, 2024
@achave11-ucsc achave11-ucsc changed the title Deprecation warning for validate_spec DeprecationWarning for validate_spec in IT Oct 29, 2024
achave11-ucsc added a commit that referenced this issue Oct 29, 2024
@achave11-ucsc achave11-ucsc changed the title DeprecationWarning for validate_spec in IT DeprecationWarning regarding 'JSON Schema specifications` insucure code Oct 29, 2024
@achave11-ucsc achave11-ucsc changed the title DeprecationWarning regarding 'JSON Schema specifications` insucure code DeprecationWarning regarding JSON Schema insecure remote reference retrival Oct 29, 2024
@achave11-ucsc achave11-ucsc changed the title DeprecationWarning regarding JSON Schema insecure remote reference retrival DeprecationWarning about retrieval of remote JSON schemas Oct 30, 2024
@achave11-ucsc achave11-ucsc changed the title DeprecationWarning about retrieval of remote JSON schemas DeprecationWarning about retrieval of remote schemas Oct 30, 2024
achave11-ucsc added a commit that referenced this issue Nov 6, 2024
achave11-ucsc added a commit that referenced this issue Nov 12, 2024
achave11-ucsc added a commit that referenced this issue Nov 13, 2024
achave11-ucsc added a commit that referenced this issue Nov 13, 2024
dsotirho-ucsc added a commit that referenced this issue Nov 13, 2024
Resolves DeprecationWarning during schema validation:

Traceback (most recent call last):
  File "/Users/daniel/.pyenv/versions/3.12.6/lib/python3.12/unittest/suite.py", line 306, in _tearDownPreviousClass
    tearDownClass()
AssertionError: ["{message : DeprecationWarning('Automatically retrieving remote references can be a security vulnerability and is discouraged by the JSON Schema specifications. Relying on this behavior is deprecated and will shortly become an error. If you are sure you want to remotely retrieve your reference and that it is safe to do so, you can find instructions for doing so via referencing.Registry in the referencing documentation (https://referencing.readthedocs.org).'), category : 'DeprecationWarning', filename : '/Users/daniel/repo/azul1/.venv/lib/python3.12/site-packages/jsonschema/exceptions.py', lineno : 475, line : None}", ...]
dsotirho-ucsc added a commit that referenced this issue Nov 14, 2024
Resolves DeprecationWarning during schema validation:

Traceback (most recent call last):
  File "/Users/daniel/.pyenv/versions/3.12.6/lib/python3.12/unittest/suite.py", line 306, in _tearDownPreviousClass
    tearDownClass()
AssertionError: ["{message : DeprecationWarning('Automatically retrieving remote references can be a security vulnerability and is discouraged by the JSON Schema specifications. Relying on this behavior is deprecated and will shortly become an error. If you are sure you want to remotely retrieve your reference and that it is safe to do so, you can find instructions for doing so via referencing.Registry in the referencing documentation (https://referencing.readthedocs.org).'), category : 'DeprecationWarning', filename : '/Users/daniel/repo/azul1/.venv/lib/python3.12/site-packages/jsonschema/exceptions.py', lineno : 475, line : None}", ...]
achave11-ucsc added a commit that referenced this issue Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
orange [process] Done by the Azul team
Projects
None yet
Development

No branches or pull requests

2 participants