ferro-orm 0.26.1__tar.gz → 0.28.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ferro_orm-0.28.0/.github/workflows/ci.yml +404 -0
- ferro_orm-0.28.0/.github/workflows/release.yml +394 -0
- ferro_orm-0.28.0/AGENTS.md +1072 -0
- ferro_orm-0.28.0/CHANGELOG.md +1921 -0
- ferro_orm-0.28.0/CONTRIBUTING.md +383 -0
- ferro_orm-0.28.0/Cargo.lock +2339 -0
- ferro_orm-0.28.0/Cargo.toml +58 -0
- ferro_orm-0.28.0/GLOSSARY.md +500 -0
- ferro_orm-0.28.0/PKG-INFO +95 -0
- ferro_orm-0.28.0/crates/ferro-ddl-lowering/src/lib.rs +9021 -0
- ferro_orm-0.28.0/crates/ferro-ddl-lowering/src/value_expr.rs +1811 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/directory.rs +2487 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/emit.rs +1014 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/backfill.rs +1395 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/columns.rs +934 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/compose.rs +1607 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/downs.rs +514 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/mod.rs +4854 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/rebuild.rs +1152 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/renames.rs +90 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/stages.rs +372 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/generate/staging.rs +405 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/lib.rs +858 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/plan.rs +6636 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/render.rs +950 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/revision.rs +766 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/revision_tests.rs +772 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan/step_class.rs +1590 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan.rs +6821 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/snapshot.rs +767 -0
- ferro_orm-0.28.0/crates/ferro-migrate/src/tests.rs +8579 -0
- ferro_orm-0.28.0/crates/ferro-schema-ir/src/lib.rs +2173 -0
- ferro_orm-0.28.0/docs/adr/0002-unified-column-fact-derivation.md +85 -0
- ferro_orm-0.28.0/docs/adr/0003-path-blind-db-type-validation.md +49 -0
- ferro_orm-0.28.0/docs/adr/0007-materialization-plan-complete-instances.md +55 -0
- ferro_orm-0.28.0/docs/adr/0008-populated-relations-include.md +76 -0
- ferro_orm-0.28.0/docs/adr/0015-table-check-body-drift.md +16 -0
- ferro_orm-0.28.0/docs/adr/0016-check-predicates-literals-only.md +13 -0
- ferro_orm-0.28.0/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +16 -0
- ferro_orm-0.28.0/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +42 -0
- ferro_orm-0.28.0/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +37 -0
- ferro_orm-0.28.0/docs/adr/0058-a-generated-columns-value-comes-only-from-the-database.md +28 -0
- ferro_orm-0.28.0/docs/adr/0059-value-expressions-are-lambdas-over-a-closed-function-table-under-value-parity.md +20 -0
- ferro_orm-0.28.0/docs/adr/0060-postgres-prints-both-sides-of-a-sql-body-ferro-compares.md +21 -0
- ferro_orm-0.28.0/docs/adr/0061-a-fields-database-options-live-in-its-metadata.md +34 -0
- ferro_orm-0.28.0/docs/adr/0062-a-relations-name-never-reaches-the-schema.md +41 -0
- ferro_orm-0.28.0/docs/adr/0063-an-instance-is-complete-or-unloaded.md +39 -0
- ferro_orm-0.28.0/docs/adr/0064-a-refusals-fix-is-a-list-of-edits.md +41 -0
- ferro_orm-0.28.0/docs/agents/domain.md +51 -0
- ferro_orm-0.28.0/docs/examples/_ledger_seed.py +109 -0
- ferro_orm-0.28.0/docs/examples/_preludes/connections.py +37 -0
- ferro_orm-0.28.0/docs/examples/_preludes/reference.py +51 -0
- ferro_orm-0.28.0/docs/examples/_preludes/upgrade.py +68 -0
- ferro_orm-0.28.0/docs/examples/aggregations.py +330 -0
- ferro_orm-0.28.0/docs/examples/aggregations_annotated.py +331 -0
- ferro_orm-0.28.0/docs/examples/faq.py +53 -0
- ferro_orm-0.28.0/docs/examples/faq_annotated.py +54 -0
- ferro_orm-0.28.0/docs/examples/from_sqlalchemy.py +108 -0
- ferro_orm-0.28.0/docs/examples/from_sqlalchemy_annotated.py +109 -0
- ferro_orm-0.28.0/docs/examples/generated_columns.py +144 -0
- ferro_orm-0.28.0/docs/examples/generated_columns_annotated.py +146 -0
- ferro_orm-0.28.0/docs/examples/inspecting_sql.py +112 -0
- ferro_orm-0.28.0/docs/examples/inspecting_sql_annotated.py +113 -0
- ferro_orm-0.28.0/docs/examples/loaded_relations.py +183 -0
- ferro_orm-0.28.0/docs/examples/migrations_rename_join_table.py +78 -0
- ferro_orm-0.28.0/docs/examples/migrations_rename_join_table_annotated.py +79 -0
- ferro_orm-0.28.0/docs/examples/models_and_fields.py +282 -0
- ferro_orm-0.28.0/docs/examples/models_and_fields_annotated.py +285 -0
- ferro_orm-0.28.0/docs/examples/predicates.py +382 -0
- ferro_orm-0.28.0/docs/examples/predicates_annotated.py +383 -0
- ferro_orm-0.28.0/docs/examples/quickstart.py +135 -0
- ferro_orm-0.28.0/docs/examples/quickstart_annotated.py +136 -0
- ferro_orm-0.28.0/docs/examples/relationships.py +272 -0
- ferro_orm-0.28.0/docs/examples/relationships_annotated.py +274 -0
- ferro_orm-0.28.0/docs/examples/testing_models.py +49 -0
- ferro_orm-0.28.0/docs/examples/testing_models_annotated.py +50 -0
- ferro_orm-0.28.0/docs/examples/traversal.py +325 -0
- ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys.py +117 -0
- ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys_annotated.py +118 -0
- ferro_orm-0.28.0/docs/pages/api/exceptions.md +116 -0
- ferro_orm-0.28.0/docs/pages/api/fields.md +24 -0
- ferro_orm-0.28.0/docs/pages/api/queries.md +90 -0
- ferro_orm-0.28.0/docs/pages/api/relationships.md +17 -0
- ferro_orm-0.28.0/docs/pages/concepts/architecture.md +222 -0
- ferro_orm-0.28.0/docs/pages/concepts/identity-map.md +224 -0
- ferro_orm-0.28.0/docs/pages/concepts/performance.md +162 -0
- ferro_orm-0.28.0/docs/pages/concepts/query-typing.md +152 -0
- ferro_orm-0.28.0/docs/pages/concepts/row-level-security.md +139 -0
- ferro_orm-0.28.0/docs/pages/faq.md +152 -0
- ferro_orm-0.28.0/docs/pages/getting-started/installation.md +88 -0
- ferro_orm-0.28.0/docs/pages/getting-started/quickstart.md +153 -0
- ferro_orm-0.28.0/docs/pages/guide/connections.md +376 -0
- ferro_orm-0.28.0/docs/pages/guide/inspecting-sql.md +175 -0
- ferro_orm-0.28.0/docs/pages/guide/models-and-fields.md +614 -0
- ferro_orm-0.28.0/docs/pages/guide/mutations.md +772 -0
- ferro_orm-0.28.0/docs/pages/guide/queries.md +1856 -0
- ferro_orm-0.28.0/docs/pages/guide/raw-sql.md +173 -0
- ferro_orm-0.28.0/docs/pages/guide/relationships.md +686 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/adopting-migrations.md +188 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/alembic.md +182 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/auto-migrate.md +242 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/data-steps.md +347 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/migrations.md +437 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/overview.md +83 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/renames-and-retirements.md +219 -0
- ferro_orm-0.28.0/docs/pages/guide/schema/testing.md +90 -0
- ferro_orm-0.28.0/docs/pages/howto/migrate-from-sqlalchemy.md +234 -0
- ferro_orm-0.28.0/docs/pages/howto/testing.md +170 -0
- ferro_orm-0.28.0/docs/pages/reference/migrations.md +161 -0
- ferro_orm-0.28.0/docs/pages/roadmap.md +117 -0
- ferro_orm-0.28.0/docs/pages/upgrading.md +1172 -0
- ferro_orm-0.28.0/docs/pages/why-ferro.md +90 -0
- ferro_orm-0.28.0/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +91 -0
- ferro_orm-0.28.0/docs/solutions/issues/docs-block-declaring-a-model.md +58 -0
- ferro_orm-0.28.0/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +71 -0
- ferro_orm-0.28.0/docs/solutions/issues/nested-serialization-skips-model-dump.md +44 -0
- ferro_orm-0.28.0/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +33 -0
- ferro_orm-0.28.0/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +72 -0
- ferro_orm-0.28.0/docs/solutions/issues/reference-prelude-holds-its-rows.md +50 -0
- ferro_orm-0.28.0/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +81 -0
- ferro_orm-0.28.0/docs/solutions/patterns/configurable-column-storage-types.md +193 -0
- ferro_orm-0.28.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +168 -0
- ferro_orm-0.28.0/docs/solutions/patterns/derived-type-and-naming-decision-table.md +170 -0
- ferro_orm-0.28.0/docs/solutions/patterns/docs-page-conventions.md +361 -0
- ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-columns.md +87 -0
- ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-index.md +60 -0
- ferro_orm-0.28.0/docs/solutions/patterns/index-unique-redundancy.md +60 -0
- ferro_orm-0.28.0/docs/solutions/patterns/ir-invariants.md +184 -0
- ferro_orm-0.28.0/docs/solutions/patterns/one-planner-and-live-facts.md +69 -0
- ferro_orm-0.28.0/docs/solutions/patterns/printed-pairs-drift.md +96 -0
- ferro_orm-0.28.0/docs/solutions/patterns/refusal-fixes.md +91 -0
- ferro_orm-0.28.0/docs/solutions/patterns/typed-null-binds.md +223 -0
- ferro_orm-0.28.0/docs/solutions/patterns/wire-scalar-canonicalization.md +71 -0
- ferro_orm-0.28.0/pyproject.toml +158 -0
- ferro_orm-0.28.0/scripts/demo_queries.py +276 -0
- ferro_orm-0.28.0/scripts/demo_queries_pre_v012.py +251 -0
- ferro_orm-0.28.0/src/backend.rs +1943 -0
- ferro_orm-0.28.0/src/codec.rs +502 -0
- ferro_orm-0.28.0/src/codec_plan.rs +629 -0
- ferro_orm-0.28.0/src/connection.rs +928 -0
- ferro_orm-0.28.0/src/ddl_exec.rs +1365 -0
- ferro_orm-0.28.0/src/errors.rs +1523 -0
- ferro_orm-0.28.0/src/ferro/__init__.py +673 -0
- ferro_orm-0.28.0/src/ferro/_annotation_eval.py +33 -0
- ferro_orm-0.28.0/src/ferro/_annotation_utils.py +298 -0
- ferro_orm-0.28.0/src/ferro/_bind_payload.py +454 -0
- ferro_orm-0.28.0/src/ferro/_core.pyi +984 -0
- ferro_orm-0.28.0/src/ferro/_unloaded.py +108 -0
- ferro_orm-0.28.0/src/ferro/base.py +386 -0
- ferro_orm-0.28.0/src/ferro/checks.py +809 -0
- ferro_orm-0.28.0/src/ferro/columns.py +904 -0
- ferro_orm-0.28.0/src/ferro/exceptions.py +215 -0
- ferro_orm-0.28.0/src/ferro/fields.py +1210 -0
- ferro_orm-0.28.0/src/ferro/fn.py +188 -0
- ferro_orm-0.28.0/src/ferro/generated.py +376 -0
- ferro_orm-0.28.0/src/ferro/ir/compiler.py +756 -0
- ferro_orm-0.28.0/src/ferro/metaclass.py +889 -0
- ferro_orm-0.28.0/src/ferro/migrations/_drift.py +600 -0
- ferro_orm-0.28.0/src/ferro/migrations/alembic.py +873 -0
- ferro_orm-0.28.0/src/ferro/migrations/generate.py +1329 -0
- ferro_orm-0.28.0/src/ferro/migrations/translate.py +479 -0
- ferro_orm-0.28.0/src/ferro/models.py +1407 -0
- ferro_orm-0.28.0/src/ferro/pass_report.py +164 -0
- ferro_orm-0.28.0/src/ferro/query/builder.py +2286 -0
- ferro_orm-0.28.0/src/ferro/query/nodes.py +1810 -0
- ferro_orm-0.28.0/src/ferro/query/wire.py +1294 -0
- ferro_orm-0.28.0/src/ferro/raw.py +322 -0
- ferro_orm-0.28.0/src/ferro/registry.py +648 -0
- ferro_orm-0.28.0/src/ferro/relations/__init__.py +2165 -0
- ferro_orm-0.28.0/src/ferro/relations/descriptors.py +158 -0
- ferro_orm-0.28.0/src/ferro/relations/fixes.py +141 -0
- ferro_orm-0.28.0/src/ferro/settings.py +1038 -0
- ferro_orm-0.28.0/src/ferro/state.py +265 -0
- ferro_orm-0.28.0/src/hydration.rs +651 -0
- ferro_orm-0.28.0/src/introspect.rs +1973 -0
- ferro_orm-0.28.0/src/lib.rs +255 -0
- ferro_orm-0.28.0/src/live_ir.rs +857 -0
- ferro_orm-0.28.0/src/migrate.rs +1633 -0
- ferro_orm-0.28.0/src/migrations_ffi.rs +1755 -0
- ferro_orm-0.28.0/src/naming_ffi.rs +438 -0
- ferro_orm-0.28.0/src/operations.rs +8754 -0
- ferro_orm-0.28.0/src/query.rs +2749 -0
- ferro_orm-0.28.0/src/run.rs +4172 -0
- ferro_orm-0.28.0/src/schema.rs +998 -0
- ferro_orm-0.28.0/src/session_settings.rs +2275 -0
- ferro_orm-0.28.0/src/sql_log.rs +629 -0
- ferro_orm-0.28.0/src/state.rs +1428 -0
- ferro_orm-0.28.0/tests/_casebook.py +351 -0
- ferro_orm-0.28.0/tests/_docs_checks.py +629 -0
- ferro_orm-0.28.0/tests/_docs_harness.py +520 -0
- ferro_orm-0.28.0/tests/_pass_harness.py +90 -0
- ferro_orm-0.28.0/tests/_pg_sequence.py +36 -0
- ferro_orm-0.28.0/tests/conftest.py +408 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.postgres.sql +3 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.sqlite.sql +3 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.postgres.sql +7 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.sqlite.sql +7 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/ir.json +108 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.postgres.sql +3 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.sqlite.sql +3 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.postgres.sql +7 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.sqlite.sql +7 -0
- ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/ir.json +108 -0
- ferro_orm-0.28.0/tests/fixtures/ir_vectors/README.md +79 -0
- ferro_orm-0.28.0/tests/fixtures/ir_vectors/schema_check_fn_v4.json +70 -0
- ferro_orm-0.28.0/tests/fixtures/ir_vectors/schema_generated_column_v4.json +76 -0
- ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.postgres.sql +5 -0
- ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.sqlite.sql +5 -0
- ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.postgres.sql +9 -0
- ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.sqlite.sql +9 -0
- ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/ir.json +116 -0
- ferro_orm-0.28.0/tests/fixtures/old_form_key_snapshots.json +326 -0
- ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_bigint_target.json +73 -0
- ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_snapshots.json +1656 -0
- ferro_orm-0.28.0/tests/static_fixtures/bad_constructor_keys.py +69 -0
- ferro_orm-0.28.0/tests/static_fixtures/bad_includes.py +37 -0
- ferro_orm-0.28.0/tests/static_fixtures/bad_predicates.py +47 -0
- ferro_orm-0.28.0/tests/static_fixtures/bad_projections.py +55 -0
- ferro_orm-0.28.0/tests/static_fixtures/bad_relation_assignment.py +26 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_constructor_keys.py +61 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_explicit_fk.py +36 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_includes.py +48 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_predicates.py +90 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_projections.py +111 -0
- ferro_orm-0.28.0/tests/static_fixtures/good_relation_assignment.py +30 -0
- ferro_orm-0.28.0/tests/test_after_position.py +252 -0
- ferro_orm-0.28.0/tests/test_alembic_autogenerate.py +257 -0
- ferro_orm-0.28.0/tests/test_alembic_bridge.py +349 -0
- ferro_orm-0.28.0/tests/test_alembic_db_type.py +159 -0
- ferro_orm-0.28.0/tests/test_alembic_enum_type_drop.py +866 -0
- ferro_orm-0.28.0/tests/test_alembic_generated_columns.py +218 -0
- ferro_orm-0.28.0/tests/test_alembic_nullability.py +253 -0
- ferro_orm-0.28.0/tests/test_alembic_render_execute.py +217 -0
- ferro_orm-0.28.0/tests/test_alembic_translator.py +1582 -0
- ferro_orm-0.28.0/tests/test_auto_migrate.py +4610 -0
- ferro_orm-0.28.0/tests/test_auto_migrate_generated_columns.py +787 -0
- ferro_orm-0.28.0/tests/test_before_position.py +244 -0
- ferro_orm-0.28.0/tests/test_bulk_install.py +142 -0
- ferro_orm-0.28.0/tests/test_bulk_update.py +387 -0
- ferro_orm-0.28.0/tests/test_catalog_cache.py +235 -0
- ferro_orm-0.28.0/tests/test_check_predicate_dialect.py +321 -0
- ferro_orm-0.28.0/tests/test_chunked_steps.py +803 -0
- ferro_orm-0.28.0/tests/test_cli_database_line.py +266 -0
- ferro_orm-0.28.0/tests/test_cli_init.py +733 -0
- ferro_orm-0.28.0/tests/test_cli_output_new_check.py +838 -0
- ferro_orm-0.28.0/tests/test_cli_output_run_verbs.py +815 -0
- ferro_orm-0.28.0/tests/test_cli_output_status_drift.py +746 -0
- ferro_orm-0.28.0/tests/test_column_specs.py +197 -0
- ferro_orm-0.28.0/tests/test_compiled_query.py +134 -0
- ferro_orm-0.28.0/tests/test_composite_index.py +736 -0
- ferro_orm-0.28.0/tests/test_composite_unique.py +507 -0
- ferro_orm-0.28.0/tests/test_connect_guard.py +419 -0
- ferro_orm-0.28.0/tests/test_connection.py +570 -0
- ferro_orm-0.28.0/tests/test_constraints.py +23 -0
- ferro_orm-0.28.0/tests/test_constructor_keys.py +353 -0
- ferro_orm-0.28.0/tests/test_cross_emitter_parity.py +2440 -0
- ferro_orm-0.28.0/tests/test_crud.py +151 -0
- ferro_orm-0.28.0/tests/test_data_steps.py +661 -0
- ferro_orm-0.28.0/tests/test_db_type_cross_emitter_parity.py +554 -0
- ferro_orm-0.28.0/tests/test_db_type_typing.py +48 -0
- ferro_orm-0.28.0/tests/test_db_type_validation.py +300 -0
- ferro_orm-0.28.0/tests/test_ddl_lock_timeout.py +623 -0
- ferro_orm-0.28.0/tests/test_ddl_unprepared.py +70 -0
- ferro_orm-0.28.0/tests/test_declaration_fixes.py +1161 -0
- ferro_orm-0.28.0/tests/test_deletion.py +59 -0
- ferro_orm-0.28.0/tests/test_docs_checks.py +877 -0
- ferro_orm-0.28.0/tests/test_docs_field_type_table.py +216 -0
- ferro_orm-0.28.0/tests/test_docs_lint.py +77 -0
- ferro_orm-0.28.0/tests/test_docs_migrations.py +1511 -0
- ferro_orm-0.28.0/tests/test_docs_site.py +930 -0
- ferro_orm-0.28.0/tests/test_docs_sql.py +420 -0
- ferro_orm-0.28.0/tests/test_docs_testing_fixtures.py +295 -0
- ferro_orm-0.28.0/tests/test_docs_twins.py +177 -0
- ferro_orm-0.28.0/tests/test_docstring_examples.py +253 -0
- ferro_orm-0.28.0/tests/test_exception_mapping.py +209 -0
- ferro_orm-0.28.0/tests/test_exceptions.py +132 -0
- ferro_orm-0.28.0/tests/test_explicit_fk_conversion.py +279 -0
- ferro_orm-0.28.0/tests/test_field_wrapper.py +466 -0
- ferro_orm-0.28.0/tests/test_fk_column_types.py +211 -0
- ferro_orm-0.28.0/tests/test_fk_target_column.py +170 -0
- ferro_orm-0.28.0/tests/test_fk_target_pk.py +30 -0
- ferro_orm-0.28.0/tests/test_foreign_key_columns.py +1088 -0
- ferro_orm-0.28.0/tests/test_generate_backfill.py +777 -0
- ferro_orm-0.28.0/tests/test_generate_check_functions.py +706 -0
- ferro_orm-0.28.0/tests/test_generate_columns.py +523 -0
- ferro_orm-0.28.0/tests/test_generate_generated_columns.py +667 -0
- ferro_orm-0.28.0/tests/test_generate_indexes.py +217 -0
- ferro_orm-0.28.0/tests/test_generate_postgres_staging.py +431 -0
- ferro_orm-0.28.0/tests/test_generate_primary_key_refusal.py +108 -0
- ferro_orm-0.28.0/tests/test_generate_renames.py +811 -0
- ferro_orm-0.28.0/tests/test_generate_retired.py +246 -0
- ferro_orm-0.28.0/tests/test_generate_sqlite_rebuild.py +909 -0
- ferro_orm-0.28.0/tests/test_generated_column_drift.py +572 -0
- ferro_orm-0.28.0/tests/test_generated_columns.py +480 -0
- ferro_orm-0.28.0/tests/test_generated_refusals.py +497 -0
- ferro_orm-0.28.0/tests/test_generation_counter_dirty_tracking.py +147 -0
- ferro_orm-0.28.0/tests/test_global_aggregates.py +384 -0
- ferro_orm-0.28.0/tests/test_grouped_aggregates.py +406 -0
- ferro_orm-0.28.0/tests/test_helpers.py +111 -0
- ferro_orm-0.28.0/tests/test_historical_models.py +311 -0
- ferro_orm-0.28.0/tests/test_hydration.py +344 -0
- ferro_orm-0.28.0/tests/test_hydration_equivalence.py +249 -0
- ferro_orm-0.28.0/tests/test_identity_memory.py +67 -0
- ferro_orm-0.28.0/tests/test_identity_refresh.py +63 -0
- ferro_orm-0.28.0/tests/test_identity_weakref.py +30 -0
- ferro_orm-0.28.0/tests/test_include.py +837 -0
- ferro_orm-0.28.0/tests/test_ir_vectors_contract.py +828 -0
- ferro_orm-0.28.0/tests/test_join_table_key_columns.py +238 -0
- ferro_orm-0.28.0/tests/test_json_field_hydration.py +216 -0
- ferro_orm-0.28.0/tests/test_label_addition.py +455 -0
- ferro_orm-0.28.0/tests/test_live_read.py +203 -0
- ferro_orm-0.28.0/tests/test_m2m_target_pk.py +138 -0
- ferro_orm-0.28.0/tests/test_many_to_many_key_types.py +269 -0
- ferro_orm-0.28.0/tests/test_many_to_many_through.py +710 -0
- ferro_orm-0.28.0/tests/test_migrate_check.py +312 -0
- ferro_orm-0.28.0/tests/test_migrate_defaults.py +421 -0
- ferro_orm-0.28.0/tests/test_migrate_drift.py +954 -0
- ferro_orm-0.28.0/tests/test_migrate_new.py +853 -0
- ferro_orm-0.28.0/tests/test_migrate_plan.py +1191 -0
- ferro_orm-0.28.0/tests/test_migrate_rerecord.py +560 -0
- ferro_orm-0.28.0/tests/test_migrate_squash.py +1378 -0
- ferro_orm-0.28.0/tests/test_migrate_status.py +418 -0
- ferro_orm-0.28.0/tests/test_migrations_api.py +416 -0
- ferro_orm-0.28.0/tests/test_migrations_testing_harness.py +580 -0
- ferro_orm-0.28.0/tests/test_model_declaration.py +148 -0
- ferro_orm-0.28.0/tests/test_model_identity.py +231 -0
- ferro_orm-0.28.0/tests/test_models.py +15 -0
- ferro_orm-0.28.0/tests/test_mutation_pagination_guard.py +107 -0
- ferro_orm-0.28.0/tests/test_naming_single_source.py +336 -0
- ferro_orm-0.28.0/tests/test_negation.py +218 -0
- ferro_orm-0.28.0/tests/test_offset_seconds_refused.py +249 -0
- ferro_orm-0.28.0/tests/test_one_to_one.py +68 -0
- ferro_orm-0.28.0/tests/test_order_by_nulls.py +225 -0
- ferro_orm-0.28.0/tests/test_order_by_nulls_wire.py +78 -0
- ferro_orm-0.28.0/tests/test_partial_selects.py +481 -0
- ferro_orm-0.28.0/tests/test_pass_report.py +148 -0
- ferro_orm-0.28.0/tests/test_position_paging_traversal.py +234 -0
- ferro_orm-0.28.0/tests/test_postgres_floor.py +122 -0
- ferro_orm-0.28.0/tests/test_postponed_annotations.py +727 -0
- ferro_orm-0.28.0/tests/test_primary_key_facts.py +61 -0
- ferro_orm-0.28.0/tests/test_provisional_import.py +233 -0
- ferro_orm-0.28.0/tests/test_query_builder.py +337 -0
- ferro_orm-0.28.0/tests/test_query_column_validation.py +220 -0
- ferro_orm-0.28.0/tests/test_query_exists.py +693 -0
- ferro_orm-0.28.0/tests/test_query_joins.py +1168 -0
- ferro_orm-0.28.0/tests/test_query_typing.py +183 -0
- ferro_orm-0.28.0/tests/test_query_wire_vectors.py +639 -0
- ferro_orm-0.28.0/tests/test_raw_sql.py +534 -0
- ferro_orm-0.28.0/tests/test_refresh.py +54 -0
- ferro_orm-0.28.0/tests/test_refused_model_leaves_nothing.py +143 -0
- ferro_orm-0.28.0/tests/test_registry_entrypoints.py +239 -0
- ferro_orm-0.28.0/tests/test_registry_owner.py +111 -0
- ferro_orm-0.28.0/tests/test_relation_assignment.py +468 -0
- ferro_orm-0.28.0/tests/test_relation_declaration_reading.py +78 -0
- ferro_orm-0.28.0/tests/test_relation_specs.py +311 -0
- ferro_orm-0.28.0/tests/test_relationship_engine.py +87 -0
- ferro_orm-0.28.0/tests/test_relationship_resolution_errors.py +49 -0
- ferro_orm-0.28.0/tests/test_removed_relation_declarations.py +228 -0
- ferro_orm-0.28.0/tests/test_rendered_statement.py +410 -0
- ferro_orm-0.28.0/tests/test_retired_columns.py +506 -0
- ferro_orm-0.28.0/tests/test_retired_labels.py +490 -0
- ferro_orm-0.28.0/tests/test_routing_errors.py +96 -0
- ferro_orm-0.28.0/tests/test_row_security_alembic.py +918 -0
- ferro_orm-0.28.0/tests/test_row_security_create_pass.py +975 -0
- ferro_orm-0.28.0/tests/test_row_security_rebuild.py +678 -0
- ferro_orm-0.28.0/tests/test_row_security_reconcile.py +757 -0
- ferro_orm-0.28.0/tests/test_save_column_order.py +322 -0
- ferro_orm-0.28.0/tests/test_save_semantics.py +894 -0
- ferro_orm-0.28.0/tests/test_schema.py +121 -0
- ferro_orm-0.28.0/tests/test_schema_constraints.py +273 -0
- ferro_orm-0.28.0/tests/test_schema_db_type_metadata.py +84 -0
- ferro_orm-0.28.0/tests/test_secret_fields.py +339 -0
- ferro_orm-0.28.0/tests/test_session.py +495 -0
- ferro_orm-0.28.0/tests/test_session_set_config.py +469 -0
- ferro_orm-0.28.0/tests/test_session_settings.py +477 -0
- ferro_orm-0.28.0/tests/test_session_settings_connection_delivery.py +674 -0
- ferro_orm-0.28.0/tests/test_session_settings_operations.py +641 -0
- ferro_orm-0.28.0/tests/test_settings.py +1343 -0
- ferro_orm-0.28.0/tests/test_snapshot_witness.py +280 -0
- ferro_orm-0.28.0/tests/test_statement_log.py +1043 -0
- ferro_orm-0.28.0/tests/test_static_contracts.py +513 -0
- ferro_orm-0.28.0/tests/test_step_class.py +478 -0
- ferro_orm-0.28.0/tests/test_storage_class_mismatch.py +283 -0
- ferro_orm-0.28.0/tests/test_structural_types.py +511 -0
- ferro_orm-0.28.0/tests/test_table_check_orphans.py +664 -0
- ferro_orm-0.28.0/tests/test_table_check_rebuild.py +773 -0
- ferro_orm-0.28.0/tests/test_table_check_reconcile.py +730 -0
- ferro_orm-0.28.0/tests/test_table_checks.py +639 -0
- ferro_orm-0.28.0/tests/test_transactions.py +465 -0
- ferro_orm-0.28.0/tests/test_traversed_projection.py +378 -0
- ferro_orm-0.28.0/tests/test_typed_null_binds.py +393 -0
- ferro_orm-0.28.0/tests/test_unloaded_instance.py +929 -0
- ferro_orm-0.28.0/tests/test_update_recipe.py +340 -0
- ferro_orm-0.28.0/tests/test_upgrading_explicit_foreign_keys.py +492 -0
- ferro_orm-0.28.0/tests/test_value_parity.py +876 -0
- ferro_orm-0.28.0/uv.lock +2815 -0
- ferro_orm-0.28.0/zensical.toml +325 -0
- ferro_orm-0.26.1/.github/workflows/ci.yml +0 -363
- ferro_orm-0.26.1/.github/workflows/release.yml +0 -393
- ferro_orm-0.26.1/AGENTS.md +0 -726
- ferro_orm-0.26.1/CHANGELOG.md +0 -1762
- ferro_orm-0.26.1/CONTRIBUTING.md +0 -383
- ferro_orm-0.26.1/Cargo.lock +0 -2331
- ferro_orm-0.26.1/Cargo.toml +0 -50
- ferro_orm-0.26.1/GLOSSARY.md +0 -456
- ferro_orm-0.26.1/PKG-INFO +0 -95
- ferro_orm-0.26.1/crates/ferro-ddl-lowering/src/lib.rs +0 -8510
- ferro_orm-0.26.1/crates/ferro-migrate/src/directory.rs +0 -2518
- ferro_orm-0.26.1/crates/ferro-migrate/src/emit.rs +0 -889
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/backfill.rs +0 -1506
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/columns.rs +0 -934
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/compose.rs +0 -1633
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/downs.rs +0 -514
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/mod.rs +0 -4846
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/rebuild.rs +0 -1115
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/renames.rs +0 -109
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/stages.rs +0 -359
- ferro_orm-0.26.1/crates/ferro-migrate/src/generate/staging.rs +0 -404
- ferro_orm-0.26.1/crates/ferro-migrate/src/lib.rs +0 -811
- ferro_orm-0.26.1/crates/ferro-migrate/src/plan.rs +0 -4959
- ferro_orm-0.26.1/crates/ferro-migrate/src/render.rs +0 -810
- ferro_orm-0.26.1/crates/ferro-migrate/src/revision.rs +0 -740
- ferro_orm-0.26.1/crates/ferro-migrate/src/revision_tests.rs +0 -774
- ferro_orm-0.26.1/crates/ferro-migrate/src/run_plan/step_class.rs +0 -1627
- ferro_orm-0.26.1/crates/ferro-migrate/src/run_plan.rs +0 -6830
- ferro_orm-0.26.1/crates/ferro-migrate/src/snapshot.rs +0 -698
- ferro_orm-0.26.1/crates/ferro-migrate/src/tests.rs +0 -6246
- ferro_orm-0.26.1/crates/ferro-schema-ir/src/lib.rs +0 -2100
- ferro_orm-0.26.1/docs/adr/0002-unified-column-fact-derivation.md +0 -83
- ferro_orm-0.26.1/docs/adr/0003-path-blind-db-type-validation.md +0 -47
- ferro_orm-0.26.1/docs/adr/0007-materialization-plan-complete-instances.md +0 -53
- ferro_orm-0.26.1/docs/adr/0008-populated-relations-include.md +0 -74
- ferro_orm-0.26.1/docs/adr/0015-table-check-body-drift.md +0 -14
- ferro_orm-0.26.1/docs/adr/0016-check-predicates-literals-only.md +0 -11
- ferro_orm-0.26.1/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +0 -14
- ferro_orm-0.26.1/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -38
- ferro_orm-0.26.1/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -35
- ferro_orm-0.26.1/docs/agents/domain.md +0 -51
- ferro_orm-0.26.1/docs/examples/_ledger_seed.py +0 -107
- ferro_orm-0.26.1/docs/examples/_preludes/connections.py +0 -35
- ferro_orm-0.26.1/docs/examples/_preludes/reference.py +0 -49
- ferro_orm-0.26.1/docs/examples/_preludes/upgrade.py +0 -53
- ferro_orm-0.26.1/docs/examples/aggregations.py +0 -328
- ferro_orm-0.26.1/docs/examples/aggregations_annotated.py +0 -328
- ferro_orm-0.26.1/docs/examples/faq.py +0 -52
- ferro_orm-0.26.1/docs/examples/faq_annotated.py +0 -52
- ferro_orm-0.26.1/docs/examples/from_sqlalchemy.py +0 -107
- ferro_orm-0.26.1/docs/examples/from_sqlalchemy_annotated.py +0 -107
- ferro_orm-0.26.1/docs/examples/models_and_fields.py +0 -271
- ferro_orm-0.26.1/docs/examples/models_and_fields_annotated.py +0 -274
- ferro_orm-0.26.1/docs/examples/populated_relations.py +0 -185
- ferro_orm-0.26.1/docs/examples/predicates.py +0 -372
- ferro_orm-0.26.1/docs/examples/predicates_annotated.py +0 -372
- ferro_orm-0.26.1/docs/examples/quickstart.py +0 -133
- ferro_orm-0.26.1/docs/examples/quickstart_annotated.py +0 -133
- ferro_orm-0.26.1/docs/examples/relationships.py +0 -209
- ferro_orm-0.26.1/docs/examples/relationships_annotated.py +0 -209
- ferro_orm-0.26.1/docs/examples/testing_models.py +0 -46
- ferro_orm-0.26.1/docs/examples/testing_models_annotated.py +0 -46
- ferro_orm-0.26.1/docs/examples/traversal.py +0 -325
- ferro_orm-0.26.1/docs/pages/api/exceptions.md +0 -112
- ferro_orm-0.26.1/docs/pages/api/fields.md +0 -22
- ferro_orm-0.26.1/docs/pages/api/queries.md +0 -90
- ferro_orm-0.26.1/docs/pages/api/relationships.md +0 -17
- ferro_orm-0.26.1/docs/pages/concepts/architecture.md +0 -222
- ferro_orm-0.26.1/docs/pages/concepts/identity-map.md +0 -169
- ferro_orm-0.26.1/docs/pages/concepts/performance.md +0 -162
- ferro_orm-0.26.1/docs/pages/concepts/query-typing.md +0 -152
- ferro_orm-0.26.1/docs/pages/concepts/row-level-security.md +0 -139
- ferro_orm-0.26.1/docs/pages/faq.md +0 -161
- ferro_orm-0.26.1/docs/pages/getting-started/installation.md +0 -87
- ferro_orm-0.26.1/docs/pages/getting-started/quickstart.md +0 -153
- ferro_orm-0.26.1/docs/pages/guide/connections.md +0 -376
- ferro_orm-0.26.1/docs/pages/guide/models-and-fields.md +0 -403
- ferro_orm-0.26.1/docs/pages/guide/mutations.md +0 -768
- ferro_orm-0.26.1/docs/pages/guide/queries.md +0 -1859
- ferro_orm-0.26.1/docs/pages/guide/raw-sql.md +0 -170
- ferro_orm-0.26.1/docs/pages/guide/relationships.md +0 -594
- ferro_orm-0.26.1/docs/pages/guide/schema/adopting-migrations.md +0 -188
- ferro_orm-0.26.1/docs/pages/guide/schema/alembic.md +0 -182
- ferro_orm-0.26.1/docs/pages/guide/schema/auto-migrate.md +0 -242
- ferro_orm-0.26.1/docs/pages/guide/schema/data-steps.md +0 -345
- ferro_orm-0.26.1/docs/pages/guide/schema/migrations.md +0 -437
- ferro_orm-0.26.1/docs/pages/guide/schema/overview.md +0 -83
- ferro_orm-0.26.1/docs/pages/guide/schema/renames-and-retirements.md +0 -186
- ferro_orm-0.26.1/docs/pages/guide/schema/testing.md +0 -90
- ferro_orm-0.26.1/docs/pages/howto/migrate-from-sqlalchemy.md +0 -234
- ferro_orm-0.26.1/docs/pages/howto/testing.md +0 -170
- ferro_orm-0.26.1/docs/pages/reference/migrations.md +0 -152
- ferro_orm-0.26.1/docs/pages/roadmap.md +0 -117
- ferro_orm-0.26.1/docs/pages/upgrading.md +0 -703
- ferro_orm-0.26.1/docs/pages/why-ferro.md +0 -90
- ferro_orm-0.26.1/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +0 -91
- ferro_orm-0.26.1/docs/solutions/issues/docs-block-declaring-a-model.md +0 -50
- ferro_orm-0.26.1/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +0 -64
- ferro_orm-0.26.1/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -33
- ferro_orm-0.26.1/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -69
- ferro_orm-0.26.1/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -81
- ferro_orm-0.26.1/docs/solutions/patterns/configurable-column-storage-types.md +0 -191
- ferro_orm-0.26.1/docs/solutions/patterns/cross-emitter-ddl-parity.md +0 -168
- ferro_orm-0.26.1/docs/solutions/patterns/derived-type-and-naming-decision-table.md +0 -170
- ferro_orm-0.26.1/docs/solutions/patterns/docs-page-conventions.md +0 -308
- ferro_orm-0.26.1/docs/solutions/patterns/foreign-key-index.md +0 -59
- ferro_orm-0.26.1/docs/solutions/patterns/index-unique-redundancy.md +0 -55
- ferro_orm-0.26.1/docs/solutions/patterns/ir-invariants.md +0 -182
- ferro_orm-0.26.1/docs/solutions/patterns/one-planner-and-live-facts.md +0 -69
- ferro_orm-0.26.1/docs/solutions/patterns/shadow-fk-columns.md +0 -65
- ferro_orm-0.26.1/docs/solutions/patterns/typed-null-binds.md +0 -216
- ferro_orm-0.26.1/docs/solutions/patterns/wire-scalar-canonicalization.md +0 -45
- ferro_orm-0.26.1/pyproject.toml +0 -152
- ferro_orm-0.26.1/scripts/demo_queries.py +0 -273
- ferro_orm-0.26.1/scripts/demo_queries_pre_v012.py +0 -252
- ferro_orm-0.26.1/src/backend.rs +0 -1890
- ferro_orm-0.26.1/src/codec.rs +0 -533
- ferro_orm-0.26.1/src/codec_plan.rs +0 -628
- ferro_orm-0.26.1/src/connection.rs +0 -853
- ferro_orm-0.26.1/src/ddl_exec.rs +0 -1360
- ferro_orm-0.26.1/src/errors.rs +0 -1233
- ferro_orm-0.26.1/src/ferro/__init__.py +0 -641
- ferro_orm-0.26.1/src/ferro/_annotation_utils.py +0 -290
- ferro_orm-0.26.1/src/ferro/_bind_payload.py +0 -364
- ferro_orm-0.26.1/src/ferro/_core.pyi +0 -921
- ferro_orm-0.26.1/src/ferro/_shadow_fk_types.py +0 -131
- ferro_orm-0.26.1/src/ferro/base.py +0 -367
- ferro_orm-0.26.1/src/ferro/checks.py +0 -650
- ferro_orm-0.26.1/src/ferro/columns.py +0 -879
- ferro_orm-0.26.1/src/ferro/exceptions.py +0 -167
- ferro_orm-0.26.1/src/ferro/fields.py +0 -739
- ferro_orm-0.26.1/src/ferro/ir/compiler.py +0 -706
- ferro_orm-0.26.1/src/ferro/metaclass.py +0 -939
- ferro_orm-0.26.1/src/ferro/migrations/_drift.py +0 -504
- ferro_orm-0.26.1/src/ferro/migrations/alembic.py +0 -763
- ferro_orm-0.26.1/src/ferro/migrations/generate.py +0 -1329
- ferro_orm-0.26.1/src/ferro/migrations/translate.py +0 -479
- ferro_orm-0.26.1/src/ferro/models.py +0 -1199
- ferro_orm-0.26.1/src/ferro/pass_report.py +0 -164
- ferro_orm-0.26.1/src/ferro/query/builder.py +0 -2183
- ferro_orm-0.26.1/src/ferro/query/nodes.py +0 -1675
- ferro_orm-0.26.1/src/ferro/query/wire.py +0 -1261
- ferro_orm-0.26.1/src/ferro/raw.py +0 -319
- ferro_orm-0.26.1/src/ferro/registry.py +0 -596
- ferro_orm-0.26.1/src/ferro/relations/__init__.py +0 -235
- ferro_orm-0.26.1/src/ferro/relations/descriptors.py +0 -120
- ferro_orm-0.26.1/src/ferro/settings.py +0 -1029
- ferro_orm-0.26.1/src/ferro/state.py +0 -246
- ferro_orm-0.26.1/src/hydration.rs +0 -449
- ferro_orm-0.26.1/src/introspect.rs +0 -1702
- ferro_orm-0.26.1/src/lib.rs +0 -243
- ferro_orm-0.26.1/src/live_ir.rs +0 -648
- ferro_orm-0.26.1/src/migrate.rs +0 -1590
- ferro_orm-0.26.1/src/migrations_ffi.rs +0 -1689
- ferro_orm-0.26.1/src/naming_ffi.rs +0 -290
- ferro_orm-0.26.1/src/operations.rs +0 -8970
- ferro_orm-0.26.1/src/query.rs +0 -2957
- ferro_orm-0.26.1/src/run.rs +0 -4172
- ferro_orm-0.26.1/src/schema.rs +0 -1012
- ferro_orm-0.26.1/src/session_settings.rs +0 -2307
- ferro_orm-0.26.1/src/sql_log.rs +0 -629
- ferro_orm-0.26.1/src/state.rs +0 -1370
- ferro_orm-0.26.1/tests/_casebook.py +0 -305
- ferro_orm-0.26.1/tests/_docs_checks.py +0 -244
- ferro_orm-0.26.1/tests/_docs_harness.py +0 -520
- ferro_orm-0.26.1/tests/_pass_harness.py +0 -90
- ferro_orm-0.26.1/tests/_pg_sequence.py +0 -36
- ferro_orm-0.26.1/tests/conftest.py +0 -385
- ferro_orm-0.26.1/tests/fixtures/ir_vectors/README.md +0 -67
- ferro_orm-0.26.1/tests/static_fixtures/bad_includes.py +0 -36
- ferro_orm-0.26.1/tests/static_fixtures/bad_predicates.py +0 -46
- ferro_orm-0.26.1/tests/static_fixtures/bad_projections.py +0 -55
- ferro_orm-0.26.1/tests/static_fixtures/good_includes.py +0 -44
- ferro_orm-0.26.1/tests/static_fixtures/good_predicates.py +0 -88
- ferro_orm-0.26.1/tests/static_fixtures/good_projections.py +0 -109
- ferro_orm-0.26.1/tests/test_after_position.py +0 -315
- ferro_orm-0.26.1/tests/test_alembic_autogenerate.py +0 -337
- ferro_orm-0.26.1/tests/test_alembic_bridge.py +0 -284
- ferro_orm-0.26.1/tests/test_alembic_db_type.py +0 -273
- ferro_orm-0.26.1/tests/test_alembic_enum_type_drop.py +0 -882
- ferro_orm-0.26.1/tests/test_alembic_nullability.py +0 -282
- ferro_orm-0.26.1/tests/test_alembic_render_execute.py +0 -217
- ferro_orm-0.26.1/tests/test_alembic_translator.py +0 -1593
- ferro_orm-0.26.1/tests/test_auto_migrate.py +0 -4893
- ferro_orm-0.26.1/tests/test_before_position.py +0 -315
- ferro_orm-0.26.1/tests/test_bulk_install.py +0 -160
- ferro_orm-0.26.1/tests/test_bulk_update.py +0 -387
- ferro_orm-0.26.1/tests/test_catalog_cache.py +0 -236
- ferro_orm-0.26.1/tests/test_check_predicate_dialect.py +0 -352
- ferro_orm-0.26.1/tests/test_chunked_steps.py +0 -804
- ferro_orm-0.26.1/tests/test_cli_database_line.py +0 -344
- ferro_orm-0.26.1/tests/test_cli_init.py +0 -744
- ferro_orm-0.26.1/tests/test_cli_output_new_check.py +0 -870
- ferro_orm-0.26.1/tests/test_cli_output_run_verbs.py +0 -838
- ferro_orm-0.26.1/tests/test_cli_output_status_drift.py +0 -817
- ferro_orm-0.26.1/tests/test_column_specs.py +0 -210
- ferro_orm-0.26.1/tests/test_compiled_query.py +0 -134
- ferro_orm-0.26.1/tests/test_composite_index.py +0 -799
- ferro_orm-0.26.1/tests/test_composite_unique.py +0 -564
- ferro_orm-0.26.1/tests/test_connect_guard.py +0 -390
- ferro_orm-0.26.1/tests/test_connection.py +0 -591
- ferro_orm-0.26.1/tests/test_constraints.py +0 -81
- ferro_orm-0.26.1/tests/test_cross_emitter_parity.py +0 -2244
- ferro_orm-0.26.1/tests/test_crud.py +0 -192
- ferro_orm-0.26.1/tests/test_data_steps.py +0 -662
- ferro_orm-0.26.1/tests/test_db_type_cross_emitter_parity.py +0 -554
- ferro_orm-0.26.1/tests/test_db_type_typing.py +0 -48
- ferro_orm-0.26.1/tests/test_db_type_validation.py +0 -454
- ferro_orm-0.26.1/tests/test_ddl_lock_timeout.py +0 -624
- ferro_orm-0.26.1/tests/test_ddl_unprepared.py +0 -71
- ferro_orm-0.26.1/tests/test_deletion.py +0 -87
- ferro_orm-0.26.1/tests/test_docs_checks.py +0 -238
- ferro_orm-0.26.1/tests/test_docs_field_type_table.py +0 -221
- ferro_orm-0.26.1/tests/test_docs_lint.py +0 -46
- ferro_orm-0.26.1/tests/test_docs_migrations.py +0 -1506
- ferro_orm-0.26.1/tests/test_docs_site.py +0 -944
- ferro_orm-0.26.1/tests/test_docs_sql.py +0 -405
- ferro_orm-0.26.1/tests/test_docs_testing_fixtures.py +0 -192
- ferro_orm-0.26.1/tests/test_docs_twins.py +0 -177
- ferro_orm-0.26.1/tests/test_docstring_examples.py +0 -253
- ferro_orm-0.26.1/tests/test_exception_mapping.py +0 -221
- ferro_orm-0.26.1/tests/test_exceptions.py +0 -124
- ferro_orm-0.26.1/tests/test_field_wrapper.py +0 -101
- ferro_orm-0.26.1/tests/test_fk_target_pk.py +0 -65
- ferro_orm-0.26.1/tests/test_generate_backfill.py +0 -773
- ferro_orm-0.26.1/tests/test_generate_columns.py +0 -644
- ferro_orm-0.26.1/tests/test_generate_indexes.py +0 -217
- ferro_orm-0.26.1/tests/test_generate_postgres_staging.py +0 -434
- ferro_orm-0.26.1/tests/test_generate_primary_key_refusal.py +0 -108
- ferro_orm-0.26.1/tests/test_generate_renames.py +0 -649
- ferro_orm-0.26.1/tests/test_generate_retired.py +0 -243
- ferro_orm-0.26.1/tests/test_generate_sqlite_rebuild.py +0 -917
- ferro_orm-0.26.1/tests/test_generation_counter_dirty_tracking.py +0 -150
- ferro_orm-0.26.1/tests/test_global_aggregates.py +0 -384
- ferro_orm-0.26.1/tests/test_grouped_aggregates.py +0 -408
- ferro_orm-0.26.1/tests/test_helpers.py +0 -131
- ferro_orm-0.26.1/tests/test_historical_models.py +0 -311
- ferro_orm-0.26.1/tests/test_hydration.py +0 -237
- ferro_orm-0.26.1/tests/test_hydration_equivalence.py +0 -271
- ferro_orm-0.26.1/tests/test_identity_memory.py +0 -80
- ferro_orm-0.26.1/tests/test_identity_refresh.py +0 -79
- ferro_orm-0.26.1/tests/test_identity_weakref.py +0 -37
- ferro_orm-0.26.1/tests/test_include.py +0 -831
- ferro_orm-0.26.1/tests/test_ir_vectors_contract.py +0 -810
- ferro_orm-0.26.1/tests/test_label_addition.py +0 -455
- ferro_orm-0.26.1/tests/test_live_read.py +0 -160
- ferro_orm-0.26.1/tests/test_metaclass_internals.py +0 -386
- ferro_orm-0.26.1/tests/test_migrate_check.py +0 -339
- ferro_orm-0.26.1/tests/test_migrate_defaults.py +0 -439
- ferro_orm-0.26.1/tests/test_migrate_drift.py +0 -918
- ferro_orm-0.26.1/tests/test_migrate_new.py +0 -868
- ferro_orm-0.26.1/tests/test_migrate_plan.py +0 -1183
- ferro_orm-0.26.1/tests/test_migrate_rerecord.py +0 -571
- ferro_orm-0.26.1/tests/test_migrate_squash.py +0 -1388
- ferro_orm-0.26.1/tests/test_migrate_status.py +0 -454
- ferro_orm-0.26.1/tests/test_migrations_api.py +0 -429
- ferro_orm-0.26.1/tests/test_migrations_testing_harness.py +0 -580
- ferro_orm-0.26.1/tests/test_model_identity.py +0 -228
- ferro_orm-0.26.1/tests/test_models.py +0 -47
- ferro_orm-0.26.1/tests/test_mutation_pagination_guard.py +0 -123
- ferro_orm-0.26.1/tests/test_naming_single_source.py +0 -332
- ferro_orm-0.26.1/tests/test_negation.py +0 -219
- ferro_orm-0.26.1/tests/test_one_to_one.py +0 -135
- ferro_orm-0.26.1/tests/test_order_by_nulls.py +0 -224
- ferro_orm-0.26.1/tests/test_order_by_nulls_wire.py +0 -125
- ferro_orm-0.26.1/tests/test_partial_selects.py +0 -478
- ferro_orm-0.26.1/tests/test_pass_report.py +0 -201
- ferro_orm-0.26.1/tests/test_position_paging_traversal.py +0 -291
- ferro_orm-0.26.1/tests/test_primary_key_facts.py +0 -77
- ferro_orm-0.26.1/tests/test_provisional_import.py +0 -232
- ferro_orm-0.26.1/tests/test_query_builder.py +0 -410
- ferro_orm-0.26.1/tests/test_query_column_validation.py +0 -282
- ferro_orm-0.26.1/tests/test_query_exists.py +0 -707
- ferro_orm-0.26.1/tests/test_query_joins.py +0 -1185
- ferro_orm-0.26.1/tests/test_query_typing.py +0 -215
- ferro_orm-0.26.1/tests/test_query_wire_vectors.py +0 -645
- ferro_orm-0.26.1/tests/test_raw_sql.py +0 -530
- ferro_orm-0.26.1/tests/test_refresh.py +0 -53
- ferro_orm-0.26.1/tests/test_registry_entrypoints.py +0 -291
- ferro_orm-0.26.1/tests/test_registry_owner.py +0 -119
- ferro_orm-0.26.1/tests/test_relation_specs.py +0 -175
- ferro_orm-0.26.1/tests/test_relationship_engine.py +0 -323
- ferro_orm-0.26.1/tests/test_relationship_resolution_errors.py +0 -51
- ferro_orm-0.26.1/tests/test_rendered_statement.py +0 -408
- ferro_orm-0.26.1/tests/test_retired_columns.py +0 -528
- ferro_orm-0.26.1/tests/test_retired_labels.py +0 -518
- ferro_orm-0.26.1/tests/test_routing_errors.py +0 -103
- ferro_orm-0.26.1/tests/test_row_security_alembic.py +0 -1017
- ferro_orm-0.26.1/tests/test_row_security_create_pass.py +0 -1082
- ferro_orm-0.26.1/tests/test_row_security_rebuild.py +0 -784
- ferro_orm-0.26.1/tests/test_row_security_reconcile.py +0 -871
- ferro_orm-0.26.1/tests/test_save_column_order.py +0 -259
- ferro_orm-0.26.1/tests/test_save_semantics.py +0 -913
- ferro_orm-0.26.1/tests/test_schema.py +0 -122
- ferro_orm-0.26.1/tests/test_schema_constraints.py +0 -273
- ferro_orm-0.26.1/tests/test_schema_db_type_metadata.py +0 -84
- ferro_orm-0.26.1/tests/test_secret_fields.py +0 -338
- ferro_orm-0.26.1/tests/test_session.py +0 -549
- ferro_orm-0.26.1/tests/test_session_set_config.py +0 -479
- ferro_orm-0.26.1/tests/test_session_settings.py +0 -504
- ferro_orm-0.26.1/tests/test_session_settings_connection_delivery.py +0 -680
- ferro_orm-0.26.1/tests/test_session_settings_operations.py +0 -664
- ferro_orm-0.26.1/tests/test_settings.py +0 -1293
- ferro_orm-0.26.1/tests/test_shadow_fk_types.py +0 -260
- ferro_orm-0.26.1/tests/test_snapshot_witness.py +0 -280
- ferro_orm-0.26.1/tests/test_statement_log.py +0 -1041
- ferro_orm-0.26.1/tests/test_static_contracts.py +0 -362
- ferro_orm-0.26.1/tests/test_step_class.py +0 -490
- ferro_orm-0.26.1/tests/test_structural_types.py +0 -514
- ferro_orm-0.26.1/tests/test_table_check_orphans.py +0 -684
- ferro_orm-0.26.1/tests/test_table_check_rebuild.py +0 -801
- ferro_orm-0.26.1/tests/test_table_check_reconcile.py +0 -766
- ferro_orm-0.26.1/tests/test_table_checks.py +0 -638
- ferro_orm-0.26.1/tests/test_transactions.py +0 -502
- ferro_orm-0.26.1/tests/test_traversed_projection.py +0 -428
- ferro_orm-0.26.1/tests/test_typed_null_binds.py +0 -416
- ferro_orm-0.26.1/tests/test_update_recipe.py +0 -339
- ferro_orm-0.26.1/uv.lock +0 -2816
- ferro_orm-0.26.1/zensical.toml +0 -324
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PERMISSIONS.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PYPI_CHECKLIST.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PYPI_SETUP.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/generated/wheels.generated.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/pull_request_template.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/packaging-smoke.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/publish-docs.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/publish.yml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.gitignore +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.pre-commit-config.yaml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.python-version +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/LICENSE +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/__main__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/baselines/postgres.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/baselines/sqlite.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/compare.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/model.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/run.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/context7.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/src/order.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0006-relation-traversal-inner-joins.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0011-label-addition-update-gated-append-only.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0017-omitted-nulls-means-last.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0018-position-paging.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0035-a-data-step-declares-its-shape-and-an-unwritten-one-is-a-todo.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0037-step-numbers-are-shared-across-dialects-and-a-skipped-backfill-is-a-guard.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0039-config-is-ferro-toml-or-pyproject-and-is-read-through-ferrosettings.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0040-a-migration-is-applied-whole-and-staging-is-the-editing-cadence.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0043-foreign-keys-and-checks-on-an-existing-postgres-table-are-staged.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0044-indexes-on-an-existing-postgres-table-are-built-concurrently-and-ddl-waits-for-locks-under-a-timeout.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0046-a-sqlite-table-rebuild-sits-in-its-phase-step-and-a-table-is-copied-once-per-phase.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0048-a-run-is-a-rust-object-holding-the-lock-the-directory-and-the-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0050-a-plans-two-sides-are-adapters-and-a-down-is-the-ups-artifacts-planned-back.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0051-every-door-plans-a-redefined-index-and-a-removed-foreign-key.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0052-plan-reports-are-typed-and-the-generator-refuses-what-no-op-answers.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0056-a-squash-is-planned-across-snapshots-and-a-database-that-ran-the-originals-adopts-it.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0057-sql-is-seen-through-the-statement-log-and-a-terminals-sql.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/agents/issue-tracker.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/agents/triage-labels.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/architecture-review-2026-07-08.html +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-28-ir-p8.5-141-single-schema-ir-producer-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-165-blob-introspection-false-positive-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_migrations_project.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/auto_migrate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/concepts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/invoices.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/jwt_claims.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/label_addition.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/queries.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/raw_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/auto_migrate_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/concepts.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/concepts_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/enum_labels.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/enum_labels_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/existence_tests.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migration_errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_adopting.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_backfill.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_backfill_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_rename.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_rename_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_squash.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_squash_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_testing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_testing_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/multiple_databases.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/multiple_databases_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/mutations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/mutations_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/pagination.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/pagination_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/partial_selects.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/raw_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/raw_sql_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/readme_quickstart.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/readme_quickstart_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/row_level_security.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/row_level_security_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/soft_deletes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/soft_deletes_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/table_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/table_checks_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/testing_conftest.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/testing_conftest_postgres.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/timestamps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/timestamps_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/transactions.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/transactions_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_account.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_account_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_foreign_default.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_keep.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_keep_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key_annotated.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/includes/abbreviations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/includes/field-types.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/connection.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/migrations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/model.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/raw-sql.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/transactions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/changelog.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/concepts/backends.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/concepts/type-safety.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/contributing.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/aggregations.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/row-level-security.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/schema/deploying.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/schema/squash.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/transactions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/multiple-databases.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/pagination.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/soft-deletes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/timestamps.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/index.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/cli.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/configuration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/row-level-security.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/stylesheets/extra.css +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-001-feat-ir-p8.5-140-shared-lowering-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-002-feat-ir-p8.5-143-db-type-drop-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-003-feat-ir-p8.5-144-reconcile-indexes-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-28-001-feat-ir-p8.5-141-single-schema-ir-producer-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-29-001-refactor-ir-p8.6-153-create-path-unification-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-29-002-refactor-ir-p8.6-146-dialect-enum-unification-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-30-001-refactor-ir-p8.6-158-check-renderer-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-30-002-fix-ir-p8.6-155-deferred-annotations-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-001-feat-ir-p8.6-162-typed-save-bind-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-002-fix-ir-p8.6-154-datetime-tz-coarseness-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-003-fix-ir-p8.6-165-blob-introspection-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/ir-first-migration-guide.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/ir-first-release-checklist.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/migration-cli-config-prior-art.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/migration-prior-art.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/sqlx-migrate-internals.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/rfc/ir-contracts-v1.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/README.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/docstring-conventions.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/persistence-state.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/position-paging-after.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/justfile +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/_deprecations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/_sql_log.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/exit_codes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/migrate.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/output.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/composite_indexes.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/composite_uniques.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/ir/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/_baseline.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/_chunk_loop.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/context.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/errors.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/historical.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/layout.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/report.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/rerecord.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/runner.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/scaffold.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/steps.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/target.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/testing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/py.typed +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/rendered.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/rows.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/rowsecurity.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/session.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/schema_bind.rs +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/__init__.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_alembic_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_shared.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_sql.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_twins.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/db_backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/bad_updates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/good_migrations_api.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/good_updates.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_aggregation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_alembic_type_mapping.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_alembic_typing.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_annotation_utils.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_bulk_create_chunking.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_cli_help.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_codec_plan.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_connection_redaction.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_db_backends.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_db_type_integration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_deprecations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_cli_reference.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_examples.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_harness.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_output.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_shared.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_documentation_features.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_enum_cold_hydration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_enum_removal.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_enums.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_row_security.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_identity_scoped_invalidation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_import_budget.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_isolated_imports.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_live_table_checks.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_metadata.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_baseline.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_down.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_inherit.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_replace.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_up.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_named_connections_integration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_operation_seam_sync.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_postgres_isolation.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_query_immutability.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_registry_swap.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_rls_end_to_end.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_route_single_site.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_row_security_orphans.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_run_lock.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_save_pk_edges.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_schema_enum_annotations.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_sqlite_alembic_reconnect_hydration.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_statement_log_run.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_string_search.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_temporal_types.py +0 -0
- {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_typed_save_bind.py +0 -0
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
pull_request:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: ci-${{ github.workflow }}-${{ github.ref }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
env:
|
|
18
|
+
# Every job compiles Ferro's own crates from scratch (rust-cache keeps only
|
|
19
|
+
# dependencies): 2.5 to 4 minutes a job. sccache keys each rustc call by its
|
|
20
|
+
# inputs and stores the object in the Actions cache, so an unchanged crate is
|
|
21
|
+
# a download. Incremental compilation is off because sccache cannot cache it.
|
|
22
|
+
SCCACHE_GHA_ENABLED: "true"
|
|
23
|
+
RUSTC_WRAPPER: sccache
|
|
24
|
+
CARGO_INCREMENTAL: "0"
|
|
25
|
+
|
|
26
|
+
jobs:
|
|
27
|
+
lint-and-format:
|
|
28
|
+
name: Lint & Format (Pre-commit / Prek)
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
steps:
|
|
31
|
+
- name: Checkout repository
|
|
32
|
+
uses: actions/checkout@v4
|
|
33
|
+
|
|
34
|
+
- name: Set up Python
|
|
35
|
+
uses: actions/setup-python@v5
|
|
36
|
+
with:
|
|
37
|
+
python-version: '3.13'
|
|
38
|
+
|
|
39
|
+
- name: Install UV
|
|
40
|
+
uses: astral-sh/setup-uv@v5
|
|
41
|
+
with:
|
|
42
|
+
enable-cache: true
|
|
43
|
+
|
|
44
|
+
- name: Set up Rust
|
|
45
|
+
uses: dtolnay/rust-toolchain@stable
|
|
46
|
+
with:
|
|
47
|
+
components: rustfmt, clippy
|
|
48
|
+
|
|
49
|
+
- name: Cache compiled Rust crates
|
|
50
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
51
|
+
|
|
52
|
+
- name: Cache Rust build
|
|
53
|
+
uses: Swatinem/rust-cache@v2
|
|
54
|
+
with:
|
|
55
|
+
prefix-key: v1
|
|
56
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
57
|
+
cache-on-failure: true
|
|
58
|
+
|
|
59
|
+
- name: Cache pre-commit hook environments
|
|
60
|
+
uses: actions/cache@v4
|
|
61
|
+
with:
|
|
62
|
+
path: |
|
|
63
|
+
~/.cache/pre-commit
|
|
64
|
+
~/.cache/prek
|
|
65
|
+
key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
|
|
66
|
+
|
|
67
|
+
- name: Install dependencies
|
|
68
|
+
run: |
|
|
69
|
+
uv sync --only-group ci-lint --no-install-project --python 3.13
|
|
70
|
+
|
|
71
|
+
- name: Run all pre-commit hooks
|
|
72
|
+
run: |
|
|
73
|
+
uv run --no-sync --python 3.13 prek run --all-files
|
|
74
|
+
|
|
75
|
+
docs:
|
|
76
|
+
name: Docs build
|
|
77
|
+
runs-on: ubuntu-latest
|
|
78
|
+
steps:
|
|
79
|
+
- name: Checkout repository
|
|
80
|
+
uses: actions/checkout@v4
|
|
81
|
+
|
|
82
|
+
- name: Set up Python
|
|
83
|
+
uses: actions/setup-python@v5
|
|
84
|
+
with:
|
|
85
|
+
python-version: '3.13'
|
|
86
|
+
|
|
87
|
+
- name: Install UV
|
|
88
|
+
uses: astral-sh/setup-uv@v5
|
|
89
|
+
with:
|
|
90
|
+
enable-cache: true
|
|
91
|
+
|
|
92
|
+
- name: Set up Rust
|
|
93
|
+
uses: dtolnay/rust-toolchain@stable
|
|
94
|
+
|
|
95
|
+
- name: Cache compiled Rust crates
|
|
96
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
97
|
+
|
|
98
|
+
- name: Cache Rust build
|
|
99
|
+
uses: Swatinem/rust-cache@v2
|
|
100
|
+
with:
|
|
101
|
+
prefix-key: v1
|
|
102
|
+
shared-key: maturin-develop-py3.13
|
|
103
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
104
|
+
cache-on-failure: true
|
|
105
|
+
|
|
106
|
+
- name: Install documentation and test dependencies
|
|
107
|
+
run: |
|
|
108
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
|
|
109
|
+
|
|
110
|
+
- name: Build Rust extension
|
|
111
|
+
run: |
|
|
112
|
+
uv run maturin develop
|
|
113
|
+
|
|
114
|
+
- name: Build Zensical site
|
|
115
|
+
run: |
|
|
116
|
+
uv run --no-sync zensical build --clean --strict
|
|
117
|
+
|
|
118
|
+
- name: Run the docs lint
|
|
119
|
+
run: |
|
|
120
|
+
uv run --no-sync python -m tests._docs_checks docs/pages docs/examples src/ferro
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
test-rust:
|
|
124
|
+
name: Rust tests
|
|
125
|
+
runs-on: ubuntu-latest
|
|
126
|
+
steps:
|
|
127
|
+
- name: Checkout repository
|
|
128
|
+
uses: actions/checkout@v4
|
|
129
|
+
|
|
130
|
+
- name: Set up Rust
|
|
131
|
+
uses: dtolnay/rust-toolchain@stable
|
|
132
|
+
|
|
133
|
+
- name: Set up Python
|
|
134
|
+
uses: actions/setup-python@v5
|
|
135
|
+
with:
|
|
136
|
+
python-version: "3.13"
|
|
137
|
+
|
|
138
|
+
- name: Cache compiled Rust crates
|
|
139
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
140
|
+
|
|
141
|
+
- name: Cache Rust build
|
|
142
|
+
uses: Swatinem/rust-cache@v2
|
|
143
|
+
with:
|
|
144
|
+
prefix-key: v2
|
|
145
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
146
|
+
cache-on-failure: true
|
|
147
|
+
|
|
148
|
+
- name: Run Rust tests
|
|
149
|
+
env:
|
|
150
|
+
PYO3_PYTHON: ${{ env.pythonLocation }}/bin/python
|
|
151
|
+
run: |
|
|
152
|
+
# extension-module skips libpython linking; disable it for tests so the
|
|
153
|
+
# cargo test binary can resolve Python symbols against the installed runtime.
|
|
154
|
+
# The `testing` feature pulls in pyo3/auto-initialize so unit tests that
|
|
155
|
+
# call Python::attach start the interpreter automatically.
|
|
156
|
+
cargo test --no-default-features --features testing
|
|
157
|
+
|
|
158
|
+
test-python-pr:
|
|
159
|
+
name: Python tests (PR / 3.13)
|
|
160
|
+
runs-on: ubuntu-latest
|
|
161
|
+
if: github.event_name == 'pull_request'
|
|
162
|
+
steps:
|
|
163
|
+
- name: Checkout repository
|
|
164
|
+
uses: actions/checkout@v4
|
|
165
|
+
|
|
166
|
+
- name: Set up Python
|
|
167
|
+
uses: actions/setup-python@v5
|
|
168
|
+
with:
|
|
169
|
+
python-version: '3.13'
|
|
170
|
+
|
|
171
|
+
- name: Install UV
|
|
172
|
+
uses: astral-sh/setup-uv@v5
|
|
173
|
+
with:
|
|
174
|
+
enable-cache: true
|
|
175
|
+
|
|
176
|
+
- name: Set up Rust
|
|
177
|
+
uses: dtolnay/rust-toolchain@stable
|
|
178
|
+
|
|
179
|
+
- name: Cache compiled Rust crates
|
|
180
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
181
|
+
|
|
182
|
+
- name: Cache Rust build
|
|
183
|
+
uses: Swatinem/rust-cache@v2
|
|
184
|
+
with:
|
|
185
|
+
prefix-key: v1
|
|
186
|
+
shared-key: maturin-develop-py3.13
|
|
187
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
188
|
+
cache-on-failure: true
|
|
189
|
+
|
|
190
|
+
- name: Install dependencies
|
|
191
|
+
run: |
|
|
192
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
|
|
193
|
+
|
|
194
|
+
- name: Build Rust extension
|
|
195
|
+
run: |
|
|
196
|
+
uv run maturin develop
|
|
197
|
+
|
|
198
|
+
- name: Static type gate (ty, scoped)
|
|
199
|
+
run: |
|
|
200
|
+
uv run ty check src/ferro/query tests/test_query_typing.py tests/test_static_contracts.py tests/test_alembic_typing.py
|
|
201
|
+
|
|
202
|
+
- name: Run IR vector contract harness
|
|
203
|
+
run: |
|
|
204
|
+
uv run pytest -v tests/test_ir_vectors_contract.py
|
|
205
|
+
|
|
206
|
+
- name: Run pytest
|
|
207
|
+
run: |
|
|
208
|
+
uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
|
|
209
|
+
|
|
210
|
+
test-python-main:
|
|
211
|
+
name: Python tests (main / ${{ matrix.python-version }})
|
|
212
|
+
runs-on: ubuntu-latest
|
|
213
|
+
if: github.event_name != 'pull_request'
|
|
214
|
+
strategy:
|
|
215
|
+
fail-fast: false
|
|
216
|
+
matrix:
|
|
217
|
+
python-version: ['3.13', '3.14']
|
|
218
|
+
steps:
|
|
219
|
+
- name: Checkout repository
|
|
220
|
+
uses: actions/checkout@v4
|
|
221
|
+
|
|
222
|
+
- name: Set up Python
|
|
223
|
+
uses: actions/setup-python@v5
|
|
224
|
+
with:
|
|
225
|
+
python-version: ${{ matrix.python-version }}
|
|
226
|
+
|
|
227
|
+
- name: Install UV
|
|
228
|
+
uses: astral-sh/setup-uv@v5
|
|
229
|
+
with:
|
|
230
|
+
enable-cache: true
|
|
231
|
+
|
|
232
|
+
- name: Set up Rust
|
|
233
|
+
uses: dtolnay/rust-toolchain@stable
|
|
234
|
+
|
|
235
|
+
- name: Cache compiled Rust crates
|
|
236
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
237
|
+
|
|
238
|
+
- name: Cache Rust build
|
|
239
|
+
uses: Swatinem/rust-cache@v2
|
|
240
|
+
with:
|
|
241
|
+
prefix-key: v1
|
|
242
|
+
shared-key: maturin-develop-py${{ matrix.python-version }}
|
|
243
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
244
|
+
cache-on-failure: true
|
|
245
|
+
|
|
246
|
+
- name: Install dependencies
|
|
247
|
+
run: |
|
|
248
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python ${{ matrix.python-version }}
|
|
249
|
+
|
|
250
|
+
- name: Build Rust extension
|
|
251
|
+
run: |
|
|
252
|
+
uv run maturin develop
|
|
253
|
+
|
|
254
|
+
- name: Run IR vector contract harness
|
|
255
|
+
run: |
|
|
256
|
+
uv run pytest -v tests/test_ir_vectors_contract.py
|
|
257
|
+
|
|
258
|
+
- name: Run pytest
|
|
259
|
+
run: |
|
|
260
|
+
uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
|
|
261
|
+
|
|
262
|
+
- name: Upload coverage to Codecov
|
|
263
|
+
if: matrix.python-version == '3.13'
|
|
264
|
+
uses: codecov/codecov-action@v5
|
|
265
|
+
with:
|
|
266
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
267
|
+
fail_ci_if_error: true
|
|
268
|
+
files: ./coverage.xml
|
|
269
|
+
flags: python-${{ matrix.python-version }}
|
|
270
|
+
name: python-${{ matrix.python-version }}
|
|
271
|
+
|
|
272
|
+
test-python-backend-matrix:
|
|
273
|
+
name: Python backend matrix (Postgres ${{ matrix.postgres }}, shard ${{ matrix.shard }}/2)
|
|
274
|
+
# A slice PR into an integration branch skips the matrix; the open PR
|
|
275
|
+
# from that branch to main runs it on every merge into the branch.
|
|
276
|
+
if: github.event_name != 'pull_request' || github.base_ref == 'main'
|
|
277
|
+
runs-on: ubuntu-latest
|
|
278
|
+
strategy:
|
|
279
|
+
fail-fast: false
|
|
280
|
+
matrix:
|
|
281
|
+
postgres: ['17', '18']
|
|
282
|
+
shard: [1, 2]
|
|
283
|
+
services:
|
|
284
|
+
postgres:
|
|
285
|
+
image: postgres:${{ matrix.postgres }}
|
|
286
|
+
env:
|
|
287
|
+
POSTGRES_USER: ferro
|
|
288
|
+
POSTGRES_PASSWORD: ferro
|
|
289
|
+
POSTGRES_DB: ferro
|
|
290
|
+
ports:
|
|
291
|
+
- 5432:5432
|
|
292
|
+
options: >-
|
|
293
|
+
--health-cmd "pg_isready -U ferro -d ferro"
|
|
294
|
+
--health-interval 10s
|
|
295
|
+
--health-timeout 5s
|
|
296
|
+
--health-retries 5
|
|
297
|
+
env:
|
|
298
|
+
FERRO_SUPABASE_URL: postgresql://ferro:ferro@127.0.0.1:5432/ferro?sslmode=disable
|
|
299
|
+
steps:
|
|
300
|
+
- name: Checkout repository
|
|
301
|
+
uses: actions/checkout@v4
|
|
302
|
+
|
|
303
|
+
- name: Set up Python
|
|
304
|
+
uses: actions/setup-python@v5
|
|
305
|
+
with:
|
|
306
|
+
python-version: '3.13'
|
|
307
|
+
|
|
308
|
+
- name: Install UV
|
|
309
|
+
uses: astral-sh/setup-uv@v5
|
|
310
|
+
with:
|
|
311
|
+
enable-cache: true
|
|
312
|
+
|
|
313
|
+
- name: Set up Rust
|
|
314
|
+
uses: dtolnay/rust-toolchain@stable
|
|
315
|
+
|
|
316
|
+
- name: Cache compiled Rust crates
|
|
317
|
+
uses: mozilla-actions/sccache-action@v0.0.11
|
|
318
|
+
|
|
319
|
+
- name: Cache Rust build
|
|
320
|
+
uses: Swatinem/rust-cache@v2
|
|
321
|
+
with:
|
|
322
|
+
prefix-key: v1
|
|
323
|
+
shared-key: maturin-develop-py3.13
|
|
324
|
+
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
325
|
+
cache-on-failure: true
|
|
326
|
+
|
|
327
|
+
- name: Install dependencies
|
|
328
|
+
run: |
|
|
329
|
+
uv sync --only-group ci-test --no-install-project --python 3.13
|
|
330
|
+
|
|
331
|
+
- name: Build Rust extension
|
|
332
|
+
run: |
|
|
333
|
+
uv run maturin develop
|
|
334
|
+
|
|
335
|
+
- name: Run backend matrix tests
|
|
336
|
+
run: |
|
|
337
|
+
uv run pytest -n logical -m "backend_matrix or postgres_only" --db-backends=postgres --shard ${{ matrix.shard }}/2
|
|
338
|
+
|
|
339
|
+
check-conventional-commits:
|
|
340
|
+
name: Check Conventional Commits
|
|
341
|
+
runs-on: ubuntu-latest
|
|
342
|
+
if: github.event_name == 'pull_request'
|
|
343
|
+
steps:
|
|
344
|
+
- name: Checkout repository
|
|
345
|
+
uses: actions/checkout@v4
|
|
346
|
+
with:
|
|
347
|
+
fetch-depth: 0
|
|
348
|
+
|
|
349
|
+
- name: Set up Python
|
|
350
|
+
uses: actions/setup-python@v5
|
|
351
|
+
with:
|
|
352
|
+
python-version: '3.13'
|
|
353
|
+
|
|
354
|
+
- name: Install UV
|
|
355
|
+
uses: astral-sh/setup-uv@v5
|
|
356
|
+
with:
|
|
357
|
+
enable-cache: true
|
|
358
|
+
|
|
359
|
+
- name: Install commitizen
|
|
360
|
+
run: |
|
|
361
|
+
uv tool install commitizen
|
|
362
|
+
|
|
363
|
+
- name: Check commit messages
|
|
364
|
+
shell: bash
|
|
365
|
+
run: |
|
|
366
|
+
git fetch origin main
|
|
367
|
+
COMMITS=$(git log origin/main..HEAD --pretty=format:"%H")
|
|
368
|
+
|
|
369
|
+
for commit in $COMMITS; do
|
|
370
|
+
MESSAGE=$(git log -1 --pretty=format:"%s" $commit)
|
|
371
|
+
|
|
372
|
+
if [[ "$MESSAGE" == Merge* ]]; then
|
|
373
|
+
echo "Skipping merge commit: $MESSAGE"
|
|
374
|
+
continue
|
|
375
|
+
fi
|
|
376
|
+
|
|
377
|
+
echo "Checking commit: $MESSAGE"
|
|
378
|
+
if ! uv run --no-sync --python 3.13 cz check --commit-msg-file <(git log -1 --pretty=format:"%s%n%n%b" $commit); then
|
|
379
|
+
echo "❌ Commit message does not follow conventional format: $MESSAGE"
|
|
380
|
+
exit 1
|
|
381
|
+
fi
|
|
382
|
+
done
|
|
383
|
+
|
|
384
|
+
echo "All commit messages follow conventional format"
|
|
385
|
+
|
|
386
|
+
all-checks:
|
|
387
|
+
name: All Checks Passed
|
|
388
|
+
needs: [lint-and-format, docs, test-python-pr, test-python-main, test-python-backend-matrix, test-rust]
|
|
389
|
+
runs-on: ubuntu-latest
|
|
390
|
+
if: always()
|
|
391
|
+
steps:
|
|
392
|
+
- name: Check all jobs
|
|
393
|
+
shell: bash
|
|
394
|
+
run: |
|
|
395
|
+
ok() { [[ "$1" == "success" || "$1" == "skipped" ]]; }
|
|
396
|
+
|
|
397
|
+
if ! ok "${{ needs.lint-and-format.result }}"; then exit 1; fi
|
|
398
|
+
if ! ok "${{ needs.test-python-pr.result }}"; then exit 1; fi
|
|
399
|
+
if ! ok "${{ needs.test-python-main.result }}"; then exit 1; fi
|
|
400
|
+
if ! ok "${{ needs.test-python-backend-matrix.result }}"; then exit 1; fi
|
|
401
|
+
if ! ok "${{ needs.test-rust.result }}"; then exit 1; fi
|
|
402
|
+
if ! ok "${{ needs.docs.result }}"; then exit 1; fi
|
|
403
|
+
|
|
404
|
+
echo "All checks passed!"
|