Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
import sys
import os

sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))
TESTS_DIR = os.path.dirname(__file__)
REPO_ROOT = os.path.abspath(os.path.join(TESTS_DIR, '..'))
SRC_DIR = os.path.join(REPO_ROOT, 'src')

sys.path.insert(0, REPO_ROOT)
sys.path.insert(0, SRC_DIR)
6 changes: 6 additions & 0 deletions v5_4/DeclarationPatcher.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Compatibility wrapper for legacy ``v5_4.DeclarationPatcher`` imports.

All public symbols are re-exported from ``v5_5.DeclarationPatcher``.
"""

from v5_5.DeclarationPatcher import *
6 changes: 6 additions & 0 deletions v5_4/MiscUtils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Compatibility wrapper for legacy ``v5_4.MiscUtils`` imports.

All public symbols are re-exported from ``v5_5.MiscUtils``.
"""

from v5_5.MiscUtils import *
6 changes: 6 additions & 0 deletions v5_4/OpenAPIParser.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Compatibility wrapper for legacy ``v5_4.OpenAPIParser`` imports.

All public symbols are re-exported from ``v5_5.OpenAPIParser``.
"""

from v5_5.OpenAPIParser import *
12 changes: 12 additions & 0 deletions v5_4/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Legacy import-compatibility package for historical ``v5_4`` modules.

The codebase now ships ``v5_5`` implementations. This package preserves
``import v5_4.*`` paths used by tests and older integrations by exposing
shim modules that re-export from ``v5_5``.
"""

__all__ = [
'DeclarationPatcher',
'MiscUtils',
'OpenAPIParser',
]
Loading