This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 91936e504f Fix index for qdrant provider (#37330)
91936e504f is described below

commit 91936e504f22e7b78d7e981982fbc9ae54a6c4ac
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Feb 11 14:35:56 2024 +0100

    Fix index for qdrant provider (#37330)
---
 airflow/providers/qdrant/__init__.py               | 26 +++++++++++
 docs/apache-airflow-providers-qdrant/changelog.rst |  7 +++
 docs/apache-airflow-providers-qdrant/commits.rst   | 30 ++++++++++++-
 docs/apache-airflow-providers-qdrant/index.rst     | 52 +++++++++++-----------
 4 files changed, 88 insertions(+), 27 deletions(-)

diff --git a/airflow/providers/qdrant/__init__.py 
b/airflow/providers/qdrant/__init__.py
index 13a83393a9..5e170efd77 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 b4d67b06a0..56dd0a8b55 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 c5206dab50..becec92e7b 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 <https://qdrant.tech/documentation>`__
+
+
+This is detailed commit list of changes for versions provider package: 
``qdrant``.
+For high-level changelog, see :doc:`package information including changelog 
<index>`.
+
+
+
+1.0.0
+.....
+
+Latest change: 2024-02-08
+
+=================================================================================================
  ===========  ================================
+Commit                                                                         
                    Committed    Subject
+=================================================================================================
  ===========  ================================
+`bc50c58768 
<https://github.com/apache/airflow/commit/bc50c58768f436916f1bb7ceb6cfae038683c358>`_
  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 c2f8fc473a..827ca7d28e 100644
--- a/docs/apache-airflow-providers-qdrant/index.rst
+++ b/docs/apache-airflow-providers-qdrant/index.rst
@@ -37,15 +37,6 @@
     Connection types <connections>
     Operators <operators/qdrant>
 
-
-.. toctree::
-    :hidden:
-    :maxdepth: 1
-    :caption: Commits
-
-    Detailed list of commits <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 <https://qdrant.tech/>`__
+
+.. toctree::
+    :hidden:
+    :maxdepth: 1
+    :caption: Commits
+
+    Detailed list of commits <commits>
+
+
+apache-airflow-providers-qdrant package
+------------------------------------------------------
+
+`Qdrant <https://qdrant.tech/documentation>`__
 
 
 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``
+==================  ==================

Reply via email to