The GitHub Actions job "Tests (AMD)" on airflow.git/fix/68757-pathlib-migration has failed. Run started by GitHub user Dotify71 (triggered by Dotify71).
Head commit for run: a40c67b6488acc193f6354318f5c456665e2764d / Dushyant Acharya <[email protected]> Fix migration ref script for digit-starting module IDs on Python 3.10 Airflow migration files use the naming convention NNNN_X_Y_Z_description.py. Alembic derives module IDs from filenames via re.sub(r"\W", "_", filename), producing identifiers starting with digits, which are not valid Python module identifiers. On Python 3.10 this causes importlib to produce a module whose level-variable assignments (like revision = "...") are invisible via hasattr(). The fix monkey-patches Alembic's load_module_py to prepend "m_" to any module ID starting with a digit, producing a valid Python identifier. Report URL: https://github.com/apache/airflow/actions/runs/28315814445 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
