Spaces:
Running
Running
File size: 1,425 Bytes
a4f74f3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | [build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openenv-api-testing"
version = "0.1.0"
description = "RL environment for intelligent API integration testing — train agents to find bugs in REST APIs"
requires-python = ">=3.10"
dependencies = [
"openenv-core[core] @ git+https://github.com/meta-pytorch/OpenEnv.git@v0.2.1",
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"httpx>=0.25.0",
"pydantic>=2.0.0",
"openai>=1.40.0",
"gradio>=5.0.0",
]
[project.optional-dependencies]
ui = [
"gradio>=5.0.0",
]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
]
train = [
"trl>=0.15.0",
"torch>=2.1.0",
"peft>=0.7.0",
"transformers>=4.40.0",
"datasets>=2.16.0",
"wandb>=0.16.0",
"huggingface-hub>=0.20.0",
"matplotlib>=3.8.0",
]
[project.scripts]
server = "api_testing_env.server.app:main"
[tool.uv]
package = false
[tool.setuptools]
include-package-data = true
packages = [
"api_testing_env",
"api_testing_env.server",
"api_testing_env.server.buggy_api",
"api_testing_env.server.buggy_api.routes",
"api_testing_env.training",
]
[tool.setuptools.package-dir]
api_testing_env = "."
"api_testing_env.server" = "server"
"api_testing_env.server.buggy_api" = "server/buggy_api"
"api_testing_env.server.buggy_api.routes" = "server/buggy_api/routes"
"api_testing_env.training" = "training"
|