Skip to content
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

Fix index for qdrant provider #37330

Merged
merged 1 commit into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions airflow/providers/qdrant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
potiuk marked this conversation as resolved.
Show resolved Hide resolved
"2.7.0"
Taragolis marked this conversation as resolved.
Show resolved Hide resolved
):
raise RuntimeError(
f"The package `apache-airflow-providers-qdrant:{__version__}` needs Apache Airflow 2.7.0+"
)
7 changes: 7 additions & 0 deletions docs/apache-airflow-providers-qdrant/changelog.rst
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
30 changes: 29 additions & 1 deletion docs/apache-airflow-providers-qdrant/commits.rst
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)``
================================================================================================= =========== ================================
52 changes: 26 additions & 26 deletions docs/apache-airflow-providers-qdrant/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -62,37 +53,46 @@

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

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``
================== ==================