Files
autogen/python/packages/autogen-ext/pyproject.toml
Leonardo Pinheiro 6cfa29b018 Add langchain tool adapter in autogen-ext (#570)
* add langhcain tool adapter

* remove langchain package

* fix type errors

* test type fixes

* fix imports

* install extras in CI

* improve typing and use to_thread

* pin min langchain version

* install all extras in ci test

* update to langchain 0.3.1

* install extras in CI

* ignore pyright errors

* add missing uv sync extra reqs

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-30 19:36:20 -04:00

48 lines
889 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "autogen-ext"
version = "0.3.0dev0"
description = "AutoGen extensions library"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"autogen-core",
]
[project.optional-dependencies]
langchain = ["langchain >= 0.3.1"]
[tool.hatch.build.targets.wheel]
packages = ["src/autogen_ext"]
[tool.uv]
dev-dependencies = []
[tool.ruff]
extend = "../../pyproject.toml"
include = ["src/**", "tests/*.py"]
[tool.pyright]
extends = "../../pyproject.toml"
include = ["src", "tests"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
[tool.poe]
include = "../../shared_tasks.toml"
[tool.poe.tasks]
test = "pytest -n auto"