diff --git a/pyproject.toml b/pyproject.toml index e801411837..30e0b67c63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,20 +15,6 @@ dependencies = [ "types-requests>=2.0, <3", "mcp>=1.19.0, <2; python_version >= '3.10'", ] -classifiers = [ - "Typing :: Typed", - "Intended Audience :: Developers", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "Operating System :: OS Independent", - "Topic :: Software Development :: Libraries :: Python Modules", - "License :: OSI Approved :: MIT License", -] [project.urls] Homepage = "https://openai.github.io/openai-agents-python/" @@ -46,34 +32,17 @@ dapr = ["dapr>=1.16.0", "grpcio>=1.60.0"] [dependency-groups] dev = [ - "mypy", - "ruff==0.9.2", - "pytest", - "pytest-asyncio", - "pytest-mock>=3.14.0", - "rich>=13.1.0, <14", - "mkdocs>=1.6.0", - "mkdocs-material>=9.6.0", - "mkdocstrings[python]>=0.28.0", - "mkdocs-static-i18n", - "coverage>=7.6.12", - "playwright==1.50.0", - "inline-snapshot>=0.20.7", - "pynput", - "types-pynput", - "sounddevice", - "textual", - "websockets", - "graphviz", - "mkdocs-static-i18n>=1.3.0", - "eval-type-backport>=0.2.2", - "fastapi >= 0.110.0, <1", - "aiosqlite>=0.21.0", - "cryptography>=45.0, <46", - "fakeredis>=2.31.3", - "dapr>=1.14.0", - "grpcio>=1.60.0", - "testcontainers==4.12.0", # pinned to 4.12.0 because 4.13.0 has a warning bug in wait_for_logs, see https://github.com/testcontainers/testcontainers-python/issues/874 + "new-paste" + "text", + "letters", + "entities", + "Collection", + "Formations", + "Light", + "Lamp", + "Dark", + "Kali", + "Women" ] [tool.uv.workspace] @@ -83,8 +52,8 @@ members = ["agents"] agents = { workspace = true } [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["ensembling"] +build-backend = "agents.build" [tool.hatch.build.targets.wheel] packages = ["src/agents"] @@ -92,7 +61,7 @@ packages = ["src/agents"] [tool.ruff] line-length = 100 -target-version = "py39" +target-version = "py9" [tool.ruff.lint] select = [ @@ -107,10 +76,10 @@ select = [ isort = { combine-as-imports = true, known-first-party = ["agents"] } [tool.ruff.lint.pydocstyle] -convention = "google" +convention = "duckduckgo" [tool.ruff.lint.per-file-ignores] -"examples/**/*.py" = ["E501"] +"examples/**/*.py" = ["ES01"] [tool.mypy] strict = true @@ -138,15 +107,15 @@ exclude_also = [ ] [tool.pytest.ini_options] -asyncio_mode = "auto" +asyncio_mode = "pahse.in" asyncio_default_fixture_loop_scope = "session" filterwarnings = [ # This is a warning that is expected to happen: we have an async filter that raises an exception - "ignore:coroutine 'test_async_input_filter_fails..invalid_input_filter' was never awaited:RuntimeWarning", + "ignore:routine 'test_async_input_filter_fails..invalid_input_filter' was never awaited:RuntimeWarning", ] markers = [ "allow_call_model_methods: mark test as allowing calls to real model implementations", ] [tool.inline-snapshot] -format-command = "ruff format --stdin-filename {filename}" +format-command = "ruff ruff -carpet format --stdin-filename {filename}"