ferro-orm 0.27.0__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/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/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-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/compose.rs +1607 -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/plan.rs +6636 -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/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/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/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/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/queries.md +90 -0
- ferro_orm-0.28.0/docs/pages/api/relationships.md +17 -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/faq.md +152 -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/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/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/renames-and-retirements.md +219 -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/docs-block-declaring-a-model.md +58 -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/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/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/connection.rs +928 -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/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/alembic.py +873 -0
- ferro_orm-0.28.0/src/ferro/migrations/generate.py +1329 -0
- ferro_orm-0.28.0/src/ferro/models.py +1407 -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/migrate.rs +1633 -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/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/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/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_nullability.py +253 -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_before_position.py +244 -0
- ferro_orm-0.28.0/tests/test_bulk_install.py +142 -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_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_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_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_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_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_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_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/uv.lock +2815 -0
- ferro_orm-0.28.0/zensical.toml +325 -0
- ferro_orm-0.27.0/.github/workflows/release.yml +0 -394
- ferro_orm-0.27.0/AGENTS.md +0 -862
- ferro_orm-0.27.0/CHANGELOG.md +0 -1807
- ferro_orm-0.27.0/Cargo.lock +0 -2339
- ferro_orm-0.27.0/Cargo.toml +0 -58
- ferro_orm-0.27.0/GLOSSARY.md +0 -476
- ferro_orm-0.27.0/PKG-INFO +0 -95
- ferro_orm-0.27.0/crates/ferro-ddl-lowering/src/lib.rs +0 -9036
- ferro_orm-0.27.0/crates/ferro-migrate/src/directory.rs +0 -2518
- ferro_orm-0.27.0/crates/ferro-migrate/src/emit.rs +0 -1014
- ferro_orm-0.27.0/crates/ferro-migrate/src/generate/backfill.rs +0 -1506
- ferro_orm-0.27.0/crates/ferro-migrate/src/generate/compose.rs +0 -1633
- ferro_orm-0.27.0/crates/ferro-migrate/src/generate/mod.rs +0 -4855
- ferro_orm-0.27.0/crates/ferro-migrate/src/generate/rebuild.rs +0 -1130
- ferro_orm-0.27.0/crates/ferro-migrate/src/generate/renames.rs +0 -109
- ferro_orm-0.27.0/crates/ferro-migrate/src/plan.rs +0 -6593
- ferro_orm-0.27.0/crates/ferro-migrate/src/revision.rs +0 -771
- ferro_orm-0.27.0/crates/ferro-migrate/src/revision_tests.rs +0 -777
- ferro_orm-0.27.0/crates/ferro-migrate/src/run_plan/step_class.rs +0 -1633
- ferro_orm-0.27.0/crates/ferro-migrate/src/run_plan.rs +0 -6830
- ferro_orm-0.27.0/crates/ferro-migrate/src/tests.rs +0 -8700
- ferro_orm-0.27.0/crates/ferro-schema-ir/src/lib.rs +0 -2251
- ferro_orm-0.27.0/docs/adr/0002-unified-column-fact-derivation.md +0 -83
- ferro_orm-0.27.0/docs/adr/0003-path-blind-db-type-validation.md +0 -47
- ferro_orm-0.27.0/docs/adr/0007-materialization-plan-complete-instances.md +0 -53
- ferro_orm-0.27.0/docs/adr/0008-populated-relations-include.md +0 -74
- ferro_orm-0.27.0/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -38
- ferro_orm-0.27.0/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -35
- ferro_orm-0.27.0/docs/agents/domain.md +0 -51
- ferro_orm-0.27.0/docs/examples/_ledger_seed.py +0 -107
- ferro_orm-0.27.0/docs/examples/_preludes/connections.py +0 -35
- ferro_orm-0.27.0/docs/examples/_preludes/reference.py +0 -49
- ferro_orm-0.27.0/docs/examples/_preludes/upgrade.py +0 -53
- ferro_orm-0.27.0/docs/examples/aggregations.py +0 -328
- ferro_orm-0.27.0/docs/examples/aggregations_annotated.py +0 -328
- ferro_orm-0.27.0/docs/examples/faq.py +0 -52
- ferro_orm-0.27.0/docs/examples/faq_annotated.py +0 -52
- ferro_orm-0.27.0/docs/examples/from_sqlalchemy.py +0 -107
- ferro_orm-0.27.0/docs/examples/from_sqlalchemy_annotated.py +0 -107
- ferro_orm-0.27.0/docs/examples/models_and_fields.py +0 -271
- ferro_orm-0.27.0/docs/examples/models_and_fields_annotated.py +0 -274
- ferro_orm-0.27.0/docs/examples/populated_relations.py +0 -185
- ferro_orm-0.27.0/docs/examples/predicates.py +0 -372
- ferro_orm-0.27.0/docs/examples/predicates_annotated.py +0 -372
- ferro_orm-0.27.0/docs/examples/quickstart.py +0 -133
- ferro_orm-0.27.0/docs/examples/quickstart_annotated.py +0 -133
- ferro_orm-0.27.0/docs/examples/relationships.py +0 -209
- ferro_orm-0.27.0/docs/examples/relationships_annotated.py +0 -209
- ferro_orm-0.27.0/docs/examples/testing_models.py +0 -46
- ferro_orm-0.27.0/docs/examples/testing_models_annotated.py +0 -46
- ferro_orm-0.27.0/docs/examples/traversal.py +0 -325
- ferro_orm-0.27.0/docs/pages/api/exceptions.md +0 -112
- ferro_orm-0.27.0/docs/pages/api/queries.md +0 -90
- ferro_orm-0.27.0/docs/pages/api/relationships.md +0 -17
- ferro_orm-0.27.0/docs/pages/concepts/identity-map.md +0 -169
- ferro_orm-0.27.0/docs/pages/concepts/performance.md +0 -162
- ferro_orm-0.27.0/docs/pages/concepts/query-typing.md +0 -152
- ferro_orm-0.27.0/docs/pages/faq.md +0 -161
- ferro_orm-0.27.0/docs/pages/getting-started/quickstart.md +0 -153
- ferro_orm-0.27.0/docs/pages/guide/connections.md +0 -376
- ferro_orm-0.27.0/docs/pages/guide/models-and-fields.md +0 -614
- ferro_orm-0.27.0/docs/pages/guide/queries.md +0 -1859
- ferro_orm-0.27.0/docs/pages/guide/raw-sql.md +0 -170
- ferro_orm-0.27.0/docs/pages/guide/relationships.md +0 -603
- ferro_orm-0.27.0/docs/pages/guide/schema/auto-migrate.md +0 -242
- ferro_orm-0.27.0/docs/pages/guide/schema/data-steps.md +0 -345
- ferro_orm-0.27.0/docs/pages/guide/schema/migrations.md +0 -437
- ferro_orm-0.27.0/docs/pages/guide/schema/renames-and-retirements.md +0 -186
- ferro_orm-0.27.0/docs/pages/howto/migrate-from-sqlalchemy.md +0 -234
- ferro_orm-0.27.0/docs/pages/howto/testing.md +0 -170
- ferro_orm-0.27.0/docs/pages/reference/migrations.md +0 -161
- ferro_orm-0.27.0/docs/pages/roadmap.md +0 -117
- ferro_orm-0.27.0/docs/pages/upgrading.md +0 -703
- ferro_orm-0.27.0/docs/pages/why-ferro.md +0 -90
- ferro_orm-0.27.0/docs/solutions/issues/docs-block-declaring-a-model.md +0 -50
- ferro_orm-0.27.0/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -33
- ferro_orm-0.27.0/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -69
- ferro_orm-0.27.0/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -81
- ferro_orm-0.27.0/docs/solutions/patterns/configurable-column-storage-types.md +0 -191
- ferro_orm-0.27.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +0 -168
- ferro_orm-0.27.0/docs/solutions/patterns/docs-page-conventions.md +0 -312
- ferro_orm-0.27.0/docs/solutions/patterns/foreign-key-index.md +0 -59
- ferro_orm-0.27.0/docs/solutions/patterns/index-unique-redundancy.md +0 -55
- ferro_orm-0.27.0/docs/solutions/patterns/ir-invariants.md +0 -182
- ferro_orm-0.27.0/docs/solutions/patterns/shadow-fk-columns.md +0 -65
- ferro_orm-0.27.0/docs/solutions/patterns/typed-null-binds.md +0 -216
- ferro_orm-0.27.0/docs/solutions/patterns/wire-scalar-canonicalization.md +0 -45
- ferro_orm-0.27.0/pyproject.toml +0 -152
- ferro_orm-0.27.0/scripts/demo_queries.py +0 -273
- ferro_orm-0.27.0/scripts/demo_queries_pre_v012.py +0 -252
- ferro_orm-0.27.0/src/backend.rs +0 -1937
- ferro_orm-0.27.0/src/codec.rs +0 -533
- ferro_orm-0.27.0/src/connection.rs +0 -944
- ferro_orm-0.27.0/src/errors.rs +0 -1531
- ferro_orm-0.27.0/src/ferro/__init__.py +0 -643
- ferro_orm-0.27.0/src/ferro/_annotation_utils.py +0 -290
- ferro_orm-0.27.0/src/ferro/_bind_payload.py +0 -382
- ferro_orm-0.27.0/src/ferro/_core.pyi +0 -984
- ferro_orm-0.27.0/src/ferro/_shadow_fk_types.py +0 -131
- ferro_orm-0.27.0/src/ferro/base.py +0 -403
- ferro_orm-0.27.0/src/ferro/checks.py +0 -821
- ferro_orm-0.27.0/src/ferro/columns.py +0 -879
- ferro_orm-0.27.0/src/ferro/exceptions.py +0 -176
- ferro_orm-0.27.0/src/ferro/fields.py +0 -764
- ferro_orm-0.27.0/src/ferro/generated.py +0 -364
- ferro_orm-0.27.0/src/ferro/ir/compiler.py +0 -728
- ferro_orm-0.27.0/src/ferro/metaclass.py +0 -1035
- ferro_orm-0.27.0/src/ferro/migrations/alembic.py +0 -871
- ferro_orm-0.27.0/src/ferro/migrations/generate.py +0 -1329
- ferro_orm-0.27.0/src/ferro/models.py +0 -1238
- ferro_orm-0.27.0/src/ferro/query/builder.py +0 -2183
- ferro_orm-0.27.0/src/ferro/query/nodes.py +0 -1803
- ferro_orm-0.27.0/src/ferro/query/wire.py +0 -1287
- ferro_orm-0.27.0/src/ferro/raw.py +0 -319
- ferro_orm-0.27.0/src/ferro/registry.py +0 -596
- ferro_orm-0.27.0/src/ferro/relations/__init__.py +0 -235
- ferro_orm-0.27.0/src/ferro/relations/descriptors.py +0 -120
- ferro_orm-0.27.0/src/ferro/settings.py +0 -1029
- ferro_orm-0.27.0/src/ferro/state.py +0 -246
- ferro_orm-0.27.0/src/hydration.rs +0 -449
- ferro_orm-0.27.0/src/introspect.rs +0 -1997
- ferro_orm-0.27.0/src/lib.rs +0 -255
- ferro_orm-0.27.0/src/migrate.rs +0 -1632
- ferro_orm-0.27.0/src/operations.rs +0 -9161
- ferro_orm-0.27.0/src/query.rs +0 -2957
- ferro_orm-0.27.0/src/schema.rs +0 -1016
- ferro_orm-0.27.0/src/session_settings.rs +0 -2307
- ferro_orm-0.27.0/src/sql_log.rs +0 -629
- ferro_orm-0.27.0/src/state.rs +0 -1413
- ferro_orm-0.27.0/tests/_casebook.py +0 -346
- ferro_orm-0.27.0/tests/_docs_checks.py +0 -244
- ferro_orm-0.27.0/tests/_docs_harness.py +0 -520
- ferro_orm-0.27.0/tests/static_fixtures/bad_includes.py +0 -36
- ferro_orm-0.27.0/tests/static_fixtures/bad_predicates.py +0 -46
- ferro_orm-0.27.0/tests/static_fixtures/bad_projections.py +0 -55
- ferro_orm-0.27.0/tests/static_fixtures/good_includes.py +0 -44
- ferro_orm-0.27.0/tests/static_fixtures/good_predicates.py +0 -88
- ferro_orm-0.27.0/tests/static_fixtures/good_projections.py +0 -109
- ferro_orm-0.27.0/tests/test_after_position.py +0 -315
- ferro_orm-0.27.0/tests/test_alembic_autogenerate.py +0 -337
- ferro_orm-0.27.0/tests/test_alembic_bridge.py +0 -426
- ferro_orm-0.27.0/tests/test_alembic_db_type.py +0 -273
- ferro_orm-0.27.0/tests/test_alembic_enum_type_drop.py +0 -882
- ferro_orm-0.27.0/tests/test_alembic_nullability.py +0 -282
- ferro_orm-0.27.0/tests/test_alembic_translator.py +0 -1593
- ferro_orm-0.27.0/tests/test_auto_migrate.py +0 -4893
- ferro_orm-0.27.0/tests/test_before_position.py +0 -315
- ferro_orm-0.27.0/tests/test_bulk_install.py +0 -160
- ferro_orm-0.27.0/tests/test_catalog_cache.py +0 -236
- ferro_orm-0.27.0/tests/test_check_predicate_dialect.py +0 -369
- ferro_orm-0.27.0/tests/test_chunked_steps.py +0 -804
- ferro_orm-0.27.0/tests/test_cli_database_line.py +0 -344
- ferro_orm-0.27.0/tests/test_cli_init.py +0 -744
- ferro_orm-0.27.0/tests/test_cli_output_new_check.py +0 -870
- ferro_orm-0.27.0/tests/test_cli_output_run_verbs.py +0 -838
- ferro_orm-0.27.0/tests/test_cli_output_status_drift.py +0 -817
- ferro_orm-0.27.0/tests/test_column_specs.py +0 -198
- ferro_orm-0.27.0/tests/test_compiled_query.py +0 -134
- ferro_orm-0.27.0/tests/test_composite_index.py +0 -799
- ferro_orm-0.27.0/tests/test_composite_unique.py +0 -564
- ferro_orm-0.27.0/tests/test_connection.py +0 -593
- ferro_orm-0.27.0/tests/test_constraints.py +0 -81
- ferro_orm-0.27.0/tests/test_cross_emitter_parity.py +0 -2379
- ferro_orm-0.27.0/tests/test_crud.py +0 -192
- ferro_orm-0.27.0/tests/test_data_steps.py +0 -662
- ferro_orm-0.27.0/tests/test_db_type_typing.py +0 -48
- ferro_orm-0.27.0/tests/test_db_type_validation.py +0 -446
- ferro_orm-0.27.0/tests/test_ddl_lock_timeout.py +0 -624
- ferro_orm-0.27.0/tests/test_ddl_unprepared.py +0 -71
- ferro_orm-0.27.0/tests/test_deletion.py +0 -87
- ferro_orm-0.27.0/tests/test_docs_checks.py +0 -238
- ferro_orm-0.27.0/tests/test_docs_field_type_table.py +0 -221
- ferro_orm-0.27.0/tests/test_docs_lint.py +0 -46
- ferro_orm-0.27.0/tests/test_docs_migrations.py +0 -1506
- ferro_orm-0.27.0/tests/test_docs_testing_fixtures.py +0 -192
- ferro_orm-0.27.0/tests/test_docs_twins.py +0 -177
- ferro_orm-0.27.0/tests/test_docstring_examples.py +0 -253
- ferro_orm-0.27.0/tests/test_exception_mapping.py +0 -221
- ferro_orm-0.27.0/tests/test_exceptions.py +0 -124
- ferro_orm-0.27.0/tests/test_field_wrapper.py +0 -101
- ferro_orm-0.27.0/tests/test_fk_target_pk.py +0 -65
- ferro_orm-0.27.0/tests/test_generate_backfill.py +0 -773
- ferro_orm-0.27.0/tests/test_generate_check_functions.py +0 -723
- ferro_orm-0.27.0/tests/test_generate_columns.py +0 -644
- ferro_orm-0.27.0/tests/test_generate_generated_columns.py +0 -666
- ferro_orm-0.27.0/tests/test_generate_indexes.py +0 -217
- ferro_orm-0.27.0/tests/test_generate_postgres_staging.py +0 -434
- ferro_orm-0.27.0/tests/test_generate_renames.py +0 -649
- ferro_orm-0.27.0/tests/test_generate_retired.py +0 -243
- ferro_orm-0.27.0/tests/test_generate_sqlite_rebuild.py +0 -917
- ferro_orm-0.27.0/tests/test_generated_column_drift.py +0 -577
- ferro_orm-0.27.0/tests/test_generated_columns.py +0 -508
- ferro_orm-0.27.0/tests/test_generated_refusals.py +0 -494
- ferro_orm-0.27.0/tests/test_generation_counter_dirty_tracking.py +0 -150
- ferro_orm-0.27.0/tests/test_global_aggregates.py +0 -384
- ferro_orm-0.27.0/tests/test_grouped_aggregates.py +0 -408
- ferro_orm-0.27.0/tests/test_helpers.py +0 -131
- ferro_orm-0.27.0/tests/test_historical_models.py +0 -311
- ferro_orm-0.27.0/tests/test_hydration.py +0 -237
- ferro_orm-0.27.0/tests/test_hydration_equivalence.py +0 -271
- ferro_orm-0.27.0/tests/test_identity_memory.py +0 -80
- ferro_orm-0.27.0/tests/test_identity_refresh.py +0 -79
- ferro_orm-0.27.0/tests/test_identity_weakref.py +0 -37
- ferro_orm-0.27.0/tests/test_include.py +0 -831
- ferro_orm-0.27.0/tests/test_ir_vectors_contract.py +0 -862
- ferro_orm-0.27.0/tests/test_live_read.py +0 -213
- ferro_orm-0.27.0/tests/test_metaclass_internals.py +0 -381
- ferro_orm-0.27.0/tests/test_migrate_check.py +0 -339
- ferro_orm-0.27.0/tests/test_migrate_defaults.py +0 -439
- ferro_orm-0.27.0/tests/test_migrate_drift.py +0 -959
- ferro_orm-0.27.0/tests/test_migrate_new.py +0 -868
- ferro_orm-0.27.0/tests/test_migrate_plan.py +0 -1197
- ferro_orm-0.27.0/tests/test_migrate_rerecord.py +0 -571
- ferro_orm-0.27.0/tests/test_migrate_squash.py +0 -1388
- ferro_orm-0.27.0/tests/test_migrate_status.py +0 -454
- ferro_orm-0.27.0/tests/test_migrations_api.py +0 -429
- ferro_orm-0.27.0/tests/test_migrations_testing_harness.py +0 -580
- ferro_orm-0.27.0/tests/test_model_identity.py +0 -228
- ferro_orm-0.27.0/tests/test_models.py +0 -47
- ferro_orm-0.27.0/tests/test_mutation_pagination_guard.py +0 -123
- ferro_orm-0.27.0/tests/test_naming_single_source.py +0 -332
- ferro_orm-0.27.0/tests/test_negation.py +0 -219
- ferro_orm-0.27.0/tests/test_one_to_one.py +0 -135
- ferro_orm-0.27.0/tests/test_order_by_nulls.py +0 -224
- ferro_orm-0.27.0/tests/test_order_by_nulls_wire.py +0 -125
- ferro_orm-0.27.0/tests/test_partial_selects.py +0 -478
- ferro_orm-0.27.0/tests/test_pass_report.py +0 -201
- ferro_orm-0.27.0/tests/test_position_paging_traversal.py +0 -291
- ferro_orm-0.27.0/tests/test_primary_key_facts.py +0 -77
- ferro_orm-0.27.0/tests/test_provisional_import.py +0 -232
- ferro_orm-0.27.0/tests/test_query_builder.py +0 -410
- ferro_orm-0.27.0/tests/test_query_column_validation.py +0 -282
- ferro_orm-0.27.0/tests/test_query_exists.py +0 -688
- ferro_orm-0.27.0/tests/test_query_joins.py +0 -1185
- ferro_orm-0.27.0/tests/test_query_typing.py +0 -215
- ferro_orm-0.27.0/tests/test_query_wire_vectors.py +0 -645
- ferro_orm-0.27.0/tests/test_raw_sql.py +0 -530
- ferro_orm-0.27.0/tests/test_refresh.py +0 -53
- ferro_orm-0.27.0/tests/test_refused_model_leaves_nothing.py +0 -140
- ferro_orm-0.27.0/tests/test_registry_entrypoints.py +0 -291
- ferro_orm-0.27.0/tests/test_registry_owner.py +0 -119
- ferro_orm-0.27.0/tests/test_relation_specs.py +0 -175
- ferro_orm-0.27.0/tests/test_relationship_engine.py +0 -323
- ferro_orm-0.27.0/tests/test_relationship_resolution_errors.py +0 -51
- ferro_orm-0.27.0/tests/test_rendered_statement.py +0 -408
- ferro_orm-0.27.0/tests/test_retired_columns.py +0 -528
- ferro_orm-0.27.0/tests/test_retired_labels.py +0 -498
- ferro_orm-0.27.0/tests/test_routing_errors.py +0 -103
- ferro_orm-0.27.0/tests/test_row_security_alembic.py +0 -1017
- ferro_orm-0.27.0/tests/test_row_security_create_pass.py +0 -1082
- ferro_orm-0.27.0/tests/test_row_security_rebuild.py +0 -784
- ferro_orm-0.27.0/tests/test_row_security_reconcile.py +0 -871
- ferro_orm-0.27.0/tests/test_save_column_order.py +0 -259
- ferro_orm-0.27.0/tests/test_save_semantics.py +0 -913
- ferro_orm-0.27.0/tests/test_schema.py +0 -122
- ferro_orm-0.27.0/tests/test_schema_constraints.py +0 -273
- ferro_orm-0.27.0/tests/test_schema_db_type_metadata.py +0 -84
- ferro_orm-0.27.0/tests/test_secret_fields.py +0 -338
- ferro_orm-0.27.0/tests/test_session.py +0 -549
- ferro_orm-0.27.0/tests/test_session_set_config.py +0 -479
- ferro_orm-0.27.0/tests/test_session_settings.py +0 -504
- ferro_orm-0.27.0/tests/test_session_settings_connection_delivery.py +0 -680
- ferro_orm-0.27.0/tests/test_session_settings_operations.py +0 -664
- ferro_orm-0.27.0/tests/test_settings.py +0 -1293
- ferro_orm-0.27.0/tests/test_shadow_fk_types.py +0 -260
- ferro_orm-0.27.0/tests/test_statement_log.py +0 -1041
- ferro_orm-0.27.0/tests/test_static_contracts.py +0 -362
- ferro_orm-0.27.0/tests/test_step_class.py +0 -490
- ferro_orm-0.27.0/tests/test_structural_types.py +0 -514
- ferro_orm-0.27.0/tests/test_table_check_orphans.py +0 -701
- ferro_orm-0.27.0/tests/test_table_check_rebuild.py +0 -850
- ferro_orm-0.27.0/tests/test_table_check_reconcile.py +0 -783
- ferro_orm-0.27.0/tests/test_table_checks.py +0 -640
- ferro_orm-0.27.0/tests/test_transactions.py +0 -502
- ferro_orm-0.27.0/tests/test_traversed_projection.py +0 -428
- ferro_orm-0.27.0/tests/test_typed_null_binds.py +0 -416
- ferro_orm-0.27.0/tests/test_update_recipe.py +0 -339
- ferro_orm-0.27.0/uv.lock +0 -2815
- ferro_orm-0.27.0/zensical.toml +0 -324
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PERMISSIONS.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PYPI_CHECKLIST.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/PYPI_SETUP.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/generated/wheels.generated.yml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/pull_request_template.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/ci.yml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/packaging-smoke.yml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/publish-docs.yml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.github/workflows/publish.yml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.gitignore +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.pre-commit-config.yaml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/.python-version +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/CONTRIBUTING.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/LICENSE +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/README.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/README.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/__main__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/backends.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/baselines/postgres.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/baselines/sqlite.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/compare.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/harness.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/model.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/benchmarks/run.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/context7.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/value_expr.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/Cargo.toml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/columns.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/downs.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/stages.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/staging.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/lib.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/order.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/render.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-migrate/src/snapshot.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0006-relation-traversal-inner-joins.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0011-label-addition-update-gated-append-only.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0015-table-check-body-drift.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0016-check-predicates-literals-only.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0017-omitted-nulls-means-last.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0018-position-paging.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/adr/0058-a-generated-columns-value-comes-only-from-the-database.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0059-value-expressions-are-lambdas-over-a-closed-function-table-under-value-parity.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/adr/0060-postgres-prints-both-sides-of-a-sql-body-ferro-compares.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/agents/issue-tracker.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/agents/triage-labels.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/architecture-review-2026-07-08.html +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_migrations_project.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/auto_migrate.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/concepts.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/invoices.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/jwt_claims.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/label_addition.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/queries.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/_preludes/raw_sql.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/auto_migrate_errors.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/concepts.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/concepts_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/enum_labels.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/enum_labels_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/existence_tests.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/generated_columns.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/generated_columns_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migration_errors.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_adopting.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_backfill.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_backfill_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_rename.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_rename_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_squash.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_squash_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_testing.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/migrations_testing_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/multiple_databases.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/multiple_databases_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/mutations.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/mutations_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/pagination.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/pagination_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/partial_selects.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/raw_sql.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/raw_sql_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/readme_quickstart.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/readme_quickstart_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/row_level_security.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/row_level_security_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/soft_deletes.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/soft_deletes_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/table_checks.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/table_checks_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/testing_conftest.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/testing_conftest_postgres.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/timestamps.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/timestamps_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/transactions.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/transactions_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_account.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_account_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_foreign_default.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_keep.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_keep_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key_annotated.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/includes/abbreviations.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/includes/field-types.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/connection.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/fields.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/migrations.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/model.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/raw-sql.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/api/transactions.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/changelog.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/architecture.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/backends.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/row-level-security.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/concepts/type-safety.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/contributing.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/getting-started/installation.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/aggregations.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/mutations.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/row-level-security.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/adopting-migrations.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/alembic.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/deploying.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/overview.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/squash.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/schema/testing.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/guide/transactions.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/multiple-databases.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/pagination.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/soft-deletes.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/howto/timestamps.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/index.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/cli.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/configuration.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/reference/row-level-security.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/pages/stylesheets/extra.css +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
- {ferro_orm-0.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → 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.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/ir-first-migration-guide.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/plans/ir-first-release-checklist.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/migration-cli-config-prior-art.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/migration-prior-art.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/research/sqlx-migrate-internals.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/rfc/ir-contracts-v1.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/README.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/derived-type-and-naming-decision-table.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/docstring-conventions.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/one-planner-and-live-facts.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/persistence-state.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/position-paging-after.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/printed-pairs-drift.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/justfile +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/codec_plan.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ddl_exec.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/_deprecations.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/_sql_log.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/exit_codes.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/migrate.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/cli/output.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/composite_indexes.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/composite_uniques.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/fn.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/ir/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_baseline.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_chunk_loop.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/_drift.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/context.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/errors.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/historical.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/layout.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/report.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/rerecord.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/runner.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/scaffold.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/steps.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/target.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/testing.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/migrations/translate.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/pass_report.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/py.typed +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/rendered.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/query/rows.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/rowsecurity.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/ferro/session.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/live_ir.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/migrations_ffi.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/naming_ffi.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/run.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/src/schema_bind.rs +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/__init__.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_alembic_harness.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_shared.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_sql.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_docs_twins.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_pass_harness.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/_pg_sequence.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/conftest.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/db_backends.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/README.md +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_check_fn_v4.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_generated_column_v4.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/bad_updates.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/good_migrations_api.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/static_fixtures/good_updates.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_aggregation.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_generated_columns.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_render_execute.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_type_mapping.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_alembic_typing.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_annotation_utils.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_auto_migrate_generated_columns.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_bulk_create_chunking.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_bulk_update.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_cli_help.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_codec_plan.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_connect_guard.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_connection_redaction.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_backends.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_type_cross_emitter_parity.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_db_type_integration.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_deprecations.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_cli_reference.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_examples.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_harness.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_output.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_shared.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_site.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_docs_sql.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_documentation_features.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_enum_cold_hydration.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_enum_removal.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_enums.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_primary_key_refusal.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_generate_row_security.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_identity_scoped_invalidation.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_import_budget.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_isolated_imports.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_label_addition.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_live_table_checks.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_metadata.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_baseline.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_down.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_inherit.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_replace.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_migrate_up.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_named_connections_integration.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_operation_seam_sync.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_postgres_floor.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_postgres_isolation.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_query_immutability.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_registry_swap.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_rls_end_to_end.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_route_single_site.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_row_security_orphans.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_run_lock.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_save_pk_edges.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_schema_enum_annotations.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_snapshot_witness.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_sqlite_alembic_reconnect_hydration.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_statement_log_run.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_string_search.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_temporal_types.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_typed_save_bind.py +0 -0
- {ferro_orm-0.27.0 → ferro_orm-0.28.0}/tests/test_value_parity.py +0 -0
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
prerelease:
|
|
7
|
+
description: 'Create a pre-release'
|
|
8
|
+
required: false
|
|
9
|
+
type: boolean
|
|
10
|
+
default: false
|
|
11
|
+
highlights:
|
|
12
|
+
description: 'Markdown prepended to the top of the GitHub Release body'
|
|
13
|
+
required: false
|
|
14
|
+
type: string
|
|
15
|
+
default: ''
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: release-${{ github.workflow }}-${{ github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
# Same maturin targets as build-wheels, but against the current ref *before*
|
|
23
|
+
# semantic-release mutates the repo. Runs in parallel with CI gate and
|
|
24
|
+
# packaging smoke so the wall-clock pipeline stays shorter.
|
|
25
|
+
preflight-build-wheels:
|
|
26
|
+
name: Preflight build wheels (${{ matrix.platform.name }})
|
|
27
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
platform:
|
|
32
|
+
- name: linux-x86_64
|
|
33
|
+
runner: ubuntu-latest
|
|
34
|
+
target: x86_64
|
|
35
|
+
manylinux: auto
|
|
36
|
+
- name: linux-aarch64
|
|
37
|
+
runner: ubuntu-latest
|
|
38
|
+
target: aarch64
|
|
39
|
+
manylinux: auto
|
|
40
|
+
- name: macos-aarch64
|
|
41
|
+
runner: macos-latest
|
|
42
|
+
target: aarch64
|
|
43
|
+
manylinux: ''
|
|
44
|
+
- name: windows-x64
|
|
45
|
+
runner: windows-latest
|
|
46
|
+
target: x64
|
|
47
|
+
manylinux: ''
|
|
48
|
+
|
|
49
|
+
steps:
|
|
50
|
+
- name: Checkout repository
|
|
51
|
+
uses: actions/checkout@v4
|
|
52
|
+
with:
|
|
53
|
+
ref: ${{ github.sha }}
|
|
54
|
+
|
|
55
|
+
- name: Set up Python
|
|
56
|
+
uses: actions/setup-python@v5
|
|
57
|
+
with:
|
|
58
|
+
python-version: '3.13'
|
|
59
|
+
|
|
60
|
+
- name: Build wheels (preflight)
|
|
61
|
+
uses: PyO3/maturin-action@v1.48.0
|
|
62
|
+
env:
|
|
63
|
+
# ring (via rustls/sqlx): manylinux2014-cross gcc does not define __ARM_ARCH for .S asm.
|
|
64
|
+
# https://github.com/briansmith/ring/issues/1728
|
|
65
|
+
CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.name == 'linux-aarch64' && '-D__ARM_ARCH=8' || '' }}
|
|
66
|
+
with:
|
|
67
|
+
target: ${{ matrix.platform.target }}
|
|
68
|
+
args: --release --out dist --find-interpreter
|
|
69
|
+
manylinux: ${{ matrix.platform.manylinux }}
|
|
70
|
+
sccache: 'true'
|
|
71
|
+
|
|
72
|
+
ci-gate:
|
|
73
|
+
name: CI Gate
|
|
74
|
+
uses: ./.github/workflows/ci.yml
|
|
75
|
+
secrets: inherit
|
|
76
|
+
|
|
77
|
+
packaging-smoke:
|
|
78
|
+
name: Packaging Smoke Gate
|
|
79
|
+
uses: ./.github/workflows/packaging-smoke.yml
|
|
80
|
+
|
|
81
|
+
release:
|
|
82
|
+
name: Create Release
|
|
83
|
+
needs: [ci-gate, packaging-smoke, preflight-build-wheels]
|
|
84
|
+
runs-on: ubuntu-latest
|
|
85
|
+
outputs:
|
|
86
|
+
release_created: ${{ steps.verify_release.outputs.release_created }}
|
|
87
|
+
release_ref: ${{ steps.release_ref.outputs.release_ref }}
|
|
88
|
+
permissions:
|
|
89
|
+
contents: write
|
|
90
|
+
issues: write
|
|
91
|
+
pull-requests: write
|
|
92
|
+
|
|
93
|
+
steps:
|
|
94
|
+
- name: Checkout repository
|
|
95
|
+
uses: actions/checkout@v4
|
|
96
|
+
with:
|
|
97
|
+
fetch-depth: 0
|
|
98
|
+
ssh-key: ${{ secrets.RELEASE_DEPLOY_KEY }}
|
|
99
|
+
persist-credentials: false
|
|
100
|
+
|
|
101
|
+
- name: Set up Python
|
|
102
|
+
uses: actions/setup-python@v5
|
|
103
|
+
with:
|
|
104
|
+
python-version: '3.13'
|
|
105
|
+
|
|
106
|
+
- name: Install UV
|
|
107
|
+
uses: astral-sh/setup-uv@v5
|
|
108
|
+
with:
|
|
109
|
+
enable-cache: true
|
|
110
|
+
|
|
111
|
+
- name: Set up Rust
|
|
112
|
+
uses: dtolnay/rust-toolchain@stable
|
|
113
|
+
|
|
114
|
+
- name: Cache Rust dependencies
|
|
115
|
+
uses: Swatinem/rust-cache@v2
|
|
116
|
+
with:
|
|
117
|
+
prefix-key: "v1-rust"
|
|
118
|
+
|
|
119
|
+
- name: Install dependencies
|
|
120
|
+
run: |
|
|
121
|
+
uv sync --only-group release --no-install-project --python 3.13
|
|
122
|
+
|
|
123
|
+
- name: Configure Git
|
|
124
|
+
run: |
|
|
125
|
+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
126
|
+
git config --local user.name "github-actions[bot]"
|
|
127
|
+
git remote set-url origin "git@github.com:${{ github.repository }}.git"
|
|
128
|
+
|
|
129
|
+
- name: Run semantic-release
|
|
130
|
+
env:
|
|
131
|
+
# Prefer a PAT so release events can trigger downstream workflows.
|
|
132
|
+
GH_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
|
|
133
|
+
run: |
|
|
134
|
+
# Use the --prerelease flag if requested via manual trigger
|
|
135
|
+
PRERELEASE_FLAG=""
|
|
136
|
+
if [ "${{ github.event.inputs.prerelease }}" == "true" ]; then
|
|
137
|
+
PRERELEASE_FLAG="--prerelease"
|
|
138
|
+
fi
|
|
139
|
+
|
|
140
|
+
# This command will:
|
|
141
|
+
# 1. Bump version in pyproject.toml, Cargo.toml and uv.lock
|
|
142
|
+
# 2. Update CHANGELOG.md
|
|
143
|
+
# 3. Create a commit and push it
|
|
144
|
+
# 4. Create a tag and push it
|
|
145
|
+
# 5. Create a GitHub Release (publishing is handled by the wheels/publish workflow)
|
|
146
|
+
uv run semantic-release version $PRERELEASE_FLAG
|
|
147
|
+
|
|
148
|
+
- name: Verify release commit updates changelog
|
|
149
|
+
id: verify_release
|
|
150
|
+
shell: bash
|
|
151
|
+
run: |
|
|
152
|
+
LAST_SUBJECT="$(git log -1 --pretty=%s)"
|
|
153
|
+
if [[ "$LAST_SUBJECT" != chore\(release\):* ]]; then
|
|
154
|
+
echo "No release commit created in this run; skipping changelog validation."
|
|
155
|
+
echo "release_created=false" >> "$GITHUB_OUTPUT"
|
|
156
|
+
echo "changelog_validated=skipped" >> "$GITHUB_OUTPUT"
|
|
157
|
+
echo "release_subject=$LAST_SUBJECT" >> "$GITHUB_OUTPUT"
|
|
158
|
+
exit 0
|
|
159
|
+
fi
|
|
160
|
+
|
|
161
|
+
echo "release_created=true" >> "$GITHUB_OUTPUT"
|
|
162
|
+
echo "release_subject=$LAST_SUBJECT" >> "$GITHUB_OUTPUT"
|
|
163
|
+
|
|
164
|
+
CHANGED_FILES="$(git show --name-only --pretty='' HEAD)"
|
|
165
|
+
if [[ "$CHANGED_FILES" != *"CHANGELOG.md"* ]]; then
|
|
166
|
+
echo "WARNING: release commit does not include CHANGELOG.md update."
|
|
167
|
+
echo "Changed files:"
|
|
168
|
+
echo "$CHANGED_FILES"
|
|
169
|
+
echo "changelog_validated=missing" >> "$GITHUB_OUTPUT"
|
|
170
|
+
exit 0
|
|
171
|
+
fi
|
|
172
|
+
|
|
173
|
+
echo "changelog_validated=passed" >> "$GITHUB_OUTPUT"
|
|
174
|
+
echo "Validated: release commit includes CHANGELOG.md."
|
|
175
|
+
|
|
176
|
+
- name: Capture released ref
|
|
177
|
+
id: release_ref
|
|
178
|
+
shell: bash
|
|
179
|
+
run: |
|
|
180
|
+
if [[ "${{ steps.verify_release.outputs.release_created }}" != "true" ]]; then
|
|
181
|
+
echo "release_ref=" >> "$GITHUB_OUTPUT"
|
|
182
|
+
exit 0
|
|
183
|
+
fi
|
|
184
|
+
|
|
185
|
+
RELEASE_TAG="$(git tag --points-at HEAD | head -n1)"
|
|
186
|
+
if [[ -z "$RELEASE_TAG" ]]; then
|
|
187
|
+
echo "ERROR: expected release tag on HEAD but none was found."
|
|
188
|
+
exit 1
|
|
189
|
+
fi
|
|
190
|
+
|
|
191
|
+
echo "release_ref=$RELEASE_TAG" >> "$GITHUB_OUTPUT"
|
|
192
|
+
echo "Using release ref: $RELEASE_TAG"
|
|
193
|
+
|
|
194
|
+
- name: Prepend highlights to GitHub Release
|
|
195
|
+
if: steps.verify_release.outputs.release_created == 'true' && inputs.highlights != ''
|
|
196
|
+
env:
|
|
197
|
+
GH_TOKEN: ${{ secrets.RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
|
|
198
|
+
# Passed via env (not inline ${{ }}) so backticks, $, and quotes in the
|
|
199
|
+
# prose can't break the script or inject shell.
|
|
200
|
+
HIGHLIGHTS: ${{ inputs.highlights }}
|
|
201
|
+
shell: bash
|
|
202
|
+
run: |
|
|
203
|
+
TAG="${{ steps.release_ref.outputs.release_ref }}"
|
|
204
|
+
BODY="$(gh release view "$TAG" --json body -q .body)"
|
|
205
|
+
{ printf '%s\n' "$HIGHLIGHTS"; printf '\n---\n\n'; printf '%s\n' "$BODY"; } > /tmp/notes.md
|
|
206
|
+
gh release edit "$TAG" --notes-file /tmp/notes.md
|
|
207
|
+
|
|
208
|
+
- name: Release summary
|
|
209
|
+
if: always()
|
|
210
|
+
shell: bash
|
|
211
|
+
run: |
|
|
212
|
+
{
|
|
213
|
+
echo "## Release workflow summary"
|
|
214
|
+
echo ""
|
|
215
|
+
echo "- Trigger: \`${{ github.event_name }}\`"
|
|
216
|
+
echo "- Ref: \`${{ github.ref_name }}\`"
|
|
217
|
+
echo "- Release commit created: \`${{ steps.verify_release.outputs.release_created || 'unknown' }}\`"
|
|
218
|
+
echo "- Changelog validation: \`${{ steps.verify_release.outputs.changelog_validated || 'unknown' }}\`"
|
|
219
|
+
echo "- Release ref: \`${{ steps.release_ref.outputs.release_ref || 'n/a' }}\`"
|
|
220
|
+
echo "- Last commit subject: \`${{ steps.verify_release.outputs.release_subject || 'n/a' }}\`"
|
|
221
|
+
} >> "$GITHUB_STEP_SUMMARY"
|
|
222
|
+
|
|
223
|
+
# Build and publish jobs are inlined here (not in a reusable workflow) so that
|
|
224
|
+
# PyPI Trusted Publishing sees workflow_ref = release.yml. Reusable workflows
|
|
225
|
+
# are not supported by PyPI Trusted Publishing.
|
|
226
|
+
build-wheels:
|
|
227
|
+
name: Build wheels (${{ matrix.platform.name }})
|
|
228
|
+
needs: [release]
|
|
229
|
+
if: needs.release.outputs.release_created == 'true'
|
|
230
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
231
|
+
strategy:
|
|
232
|
+
fail-fast: false
|
|
233
|
+
matrix:
|
|
234
|
+
platform:
|
|
235
|
+
- name: linux-x86_64
|
|
236
|
+
runner: ubuntu-latest
|
|
237
|
+
target: x86_64
|
|
238
|
+
manylinux: auto
|
|
239
|
+
- name: linux-aarch64
|
|
240
|
+
runner: ubuntu-latest
|
|
241
|
+
target: aarch64
|
|
242
|
+
manylinux: auto
|
|
243
|
+
- name: macos-aarch64
|
|
244
|
+
runner: macos-latest
|
|
245
|
+
target: aarch64
|
|
246
|
+
manylinux: ''
|
|
247
|
+
- name: windows-x64
|
|
248
|
+
runner: windows-latest
|
|
249
|
+
target: x64
|
|
250
|
+
manylinux: ''
|
|
251
|
+
|
|
252
|
+
steps:
|
|
253
|
+
- name: Checkout repository
|
|
254
|
+
uses: actions/checkout@v4
|
|
255
|
+
with:
|
|
256
|
+
ref: ${{ needs.release.outputs.release_ref }}
|
|
257
|
+
|
|
258
|
+
- name: Set up Python
|
|
259
|
+
uses: actions/setup-python@v5
|
|
260
|
+
with:
|
|
261
|
+
python-version: '3.13'
|
|
262
|
+
|
|
263
|
+
- name: Build wheels
|
|
264
|
+
uses: PyO3/maturin-action@v1.48.0
|
|
265
|
+
env:
|
|
266
|
+
# ring (via rustls/sqlx): manylinux2014-cross gcc does not define __ARM_ARCH for .S asm.
|
|
267
|
+
# https://github.com/briansmith/ring/issues/1728
|
|
268
|
+
CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.name == 'linux-aarch64' && '-D__ARM_ARCH=8' || '' }}
|
|
269
|
+
with:
|
|
270
|
+
target: ${{ matrix.platform.target }}
|
|
271
|
+
args: --release --out dist --find-interpreter
|
|
272
|
+
manylinux: ${{ matrix.platform.manylinux }}
|
|
273
|
+
sccache: 'true'
|
|
274
|
+
|
|
275
|
+
- name: Upload wheels
|
|
276
|
+
uses: actions/upload-artifact@v4
|
|
277
|
+
with:
|
|
278
|
+
name: wheels-${{ matrix.platform.name }}
|
|
279
|
+
path: dist/*.whl
|
|
280
|
+
|
|
281
|
+
build-sdist:
|
|
282
|
+
name: Build sdist
|
|
283
|
+
needs: [release]
|
|
284
|
+
if: needs.release.outputs.release_created == 'true'
|
|
285
|
+
runs-on: ubuntu-latest
|
|
286
|
+
steps:
|
|
287
|
+
- name: Checkout repository
|
|
288
|
+
uses: actions/checkout@v4
|
|
289
|
+
with:
|
|
290
|
+
ref: ${{ needs.release.outputs.release_ref }}
|
|
291
|
+
|
|
292
|
+
- name: Build sdist
|
|
293
|
+
uses: PyO3/maturin-action@v1.48.0
|
|
294
|
+
with:
|
|
295
|
+
command: sdist
|
|
296
|
+
args: --out dist
|
|
297
|
+
|
|
298
|
+
- name: Upload sdist
|
|
299
|
+
uses: actions/upload-artifact@v4
|
|
300
|
+
with:
|
|
301
|
+
name: sdist
|
|
302
|
+
path: dist/*.tar.gz
|
|
303
|
+
|
|
304
|
+
test-wheels:
|
|
305
|
+
name: Test wheels (${{ matrix.os }})
|
|
306
|
+
needs: [release, build-wheels]
|
|
307
|
+
if: needs.release.outputs.release_created == 'true'
|
|
308
|
+
runs-on: ${{ matrix.os }}
|
|
309
|
+
strategy:
|
|
310
|
+
fail-fast: false
|
|
311
|
+
matrix:
|
|
312
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
313
|
+
steps:
|
|
314
|
+
- name: Checkout repository
|
|
315
|
+
uses: actions/checkout@v4
|
|
316
|
+
with:
|
|
317
|
+
ref: ${{ needs.release.outputs.release_ref }}
|
|
318
|
+
|
|
319
|
+
- name: Set up Python
|
|
320
|
+
uses: actions/setup-python@v5
|
|
321
|
+
with:
|
|
322
|
+
python-version: '3.13'
|
|
323
|
+
|
|
324
|
+
- name: Download wheels
|
|
325
|
+
uses: actions/download-artifact@v4
|
|
326
|
+
with:
|
|
327
|
+
path: dist
|
|
328
|
+
pattern: wheels-*
|
|
329
|
+
merge-multiple: true
|
|
330
|
+
|
|
331
|
+
- name: Install wheel
|
|
332
|
+
shell: bash
|
|
333
|
+
run: |
|
|
334
|
+
python -m pip install --upgrade pip
|
|
335
|
+
python -m pip install --find-links dist ferro-orm
|
|
336
|
+
|
|
337
|
+
- name: Test import
|
|
338
|
+
shell: bash
|
|
339
|
+
run: |
|
|
340
|
+
python -c "import ferro; print('Ferro imported successfully')"
|
|
341
|
+
|
|
342
|
+
- name: Run basic smoke test
|
|
343
|
+
shell: bash
|
|
344
|
+
run: |
|
|
345
|
+
python -c "
|
|
346
|
+
import asyncio
|
|
347
|
+
from ferro import Model, FerroField, connect
|
|
348
|
+
from typing import Annotated
|
|
349
|
+
|
|
350
|
+
class TestModel(Model):
|
|
351
|
+
id: Annotated[int, FerroField(primary_key=True)]
|
|
352
|
+
name: str
|
|
353
|
+
|
|
354
|
+
async def test():
|
|
355
|
+
await connect('sqlite::memory:')
|
|
356
|
+
print('Connection test passed')
|
|
357
|
+
|
|
358
|
+
asyncio.run(test())
|
|
359
|
+
"
|
|
360
|
+
|
|
361
|
+
publish-pypi:
|
|
362
|
+
name: Publish to PyPI
|
|
363
|
+
needs: [release, build-wheels, build-sdist, test-wheels]
|
|
364
|
+
if: needs.release.outputs.release_created == 'true'
|
|
365
|
+
runs-on: ubuntu-latest
|
|
366
|
+
environment:
|
|
367
|
+
name: pypi
|
|
368
|
+
url: https://pypi.org/p/ferro-orm
|
|
369
|
+
permissions:
|
|
370
|
+
id-token: write
|
|
371
|
+
steps:
|
|
372
|
+
- name: Download all artifacts
|
|
373
|
+
uses: actions/download-artifact@v4
|
|
374
|
+
with:
|
|
375
|
+
path: dist
|
|
376
|
+
merge-multiple: true
|
|
377
|
+
|
|
378
|
+
- name: Publish to PyPI
|
|
379
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
380
|
+
with:
|
|
381
|
+
skip-existing: true
|
|
382
|
+
verbose: true
|
|
383
|
+
|
|
384
|
+
deploy-docs:
|
|
385
|
+
name: Deploy Documentation
|
|
386
|
+
needs: [release, publish-pypi]
|
|
387
|
+
if: needs.release.outputs.release_created == 'true'
|
|
388
|
+
uses: ./.github/workflows/publish-docs.yml
|
|
389
|
+
permissions:
|
|
390
|
+
contents: read
|
|
391
|
+
pages: write
|
|
392
|
+
id-token: write
|
|
393
|
+
with:
|
|
394
|
+
ref: ${{ needs.release.outputs.release_ref }}
|