diff --git a/airflow/providers/qdrant/__init__.py b/airflow/providers/qdrant/__init__.py index 13a83393a912..5e170efd7741 100644 --- a/airflow/providers/qdrant/__init__.py +++ b/airflow/providers/qdrant/__init__.py @@ -14,3 +14,29 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +# +# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE +# OVERWRITTEN WHEN PREPARING DOCUMENTATION FOR THE PACKAGES. +# +# IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE +# `PROVIDER__INIT__PY_TEMPLATE.py.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY +# +from __future__ import annotations + +import packaging.version + +__all__ = ["__version__"] + +__version__ = "1.0.0" + +try: + from airflow import __version__ as airflow_version +except ImportError: + from airflow.version import version as airflow_version + +if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse( + "2.7.0" +): + raise RuntimeError( + f"The package `apache-airflow-providers-qdrant:{__version__}` needs Apache Airflow 2.7.0+" + ) diff --git a/docs/apache-airflow-providers-qdrant/changelog.rst b/docs/apache-airflow-providers-qdrant/changelog.rst index b4d67b06a076..56dd0a8b55a8 100644 --- a/docs/apache-airflow-providers-qdrant/changelog.rst +++ b/docs/apache-airflow-providers-qdrant/changelog.rst @@ -1,3 +1,4 @@ + .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -15,4 +16,10 @@ specific language governing permissions and limitations under the License. + .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE + OVERWRITTEN WHEN PREPARING PACKAGES. + + .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE + `PROVIDER_CHANGELOG_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY + .. include:: ../../airflow/providers/qdrant/CHANGELOG.rst diff --git a/docs/apache-airflow-providers-qdrant/commits.rst b/docs/apache-airflow-providers-qdrant/commits.rst index c5206dab50a1..becec92e7b84 100644 --- a/docs/apache-airflow-providers-qdrant/commits.rst +++ b/docs/apache-airflow-providers-qdrant/commits.rst @@ -1,3 +1,4 @@ + .. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -15,5 +16,32 @@ specific language governing permissions and limitations under the License. + .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE + OVERWRITTEN WHEN PREPARING PACKAGES. + + .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE + `PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY + + .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME! + Package apache-airflow-providers-qdrant -------------------------------------------- +------------------------------------------------------ + +`Qdrant `__ + + +This is detailed commit list of changes for versions provider package: ``qdrant``. +For high-level changelog, see :doc:`package information including changelog `. + + + +1.0.0 +..... + +Latest change: 2024-02-08 + +================================================================================================= =========== ================================ +Commit Committed Subject +================================================================================================= =========== ================================ +`bc50c58768 `_ 2024-02-08 ``Add Qdrant Provider (#36805)`` +================================================================================================= =========== ================================ diff --git a/docs/apache-airflow-providers-qdrant/index.rst b/docs/apache-airflow-providers-qdrant/index.rst index c2f8fc473abd..827ca7d28e7a 100644 --- a/docs/apache-airflow-providers-qdrant/index.rst +++ b/docs/apache-airflow-providers-qdrant/index.rst @@ -37,15 +37,6 @@ Connection types Operators - -.. toctree:: - :hidden: - :maxdepth: 1 - :caption: Commits - - Detailed list of commits - - .. toctree:: :hidden: :maxdepth: 1 @@ -62,10 +53,21 @@ System Tests <_api/tests/system/providers/qdrant/index> -Package apache-airflow-providers-qdrant ------------------------------------------ +.. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME! -`Qdrant `__ + +.. toctree:: + :hidden: + :maxdepth: 1 + :caption: Commits + + Detailed list of commits + + +apache-airflow-providers-qdrant package +------------------------------------------------------ + +`Qdrant `__ Release: 1.0.0 @@ -73,26 +75,24 @@ Release: 1.0.0 Provider package ---------------- -This is a provider package for ``Qdrant`` APIs. All classes for this provider package -are in ``airflow.providers.qdrant`` python module. +This package is for the ``qdrant`` provider. +All classes for this package are included in the ``airflow.providers.qdrant`` python package. Installation ------------ -You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below) -for the minimum Airflow version supported) via -``pip install apache-airflow-providers-qdrant`` - +You can install this package on top of an existing Airflow 2 installation via +``pip install apache-airflow-providers-qdrant``. +For the minimum Airflow version supported, see ``Requirements`` below. Requirements ------------ -The minimum Apache Airflow version supported by this provider package is ``2.5.0``. - +The minimum Apache Airflow version supported by this provider package is ``2.7.0``. -=================== ================== -PIP package Version required -=================== ================== -``apache-airflow`` ``>=2.7.0`` -``qdrant_client`` ``>=1.7.0`` -=================== ================== +================== ================== +PIP package Version required +================== ================== +``qdrant_client`` ``>=1.7.0`` +``apache-airflow`` ``>=2.7.0`` +================== ==================