Skip to content

Commit

Permalink
Remove all but root poetry.lock file. (#1653)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dkurokawa authored Nov 15, 2024
1 parent 4b7c920 commit aa6d23b
Show file tree
Hide file tree
Showing 20 changed files with 2,115 additions and 34,797 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ htmlcov/
# testing: parts of old trulens_eval package for backwards compatibility testing
_trulens_eval/
data/

# Build objects
**/poetry.lock
!poetry.lock
45 changes: 5 additions & 40 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ repos:
hooks:
- id: trailing-whitespace
- id: check-added-large-files
exclude: src/dashboard/trulens/dashboard/.*/dist/.*
exclude: |
(?x)^(
src/dashboard/trulens/dashboard/.*/dist/.*|
poetry.lock
)$
- id: check-yaml
exclude: meta.yaml
- id: destroyed-symlinks
Expand Down Expand Up @@ -44,42 +48,3 @@ repos:
hooks:
- id: poetry-check
name: trulens-poetry-check
- id: poetry-check
name: trulens-core-poetry-check
args: [-C src/core]
- id: poetry-check
name: trulens-benchmark-poetry-check
args: [-C src/benchmark]
- id: poetry-check
name: trulens-feedback-poetry-check
args: [-C src/feedback]
- id: poetry-check
name: trulens-apps-langchain-poetry-check
args: [-C src/apps/langchain]
- id: poetry-check
name: trulens-apps-llamaindex-poetry-check
args: [-C src/apps/llamaindex]
- id: poetry-check
name: trulens-apps-nemo-poetry-check
args: [-C src/apps/nemo]
- id: poetry-check
name: trulens-providers-bedrock-poetry-check
args: [-C src/providers/bedrock]
- id: poetry-check
name: trulens-providers-cortex-poetry-check
args: [-C src/providers/cortex]
- id: poetry-check
name: trulens-providers-huggingface-poetry-check
args: [-C src/providers/huggingface]
- id: poetry-check
name: trulens-providers-langchain-poetry-check
args: [-C src/providers/langchain]
- id: poetry-check
name: trulens-providers-litellm-poetry-check
args: [-C src/providers/litellm]
- id: poetry-check
name: trulens-providers-openai-poetry-check
args: [-C src/providers/openai]
- id: poetry-check
name: trulens-connectors-snowflake-poetry-check
args: [-C src/connectors/snowflake]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ env-tests:
jsondiff

env-tests-required:
poetry install --only required
make env-tests
poetry install --only required \
&& make env-tests

env-tests-optional: env env-tests
poetry run pip install \
Expand Down
2,419 changes: 2,100 additions & 319 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ classifiers = [
"License :: OSI Approved :: MIT License",
]

[[tool.poetry.source]]
name = "pypi-public"
url = "https://pypi.org/simple/"

[tool.poetry.dependencies]
python = "^3.8.1,!=3.9.7"
trulens-core = { version = "^1.0.0", extras = [
Expand Down
2,011 changes: 0 additions & 2,011 deletions src/apps/langchain/poetry.lock

This file was deleted.

3,118 changes: 0 additions & 3,118 deletions src/apps/llamaindex/poetry.lock

This file was deleted.

3,135 changes: 0 additions & 3,135 deletions src/apps/nemo/poetry.lock

This file was deleted.

870 changes: 0 additions & 870 deletions src/benchmark/poetry.lock

This file was deleted.

1,509 changes: 0 additions & 1,509 deletions src/connectors/snowflake/poetry.lock

This file was deleted.

1,014 changes: 0 additions & 1,014 deletions src/core/poetry.lock

This file was deleted.

Loading

0 comments on commit aa6d23b

Please sign in to comment.