Tags: iiasa/ixmp4
Tags
Apply maintenance June 2025 (#183) * 📝 docs: Fix outdated poetry instructions * ✨ feat: Adjust to mypy 1.16 * ✨ feat: Remove outdated mypy plugin and version pins * 👷 build: Bump dependency versions * ♻️ refactor: Apply new ruff formatting * 🐛 fix: Adjust to pandera 0.24 * 🐛 fix: Bump minimum required pandas version to suit pandera * ♻️ refactor: Fix pydantic DeprecationWarning * ♻️ refactor: Fix some pandas DeprecationWarnings * 👷 build: Adjust to new alembic config key name * 🐛 fix: Compare None to None and NaN to NaN exclusively
Apply maintenance June 2025 (#183) * 📝 docs: Fix outdated poetry instructions * ✨ feat: Adjust to mypy 1.16 * ✨ feat: Remove outdated mypy plugin and version pins * 👷 build: Bump dependency versions * ♻️ refactor: Apply new ruff formatting * 🐛 fix: Adjust to pandera 0.24 * 🐛 fix: Bump minimum required pandas version to suit pandera * ♻️ refactor: Fix pydantic DeprecationWarning * ♻️ refactor: Fix some pandas DeprecationWarnings * 👷 build: Adjust to new alembic config key name * 🐛 fix: Compare None to None and NaN to NaN exclusively
Add Migration Tests and Fill Initial Version Data (#181) * add and use generate_initial_version_data function in version migration * use new suggested pandera import * poetry lock * pin pandera to below 0.24.0 * pandera.pandas -> pandera * assert result.output instead of result.stdout * revert integrating version data generation into original migration * add new migration to load initial version data * add pytest-alembic * addjust env.py for use with pt-alembic * add migration data fixtures * add migration tests * fix broken migrations * increase timeout in `transact()` test * enable postgres migration tests * fix pause_foreign_key_checks for postgres * add max_identifier length to engine creation functions * adjust naming conventions of constraints to match new max length * drop alembic_version table every time if it exists * fix docstring
Remove data from linked items when removing data from indexset items (#… …171) * ✨ feat: Allow importing linked items to indexset/model.py * 📝 docs: Note TODO suggestion by meksor * ✨ feat: Enable optionally removing only specific Equation data * ✨ feat: Enable optionally removing only specific Variable data * ✨ feat: Make ID filters known to DB optimization EnumerateKwargs * ✨ feat: Enable removing data from linked items... * ...when removing data from an IndexSet * ...and set this as default (but allow deactivation via flag) * ✨ feat: Warn about removing specific data from unindexed items * ✅ test: Run IndexSet tests the same way independent of Backend type
Remove data from linked items when removing data from indexset items (#… …171) * ✨ feat: Allow importing linked items to indexset/model.py * 📝 docs: Note TODO suggestion by meksor * ✨ feat: Enable optionally removing only specific Equation data * ✨ feat: Enable optionally removing only specific Variable data * ✨ feat: Make ID filters known to DB optimization EnumerateKwargs * ✨ feat: Enable removing data from linked items... * ...when removing data from an IndexSet * ...and set this as default (but allow deactivation via flag) * ✨ feat: Warn about removing specific data from unindexed items * ✅ test: Run IndexSet tests the same way independent of Backend type
PreviousNext