pyproject.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. [tool.poetry]
  2. name = "openhands-ai"
  3. version = "0.11.0"
  4. description = "OpenHands: Code Less, Make More"
  5. authors = ["OpenHands"]
  6. license = "MIT"
  7. readme = "README.md"
  8. repository = "https://github.com/All-Hands-AI/OpenHands"
  9. packages = [
  10. { include = "openhands/**/*" }
  11. ]
  12. [tool.poetry.dependencies]
  13. python = "^3.12"
  14. datasets = "*"
  15. pandas = "*"
  16. litellm = "*"
  17. google-generativeai = "*" # To use litellm with Gemini Pro API
  18. termcolor = "*"
  19. seaborn = "*"
  20. docker = "*"
  21. fastapi = "*"
  22. toml = "*"
  23. uvicorn = "*"
  24. types-toml = "*"
  25. numpy = "*"
  26. json-repair = "*"
  27. browsergym = "0.10.2" # integrate browsergym as the browsing interface
  28. html2text = "*"
  29. e2b = "^0.17.1"
  30. pexpect = "*"
  31. jinja2 = "^3.1.3"
  32. python-multipart = "*"
  33. boto3 = "*"
  34. minio = "^7.2.8"
  35. gevent = "^24.2.1"
  36. pyarrow = "17.0.0" # transitive dependency, pinned here to avoid conflicts
  37. tenacity = "^8.5.0"
  38. zope-interface = "7.1.1"
  39. pathspec = "^0.12.1"
  40. google-cloud-aiplatform = "*"
  41. anthropic = {extras = ["vertex"], version = "*"}
  42. grep-ast = "0.3.3"
  43. tree-sitter = "0.21.3"
  44. bashlex = "^0.18"
  45. pyjwt = "^2.9.0"
  46. dirhash = "*"
  47. python-frontmatter = "^1.1.0"
  48. python-docx = "*"
  49. PyPDF2 = "*"
  50. python-pptx = "*"
  51. pylatexenc = "*"
  52. tornado = "*"
  53. python-dotenv = "*"
  54. pylcs = "^0.1.1"
  55. whatthepatch = "^1.0.6"
  56. protobuf = "^4.21.6,<5.0.0" # chromadb currently fails on 5.0+
  57. opentelemetry-api = "1.25.0"
  58. opentelemetry-exporter-otlp-proto-grpc = "1.25.0"
  59. modal = "^0.64.145"
  60. [tool.poetry.group.llama-index.dependencies]
  61. llama-index = "*"
  62. llama-index-vector-stores-chroma = "*"
  63. chromadb = "*"
  64. llama-index-embeddings-huggingface = "*"
  65. torch = "2.5.0"
  66. llama-index-embeddings-azure-openai = "*"
  67. llama-index-embeddings-ollama = "*"
  68. [tool.poetry.group.dev.dependencies]
  69. ruff = "0.7.1"
  70. mypy = "1.13.0"
  71. pre-commit = "4.0.1"
  72. build = "*"
  73. [tool.poetry.group.test.dependencies]
  74. pytest = "*"
  75. pytest-cov = "*"
  76. pytest-asyncio = "*"
  77. pytest-forked = "*"
  78. pytest-xdist = "*"
  79. flake8 = "*"
  80. openai = "*"
  81. opencv-python = "*"
  82. pandas = "*"
  83. reportlab = "*"
  84. [tool.coverage.run]
  85. concurrency = ["gevent"]
  86. [tool.poetry.group.runtime.dependencies]
  87. jupyterlab = "*"
  88. notebook = "*"
  89. jupyter_kernel_gateway = "*"
  90. flake8 = "*"
  91. opencv-python = "*"
  92. [build-system]
  93. build-backend = "poetry.core.masonry.api"
  94. requires = [
  95. "poetry-core",
  96. ]
  97. [tool.autopep8]
  98. # autopep8 fights with mypy on line length issue
  99. ignore = [ "E501" ]
  100. [tool.black]
  101. # prevent black (if installed) from changing single quotes to double quotes
  102. skip-string-normalization = true
  103. [tool.ruff.lint]
  104. select = ["D"]
  105. # ignore warnings for missing docstrings
  106. ignore = ["D1"]
  107. [tool.ruff.lint.pydocstyle]
  108. convention = "google"
  109. [tool.poetry.group.evaluation.dependencies]
  110. streamlit = "*"
  111. whatthepatch = "*"
  112. retry = "*"
  113. evaluate = "*"
  114. swebench = { git = "https://github.com/All-Hands-AI/SWE-bench.git" }
  115. func_timeout = "*"
  116. sympy = "*"
  117. gdown = "*"
  118. matplotlib = "*"
  119. seaborn = "*"
  120. [tool.poetry-dynamic-versioning]
  121. enable = true
  122. style = "semver"
  123. [tool.poetry.scripts]
  124. openhands = "openhands.core.cli:main"