Skip to content

Commit

Permalink
Reserialize dags on db migration (#218)
Browse files Browse the repository at this point in the history
*Issue #, if available:*

*Description of changes:*
In previous airflow versions, we had reserialize dags as true. Right now
it does not so setting this config to True. Tested by having the run
script go to this path and successfully execute the command with this
new config.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

---------

Co-authored-by: Michael Fu <[email protected]>
  • Loading branch information
michaelfu1029 and Michael Fu authored Feb 14, 2025
1 parent 0120009 commit f97892e
Show file tree
Hide file tree
Showing 39 changed files with 147 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.7.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.7.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15434,10 +15434,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
2 changes: 1 addition & 1 deletion images/airflow/2.10.1/python/mwaa/database/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _migrate_db():
args = Namespace(
from_revision=None,
from_version=None,
reserialize_dags=None,
reserialize_dags=True,
show_sql_only=None,
to_revision=None,
to_version=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.36.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.36.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15580,10 +15580,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ This Docker image includes the following third-party software/licensing:
tzdata-2024a: Public Domain
publicsuffix-list-dafsa-20240212: MPLv2.0
ncurses-base-6.2: MIT
amazon-linux-repo-cdn-2023.6.20250203: MIT
system-release-2023.6.20250203: MIT
amazon-linux-repo-cdn-2023.6.20250211: MIT
system-release-2023.6.20250211: MIT
filesystem-3.14: Public Domain
glibc-minimal-langpack-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
glibc-2.34: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public Domain and GFDL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6162,10 +6162,10 @@ Copyright 2013-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3-1.35.36.dist-info/NOTICE

boto3-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/mypy_boto3_builder
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/boto3_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2025 Vlad Emelianov
Expand Down Expand Up @@ -6437,10 +6437,10 @@ one at http://mozilla.org/MPL/2.0/.
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore-1.35.36.dist-info/NOTICE

botocore-stubs
1.36.16
1.36.21
MIT License
https://github.com/youtype/botocore-stubs
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.16.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/botocore_stubs-1.36.21.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down Expand Up @@ -15580,10 +15580,10 @@ UNKNOWN
UNKNOWN

types-awscrt
0.23.9
0.23.10
MIT License
https://github.com/youtype/types-awscrt
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.9.dist-info/LICENSE
/usr/local/airflow/.local/lib/python3.11/site-packages/types_awscrt-0.23.10.dist-info/LICENSE
MIT License

Copyright (c) 2022 Vlad Emelianov
Expand Down
Loading

0 comments on commit f97892e

Please sign in to comment.