-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync v2-7-stable with v2-7-test to release 2.7.1 #33826
Commits on Aug 18, 2023
-
Remove openlineage exclusion (#33491)
Now that Airflow 2.7.0 is released, we can remove exclusion that we had for openlineage which prevented from using it as dependency of Airflow in CI. (cherry picked from commit 008f233)
Configuration menu - View commit details
-
Copy full SHA for 126b507 - Browse repository at this point
Copy the full SHA 126b507View commit details
Commits on Aug 21, 2023
-
Fix OpenLineage link in New Features notes (#33513)
The label is provider:openlineage instead of API-53 (cherry picked from commit de17b93)
Configuration menu - View commit details
-
Copy full SHA for dc44806 - Browse repository at this point
Copy the full SHA dc44806View commit details
Commits on Aug 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a335ca5 - Browse repository at this point
Copy the full SHA a335ca5View commit details
Commits on Aug 25, 2023
-
Remove Pydantic limitation for version < 2 (#33507)
We already fixed all deprecation warnings for Pydantic 2 and we can thus remove Pydantic 2 limitation. Even if we are waiting for other dependencies (aws-sam-translator) it should be save to remove the limit - we will get Pydantic 2 when aws-sam-translate new version is released in a week or two (Pydantic 2 support has been added last week in aws/serverless-application-model#3282) (cherry picked from commit 754a4ab)
Configuration menu - View commit details
-
Copy full SHA for 100f37d - Browse repository at this point
Copy the full SHA 100f37dView commit details -
Add MySQL 8.1 to supported versions. (#33576)
* Add MySQL 8.1 to supported versions. Anticipating Lazy Consensus to be reached we add 8.1 version of MySQL to supported versions. * Apply suggestions from code review (cherry picked from commit 825f65f)
Configuration menu - View commit details
-
Copy full SHA for 698ad80 - Browse repository at this point
Copy the full SHA 698ad80View commit details -
Fix dependencies for celery and opentelemetry for Python 3.8 (#33579)
We used to have problems with `pip` backtracking when we relaxed too much open-telemetry dependencies. It turned out that the backtracting was only happening on Python 3.8 and that it was ultimately caused by conflict between importlib_metadata between Airflow and newer versions of opentelemetry (we had <5 for Python 3.8, they had >6 for all versions. The reason for limiting it in Airflow was Celery that was not working well with importlib 5. Since Celery 5.3 solved the problems (released 6th of June) we can now relax the importlib_metadata limit and set Celery to version >= 5.3.0) which nicely resolves the conflict and there is no more backtracking when trying to install newer versions of opentelemetry for Python 3.8. Fixes: #33577 (cherry picked from commit ae25a52)
Configuration menu - View commit details
-
Copy full SHA for 3fad890 - Browse repository at this point
Copy the full SHA 3fad890View commit details -
Improve detection of when breeze CI image needs rebuilding (#33603)
* Improve detection of when breeze CI image needs rebuilding Previously we have been using provider.yaml file modification as a sign that the docker image needs rebuilding when starting image. However just modification of provider.yaml file is not a sign that the image needs rebuilding. The image needs rebuilding when provider dependencies changed, but there are many more reasons why provider.yaml file changed - especially recently provider.yaml file contains much more information and dependencies are only part of it. Provider.yaml files can also be modified by release manager wnen documentation is prepared, but none of the documentation change is a reason for rebuilding the image. This PR optimize the check for image building introducing two step process: * first we check if provider.yaml files changed * if they did, we regenerate provider dependencies by manully running the pre-commit script * then provider_dependencies.json is used instead of all providers to determine if the image needs rebuilding This has several nice side effects: * the list of files that have been modified displayed to the user is potentially much smaller (no provider.yaml files) * provider_dependencies.json is regenereated automatically when you run any breeze command, which means that you do not have to have pre-commit installed to regenerate it * the notification "image needs rebuilding" will be printed less frequently to the user - only when it is really needed * preparing provider documentation in CI will not trigger image rebuilding (which might occasionally fail in such case especially when we bring back a provider from long suspension like it happened in #33574 * Update dev/breeze/src/airflow_breeze/commands/developer_commands.py (cherry picked from commit ac0d5b3)
Configuration menu - View commit details
-
Copy full SHA for 6005da9 - Browse repository at this point
Copy the full SHA 6005da9View commit details -
Upgrade botocore/aiobotocore minimum requirements (#33649)
Botocore has a very peculiar process of releasing new version every day, which means that it gives `pip` hard time to figure what will be the non-conflicting set of packages when we have too low of a minium version set as requirement. Since we had > 1.24 that means that `pip` had to consider more than 340 versions for botocore, but also for related mypy packages and also a number of aiobotocore packages when resolving eager-upgrade. We limit all the relevant packages to 1.28 as minimum version now, and we should continue doing that regularly in the future. (cherry picked from commit 5f504e9)
Configuration menu - View commit details
-
Copy full SHA for fdd1bc3 - Browse repository at this point
Copy the full SHA fdd1bc3View commit details
Commits on Aug 26, 2023
-
Limit hive provider check for Python 3.11 temporarily (#33774)
In order to generate constraints, we need to temporarily limit also hive provider. There is a gap between wnen we added it in airflow setup and when we can generate constraints for the released providers from PyPI - we need to release the provider similarly like we have to do it for yandex. Therefore - until the upcoming hive provider is released (in 3 days) we need to limit hive from being considered in Python 3.11 consstraint generation for providers from PyPI (cherry picked from commit 984ba22)
Configuration menu - View commit details
-
Copy full SHA for 45d2282 - Browse repository at this point
Copy the full SHA 45d2282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20bfcaf - Browse repository at this point
Copy the full SHA 20bfcafView commit details -
Remove "eager upgrade" from PROD image completely (#33784)
There were still some left-overs of EAGER_UPGRADE in PROD image building. Howwever "eager upgrade" only makes sense for CI images. PROD images when being built should use eager upgrades as they are produced in the CI image step. This PR does the following: * removes eager upgrade parameters from PROD image * instead, prod image build has a new flag for installing the images: --use-constraints-for-context-packages which will automatically use constraints from "docker-context-files" if they are present there. * modifies the CI workflows to upload constraints as artifacts and download them for PROD image build when "eager upgrade" has been used and directs it to use "source" constraints * adds back support to "upgrade to newer dependencies" label that makes it easy to test "eager upgrade" As the result, when PROD image is build in CI: * when regular PR is run, it will use latest github "source" constraints * whwn "eager upgrade" PR is run, it will use the eager-upgrade constraints that were generated during CI build (cherry picked from commit 2b1a194)
Configuration menu - View commit details
-
Copy full SHA for d39abde - Browse repository at this point
Copy the full SHA d39abdeView commit details
Commits on Aug 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 529346b - Browse repository at this point
Copy the full SHA 529346bView commit details -
Use PyPI constraints for PROD image in non-main branch (#33789)
When we are building PROD image in CI for non main branch, we are installing providers from PyPI rather than building them locally from sources. Therefore we should use `PyPI` constraints for such builds not the "source" constraints (they might differ). This PR adds two steps: * In the CI build, when we do not build providers we generate PyPI constraints additionally to source constraints * In the PROD build we use the PyPI constraints in case we do not build providers locally (cherry picked from commit f9276f0)
Configuration menu - View commit details
-
Copy full SHA for b3bb92a - Browse repository at this point
Copy the full SHA b3bb92aView commit details -
Fix rendering the mapped parameters when using
expand_kwargs
method (……#32272) * Fix rendering the mapped parameters in the mapped operator Signed-off-by: Hussein Awala <[email protected]> * add template_in_template arg to expand method to tell Airflow whether to resolve the xcom data or not * fix dag serialization tests * Revert "fix dag serialization tests" This reverts commit 191351c. * Revert "add template_in_template arg to expand method to tell Airflow whether to resolve the xcom data or not" This reverts commit 14bd392. * Fix ListOfDictsExpandInput resolve method * remove _iter_parse_time_resolved_kwargs method * remove unnecessary step --------- Signed-off-by: Hussein Awala <[email protected]> (cherry picked from commit d1e6a5c)
Configuration menu - View commit details
-
Copy full SHA for 22d09d3 - Browse repository at this point
Copy the full SHA 22d09d3View commit details
Commits on Aug 28, 2023
-
Bring back hive support for Python 3.11 (#32607)
Update airflow/providers/apache/hive/CHANGELOG.rst Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 08188f8)
Configuration menu - View commit details
-
Copy full SHA for 56ec8d7 - Browse repository at this point
Copy the full SHA 56ec8d7View commit details -
[Models] [Postgres] Check if the dynamically-added index is in the ta…
Configuration menu - View commit details
-
Copy full SHA for fc77886 - Browse repository at this point
Copy the full SHA fc77886View commit details -
Fix getting correct commit from multiple referenced PR (#33411)
When a PR is referenced by other PRs, our dev tool for getting the correct commit lists the latest commit when looking for the commmit sha but we should get the oldest. (cherry picked from commit 5b104a9)
Configuration menu - View commit details
-
Copy full SHA for 34aef4b - Browse repository at this point
Copy the full SHA 34aef4bView commit details -
More complete fix for dev release scripts to filter commit for PR (#3…
…3418) This is a more complete fix to #33411. This is also a follow up on earlier implementation of #33261 that addressed checking if PRs are merged. This one applies the same pattern to finding commit but also improves it by checking if the (#NNNNNN) ends the subject - so even if the PR is in the same form in the message, it will be filtered out. The previous "--reverse" quick fix in #33411 had potential of problem in case there were releated PRs merged before the original PR (which is quite posssible when you have a series of PRs referring to each other. (cherry picked from commit 3766ab0)
Configuration menu - View commit details
-
Copy full SHA for 04e94bf - Browse repository at this point
Copy the full SHA 04e94bfView commit details -
Fix handling of default value and serialization of Param class (#33141)
(cherry picked from commit 489ca14)
Configuration menu - View commit details
-
Copy full SHA for aab0f4b - Browse repository at this point
Copy the full SHA aab0f4bView commit details -
Refactor: Simplify code in configuration.py (#33160)
(cherry picked from commit 21656fc)
Configuration menu - View commit details
-
Copy full SHA for ee20c88 - Browse repository at this point
Copy the full SHA ee20c88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11845bb - Browse repository at this point
Copy the full SHA 11845bbView commit details -
Fix pydantic warning about
orm_mode
rename (#33220)* Fix pydantic warning about `orm_mode` rename Pydantic 2 renamed orm_mode to from_attributes. This was missed during the upgrade to pydantic 2 and it gives excessive warning about the rename. This PR fixes it * Also rename from_orm to model_validate and use model_dump instead of dict * Fix Pydantic 1.x compatibility --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 75bb04b)
Configuration menu - View commit details
-
Copy full SHA for bc9ea43 - Browse repository at this point
Copy the full SHA bc9ea43View commit details -
Refactor: Simplify dict manipulation in metrics (#33264)
(cherry picked from commit 01a6c1e)
Configuration menu - View commit details
-
Copy full SHA for 84369c6 - Browse repository at this point
Copy the full SHA 84369c6View commit details -
Refactor: Simplify code in serialization (#33266)
(cherry picked from commit 63c5df8)
Configuration menu - View commit details
-
Copy full SHA for d31f20b - Browse repository at this point
Copy the full SHA d31f20bView commit details -
Refactor: Simplify code in settings (#33267)
(cherry picked from commit 95e9d83)
Configuration menu - View commit details
-
Copy full SHA for 3439f91 - Browse repository at this point
Copy the full SHA 3439f91View commit details -
Refactor: Simplify code in utils (#33268)
(cherry picked from commit cc8519d)
Configuration menu - View commit details
-
Copy full SHA for cff420b - Browse repository at this point
Copy the full SHA cff420bView commit details -
Refactor: Simplify code in www (#33270)
(cherry picked from commit 369b9bc)
Configuration menu - View commit details
-
Copy full SHA for 496f917 - Browse repository at this point
Copy the full SHA 496f917View commit details -
Refactor: Simplify code in scripts (#33295)
(cherry picked from commit 50a6385)
Configuration menu - View commit details
-
Copy full SHA for 4e4911b - Browse repository at this point
Copy the full SHA 4e4911bView commit details -
Refactor str.startswith with tuples (#33292)
(cherry picked from commit d747a79)
Configuration menu - View commit details
-
Copy full SHA for d329d70 - Browse repository at this point
Copy the full SHA d329d70View commit details -
Fix test_example_dags (#32714)
By going up to `parents[3]` we were going outside the repository root, luckily(or unluckily the repo folder is also named `airflow` so the pattern `airflow/**/example_dags/example_*.py` still worked, but `tests/system/providers/**/example_*.py` wasn't being used. This discovered 2 new errors: - `example_local_to_wasb.py` was trivial to fix - `example_redis_publish.py`is more interesting: this one fails because `RedisPubSubSensor` constructor calls Redis.pubsub().subscribe(), which just hangs and DagBag fails with timeout. For now I'm just deleting this operator from the example. (cherry picked from commit c048bd5)
Configuration menu - View commit details
-
Copy full SHA for c597ca1 - Browse repository at this point
Copy the full SHA c597ca1View commit details -
Refactor: Simplify code in tests (#33293)
(cherry picked from commit d2c0bbe)
Configuration menu - View commit details
-
Copy full SHA for 75bf02e - Browse repository at this point
Copy the full SHA 75bf02eView commit details -
D205 Support - Root files (#33297)
* D205 Support - Root files Updates setup.py, airflow/configuration.py, and airflow/exceptions.py * missed one (cherry picked from commit 4755fe4)
Configuration menu - View commit details
-
Copy full SHA for 4074370 - Browse repository at this point
Copy the full SHA 4074370View commit details -
* D205 Support - WWW * fix broken link (cherry picked from commit 64c2a56)
Configuration menu - View commit details
-
Copy full SHA for a33cbf0 - Browse repository at this point
Copy the full SHA a33cbf0View commit details -
D401 Support - Secrets to Triggers (Inclusive) (#33338)
(cherry picked from commit 44a752a)
Configuration menu - View commit details
-
Copy full SHA for 601d0e4 - Browse repository at this point
Copy the full SHA 601d0e4View commit details -
D205 Support - Stragglers (#33301)
(cherry picked from commit 9bf68ad)
Configuration menu - View commit details
-
Copy full SHA for 4af3afd - Browse repository at this point
Copy the full SHA 4af3afdView commit details -
Remove the replace to <br> tag in Provider's view (#33326)
(cherry picked from commit 23d5424)
Configuration menu - View commit details
-
Copy full SHA for bb6ea0f - Browse repository at this point
Copy the full SHA bb6ea0fView commit details -
D401 Support - Airflow/api thru Airflow/auth (#33333)
(cherry picked from commit b657ae9)
Configuration menu - View commit details
-
Copy full SHA for 548e3f5 - Browse repository at this point
Copy the full SHA 548e3f5View commit details -
Fix some missing type hints (#33334)
(cherry picked from commit 3c48dc7)
Configuration menu - View commit details
-
Copy full SHA for f7e39af - Browse repository at this point
Copy the full SHA f7e39afView commit details -
D401 Support - airflow/callbacks thru airflow/decorators (#33335)
(cherry picked from commit 396fd3c)
Configuration menu - View commit details
-
Copy full SHA for 448cf69 - Browse repository at this point
Copy the full SHA 448cf69View commit details -
D401 Support - airflow/example_dags thru airflow/listeners (#33336)
(cherry picked from commit d0c94d6)
Configuration menu - View commit details
-
Copy full SHA for 85d75a2 - Browse repository at this point
Copy the full SHA 85d75a2View commit details -
D401 Support - Macros to Operators (Inclusive) (#33337)
* D401 Support - airflow/macros thru airflow/operators * fix static checks (cherry picked from commit 2efb3a6)
Configuration menu - View commit details
-
Copy full SHA for 4c01584 - Browse repository at this point
Copy the full SHA 4c01584View commit details -
(cherry picked from commit 8279628)
Configuration menu - View commit details
-
Copy full SHA for 5988ea6 - Browse repository at this point
Copy the full SHA 5988ea6View commit details -
D401 Support - Root Files (#33352)
(cherry picked from commit 5e1e5fa)
Configuration menu - View commit details
-
Copy full SHA for 14c91db - Browse repository at this point
Copy the full SHA 14c91dbView commit details -
Fix DagFileProcessor interfering with dags outside its ``processor_su…
Configuration menu - View commit details
-
Copy full SHA for f44a324 - Browse repository at this point
Copy the full SHA f44a324View commit details -
Fix config description for base_log_folder (#33388)
(cherry picked from commit 08565dc)
Configuration menu - View commit details
-
Copy full SHA for c3580fc - Browse repository at this point
Copy the full SHA c3580fcView commit details -
Simplify 'X for X in Y' to 'Y' where applicable (#33453)
(cherry picked from commit 7700fb1)
Configuration menu - View commit details
-
Copy full SHA for 08d4e01 - Browse repository at this point
Copy the full SHA 08d4e01View commit details -
Create a new method used to resume the task in order to implement spe…
…cific logic for operators (#33424) * Create a generic method used to resume the task in order to implement specific logic for each operator * Provide resume_execution args * add a unit test * Fix soft fail after a trigger timeout * wrap the exception with a str to get the message * Apply suggestions from code review Co-authored-by: Tzu-ping Chung <[email protected]> --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 852f85b)
Configuration menu - View commit details
-
Copy full SHA for 6996d30 - Browse repository at this point
Copy the full SHA 6996d30View commit details -
Respect "soft_fail" argument when "poke" is called (#33401)
* feat(sensors/base): raise AirflowSkipException if soft_fail is set to True and exception occurs after running poke() * test(sensor/base): add test case for respecting soft_fail option when other kinds of exception is raised (cherry picked from commit d91c481)
Configuration menu - View commit details
-
Copy full SHA for dfe129f - Browse repository at this point
Copy the full SHA dfe129fView commit details -
Allow timetable to slightly miss catchup cutoff (#33404)
(cherry picked from commit a6299d4)
Configuration menu - View commit details
-
Copy full SHA for a597d5e - Browse repository at this point
Copy the full SHA a597d5eView commit details -
Import utc from datetime and normalize its import (#33450)
(cherry picked from commit bfe08a7)
Configuration menu - View commit details
-
Copy full SHA for 0fbb01b - Browse repository at this point
Copy the full SHA 0fbb01bView commit details -
make
conf.set
case insensitive (#33452)* make `conf.set` case insensitive `conf.get` is insensitive (it converts section and key to lower case) but set is not, which can lead to surprising behavior (see the test, which is not passing without the fix). I suggest that we override set as well to fix that. Any value that was set before with upper case was unreacheable. * fix remove_option as well * away with the str() * add significant change newsfragment (cherry picked from commit abbd567)
Configuration menu - View commit details
-
Copy full SHA for 24b11c9 - Browse repository at this point
Copy the full SHA 24b11c9View commit details -
Fix Cluster Activity Health margin (#33456)
(cherry picked from commit 2ae6d4b)
Configuration menu - View commit details
-
Copy full SHA for 5930e18 - Browse repository at this point
Copy the full SHA 5930e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ea787 - Browse repository at this point
Copy the full SHA f5ea787View commit details -
(cherry picked from commit 5ee1bcb)
Configuration menu - View commit details
-
Copy full SHA for 00fe546 - Browse repository at this point
Copy the full SHA 00fe546View commit details -
Fix secrets backend docs (#33471)
(cherry picked from commit 996d8c5)
Configuration menu - View commit details
-
Copy full SHA for ab1fd50 - Browse repository at this point
Copy the full SHA ab1fd50View commit details -
Use absolute path in README.md for broken links on pypi listing (#33473)
Observed a couple of links are broken on our pypi project listing https://pypi.org/project/apache-airflow/. They work fine when viewed on GitHub but those relative links don't work fine on the pypi index. Also, applied a few quick-fixes that my PyCharm suggested for the README.md file (cherry picked from commit 5a37025)
Configuration menu - View commit details
-
Copy full SHA for 29ffb32 - Browse repository at this point
Copy the full SHA 29ffb32View commit details -
Simplify code around enumerate (#33476)
(cherry picked from commit bcefe61)
Configuration menu - View commit details
-
Copy full SHA for 5029092 - Browse repository at this point
Copy the full SHA 5029092View commit details -
Consolidate import and usage of pandas (#33480)
(cherry picked from commit 8e88eb8)
Configuration menu - View commit details
-
Copy full SHA for 20ebd99 - Browse repository at this point
Copy the full SHA 20ebd99View commit details -
Fix a bug in formatDuration method (#33486)
(cherry picked from commit eed09da)
Configuration menu - View commit details
-
Copy full SHA for ea432df - Browse repository at this point
Copy the full SHA ea432dfView commit details -
Do not return ongoin dagrun when a end_date is less than utcnow (#33488)
(cherry picked from commit 7c51c87)
Configuration menu - View commit details
-
Copy full SHA for 5c8e799 - Browse repository at this point
Copy the full SHA 5c8e799View commit details -
Fix broken link in Modules Management page (#33499)
fixing broken link in Modules Management (cherry picked from commit 02d3378)
Configuration menu - View commit details
-
Copy full SHA for e257869 - Browse repository at this point
Copy the full SHA e257869View commit details -
Use
dialect.name
in custom SA types (#33503)* Use `dialect.name` in custom SA types * Fix removed import (cherry picked from commit 46aa429)
Configuration menu - View commit details
-
Copy full SHA for 7eeba7c - Browse repository at this point
Copy the full SHA 7eeba7cView commit details -
Update version_added field for configs in config file (#33509)
Configuration menu - View commit details
-
Copy full SHA for 3f8c352 - Browse repository at this point
Copy the full SHA 3f8c352View commit details -
Fix typo in
db upgrade
warning message (#33510)`db updgrade` to `db upgrade` (cherry picked from commit bfba17b)
Configuration menu - View commit details
-
Copy full SHA for dc73e78 - Browse repository at this point
Copy the full SHA dc73e78View commit details -
Set strict to True when parsing dates in webserver views (#33512)
Co-authored-by: Tzu-ping Chung <[email protected]> --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 4390524)
Configuration menu - View commit details
-
Copy full SHA for a3fa682 - Browse repository at this point
Copy the full SHA a3fa682View commit details -
Move license templates out of repo root (#33515)
(cherry picked from commit f89af21)
Configuration menu - View commit details
-
Copy full SHA for f4c2b58 - Browse repository at this point
Copy the full SHA f4c2b58View commit details -
Configuration menu - View commit details
-
Copy full SHA for df352f3 - Browse repository at this point
Copy the full SHA df352f3View commit details -
Fix typo in release notes (#33521)
(cherry picked from commit e69aae1)
Configuration menu - View commit details
-
Copy full SHA for 42cfb91 - Browse repository at this point
Copy the full SHA 42cfb91View commit details -
Sort data before groupby in TIS duration calculation (#33535)
(cherry picked from commit 79b8cfc)
Configuration menu - View commit details
-
Copy full SHA for 5101840 - Browse repository at this point
Copy the full SHA 5101840View commit details -
Add a fallback in case no first name and last name are set (#33617)
(cherry picked from commit 62b917a)
Configuration menu - View commit details
-
Copy full SHA for d508a9a - Browse repository at this point
Copy the full SHA d508a9aView commit details -
Bind engine before attempting to drop archive tables (#33622)
(cherry picked from commit 911cf46)
Configuration menu - View commit details
-
Copy full SHA for e77f83d - Browse repository at this point
Copy the full SHA e77f83dView commit details -
Treat dag-defined access_control as authoritative if defined (#33632)
(cherry picked from commit 370348a)
Configuration menu - View commit details
-
Copy full SHA for e6f6dea - Browse repository at this point
Copy the full SHA e6f6deaView commit details -
Set context inside templates (#33645)
* Set context inside templates --------- Co-authored-by: Ivan Afonichkin <[email protected]> Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 9fa782f)
Configuration menu - View commit details
-
Copy full SHA for b0f9afb - Browse repository at this point
Copy the full SHA b0f9afbView commit details -
Fix 2.7.0 db migration job errors (#33652)
* Fix circular import from kubernetes_executor * Do not validate SQL when initialising Sentry --------- Co-authored-by: Lipu Fei <[email protected]> (cherry picked from commit 4bdf908)
Configuration menu - View commit details
-
Copy full SHA for 4befd33 - Browse repository at this point
Copy the full SHA 4befd33View commit details -
Add back
get_url_for_login
in security manager (#33660)* Add back `get_url_for_login` in security manager * Rename FAB_SECURITY_MANAGER_CLASS to SECURITY_MANAGER_CLASS (cherry picked from commit b1cdab3)
Configuration menu - View commit details
-
Copy full SHA for 37ac1e8 - Browse repository at this point
Copy the full SHA 37ac1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ebfe47 - Browse repository at this point
Copy the full SHA 2ebfe47View commit details -
Fix cleaning zombie RESTARTING tasks (#33706)
* Fix cleaning zombie RESTARTING tasks * Fix test * Improve naming Renamed to adoptable_states because adoption is preferrable choice and reset is fallback. Also "resettable" might be confused with RESTARTING itself. --------- Co-authored-by: daniel.dylag <[email protected]> (cherry picked from commit 5c35786)
Configuration menu - View commit details
-
Copy full SHA for 12db5ed - Browse repository at this point
Copy the full SHA 12db5edView commit details -
Add documentation explaining template_ext (and how to override it) (#…
Configuration menu - View commit details
-
Copy full SHA for e32036e - Browse repository at this point
Copy the full SHA e32036eView commit details -
Use f-string instead of in Airflow core (#33753)
(cherry picked from commit 272b40a)
Configuration menu - View commit details
-
Copy full SHA for d83c0c5 - Browse repository at this point
Copy the full SHA d83c0c5View commit details -
Fix UI DAG counts including deleted DAGs (#33778)
(cherry picked from commit 64948fa)
Configuration menu - View commit details
-
Copy full SHA for 69fc667 - Browse repository at this point
Copy the full SHA 69fc667View commit details -
Refactor: Simplofy code in dev (#33294)
(cherry picked from commit 3b313e2)
Configuration menu - View commit details
-
Copy full SHA for e793cf2 - Browse repository at this point
Copy the full SHA e793cf2View commit details -
Refactor: Simplify code in providers/amazon (#33222)
(cherry picked from commit 83bd60f)
Configuration menu - View commit details
-
Copy full SHA for b214417 - Browse repository at this point
Copy the full SHA b214417View commit details -
Refactor: Simplify code in smaller providers (#33234)
(cherry picked from commit a91ee7a)
Configuration menu - View commit details
-
Copy full SHA for 5b213b8 - Browse repository at this point
Copy the full SHA 5b213b8View commit details -
Simplify conditions on len() in other providers (#33569)
(cherry picked from commit 1cdd823)
Configuration menu - View commit details
-
Copy full SHA for 2c14bb4 - Browse repository at this point
Copy the full SHA 2c14bb4View commit details -
Refactor: Simplify code in providers/cncf (#33230)
(cherry picked from commit 056f167)
Configuration menu - View commit details
-
Copy full SHA for 2aa3344 - Browse repository at this point
Copy the full SHA 2aa3344View commit details -
Consolidate import and usage of itertools (#33479)
(cherry picked from commit 95a930b)
Configuration menu - View commit details
-
Copy full SHA for fe85781 - Browse repository at this point
Copy the full SHA fe85781View commit details -
Validate SqoopHook connection string and disable extra options from p…
…ublic hook methods (#33039) * Validate SqoopHook connection string and disable extra options from hook methods Check that the connection string constructed using the connection's `host`, `port` and `schema` does not contain query params as it is not intended. Additionally, also disable the `extra_import_options` and `extra_export_options` arguments accepted directly by the hook methods but accept it as a param via the hook constructor when initialising the hook or by passing it in hook_params when initialising the hook from operators. * Propogate missing hook param changes to the operator * Remove test for invalid port with query param as ports are integers and not accepted by databases * Add 4.0.0 to provider.yaml (cherry picked from commit 59f5f58)
Configuration menu - View commit details
-
Copy full SHA for dffc1d6 - Browse repository at this point
Copy the full SHA dffc1d6View commit details -
Replace OrderedDict with plain dict (#33508)
(cherry picked from commit 63e6eab)
Configuration menu - View commit details
-
Copy full SHA for 352c96e - Browse repository at this point
Copy the full SHA 352c96eView commit details -
openlineage: do not try to redact Proxy objects from deprecated config (
#33393) Signed-off-by: Maciej Obuchowski <[email protected]> (cherry picked from commit 8e738cd)
Configuration menu - View commit details
-
Copy full SHA for 5727eb6 - Browse repository at this point
Copy the full SHA 5727eb6View commit details -
Replace repr() with proper formatting (#33520)
(cherry picked from commit abef61f)
Configuration menu - View commit details
-
Copy full SHA for 6587b75 - Browse repository at this point
Copy the full SHA 6587b75View commit details -
Simplify conditions on
len()
in utils (#33567)(cherry picked from commit a1e6cd4)
Configuration menu - View commit details
-
Copy full SHA for f4557e5 - Browse repository at this point
Copy the full SHA f4557e5View commit details -
Simplify conditions on len() in jobs (#33568)
(cherry picked from commit eb56473)
Configuration menu - View commit details
-
Copy full SHA for 64b9ebb - Browse repository at this point
Copy the full SHA 64b9ebbView commit details -
Automatically update the REVISIONS_HEADS_MAP in db.py (#33616)
* Automatically update the REVISIONS_HEADS_MAP in db.py This has been the responsibility of the release manager and manually done. In 2.7.0, I mistakenly added a wrong value for the revision which means that anyone upgrading with `airflow db migrate --version 2.7.0` will end up having incorrect migration. This PR automates this and always updates it to the correct value through pre-commit * fixup! Automatically update the REVISIONS_HEADS_MAP in db.py * Account for missing versions in revision heads map * Provide the full path of the DB file in message * Make REVISION_HEADS_MAP private * Only add from 2.0.0 up (cherry picked from commit 513c1d2)
Configuration menu - View commit details
-
Copy full SHA for eb96b86 - Browse repository at this point
Copy the full SHA eb96b86View commit details -
Fix version heads map pre_commit rule (#33749)
Only run it when the map may have changed (migration or core version change), and also only check migration files (ignore things like pycache). (cherry picked from commit a746def)
Configuration menu - View commit details
-
Copy full SHA for 9314b4d - Browse repository at this point
Copy the full SHA 9314b4dView commit details -
Add limit 1 if required first value from query result (#33672)
(cherry picked from commit e8ba579)
Configuration menu - View commit details
-
Copy full SHA for 8043bab - Browse repository at this point
Copy the full SHA 8043babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70bfb11 - Browse repository at this point
Copy the full SHA 70bfb11View commit details
Commits on Sep 1, 2023
-
Fix MappedTaskGroup tasks not respecting upstream dependency (#33732)
* Fix MappedTaskGroup tasks not respecting upstream dependency When a MappedTaskGroup has upstream dependencies, the tasks in the group don't wait for the upstream tasks before they start running, this causes the tasks to fail. From my investigation, the tasks inside the MappedTaskGroup don't have upstream tasks while the MappedTaskGroup has the upstream tasks properly set. Due to this, the task's dependencies are met even though the Group has upstreams that haven't finished. The Fix was to set upstreams after creating the task group with the factory Closes: #33446 * set the relationship in __exit__ (cherry picked from commit fe27031)
Configuration menu - View commit details
-
Copy full SHA for 22df7b1 - Browse repository at this point
Copy the full SHA 22df7b1View commit details -
Replace AIP-42 label with area:dynamic-task-mapping label (#33870)
(cherry picked from commit 6aeda2c)
Configuration menu - View commit details
-
Copy full SHA for d254b5b - Browse repository at this point
Copy the full SHA d254b5bView commit details -
Raise 404 from Variable PATCH API if variable is not found (#33885)
* Raise variable not found if session returns empty * Added detail to the exception for json reponse * tests for patch api when variable doesn't exist * Dropped fstring * Unify varialbe not found message --------- Co-authored-by: Tzu-ping Chung <[email protected]> (cherry picked from commit 701c3b8)
Configuration menu - View commit details
-
Copy full SHA for 2d16c70 - Browse repository at this point
Copy the full SHA 2d16c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99a4f9f - Browse repository at this point
Copy the full SHA 99a4f9fView commit details -
Clarify that DAG authors can also run code in DAG File Processor (#33920
) * Clarify that DAG authors can also run code in DAG File Processor Small addition to our security model - it was not entirely clear that DAG authors can also execute code in DAG File Processor and that DAG File Processor can be run in standalone mode effectively physically separating machines where scheduler is run and where the code modified by DAG authors gets parsed. Co-authored-by: Ephraim Anierobi <[email protected]> (cherry picked from commit 1dc6ba0)
Configuration menu - View commit details
-
Copy full SHA for a141771 - Browse repository at this point
Copy the full SHA a141771View commit details -
Bumping FAB to 4.3.4 in order to fix issues with filters (#33931)
(cherry picked from commit ba26192)
Configuration menu - View commit details
-
Copy full SHA for 71e842e - Browse repository at this point
Copy the full SHA 71e842eView commit details -
Differentiate 0 and unset as a default param values (#33965)
(cherry picked from commit c51901a)
Configuration menu - View commit details
-
Copy full SHA for ebbebf1 - Browse repository at this point
Copy the full SHA ebbebf1View commit details -
Reinstall CI depdendencies from scratch (#33978)
With latest change enabling Pydantic #33956 some old dependencies (aws-sam-translator) remained in the CI image from cached installation and they are breaking `pip check` when refreshing the image cache. This PR bumps EPOCH numbers so that the dependencies are not installed from cache and we have a clean, new image with just those depencies we need. (cherry picked from commit dd7cc87)
Configuration menu - View commit details
-
Copy full SHA for 01e2b16 - Browse repository at this point
Copy the full SHA 01e2b16View commit details -
Respect "soft_fail" for core async sensors (#33403)
* fix(sensors): ensure that DateTimeSensorAsync, TimeDeltaSensorAsync, TimeSensorAsync respect soft_fail * refactor(sensors): move the soft_fail checking logic from DateTimeSensorAsync, TimeDeltaSensorAsync, TimeSensorAsync to DateTimeTrigger * test(triggers/temporal): add test case for DateTimeSensorAsync respects soft_fail * fix(triggers/temporal): use the original error message with skipping postfix as message for AirflowSkipException * Revert "fix(triggers/temporal): use the original error message with skipping postfix as message for AirflowSkipException" This reverts commit a6d803303bf71a84e9e59e94d9c088e3120bedb5. * Revert "test(triggers/temporal): add test case for DateTimeSensorAsync respects soft_fail" This reverts commit 50e39e08a415685ace788ae728397a199c21e82b. * Revert "refactor(sensors): move the soft_fail checking logic from DateTimeSensorAsync, TimeDeltaSensorAsync, TimeSensorAsync to DateTimeTrigger" This reverts commit 985981a269cea68da719d6fd1c60bedd9a7e5225. * Revert "fix(sensors): ensure that DateTimeSensorAsync, TimeDeltaSensorAsync, TimeSensorAsync respect soft_fail" This reverts commit b2f2662ae1a11ea928aad57acd2892c763c2db25. * fix(sensors): move core async sensor trigger initialization to __init__ if possible (cherry picked from commit 9ce76e3)
Configuration menu - View commit details
-
Copy full SHA for 8754b50 - Browse repository at this point
Copy the full SHA 8754b50View commit details -
fix(sensors): move trigger initialization from __init___ to execute (#…
Configuration menu - View commit details
-
Copy full SHA for d088626 - Browse repository at this point
Copy the full SHA d088626View commit details -
Suspend qubole provider (#33889)
* Suspend qubole provider Qubole has been acquired and seems that maintainers have left the project https://github.com/qubole/qds-sdk-py#where-are-the-maintainers- the package has been unmaintained for a long time and it's likely no-one uses it until someone steps up to maintain it, we suspend it Co-authored-by: Jed Cunningham <[email protected]> (cherry picked from commit 1f0e673)
Configuration menu - View commit details
-
Copy full SHA for f9d653b - Browse repository at this point
Copy the full SHA f9d653bView commit details -
Reorganize devel_only extra in airflow's setup.py (#33907)
The `devel_only` extra puts together all dependencies that are needed for CI image and in order to run tests in local virtualenv for various test cases of ours - but they are not needed as dependencies of particular providers. They were a little "bag of everything" and they were hiding some unused dependencies or dependencies that were either unused or they were actually provider dependencies already. For example we had qds-sdk dependency there which was really the qubole provider dependency and it held us back from removing deprecated boto library from CI image (removed in #33889). This PR organizes the dependency a bit better: * split it to logical groups * removes some unused dependencies * moves "amazon" mypy dependency from providers to here At later stage we will move the provider ones into "[devel]" extras of the providers as part of provider decooupling, but this will require a bit more changes in CI image building and some documentation update for developers. This is an intermediate step to organize it better. (cherry picked from commit b497234)
Configuration menu - View commit details
-
Copy full SHA for 4dd7530 - Browse repository at this point
Copy the full SHA 4dd7530View commit details -
Upgrade to Pydantic 2 (#33956)
The only blocking factor to migrate to Pydantic 2 was the aws-sam-translator which was transitive dependency to `moto[cloudformation]` via `cfn-lint` and we do not really need everything in that extra - used only for testing. While aws-sam-translator is already preparing to release Pydantic 2 compatible version, we do not want to wait - instead we replace the cloudformation extra with openapi_spec_validator and jsonschema needed by the cloudformation tests. (cherry picked from commit 1cda0c3)
Configuration menu - View commit details
-
Copy full SHA for ae03ad5 - Browse repository at this point
Copy the full SHA ae03ad5View commit details -
Explain the users how they can check if python code is top-level (#34006
) Many users have problem with it. Adding the way how they can check it easily. (cherry picked from commit 9702a14)
Configuration menu - View commit details
-
Copy full SHA for b83fa2e - Browse repository at this point
Copy the full SHA b83fa2eView commit details -
Use a trimmed version of README.md for PyPI (#33637)
(cherry picked from commit 88a7a70)
Configuration menu - View commit details
-
Copy full SHA for c874f0f - Browse repository at this point
Copy the full SHA c874f0fView commit details
Commits on Sep 2, 2023
-
Upgrade Elasticsearch to 8 (#33135)
(cherry picked from commit ad9d8d4)
Configuration menu - View commit details
-
Copy full SHA for de95f98 - Browse repository at this point
Copy the full SHA de95f98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cd0748 - Browse repository at this point
Copy the full SHA 7cd0748View commit details
Commits on Sep 3, 2023
-
Limit celery by excluding 5.3.2 and 5.3.3 (#34031)
There is a new database field introduced by Celery in 5.3.2 and repeated in 5.3.3 wihch is not included in automated migrations, so users upgrading celery might have failing celery installation. The issue is already reported and acknowledged, so it is lilely to be fixed in 5.3.4 - so excluding 5.3.2 and 5.3.4 is the best approach. (cherry picked from commit b6318ff)
Configuration menu - View commit details
-
Copy full SHA for d404d3f - Browse repository at this point
Copy the full SHA d404d3fView commit details -
Fix typos (double words and it's/its) (#33623)
(cherry picked from commit a54c242)
Configuration menu - View commit details
-
Copy full SHA for 590412b - Browse repository at this point
Copy the full SHA 590412bView commit details -
Ensure that tasks wait for running indirect setup (#33903)
* move internal functions to methods -- no behavior change * add setup constraint logic * comments * simplify * simplify * fix * fix * update tests * static checks * add constraint that setup tasks followed by ALL_SUCCESS rule * add todo * docs * docs * add test * fix static check (cherry picked from commit e75ceca)
Configuration menu - View commit details
-
Copy full SHA for b5dbf97 - Browse repository at this point
Copy the full SHA b5dbf97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 891fae5 - Browse repository at this point
Copy the full SHA 891fae5View commit details