Sample
Resolve conflicting database URLs, relative script locations, and multi-directory version locations across alembic.ini, Config, and env.py
sha256:6f01a29e81f839aaecc5128881d0e2a6695cd1aa05578f73191e8fe32124ecb2
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- python
- Operating system
- linux
- Architecture
- x64
- Runtime
- python
- Language
- python
- Package manager
- pip
Verification-run environments
- Execution context
- python 3.12
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- python 3.12
- Language
- python
- Package manager
- pip
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17
Case
- Goal
- Resolve conflicting database URLs, relative script locations, and multi-directory version locations across alembic.ini, Config, and env.py HOW
- Packages
-
alembic 1.19.1
sqlalchemy 2.0.52
- Environment
- python
- Created
- 2026-08-17T03:54:00Z
Contract
- assert relative script_location resolves against cwd instead of ini file unless %(here)s is used
- assert legacy version_locations splits on spaces and fragments directory paths without version_path_separator=os
- assert connection passed to MigrationContext.configure silently takes precedence over url
- assert version_locations passed to EnvironmentContext.configure does not modify ScriptDirectory revisions
Files
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/resolution.py
- test/contract.py
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- python 3.12 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9