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

openapi library dependencies are no longer working together. #859

Open
Wim-De-Clercq opened this issue Jan 9, 2024 · 0 comments
Open

openapi library dependencies are no longer working together. #859

Wim-De-Clercq opened this issue Jan 9, 2024 · 0 comments
Assignees
Milestone

Comments

@Wim-De-Clercq
Copy link
Contributor

Wim-De-Clercq commented Jan 9, 2024

  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/pyramid/path.py", line 383, in _zope_dottedname_style
    found = __import__(used)
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/pyramid_openapi3/__init__.py", line 3, in <module>
    from .exceptions import extract_errors
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/pyramid_openapi3/exceptions.py", line 3, in <module>
    from openapi_core.schema.exceptions import OpenAPIError
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_core/__init__.py", line 3, in <module>
    from openapi_core.shortcuts import (
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_core/shortcuts.py", line 3, in <module>
    from openapi_core.schema.shortcuts import create_spec
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_core/schema/shortcuts.py", line 3, in <module>
    from openapi_spec_validator import (
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_spec_validator/__init__.py", line 8, in <module>
    from openapi_spec_validator.validators import SpecValidator
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_spec_validator/validators.py", line 5, in <module>
    from openapi_schema_validator import OAS30Validator, oas30_format_checker
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_schema_validator/__init__.py", line 3, in <module>
    from openapi_schema_validator.shortcuts import validate
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_schema_validator/shortcuts.py", line 3, in <module>
    from openapi_schema_validator.validators import OAS30Validator
  File "/home/wim/projects/wim/.venv/lib/python3.10/site-packages/openapi_schema_validator/validators.py", line 3, in <module>
    from jsonschema import _legacy_validators, _utils, _validators
ImportError: cannot import name '_legacy_validators' from 'jsonschema' (/home/wim/projects/wim/.venv/lib/python3.10/site-packages/jsonschema/__init__.py)

pyramid_openapi3 is getting a bit stale (8 months of no changes on master). We need to cap a lot of libraries in its dependency tree.
They (pyramid_openapi3 and any project from python-openapi github org) don't follow semantic versioning, so I'm limiting them to PATCH versions only. We can't trust MINOR version updates.

@Wim-De-Clercq Wim-De-Clercq added this to the Sprint 224 milestone Jan 9, 2024
@Wim-De-Clercq Wim-De-Clercq self-assigned this Jan 9, 2024
Wim-De-Clercq added a commit that referenced this issue Jan 9, 2024
Wim-De-Clercq added a commit that referenced this issue Jan 10, 2024
@cedrikv cedrikv modified the milestones: Sprint 224, Sprint 225 Jan 15, 2024
@cedrikv cedrikv modified the milestones: Sprint 225, Sprint 226 Jan 29, 2024
@cedrikv cedrikv modified the milestones: Sprint 226, Sprint 227 Feb 12, 2024
@cedrikv cedrikv modified the milestones: Sprint 227, Sprint 228 Feb 26, 2024
@cedrikv cedrikv modified the milestones: Sprint 229, Sprint 230 Mar 25, 2024
@cedrikv cedrikv modified the milestones: Sprint 230, Sprint 231 Apr 8, 2024
@cedrikv cedrikv modified the milestones: Sprint 231, Sprint 232 Apr 22, 2024
@cedrikv cedrikv modified the milestones: Sprint 232, Sprint 233 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants