mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context Python integration tests were failing consistently for 2 reasons. First, all ubuntu system tests were failing due to missing shared object files related to cuda. Second, macOS + python 3.11 tests were failing due to hsnwlib unable to install on native hardware. See https://github.com/microsoft/semantic-kernel/pull/1066 for description of changes to integration test code to condense test code, make better use of pytest fixtures, and reduce the number of calls to external APIs (OpenAI, AOAI) ### Description - Integration tests were failing on Linux due to a regression in python torch=2.0.1. Downgrading the version to 2.0.0 resolved these failures. - For MacOS + 3.11 specifically, setting the environment variable `HNSWLIB_NO_NATIVE=1` ensures that the hnswlib wheel can be built and installed properly on M1 hardware. - Python integration tests reliably and consistently passing: https://github.com/microsoft/semantic-kernel/actions/runs/5035748596
42 lines
835 B
TOML
42 lines
835 B
TOML
[tool.poetry]
|
|
name = "semantic-kernel"
|
|
version = "0.2.8.dev"
|
|
description = ""
|
|
authors = ["Microsoft <[email protected]>"]
|
|
readme = "pip/README.md"
|
|
packages = [{include = "semantic_kernel"}]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
numpy = "^1.24.2"
|
|
openai = "^0.27.0"
|
|
aiofiles = "^23.1.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pre-commit = "^2.21.0"
|
|
black = {version = "^23.3.0", allow-prereleases = true}
|
|
ipykernel = "^6.21.1"
|
|
pytest = "7.2.0"
|
|
ruff = "^0.0.257"
|
|
pytest-asyncio = "^0.21.0"
|
|
|
|
|
|
[tool.poetry.group.hugging_face.dependencies]
|
|
transformers = "^4.28.1"
|
|
sentence-transformers = "^2.2.2"
|
|
torch = "2.0.0"
|
|
|
|
[tool.poetry.group.chromadb.dependencies]
|
|
chromadb = "^0.3.23"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|