Skip to content

Commit

Permalink
move versioning to vcs for all the integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Dec 15, 2023
1 parent e215185 commit e96fcad
Show file tree
Hide file tree
Showing 18 changed files with 62 additions and 53 deletions.
7 changes: 6 additions & 1 deletion integrations/chroma/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/chroma"

[tool.hatch.version]
path = "src/chroma_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/chroma-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/chroma-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions integrations/chroma/src/chroma_haystack/__about__.py

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/cohere/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -35,7 +35,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/cohere"

[tool.hatch.version]
path = "src/cohere_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/cohere-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/cohere-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions integrations/cohere/src/cohere_haystack/__about__.py

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/elasticsearch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -34,7 +34,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/elasticsearch"

[tool.hatch.version]
path = "src/elasticsearch_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/elasticsearch-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/elasticsearch-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/google-vertex/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -34,7 +34,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/google-vertex"

[tool.hatch.version]
path = "src/google_vertex_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/google-vertex-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/google-vertex-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/gradient/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -35,7 +35,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/gradient"

[tool.hatch.version]
path = "src/gradient_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/gradient-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/gradient-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions integrations/gradient/src/gradient_haystack/__about__.py

This file was deleted.

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/instructor-embedders/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -55,7 +55,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/components/instructor-embedders"

[tool.hatch.version]
path = "instructor_embedders_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/instructor-embedders-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/instructor-embedders-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = ["pytest", "pytest-cov"]
Expand Down
9 changes: 7 additions & 2 deletions integrations/jina/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -32,7 +32,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/jina"

[tool.hatch.version]
path = "src/jina_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/jina-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/jina-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions integrations/jina/src/jina_haystack/__about__.py

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/opensearch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -34,7 +34,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/opensearch"

[tool.hatch.version]
path = "src/opensearch_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/opensearch-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../.."
git_describe_command = 'git describe --tags --match="integrations/opensearch-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down
4 changes: 0 additions & 4 deletions integrations/opensearch/src/opensearch_haystack/__about__.py

This file was deleted.

9 changes: 7 additions & 2 deletions integrations/unstructured/fileconverter/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -35,7 +35,12 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/unstructured/fileconverter"

[tool.hatch.version]
path = "src/unstructured_fileconverter_haystack/__about__.py"
source = "vcs"
tag-pattern = 'integrations\/unstructured-fileconverter-v(?P<version>.*)'

[tool.hatch.version.raw-options]
root = "../../.."
git_describe_command = 'git describe --tags --match="integrations/unstructured-fileconverter-v[0-9]*"'

[tool.hatch.envs.default]
dependencies = [
Expand Down

This file was deleted.

0 comments on commit e96fcad

Please sign in to comment.