Skip to content

Commit

Permalink
new: move onnx dependency to dev (#439)
Browse files Browse the repository at this point in the history
* new: move onnx dependency to dev

* update poetry install, add more groups in pyproject
  • Loading branch information
joein authored Jan 15, 2025
1 parent 3c10b66 commit 50289c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
python -m pip install poetry
poetry config virtualenvs.create false
poetry install --no-interaction --no-ansi --without docs
poetry install --no-interaction --no-ansi --without dev,docs
- name: Run pytest
run: |
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ keywords = ["vector", "embedding", "neural", "search", "qdrant", "sentence-trans

[tool.poetry.dependencies]
python = ">=3.9.0"
onnx = ">=1.15.0"
numpy = [
{ version = ">=1.21,<2.1.0", python = "<3.10" },
{ version = ">=1.21", python = ">=3.10,<3.12" },
Expand All @@ -33,11 +32,14 @@ pillow = "^10.3.0"
mmh3 = "^4.1.0"
py-rust-stemmers = "^0.1.0"

[tool.poetry.group.dev.dependencies]
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2"
ruff = ">=0.3.1,<1.0"

[tool.poetry.group.dev.dependencies]
notebook = ">=7.0.2"
pre-commit = "^3.6.2"
onnx = ">=1.15.0"

[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.5.10"
Expand Down

0 comments on commit 50289c6

Please sign in to comment.