diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6567fdb..93046ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] - postgres-version: ['11', '12', '13', '14', '15'] + python-version: ['3.8', '3.11'] + postgres-version: ['13', '14', '15'] sqlalchemy-version: ['1.4', '2.0'] services: diff --git a/src/alembic_utils/__init__.py b/src/alembic_utils/__init__.py index fa3ddd8..af46754 100644 --- a/src/alembic_utils/__init__.py +++ b/src/alembic_utils/__init__.py @@ -1 +1 @@ -__version__ = "0.8.4" +__version__ = "0.8.5" diff --git a/src/alembic_utils/experimental/_collect_instances.py b/src/alembic_utils/experimental/_collect_instances.py index 0aef5d8..713f61b 100644 --- a/src/alembic_utils/experimental/_collect_instances.py +++ b/src/alembic_utils/experimental/_collect_instances.py @@ -24,10 +24,10 @@ def walk_modules(module: ModuleType) -> Generator[ModuleType, None, None]: # ... """ top_module = module - top_path = top_module.__path__[0] # type: ignore + top_path = Path(top_module.__path__[0]) directories = ( - walk_files(str(top_path)) + walk_files(str(top_path.resolve())) .filter(lambda x: x.endswith(".py")) .map(Path) .group_by(lambda x: x.parent)