This is an automated email from the ASF dual-hosted git repository. taragolis pushed a change to branch pytest-import-mode-importlib in repository https://gitbox.apache.org/repos/asf/airflow.git
discard 586451344a [Experiment] Use `importlib` import mode for `pytest` add a9a6976dd2 docs: yandex provider grammatical improvements (#38589) add 85f3b46701 Fix secrets inheriting for docs build (#38596) add 8617dc4634 Move `*_wait_for_done_logging` into the db tests (#38595) add a2f5307fd0 Brings back mypy-checks (#38597) add fce3a58334 Implement context accessor for DatasetEvent extra (#38481) add 0371ea8f4e Rename to XComObjectStorageBackend (#38607) add 7613795cac bugfix: properly serialize nested attrs classes (#38591) add 1d8413ec4f Add padding to bottom of log block. (#38610) add 69df34e52d Remove google-cloud-aiplatform when tests without pydantic are run (#38617) add 88a284dd59 Do not assume that `sys.path` always changed in `pytest` (#38612) add f177c7d46d [Experiment] Use `importlib` import mode for `pytest` add 5be23afeab Add importlib to the other tests This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (586451344a) \ N -- N -- N refs/heads/pytest-import-mode-importlib (5be23afeab) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/additional-ci-image-checks.yml | 8 - .github/workflows/ci.yml | 5 +- .github/workflows/static-checks-mypy-docs.yml | 11 +- .pre-commit-config.yaml | 5 + Dockerfile.ci | 2 +- airflow/datasets/__init__.py | 11 +- airflow/models/taskinstance.py | 14 +- airflow/providers/common/io/xcom/backend.py | 6 +- airflow/providers/openlineage/plugins/listener.py | 6 +- airflow/providers/yandex/hooks/yandex.py | 8 +- .../yandex/operators/yandexcloud_dataproc.py | 2 +- airflow/providers/yandex/secrets/lockbox.py | 74 +++++---- airflow/serialization/serde.py | 2 +- airflow/utils/context.py | 34 ++++ airflow/utils/context.pyi | 12 +- .../js/dag/details/taskInstance/Logs/LogBlock.tsx | 1 - contributing-docs/08_static_code_checks.rst | 2 + dev/breeze/README.md | 2 +- dev/breeze/doc/images/output_static-checks.svg | 114 ++++++------- dev/breeze/doc/images/output_static-checks.txt | 2 +- dev/breeze/pyproject.toml | 9 +- dev/breeze/src/airflow_breeze/pre_commit_ids.py | 1 + docker_tests/pyproject.toml | 9 +- .../xcom_backend.rst | 4 +- .../connections/yandexcloud.rst | 52 +++--- docs/apache-airflow-providers-yandex/operators.rst | 16 +- .../yandex-cloud-lockbox-secret-backend.rst | 183 +++++++++++---------- .../authoring-and-scheduling/datasets.rst | 31 +++- docs/apache-airflow/core-concepts/xcoms.rst | 4 +- docs/apache-airflow/templates-ref.rst | 2 + .../kubernetes => kubernetes_tests}/basic_pod.yaml | 0 kubernetes_tests/conftest.py | 14 ++ .../cncf/kubernetes => kubernetes_tests}/pod.yaml | 0 kubernetes_tests/pyproject.toml | 8 + kubernetes_tests/test_kubernetes_pod_operator.py | 22 ++- pyproject.toml | 3 + .../pre_commit_template_context_key_sync.py | 0 scripts/docker/entrypoint_ci.sh | 2 +- tests/models/test_taskinstance.py | 67 +++++++- tests/operators/test_python.py | 1 + tests/providers/apache/beam/hooks/test_beam.py | 33 ++-- .../providers/cncf/kubernetes}/conftest.py | 19 ++- .../cncf/kubernetes/data_files}/__init__.py | 0 .../kubernetes/data_files/executor}/__init__.py | 0 .../executor}/basic_template.yaml | 4 +- .../cncf/kubernetes/{ => data_files}/kube_config | 0 .../cncf/kubernetes/data_files/pods}/__init__.py | 0 .../pods/generator_base.yaml} | 0 .../pods/generator_base_with_secrets.yaml} | 0 .../{pod.yaml => data_files/pods/template.yaml} | 0 .../cncf/kubernetes/data_files/spark}/__init__.py | 0 .../spark/application_template.yaml} | 0 .../spark/application_test.json} | 0 .../spark/application_test.yaml} | 0 .../kubernetes_executor_template_files/__init__.py | 16 -- .../executors/test_kubernetes_executor.py | 48 +++--- .../cncf/kubernetes/models/test_secret.py | 7 +- .../kubernetes/operators/test_spark_kubernetes.py | 37 +++-- .../cncf/kubernetes/test_pod_generator.py | 65 ++++---- tests/providers/common/io/xcom/test_backend.py | 12 +- .../providers/google/cloud/hooks/test_dataflow.py | 33 ++-- .../hooks/vertex_ai/test_batch_prediction_job.py | 4 + .../vertex_ai/test_hyperparameter_tuning_job.py | 4 + tests/providers/yandex/hooks/test_yandex.py | 6 +- .../yandex/hooks/test_yandexcloud_dataproc.py | 4 +- .../yandex/operators/test_yandexcloud_dataproc.py | 10 +- tests/providers/yandex/secrets/test_lockbox.py | 50 +++--- tests/providers/yandex/utils/test_credentials.py | 2 +- tests/providers/yandex/utils/test_fields.py | 12 +- tests/serialization/test_serde.py | 16 ++ 70 files changed, 687 insertions(+), 444 deletions(-) rename {tests/providers/cncf/kubernetes => kubernetes_tests}/basic_pod.yaml (100%) copy {tests/providers/cncf/kubernetes => kubernetes_tests}/pod.yaml (100%) mode change 100644 => 100755 scripts/ci/pre_commit/pre_commit_template_context_key_sync.py copy {docker_tests => tests/providers/cncf/kubernetes}/conftest.py (56%) copy {airflow/api_connexion => tests/providers/cncf/kubernetes/data_files}/__init__.py (100%) copy {airflow/api_connexion => tests/providers/cncf/kubernetes/data_files/executor}/__init__.py (100%) rename tests/providers/cncf/kubernetes/{executors/kubernetes_executor_template_files => data_files/executor}/basic_template.yaml (94%) rename tests/providers/cncf/kubernetes/{ => data_files}/kube_config (100%) copy {airflow/api_connexion => tests/providers/cncf/kubernetes/data_files/pods}/__init__.py (100%) rename tests/providers/cncf/kubernetes/{pod_generator_base.yaml => data_files/pods/generator_base.yaml} (100%) rename tests/providers/cncf/kubernetes/{pod_generator_base_with_secrets.yaml => data_files/pods/generator_base_with_secrets.yaml} (100%) rename tests/providers/cncf/kubernetes/{pod.yaml => data_files/pods/template.yaml} (100%) copy {airflow/api_connexion => tests/providers/cncf/kubernetes/data_files/spark}/__init__.py (100%) rename tests/providers/cncf/kubernetes/{operators/spark_application_template.yaml => data_files/spark/application_template.yaml} (100%) rename tests/providers/cncf/kubernetes/{operators/spark_application_test.json => data_files/spark/application_test.json} (100%) rename tests/providers/cncf/kubernetes/{operators/spark_application_test.yaml => data_files/spark/application_test.yaml} (100%) delete mode 100644 tests/providers/cncf/kubernetes/executors/kubernetes_executor_template_files/__init__.py