pyproject.toml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. [tool.poetry]
  2. name = "openhands-ai"
  3. version = "0.9.8"
  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.8.1" # 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.0.3"
  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. whatthepatch = "^1.0.6"
  55. protobuf = "^4.21.6,<5.0.0" # chromadb currently fails on 5.0+
  56. opentelemetry-api = "1.25.0"
  57. opentelemetry-exporter-otlp-proto-grpc = "1.25.0"
  58. modal = "^0.64.145"
  59. [tool.poetry.group.llama-index.dependencies]
  60. llama-index = "*"
  61. llama-index-vector-stores-chroma = "*"
  62. chromadb = "*"
  63. llama-index-embeddings-huggingface = "*"
  64. torch = "2.2.2"
  65. llama-index-embeddings-azure-openai = "*"
  66. llama-index-embeddings-ollama = "*"
  67. [tool.poetry.group.dev.dependencies]
  68. ruff = "0.6.9"
  69. mypy = "1.12.0"
  70. pre-commit = "4.0.1"
  71. build = "*"
  72. [tool.poetry.group.test.dependencies]
  73. pytest = "*"
  74. pytest-cov = "*"
  75. pytest-asyncio = "*"
  76. pytest-forked = "*"
  77. pytest-xdist = "*"
  78. flake8 = "*"
  79. openai = "*"
  80. opencv-python = "*"
  81. pandas = "*"
  82. reportlab = "*"
  83. [tool.coverage.run]
  84. concurrency = ["gevent"]
  85. [tool.poetry.group.runtime.dependencies]
  86. jupyterlab = "*"
  87. notebook = "*"
  88. jupyter_kernel_gateway = "*"
  89. flake8 = "*"
  90. opencv-python = "*"
  91. [build-system]
  92. build-backend = "poetry.core.masonry.api"
  93. requires = [
  94. "poetry-core",
  95. ]
  96. [tool.autopep8]
  97. # autopep8 fights with mypy on line length issue
  98. ignore = [ "E501" ]
  99. [tool.black]
  100. # prevent black (if installed) from changing single quotes to double quotes
  101. skip-string-normalization = true
  102. [tool.ruff.lint]
  103. select = ["D"]
  104. # ignore warnings for missing docstrings
  105. ignore = ["D1"]
  106. [tool.ruff.lint.pydocstyle]
  107. convention = "google"
  108. [tool.poetry.group.evaluation.dependencies]
  109. streamlit = "*"
  110. whatthepatch = "*"
  111. retry = "*"
  112. evaluate = "*"
  113. swebench = { git = "https://github.com/All-Hands-AI/SWE-bench.git" }
  114. func_timeout = "*"
  115. sympy = "*"
  116. gdown = "*"
  117. matplotlib = "*"
  118. seaborn = "*"
  119. [tool.poetry-dynamic-versioning]
  120. enable = true
  121. style = "semver"
  122. [tool.poetry.scripts]
  123. openhands = "openhands.core.cli:main"