Skip to content

Migrate to oa-configurator 1.0 - #26

Draft
nicoloesch wants to merge 2 commits into
mainfrom
refactor-oa-config
Draft

Migrate to oa-configurator 1.0#26
nicoloesch wants to merge 2 commits into
mainfrom
refactor-oa-config

Conversation

@nicoloesch

Copy link
Copy Markdown
Collaborator

Depends on: oa-configurator. This PR should bump pyproject.toml's oa-configurator pin from ==0.1.2 to whatever the published 1.0 version is (currently a # TODO marker in the diff, deliberately left unbumped pending publish).

Summary

  • Migrate OrmLoaderConfig off the removed ResourceRef/ResourceSpec/test_resources shape: TEST_DB is now a plain ClassVar[str] naming the test database directly
  • TEST_DB built via with_test_prefix("orm_db") instead of the hand-typed literal "test_orm_db", matching the new shared-prefix convention (oa-configurator PR above).
  • tests/conftest.py: resolve_test_resourceresolve_test_database.
  • tests/loaders/test_pg_loader.py: @pytest.mark.requires_resource@pytest.mark.requires_database (17 call sites).
  • pyproject.toml: added # TODO: bump to >=1.0.0 once oa-configurator 1.0 is published markers on both the main and dev oa-configurator pins.

@nicoloesch nicoloesch added the breaking Incompatible API change. MAJOR: x+1.y.z label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Incompatible API change. MAJOR: x+1.y.z

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant