mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-06-09 06:45:13 +02:00
Merge branch 'release/v0.11' into release/v0.12
This commit is contained in:
commit
5850b6c136
9 changed files with 63 additions and 9 deletions
4
Makefile
4
Makefile
|
|
@ -9,6 +9,7 @@ all: container
|
|||
|
||||
# Not used
|
||||
wheels:
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-base/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-flow/
|
||||
pip3 wheel --no-deps --wheel-dir dist trustgraph-vertexai/
|
||||
|
|
@ -19,6 +20,7 @@ wheels:
|
|||
|
||||
packages: update-package-versions
|
||||
rm -rf dist/
|
||||
cd trustgraph && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-base && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-flow && python3 setup.py sdist --dist-dir ../dist/
|
||||
cd trustgraph-vertexai && python3 setup.py sdist --dist-dir ../dist/
|
||||
|
|
@ -34,6 +36,7 @@ CONTAINER=docker.io/trustgraph/trustgraph-flow
|
|||
|
||||
update-package-versions:
|
||||
mkdir -p trustgraph-cli/trustgraph
|
||||
mkdir -p trustgraph/trustgraph
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-base/trustgraph/base_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-flow/trustgraph/flow_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-vertexai/trustgraph/vertexai_version.py
|
||||
|
|
@ -41,6 +44,7 @@ update-package-versions:
|
|||
echo __version__ = \"${VERSION}\" > trustgraph-parquet/trustgraph/parquet_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-embeddings-hf/trustgraph/embeddings_hf_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph-cli/trustgraph/cli_version.py
|
||||
echo __version__ = \"${VERSION}\" > trustgraph/trustgraph/trustgraph_version.py
|
||||
|
||||
container: update-package-versions
|
||||
${DOCKER} build -f Containerfile -t ${CONTAINER}:${VERSION} \
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ TrustGraph releases are available [here](https://github.com/trustgraph-ai/trustg
|
|||
|
||||
| Release Type | Release Version |
|
||||
| ------------ | --------------- |
|
||||
| Latest | [0.11.19](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.19/deploy.zip) |
|
||||
| Stable | [0.11.19](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.19/deploy.zip) |
|
||||
| Latest | [0.11.20](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.20/deploy.zip) |
|
||||
| Stable | [0.11.20](https://github.com/trustgraph-ai/trustgraph/releases/download/v0.11.20/deploy.zip) |
|
||||
|
||||
TrustGraph is fully containerized and is launched with a `YAML` configuration file. Unzipping the `deploy.zip` will add the `deploy` directory with the following subdirectories:
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-base<0.12",
|
||||
"pulsar-client",
|
||||
"prometheus-client",
|
||||
"boto3",
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-base<0.12",
|
||||
"requests",
|
||||
"pulsar-client",
|
||||
"rdflib",
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-flow",
|
||||
"trustgraph-base<0.12",
|
||||
"trustgraph-flow<0.12",
|
||||
"torch",
|
||||
"urllib3",
|
||||
"transformers",
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-base<0.12",
|
||||
"urllib3",
|
||||
"rdflib",
|
||||
"pymilvus",
|
||||
|
|
|
|||
|
|
@ -34,15 +34,18 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-base<0.12",
|
||||
"pulsar-client",
|
||||
"prometheus-client",
|
||||
"pyarrow",
|
||||
"pandas",
|
||||
],
|
||||
scripts=[
|
||||
"scripts/concat-parquet",
|
||||
"scripts/dump-parquet",
|
||||
"scripts/ge-dump-parquet",
|
||||
"scripts/triples-dump-parquet",
|
||||
"scripts/load-graph-embeddings",
|
||||
"scripts/load-triples",
|
||||
]
|
||||
)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ setuptools.setup(
|
|||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base",
|
||||
"trustgraph-base<0.12",
|
||||
"pulsar-client",
|
||||
"google-cloud-aiplatform",
|
||||
"prometheus-client",
|
||||
|
|
|
|||
47
trustgraph/setup.py
Normal file
47
trustgraph/setup.py
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
import setuptools
|
||||
import os
|
||||
import importlib
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
# Load a version number module
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
'version', 'trustgraph/trustgraph_version.py'
|
||||
)
|
||||
version_module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(version_module)
|
||||
|
||||
version = version_module.__version__
|
||||
|
||||
setuptools.setup(
|
||||
name="trustgraph",
|
||||
version=version,
|
||||
author="trustgraph.ai",
|
||||
author_email="security@trustgraph.ai",
|
||||
description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/trustgraph-ai/trustgraph",
|
||||
packages=setuptools.find_namespace_packages(
|
||||
where='./',
|
||||
),
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Operating System :: OS Independent",
|
||||
],
|
||||
python_requires='>=3.8',
|
||||
download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
|
||||
install_requires=[
|
||||
"trustgraph-base<0.12",
|
||||
"trustgraph-bedrock<0.12",
|
||||
"trustgraph-cli<0.12",
|
||||
"trustgraph-embeddings-hf<0.12",
|
||||
"trustgraph-flow<0.12",
|
||||
"trustgraph-parquet<0.12",
|
||||
"trustgraph-vertexai<0.12",
|
||||
],
|
||||
scripts=[
|
||||
]
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue