From 93cee9e036ee94f51dc6711493cafb64be8a4095 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Tue, 19 Mar 2024 16:41:12 +0100 Subject: [PATCH] remove references to Python 3.7 --- integrations/amazon_bedrock/pyproject.toml | 4 ++-- integrations/amazon_sagemaker/pyproject.toml | 6 +++--- integrations/anthropic/pyproject.toml | 4 ++-- integrations/astra/pyproject.toml | 9 ++++----- integrations/chroma/pyproject.toml | 4 ++-- integrations/cohere/pyproject.toml | 9 ++++----- integrations/deepeval/pyproject.toml | 4 ++-- integrations/elasticsearch/pyproject.toml | 4 ++-- integrations/fastembed/pyproject.toml | 4 ++-- integrations/google_ai/pyproject.toml | 9 ++++----- integrations/google_vertex/pyproject.toml | 8 ++++---- integrations/gradient/pyproject.toml | 1 - integrations/instructor_embedders/pyproject.toml | 3 +-- integrations/jina/pyproject.toml | 9 ++++----- integrations/llama_cpp/pyproject.toml | 4 ++-- integrations/mistral/pyproject.toml | 4 ++-- integrations/mongodb_atlas/pyproject.toml | 4 ++-- integrations/nvidia/pyproject.toml | 6 +++--- integrations/ollama/pyproject.toml | 4 ++-- integrations/opensearch/pyproject.toml | 4 ++-- integrations/optimum/pyproject.toml | 4 ++-- integrations/pgvector/pyproject.toml | 4 ++-- integrations/pinecone/pyproject.toml | 4 ++-- integrations/qdrant/pyproject.toml | 9 ++++----- integrations/ragas/pyproject.toml | 4 ++-- integrations/unstructured/pyproject.toml | 4 ++-- integrations/uptrain/pyproject.toml | 4 ++-- integrations/weaviate/pyproject.toml | 4 ++-- 28 files changed, 67 insertions(+), 74 deletions(-) diff --git a/integrations/amazon_bedrock/pyproject.toml b/integrations/amazon_bedrock/pyproject.toml index 8366c9449..4790ce69f 100644 --- a/integrations/amazon_bedrock/pyproject.toml +++ b/integrations/amazon_bedrock/pyproject.toml @@ -96,12 +96,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/amazon_sagemaker/pyproject.toml b/integrations/amazon_sagemaker/pyproject.toml index af830b0d5..e258094c5 100644 --- a/integrations/amazon_sagemaker/pyproject.toml +++ b/integrations/amazon_sagemaker/pyproject.toml @@ -71,7 +71,7 @@ docs = [ ] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -97,12 +97,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/anthropic/pyproject.toml b/integrations/anthropic/pyproject.toml index 79cc5850d..2ff569d73 100644 --- a/integrations/anthropic/pyproject.toml +++ b/integrations/anthropic/pyproject.toml @@ -95,12 +95,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/astra/pyproject.toml b/integrations/astra/pyproject.toml index 8b0dd4f30..666ab67a9 100644 --- a/integrations/astra/pyproject.toml +++ b/integrations/astra/pyproject.toml @@ -7,7 +7,7 @@ name = "astra-haystack" dynamic = ["version"] description = '' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ @@ -16,7 +16,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -68,7 +67,7 @@ docs = [ "pydoc-markdown pydoc/config.yml" ] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -97,12 +96,12 @@ all = [ allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/chroma/pyproject.toml b/integrations/chroma/pyproject.toml index 2cfcbea20..87d10850a 100644 --- a/integrations/chroma/pyproject.toml +++ b/integrations/chroma/pyproject.toml @@ -97,12 +97,12 @@ all = [ allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/cohere/pyproject.toml b/integrations/cohere/pyproject.toml index 523bfa918..e1a65aae9 100644 --- a/integrations/cohere/pyproject.toml +++ b/integrations/cohere/pyproject.toml @@ -7,14 +7,13 @@ name = "cohere-haystack" dynamic = ["version"] description = '' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -50,7 +49,7 @@ cov = ["test-cov", "cov-report"] docs = ["pydoc-markdown pydoc/config.yml"] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -62,12 +61,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/deepeval/pyproject.toml b/integrations/deepeval/pyproject.toml index 18a873b34..f4199f31c 100644 --- a/integrations/deepeval/pyproject.toml +++ b/integrations/deepeval/pyproject.toml @@ -61,12 +61,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/elasticsearch/pyproject.toml b/integrations/elasticsearch/pyproject.toml index 92f49f35d..2c512849d 100644 --- a/integrations/elasticsearch/pyproject.toml +++ b/integrations/elasticsearch/pyproject.toml @@ -96,12 +96,12 @@ all = [ allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/fastembed/pyproject.toml b/integrations/fastembed/pyproject.toml index 49d6a8f17..15dfe907c 100644 --- a/integrations/fastembed/pyproject.toml +++ b/integrations/fastembed/pyproject.toml @@ -95,12 +95,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/google_ai/pyproject.toml b/integrations/google_ai/pyproject.toml index 3224b1dc0..2742fb3f0 100644 --- a/integrations/google_ai/pyproject.toml +++ b/integrations/google_ai/pyproject.toml @@ -7,7 +7,7 @@ name = "google-ai-haystack" dynamic = ["version"] description = 'Use models like Gemini via Makersuite' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ @@ -16,7 +16,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -66,7 +65,7 @@ docs = [ "pydoc-markdown pydoc/config.yml" ] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -92,12 +91,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/google_vertex/pyproject.toml b/integrations/google_vertex/pyproject.toml index be7cd33ac..6b839e9c7 100644 --- a/integrations/google_vertex/pyproject.toml +++ b/integrations/google_vertex/pyproject.toml @@ -7,7 +7,7 @@ name = "google-vertex-haystack" dynamic = ["version"] description = '' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ @@ -65,7 +65,7 @@ docs = [ "pydoc-markdown pydoc/config.yml" ] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -91,12 +91,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/gradient/pyproject.toml b/integrations/gradient/pyproject.toml index 013b1263c..d04f8cf5a 100644 --- a/integrations/gradient/pyproject.toml +++ b/integrations/gradient/pyproject.toml @@ -18,7 +18,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/integrations/instructor_embedders/pyproject.toml b/integrations/instructor_embedders/pyproject.toml index e537b3476..69b7ac0d8 100644 --- a/integrations/instructor_embedders/pyproject.toml +++ b/integrations/instructor_embedders/pyproject.toml @@ -7,14 +7,13 @@ name = "instructor-embedders-haystack" dynamic = ["version"] description = 'Haystack 2.x component to embed strings and Documents using Instructor embedding model.' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [{ name = "deepset GmbH", email = "info@deepset.ai" }] classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/integrations/jina/pyproject.toml b/integrations/jina/pyproject.toml index e1e719b27..7d7fc26fc 100644 --- a/integrations/jina/pyproject.toml +++ b/integrations/jina/pyproject.toml @@ -7,7 +7,7 @@ name = "jina-haystack" dynamic = ["version"] description = '' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ @@ -16,7 +16,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -53,7 +52,7 @@ docs = ["pydoc-markdown pydoc/config.yml"] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -65,12 +64,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/llama_cpp/pyproject.toml b/integrations/llama_cpp/pyproject.toml index 5e5fb6f59..2cbdae031 100644 --- a/integrations/llama_cpp/pyproject.toml +++ b/integrations/llama_cpp/pyproject.toml @@ -101,12 +101,12 @@ allow-direct-references = true known-first-party = ["src"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/mistral/pyproject.toml b/integrations/mistral/pyproject.toml index 512993246..9550fea1e 100644 --- a/integrations/mistral/pyproject.toml +++ b/integrations/mistral/pyproject.toml @@ -61,12 +61,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/mongodb_atlas/pyproject.toml b/integrations/mongodb_atlas/pyproject.toml index 6e6b55dfe..5938e0378 100644 --- a/integrations/mongodb_atlas/pyproject.toml +++ b/integrations/mongodb_atlas/pyproject.toml @@ -94,12 +94,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/nvidia/pyproject.toml b/integrations/nvidia/pyproject.toml index 05830e350..73a984ece 100644 --- a/integrations/nvidia/pyproject.toml +++ b/integrations/nvidia/pyproject.toml @@ -50,7 +50,7 @@ cov = ["test-cov", "cov-report"] docs = ["echo 'skip doc gen'"] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -62,12 +62,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/ollama/pyproject.toml b/integrations/ollama/pyproject.toml index 17c9d46b2..158ced082 100644 --- a/integrations/ollama/pyproject.toml +++ b/integrations/ollama/pyproject.toml @@ -100,12 +100,12 @@ allow-direct-references = true known-first-party = ["src"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/opensearch/pyproject.toml b/integrations/opensearch/pyproject.toml index f2ed07c18..0440f37a9 100644 --- a/integrations/opensearch/pyproject.toml +++ b/integrations/opensearch/pyproject.toml @@ -97,12 +97,12 @@ all = [ allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/optimum/pyproject.toml b/integrations/optimum/pyproject.toml index e6903b4dc..bd0eea8d0 100644 --- a/integrations/optimum/pyproject.toml +++ b/integrations/optimum/pyproject.toml @@ -82,12 +82,12 @@ allow-direct-references = true known-first-party = ["src"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/pgvector/pyproject.toml b/integrations/pgvector/pyproject.toml index caf5fe305..26ca45307 100644 --- a/integrations/pgvector/pyproject.toml +++ b/integrations/pgvector/pyproject.toml @@ -95,12 +95,12 @@ all = [ ] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/pinecone/pyproject.toml b/integrations/pinecone/pyproject.toml index d0639983e..2f7cc6d8c 100644 --- a/integrations/pinecone/pyproject.toml +++ b/integrations/pinecone/pyproject.toml @@ -75,12 +75,12 @@ all = ["style", "typing"] allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/qdrant/pyproject.toml b/integrations/qdrant/pyproject.toml index 40a97d9b9..8c347e562 100644 --- a/integrations/qdrant/pyproject.toml +++ b/integrations/qdrant/pyproject.toml @@ -7,7 +7,7 @@ name = "qdrant-haystack" dynamic = ["version"] description = 'An integration of Qdrant ANN vector database backend with Haystack' readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ @@ -17,7 +17,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -53,7 +52,7 @@ cov = ["test-cov", "cov-report"] docs = ["pydoc-markdown pydoc/config.yml"] [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11"] [tool.hatch.envs.lint] detached = true @@ -65,12 +64,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/ragas/pyproject.toml b/integrations/ragas/pyproject.toml index 504f6ddb1..15ae4fa76 100644 --- a/integrations/ragas/pyproject.toml +++ b/integrations/ragas/pyproject.toml @@ -61,12 +61,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/unstructured/pyproject.toml b/integrations/unstructured/pyproject.toml index 5d14fcfe1..234da6130 100644 --- a/integrations/unstructured/pyproject.toml +++ b/integrations/unstructured/pyproject.toml @@ -96,12 +96,12 @@ all = [ allow-direct-references = true [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/uptrain/pyproject.toml b/integrations/uptrain/pyproject.toml index 36ebdc00b..2c670e486 100644 --- a/integrations/uptrain/pyproject.toml +++ b/integrations/uptrain/pyproject.toml @@ -66,12 +66,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A", diff --git a/integrations/weaviate/pyproject.toml b/integrations/weaviate/pyproject.toml index 54d9ec21b..bbb376c23 100644 --- a/integrations/weaviate/pyproject.toml +++ b/integrations/weaviate/pyproject.toml @@ -67,12 +67,12 @@ fmt = ["black {args:.}", "ruff --fix {args:.}", "style"] all = ["style", "typing"] [tool.black] -target-version = ["py37"] +target-version = ["py38"] line-length = 120 skip-string-normalization = true [tool.ruff] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "A",