From 5a164b2a587c548eac476e999ac9010290e4f5aa Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 19 Apr 2023 14:02:08 +0200 Subject: [PATCH] Suspend Yandex provider due to protobuf limitation (#30667) Yandex provider brings protobuf dependency down to <4 and we are gearing up to updating it everywhere else. Protobuf3 support ends in Q2 2023 for Python https://protobuf.dev/support/version-support/#python Yandex is the last provider that we do not closely collaborate with on fixing * Gogle provider dependencies are actively upgraded to latest version by Google led team: #30067 (some of the libraries are already updated) with target to update all dependencies by mid-May * Apache-Beam has already merged protobuf4 support https://github.com/apache/beam/pull/25874 with the target of releasing it in 2.47.0 mid-May * The mysql-connector-python in MySQL provider is already turned into optional dependency: #30487 The only remaining dependency limiting us to protobuf 3 (<3.21) is yandexcloud. We've opened an issue to yandexcloud https://github.com/yandex-cloud/python-sdk/issues/71 3 weeks ago and while there was an initial interest, there is no progress on the issue, therefore - in order to prepare for running all the tests and final migration to protobuf4 we need to suspend Yandex provider - following the suspension process we agreed and got a LAZY CONSENSUS on in the https://lists.apache.org/thread/g8b3k028qhzgw6c3yz4jvmlc67kcr9hj mailing list discussion. The yandex provider can be removed from suspension by a PR reverting this change once yandexcloud dependency removes the protobuf limitation in their release and PR reverting this change (and fixing all tests and static check that will be needed) is the way it can be done. GitOrigin-RevId: b4d6e83686ecfa81d4badbefc4f60a03d9f3c571 --- CONTRIBUTING.rst | 2 +- INSTALL | 2 +- airflow/providers/yandex/provider.yaml | 2 +- docs/apache-airflow/extra-packages-ref.rst | 2 - generated/provider_dependencies.json | 7 - images/breeze/output-commands-hash.txt | 10 +- images/breeze/output-commands.svg | 90 ++++++------ images/breeze/output_build-docs.svg | 128 +++++++++--------- images/breeze/output_release-management.svg | 30 ++-- ...ement_generate-issue-content-providers.svg | 34 ++--- ...agement_prepare-provider-documentation.svg | 46 +++---- ...e-management_prepare-provider-packages.svg | 32 ++--- 12 files changed, 184 insertions(+), 201 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index d8aa4e54d77..e3e566c1ebe 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -621,7 +621,7 @@ microsoft.mssql, microsoft.psrp, microsoft.winrm, mongo, mssql, mysql, neo4j, od openlineage, opsgenie, oracle, otel, pagerduty, pandas, papermill, password, pinot, plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba, segment, sendgrid, sentry, sftp, singularity, slack, smtp, snowflake, spark, sqlite, ssh, statsd, tableau, tabular, telegram, -trino, vertica, virtualenv, webhdfs, winrm, yandex, zendesk +trino, vertica, virtualenv, webhdfs, winrm, zendesk .. END EXTRAS HERE Provider packages diff --git a/INSTALL b/INSTALL index 067e490efd3..1ca1b78eb57 100644 --- a/INSTALL +++ b/INSTALL @@ -106,7 +106,7 @@ microsoft.mssql, microsoft.psrp, microsoft.winrm, mongo, mssql, mysql, neo4j, od openlineage, opsgenie, oracle, otel, pagerduty, pandas, papermill, password, pinot, plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba, segment, sendgrid, sentry, sftp, singularity, slack, smtp, snowflake, spark, sqlite, ssh, statsd, tableau, tabular, telegram, -trino, vertica, virtualenv, webhdfs, winrm, yandex, zendesk +trino, vertica, virtualenv, webhdfs, winrm, zendesk # END EXTRAS HERE # For installing Airflow in development environments - see CONTRIBUTING.rst diff --git a/airflow/providers/yandex/provider.yaml b/airflow/providers/yandex/provider.yaml index 6aa8eec2099..980cb39e59e 100644 --- a/airflow/providers/yandex/provider.yaml +++ b/airflow/providers/yandex/provider.yaml @@ -20,7 +20,7 @@ package-name: apache-airflow-providers-yandex name: Yandex description: | Yandex including `Yandex.Cloud `__ -suspended: false +suspended: true # see https://github.com/apache/airflow/pull/30667/ versions: - 3.3.0 - 3.2.0 diff --git a/docs/apache-airflow/extra-packages-ref.rst b/docs/apache-airflow/extra-packages-ref.rst index 6cf1d6a7187..017ad927caa 100644 --- a/docs/apache-airflow/extra-packages-ref.rst +++ b/docs/apache-airflow/extra-packages-ref.rst @@ -214,8 +214,6 @@ These are extras that add dependencies needed for integration with external serv +---------------------+-----------------------------------------------------+-----------------------------------------------------+ | vertica | ``pip install 'apache-airflow[vertica]'`` | Vertica hook support as an Airflow backend | +---------------------+-----------------------------------------------------+-----------------------------------------------------+ -| yandex | ``pip install 'apache-airflow[yandex]'`` | Yandex.cloud hooks and operators | -+---------------------+-----------------------------------------------------+-----------------------------------------------------+ | zendesk | ``pip install 'apache-airflow[zendesk]'`` | Zendesk hooks | +---------------------+-----------------------------------------------------+-----------------------------------------------------+ diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 3995871dc43..8e0b5846cbd 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -773,13 +773,6 @@ "common.sql" ] }, - "yandex": { - "deps": [ - "apache-airflow>=2.3.0", - "yandexcloud>=0.173.0" - ], - "cross-providers-deps": [] - }, "zendesk": { "deps": [ "apache-airflow>=2.3.0", diff --git a/images/breeze/output-commands-hash.txt b/images/breeze/output-commands-hash.txt index de1f4ec2a53..4e9f4918989 100644 --- a/images/breeze/output-commands-hash.txt +++ b/images/breeze/output-commands-hash.txt @@ -2,7 +2,7 @@ # Please do not solve it but run `breeze setup regenerate-command-images`. # This command should fix the conflict and regenerate help images that you have conflict with. main:83de6a9bf2b1afecd1f9ce4cd0493733 -build-docs:a9ee0b7c62d647cc7562df83076cbc2b +build-docs:d449f8ee7b20545a2c7c46ad65226f94 ci:find-newer-dependencies:8fa2b57f5f0523c928743b235ee3ab5a ci:fix-ownership:fee2c9ec9ef19686792002ae054fecdd ci:free-space:47234aa0a60b0efd84972e6e797379f8 @@ -37,15 +37,15 @@ prod-image:verify:31bc5efada1d70a0a31990025db1a093 prod-image:79bd4cc9de03ab7e1d75f025d75eee46 release-management:create-minor-branch:6a01066dce15e09fb269a8385626657c release-management:generate-constraints:ae30d6ad49a1b2c15b61cb29080fd957 -release-management:generate-issue-content-providers:649bd0f56af072754af3e5c2580d7039 +release-management:generate-issue-content-providers:767a85195f6e686df63b8f8ea0fb7142 release-management:prepare-airflow-package:3ac14ea6d2b09614959c0ec4fd564789 -release-management:prepare-provider-documentation:d2aade2a4f4fb176a89e4db0c1226386 -release-management:prepare-provider-packages:7f5ca821bb9c5f80e1473b7b6584adcc +release-management:prepare-provider-documentation:8dab0cba3d0bf3d36ec60d71c8c23d50 +release-management:prepare-provider-packages:9d803d0eb5f55d1a178fff2f7951eec8 release-management:release-prod-images:c9bc40938e0efad49e51ef66e83f9527 release-management:start-rc-process:6aafbaceabd7b67b9a1af4c2f59abc4c release-management:start-release:acb384d86e02ff5fde1bf971897be17c release-management:verify-provider-packages:88bd609aff6d09d52ab8d80d6e055e7b -release-management:493c6163a3aa0ed6f7dbd4613afc7f3c +release-management:ff43546fa41c3d8a028a32b37036a362 setup:autocomplete:03343478bf1d0cf9c101d454cdb63b68 setup:check-all-params-in-groups:4d0f8c19cbdb56290055d863b08a3376 setup:config:3ffcd35dd24b486ddf1d08b797e3d017 diff --git a/images/breeze/output-commands.svg b/images/breeze/output-commands.svg index 790b9fe55da..784715a8cce 100644 --- a/images/breeze/output-commands.svg +++ b/images/breeze/output-commands.svg @@ -35,8 +35,8 @@ .breeze-help-r1 { fill: #c5c8c6;font-weight: bold } .breeze-help-r2 { fill: #c5c8c6 } .breeze-help-r3 { fill: #d0b344;font-weight: bold } -.breeze-help-r4 { fill: #68a0b3;font-weight: bold } -.breeze-help-r5 { fill: #868887 } +.breeze-help-r4 { fill: #868887 } +.breeze-help-r5 { fill: #68a0b3;font-weight: bold } .breeze-help-r6 { fill: #98a84b;font-weight: bold } .breeze-help-r7 { fill: #8d7b39 } @@ -190,50 +190,50 @@ -Usage: breeze [OPTIONSCOMMAND [ARGS]... +Usage: breeze [OPTIONS] COMMAND [ARGS]... -╭─ Basic flags ────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---python-pPython major/minor version used in Airflow image for images.(>3.7< | 3.8 | 3.9 | 3.10) -[default: 3.7]                                               ---backend-bDatabase backend to use.(>sqlite< | mysql | postgres | mssql)[default: sqlite] ---postgres-version-PVersion of Postgres used.(>11< | 12 | 13 | 14 | 15)[default: 11] ---mysql-version-MVersion of MySQL used.(>5.7< | 8)[default: 5.7] ---mssql-version-SVersion of MsSQL used.(>2017-latest< | 2019-latest)[default: 2017-latest] ---integrationIntegration(s) to enable when running (can be more than one).                             -(all | all-testable | cassandra | celery | kerberos | mongo | otel | pinot | statsd |     -statsd | trino)                                                                           ---forward-credentials-fForward local credentials to container when running. ---db-reset-dReset DB when entering the container. ---max-timeMaximum time that the command should take - if it takes longer, the command will fail. -(INTEGER RANGE)                                                                        ---github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---verbose-vPrint verbose information about performed steps. ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---answer-aForce answer to questions.(y | n | q | yes | no | quit) ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Basic developer commands ───────────────────────────────────────────────────────────────────────────────────────────╮ -start-airflow     Enter breeze environment and starts all Airflow components in the tmux session. Compile assets   -if contents of www directory changed.                                                            -static-checks     Run static checks.                                                                               -build-docs        Build documentation in the container.                                                            -stop              Stop running breeze environment.                                                                 -shell             Enter breeze environment. this is the default command use when no other is selected.             -exec              Joins the interactive shell of running airflow container.                                        -compile-www-assetsCompiles www assets.                                                                             -cleanup           Cleans the cache of parameters, docker cache and optionally built CI/PROD images.                -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Advanced command groups ────────────────────────────────────────────────────────────────────────────────────────────╮ -testing                Tools that developers can use to run tests                                                  -ci-image               Tools that developers can use to manually manage CI images                                  -k8s                    Tools that developers use to run Kubernetes tests                                           -prod-image             Tools that developers can use to manually manage PROD images                                -setup                  Tools that developers can use to configure Breeze                                           -release-management     Tools that release managers can use to prepare and manage Airflow releases                  -ci                     Tools that CI workflows use to cleanup/manage CI environment                                -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Basic flags ────────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--python-pPython major/minor version used in Airflow image for images.(>3.7< | 3.8 | 3.9 | 3.10) +[default: 3.7]                                               +--backend-bDatabase backend to use.(>sqlite< | mysql | postgres | mssql)[default: sqlite] +--postgres-version-PVersion of Postgres used.(>11< | 12 | 13 | 14 | 15)[default: 11] +--mysql-version-MVersion of MySQL used.(>5.7< | 8)[default: 5.7] +--mssql-version-SVersion of MsSQL used.(>2017-latest< | 2019-latest)[default: 2017-latest] +--integrationIntegration(s) to enable when running (can be more than one).                             +(all | all-testable | cassandra | celery | kerberos | mongo | otel | pinot | statsd |     +statsd | trino)                                                                           +--forward-credentials-fForward local credentials to container when running. +--db-reset-dReset DB when entering the container. +--max-timeMaximum time that the command should take - if it takes longer, the command will fail. +(INTEGER RANGE)                                                                        +--github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--verbose-vPrint verbose information about performed steps. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--answer-aForce answer to questions.(y | n | q | yes | no | quit) +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Basic developer commands ───────────────────────────────────────────────────────────────────────────────────────────╮ +start-airflow     Enter breeze environment and starts all Airflow components in the tmux session. Compile assets   +if contents of www directory changed.                                                            +static-checks     Run static checks.                                                                               +build-docs        Build documentation in the container.                                                            +stop              Stop running breeze environment.                                                                 +shell             Enter breeze environment. this is the default command use when no other is selected.             +exec              Joins the interactive shell of running airflow container.                                        +compile-www-assetsCompiles www assets.                                                                             +cleanup           Cleans the cache of parameters, docker cache and optionally built CI/PROD images.                +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Advanced command groups ────────────────────────────────────────────────────────────────────────────────────────────╮ +testing                Tools that developers can use to run tests                                                  +ci-image               Tools that developers can use to manually manage CI images                                  +k8s                    Tools that developers use to run Kubernetes tests                                           +prod-image             Tools that developers can use to manually manage PROD images                                +setup                  Tools that developers can use to configure Breeze                                           +release-management     Tools that release managers can use to prepare and manage Airflow releases                  +ci                     Tools that CI workflows use to cleanup/manage CI environment                                +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/images/breeze/output_build-docs.svg b/images/breeze/output_build-docs.svg index 6e2a229e5fd..d8c26d13745 100644 --- a/images/breeze/output_build-docs.svg +++ b/images/breeze/output_build-docs.svg @@ -1,4 +1,4 @@ - + - + @@ -225,12 +225,9 @@ - - - - Command: build-docs + Command: build-docs @@ -241,67 +238,66 @@ -Usage: breeze build-docs [OPTIONS] +Usage: breeze build-docs [OPTIONS] Build documentation in the container. -╭─ Doc flags ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---docs-only-dOnly build documentation. ---spellcheck-only-sOnly run spell checking. ---clean-buildClean inventories of Inter-Sphinx documentation and generated APIs and sphinx artifacts     -before the build - useful for a clean build.                                                ---for-productionBuilds documentation for official release i.e. all links point to stable version. Implies   ---clean-build ---one-pass-onlyBuilds documentation in one pass only. This is useful for debugging sphinx errors. ---package-filterList of packages to consider.                                                               -(apache-airflow | apache-airflow-providers-airbyte | apache-airflow-providers-alibaba |     -apache-airflow-providers-amazon | apache-airflow-providers-apache-beam |                    -apache-airflow-providers-apache-cassandra | apache-airflow-providers-apache-drill |         -apache-airflow-providers-apache-druid | apache-airflow-providers-apache-flink |             -apache-airflow-providers-apache-hdfs | apache-airflow-providers-apache-hive |               -apache-airflow-providers-apache-impala | apache-airflow-providers-apache-kylin |            -apache-airflow-providers-apache-livy | apache-airflow-providers-apache-pig |                -apache-airflow-providers-apache-pinot | apache-airflow-providers-apache-spark |             -apache-airflow-providers-apache-sqoop | apache-airflow-providers-arangodb |                 -apache-airflow-providers-asana | apache-airflow-providers-atlassian-jira |                  -apache-airflow-providers-celery | apache-airflow-providers-cloudant |                       -apache-airflow-providers-cncf-kubernetes | apache-airflow-providers-common-sql |            -apache-airflow-providers-databricks | apache-airflow-providers-datadog |                    -apache-airflow-providers-dbt-cloud | apache-airflow-providers-dingding |                    -apache-airflow-providers-discord | apache-airflow-providers-docker |                        -apache-airflow-providers-elasticsearch | apache-airflow-providers-exasol |                  -apache-airflow-providers-facebook | apache-airflow-providers-ftp |                          -apache-airflow-providers-github | apache-airflow-providers-google |                         -apache-airflow-providers-grpc | apache-airflow-providers-hashicorp |                        -apache-airflow-providers-http | apache-airflow-providers-imap |                             -apache-airflow-providers-influxdb | apache-airflow-providers-jdbc |                         -apache-airflow-providers-jenkins | apache-airflow-providers-microsoft-azure |               -apache-airflow-providers-microsoft-mssql | apache-airflow-providers-microsoft-psrp |        -apache-airflow-providers-microsoft-winrm | apache-airflow-providers-mongo |                 -apache-airflow-providers-mysql | apache-airflow-providers-neo4j |                           -apache-airflow-providers-odbc | apache-airflow-providers-openfaas |                         -apache-airflow-providers-openlineage | apache-airflow-providers-opsgenie |                  -apache-airflow-providers-oracle | apache-airflow-providers-pagerduty |                      -apache-airflow-providers-papermill | apache-airflow-providers-plexus |                      -apache-airflow-providers-postgres | apache-airflow-providers-presto |                       -apache-airflow-providers-qubole | apache-airflow-providers-redis |                          -apache-airflow-providers-salesforce | apache-airflow-providers-samba |                      -apache-airflow-providers-segment | apache-airflow-providers-sendgrid |                      -apache-airflow-providers-sftp | apache-airflow-providers-singularity |                      -apache-airflow-providers-slack | apache-airflow-providers-smtp |                            -apache-airflow-providers-snowflake | apache-airflow-providers-sqlite |                      -apache-airflow-providers-ssh | apache-airflow-providers-tableau |                           -apache-airflow-providers-tabular | apache-airflow-providers-telegram |                      -apache-airflow-providers-trino | apache-airflow-providers-vertica |                         -apache-airflow-providers-yandex | apache-airflow-providers-zendesk | docker-stack |         -helm-chart)                                                                                 ---github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---verbose-vPrint verbose information about performed steps. ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Doc flags ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--docs-only-dOnly build documentation. +--spellcheck-only-sOnly run spell checking. +--clean-buildClean inventories of Inter-Sphinx documentation and generated APIs and sphinx artifacts     +before the build - useful for a clean build.                                                +--for-productionBuilds documentation for official release i.e. all links point to stable version. Implies   +--clean-build +--one-pass-onlyBuilds documentation in one pass only. This is useful for debugging sphinx errors. +--package-filterList of packages to consider.                                                               +(apache-airflow | apache-airflow-providers-airbyte | apache-airflow-providers-alibaba |     +apache-airflow-providers-amazon | apache-airflow-providers-apache-beam |                    +apache-airflow-providers-apache-cassandra | apache-airflow-providers-apache-drill |         +apache-airflow-providers-apache-druid | apache-airflow-providers-apache-flink |             +apache-airflow-providers-apache-hdfs | apache-airflow-providers-apache-hive |               +apache-airflow-providers-apache-impala | apache-airflow-providers-apache-kylin |            +apache-airflow-providers-apache-livy | apache-airflow-providers-apache-pig |                +apache-airflow-providers-apache-pinot | apache-airflow-providers-apache-spark |             +apache-airflow-providers-apache-sqoop | apache-airflow-providers-arangodb |                 +apache-airflow-providers-asana | apache-airflow-providers-atlassian-jira |                  +apache-airflow-providers-celery | apache-airflow-providers-cloudant |                       +apache-airflow-providers-cncf-kubernetes | apache-airflow-providers-common-sql |            +apache-airflow-providers-databricks | apache-airflow-providers-datadog |                    +apache-airflow-providers-dbt-cloud | apache-airflow-providers-dingding |                    +apache-airflow-providers-discord | apache-airflow-providers-docker |                        +apache-airflow-providers-elasticsearch | apache-airflow-providers-exasol |                  +apache-airflow-providers-facebook | apache-airflow-providers-ftp |                          +apache-airflow-providers-github | apache-airflow-providers-google |                         +apache-airflow-providers-grpc | apache-airflow-providers-hashicorp |                        +apache-airflow-providers-http | apache-airflow-providers-imap |                             +apache-airflow-providers-influxdb | apache-airflow-providers-jdbc |                         +apache-airflow-providers-jenkins | apache-airflow-providers-microsoft-azure |               +apache-airflow-providers-microsoft-mssql | apache-airflow-providers-microsoft-psrp |        +apache-airflow-providers-microsoft-winrm | apache-airflow-providers-mongo |                 +apache-airflow-providers-mysql | apache-airflow-providers-neo4j |                           +apache-airflow-providers-odbc | apache-airflow-providers-openfaas |                         +apache-airflow-providers-openlineage | apache-airflow-providers-opsgenie |                  +apache-airflow-providers-oracle | apache-airflow-providers-pagerduty |                      +apache-airflow-providers-papermill | apache-airflow-providers-plexus |                      +apache-airflow-providers-postgres | apache-airflow-providers-presto |                       +apache-airflow-providers-qubole | apache-airflow-providers-redis |                          +apache-airflow-providers-salesforce | apache-airflow-providers-samba |                      +apache-airflow-providers-segment | apache-airflow-providers-sendgrid |                      +apache-airflow-providers-sftp | apache-airflow-providers-singularity |                      +apache-airflow-providers-slack | apache-airflow-providers-smtp |                            +apache-airflow-providers-snowflake | apache-airflow-providers-sqlite |                      +apache-airflow-providers-ssh | apache-airflow-providers-tableau |                           +apache-airflow-providers-tabular | apache-airflow-providers-telegram |                      +apache-airflow-providers-trino | apache-airflow-providers-vertica |                         +apache-airflow-providers-zendesk | docker-stack | helm-chart)                               +--github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--verbose-vPrint verbose information about performed steps. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/images/breeze/output_release-management.svg b/images/breeze/output_release-management.svg index c6d4cabe9ee..71f1cdbf178 100644 --- a/images/breeze/output_release-management.svg +++ b/images/breeze/output_release-management.svg @@ -35,8 +35,8 @@ .breeze-release-management-r1 { fill: #c5c8c6;font-weight: bold } .breeze-release-management-r2 { fill: #c5c8c6 } .breeze-release-management-r3 { fill: #d0b344;font-weight: bold } -.breeze-release-management-r4 { fill: #68a0b3;font-weight: bold } -.breeze-release-management-r5 { fill: #868887 } +.breeze-release-management-r4 { fill: #868887 } +.breeze-release-management-r5 { fill: #68a0b3;font-weight: bold } .breeze-release-management-r6 { fill: #98a84b;font-weight: bold } @@ -105,22 +105,22 @@ -Usage: breeze release-management [OPTIONSCOMMAND [ARGS]... +Usage: breeze release-management [OPTIONS] COMMAND [ARGS]... Tools that release managers can use to prepare and manage Airflow releases -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ -generate-constraints              Generates pinned constraint files with all extras from setup.py in parallel.     -generate-issue-content-providers  Generates content for issue to test the release.                                 -prepare-airflow-package           Prepare sdist/whl package of Airflow.                                            -prepare-provider-documentation    Prepare CHANGELOGREADME and COMMITS information for providers.                 -prepare-provider-packages         Prepare sdist/whl packages of Airflow Providers.                                 -release-prod-images               Release production images to DockerHub (needs DockerHub permissions).            -verify-provider-packages          Verifies if all provider code is following expectations for providers.           -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ +generate-constraints              Generates pinned constraint files with all extras from setup.py in parallel.     +generate-issue-content-providers  Generates content for issue to test the release.                                 +prepare-airflow-package           Prepare sdist/whl package of Airflow.                                            +prepare-provider-documentation    Prepare CHANGELOG, README and COMMITS information for providers.                 +prepare-provider-packages         Prepare sdist/whl packages of Airflow Providers.                                 +release-prod-images               Release production images to DockerHub (needs DockerHub permissions).            +verify-provider-packages          Verifies if all provider code is following expectations for providers.           +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/images/breeze/output_release-management_generate-issue-content-providers.svg b/images/breeze/output_release-management_generate-issue-content-providers.svg index 7be16c5c5ec..de00e33814b 100644 --- a/images/breeze/output_release-management_generate-issue-content-providers.svg +++ b/images/breeze/output_release-management_generate-issue-content-providers.svg @@ -35,8 +35,8 @@ .breeze-release-management-generate-issue-content-providers-r1 { fill: #c5c8c6;font-weight: bold } .breeze-release-management-generate-issue-content-providers-r2 { fill: #c5c8c6 } .breeze-release-management-generate-issue-content-providers-r3 { fill: #d0b344;font-weight: bold } -.breeze-release-management-generate-issue-content-providers-r4 { fill: #68a0b3;font-weight: bold } -.breeze-release-management-generate-issue-content-providers-r5 { fill: #868887 } +.breeze-release-management-generate-issue-content-providers-r4 { fill: #868887 } +.breeze-release-management-generate-issue-content-providers-r5 { fill: #68a0b3;font-weight: bold } .breeze-release-management-generate-issue-content-providers-r6 { fill: #8d7b39 } .breeze-release-management-generate-issue-content-providers-r7 { fill: #98a84b;font-weight: bold } @@ -163,7 +163,7 @@ -Usage: breeze release-management generate-issue-content-providers [OPTIONS] [airbyte | alibaba | amazon | apache.beam +Usage: breeze release-management generate-issue-content-providers [OPTIONS] [airbyte | alibaba | amazon | apache.beam                                                                   | apache.cassandra | apache.drill | apache.druid |                                                                   apache.flink | apache.hdfs | apache.hive |                                                                   apache.impala | apache.kylin | apache.livy | @@ -181,23 +181,23 @@                                                                   redis | salesforce | samba | segment | sendgrid |                                                                   sftp | singularity | slack | smtp | snowflake |                                                                   sqlite | ssh | tableau | tabular | telegram | trino -                                                                  | vertica | yandex | zendesk]... +                                                                  | vertica | zendesk]... Generates content for issue to test the release. -╭─ Generate issue content flags ───────────────────────────────────────────────────────────────────────────────────────╮ ---github-tokenGitHub token used to authenticate. You can set omit it if you have GITHUB_TOKEN env      -variable set. Can be generated with:                                                     -https://github.com/settings/tokens/new?description=Read%20sssues&scopes=repo:status      -(TEXT)                                                                                   ---suffixSuffix to add to the version prepared(TEXT) ---only-available-in-distOnly consider package ids with packages prepared in the dist folder ---excluded-pr-listComa-separated list of PRs to exclude from the issue.(TEXT) ---disable-progressDisable progress bar -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Generate issue content flags ───────────────────────────────────────────────────────────────────────────────────────╮ +--github-tokenGitHub token used to authenticate. You can set omit it if you have GITHUB_TOKEN env      +variable set. Can be generated with:                                                     +https://github.com/settings/tokens/new?description=Read%20sssues&scopes=repo:status      +(TEXT)                                                                                   +--suffixSuffix to add to the version prepared(TEXT) +--only-available-in-distOnly consider package ids with packages prepared in the dist folder +--excluded-pr-listComa-separated list of PRs to exclude from the issue.(TEXT) +--disable-progressDisable progress bar +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/images/breeze/output_release-management_prepare-provider-documentation.svg b/images/breeze/output_release-management_prepare-provider-documentation.svg index 3e00770bf12..90af2e16288 100644 --- a/images/breeze/output_release-management_prepare-provider-documentation.svg +++ b/images/breeze/output_release-management_prepare-provider-documentation.svg @@ -1,4 +1,4 @@ - + - + @@ -141,12 +141,9 @@ - - - - Command: release-management prepare-provider-documentation + Command: release-management prepare-provider-documentation @@ -157,7 +154,7 @@ -Usage: breeze release-management prepare-provider-documentation [OPTIONS] [airbyte | alibaba | amazon | apache.beam | +Usage: breeze release-management prepare-provider-documentation [OPTIONS] [airbyte | alibaba | amazon | apache.beam |                                                                 apache.cassandra | apache.drill | apache.druid |                                                                 apache.flink | apache.hdfs | apache.hive |                                                                 apache.impala | apache.kylin | apache.livy | @@ -174,22 +171,21 @@                                                                 postgres | presto | qubole | redis | salesforce |                                                                 samba | segment | sendgrid | sftp | singularity |                                                                 slack | smtp | snowflake | sqlite | ssh | tableau | -                                                                tabular | telegram | trino | vertica | yandex | -                                                                zendesk]... - -Prepare CHANGELOGREADME and COMMITS information for providers. - -╭─ Provider documentation preparation flags ───────────────────────────────────────────────────────────────────────────╮ ---debugDrop user in shell instead of running the command. Useful for debugging. ---github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] ---base-branch(TEXT) -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---verbose-vPrint verbose information about performed steps. ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---answer-aForce answer to questions.(y | n | q | yes | no | quit) ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +                                                                tabular | telegram | trino | vertica | zendesk]... + +Prepare CHANGELOG, README and COMMITS information for providers. + +╭─ Provider documentation preparation flags ───────────────────────────────────────────────────────────────────────────╮ +--debugDrop user in shell instead of running the command. Useful for debugging. +--github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] +--base-branch(TEXT) +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--verbose-vPrint verbose information about performed steps. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--answer-aForce answer to questions.(y | n | q | yes | no | quit) +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ diff --git a/images/breeze/output_release-management_prepare-provider-packages.svg b/images/breeze/output_release-management_prepare-provider-packages.svg index cdcd5a080e5..0a165ee969c 100644 --- a/images/breeze/output_release-management_prepare-provider-packages.svg +++ b/images/breeze/output_release-management_prepare-provider-packages.svg @@ -35,8 +35,8 @@ .breeze-release-management-prepare-provider-packages-r1 { fill: #c5c8c6;font-weight: bold } .breeze-release-management-prepare-provider-packages-r2 { fill: #c5c8c6 } .breeze-release-management-prepare-provider-packages-r3 { fill: #d0b344;font-weight: bold } -.breeze-release-management-prepare-provider-packages-r4 { fill: #68a0b3;font-weight: bold } -.breeze-release-management-prepare-provider-packages-r5 { fill: #868887 } +.breeze-release-management-prepare-provider-packages-r4 { fill: #868887 } +.breeze-release-management-prepare-provider-packages-r5 { fill: #68a0b3;font-weight: bold } .breeze-release-management-prepare-provider-packages-r6 { fill: #8d7b39 } .breeze-release-management-prepare-provider-packages-r7 { fill: #98a84b;font-weight: bold } @@ -154,7 +154,7 @@ -Usage: breeze release-management prepare-provider-packages [OPTIONS] [airbyte | alibaba | amazon | apache.beam | +Usage: breeze release-management prepare-provider-packages [OPTIONS] [airbyte | alibaba | amazon | apache.beam |                                                            apache.cassandra | apache.drill | apache.druid |                                                            apache.flink | apache.hdfs | apache.hive | apache.impala |                                                            apache.kylin | apache.livy | apache.pig | apache.pinot | @@ -170,22 +170,22 @@                                                            presto | qubole | redis | salesforce | samba | segment |                                                            sendgrid | sftp | singularity | slack | smtp | snowflake |                                                            sqlite | ssh | tableau | tabular | telegram | trino | -                                                           vertica | yandex | zendesk]... +                                                           vertica | zendesk]... Prepare sdist/whl packages of Airflow Providers. -╭─ Package flags ──────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---package-formatFormat of packages.(wheel | sdist | both)[default: wheel] ---version-suffix-for-pypiVersion suffix used for PyPI packages (alpha, beta, rc1, etc.).(TEXT) ---package-list-fileRead list of packages from text file (one package per line).(FILENAME) ---debugDrop user in shell instead of running the command. Useful for debugging. ---github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ -╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ ---verbose-vPrint verbose information about performed steps. ---dry-run-DIf dry-run is set, commands are only printed, not executed. ---help-hShow this message and exit. -╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Package flags ──────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--package-formatFormat of packages.(wheel | sdist | both)[default: wheel] +--version-suffix-for-pypiVersion suffix used for PyPI packages (alpha, beta, rc1, etc.).(TEXT) +--package-list-fileRead list of packages from text file (one package per line).(FILENAME) +--debugDrop user in shell instead of running the command. Useful for debugging. +--github-repository-gGitHub repository used to pull, push run images.(TEXT)[default: apache/airflow] +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭─ Common options ─────────────────────────────────────────────────────────────────────────────────────────────────────╮ +--verbose-vPrint verbose information about performed steps. +--dry-run-DIf dry-run is set, commands are only printed, not executed. +--help-hShow this message and exit. +╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯