Skip to content

Commit

Permalink
move poetry-core restrictions to az pipeline (#1732)
Browse files Browse the repository at this point in the history
* update meta.yaml

* set poetry lock version in env test instead

* update conda recipe for core

* Update env-setup.yaml
  • Loading branch information
sfc-gh-chu authored Jan 21, 2025
1 parent eb3c279 commit 44d9bc2
Show file tree
Hide file tree
Showing 18 changed files with 515 additions and 50 deletions.
3 changes: 3 additions & 0 deletions .azure_pipelines/templates/env-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ steps:
# Install poetry
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
# set poetry to version 1.8.5 to support python 3.8
poetry self update 1.8.5
# Show python version
echo "Using $(python --version) ($(which python))"
poetry config virtualenvs.create false
Expand Down
544 changes: 509 additions & 35 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/apps/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
langchain = ">=0.2.10"
langchain-core = ">=0.2.0"
Expand Down
1 change: 0 additions & 1 deletion src/apps/llamaindex/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-apps-langchain = { version = "^1.0.0" }
pydantic = "^2.4.2"
Expand Down
1 change: 0 additions & 1 deletion src/apps/nemo/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1,<3.13"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-apps-langchain = { version = "^1.0.0" }
pydantic = "^2.4.2"
Expand Down
1 change: 0 additions & 1 deletion src/connectors/snowflake/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1,<3.12"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
snowflake-snowpark-python = { version = "^1.18" }
snowflake-sqlalchemy = { version = "^1.6" }
Expand Down
3 changes: 3 additions & 0 deletions src/core/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ requirements:
- pip
run:
- python >=3.9,<3.12
- trulens-otel-semconv >=1.0.0,<2.0.0
- opentelemetry-api >=1.0.0,<2.0.0
- opentelemetry-sdk >=1.0.0,<2.0.0
- numpy >=1.23
- munch >=2.5.0,<3.0.0
- dill >=0.3.8,<0.4.0
Expand Down
1 change: 0 additions & 1 deletion src/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
numpy = [
{ version = ">=1.23.0,<1.25.0", python = "<3.9" },
{ version = ">=1.23.0", python = ">=3.9" },
Expand Down
1 change: 0 additions & 1 deletion src/dashboard/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1,!=3.9.7"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
ipywidgets = ">=7.1.2"
jupyter = "^1"
Expand Down
1 change: 0 additions & 1 deletion src/feedback/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
nltk = "^3.9.1"
pydantic = "^2.4.2"
Expand Down
1 change: 0 additions & 1 deletion src/otel/semconv/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
# This package only has pre-releases:
opentelemetry-semantic-conventions = { version = ">=0.36b0", allow-prereleases = true }
# This package requires python 3.9 so we are avoiding using it for now:
Expand Down
1 change: 0 additions & 1 deletion src/providers/bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
boto3 = "^1.33"
Expand Down
1 change: 0 additions & 1 deletion src/providers/cortex/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1,<3.12"
poetry-core = "<2.0.0"
packaging = ">=23.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
Expand Down
1 change: 0 additions & 1 deletion src/providers/huggingface/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
requests = "^2.31"
Expand Down
1 change: 0 additions & 1 deletion src/providers/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
langchain-core = ">=0.2.0"
Expand Down
1 change: 0 additions & 1 deletion src/providers/litellm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
litellm = "^1.25"
Expand Down
1 change: 0 additions & 1 deletion src/providers/openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1"
poetry-core = "<2.0.0"
trulens-core = { version = "^1.0.0" }
trulens-feedback = { version = "^1.0.0" }
openai = ">=1.52.1"
Expand Down
1 change: 0 additions & 1 deletion src/trulens_eval/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.8.1,!=3.9.7"
poetry-core = "<2.0.0"
# If any of these below has a new release, make a new trulens_eval release with
# the latest trulens-* versions for users who are still installing
# "trulens_eval".
Expand Down

0 comments on commit 44d9bc2

Please sign in to comment.