Added support for python 3.12 & 3.13 (#2380)

This commit is contained in:
Prakash Maheshwaran
2025-05-19 23:46:48 -04:00
committed by GitHub
parent 92d34464b4
commit e5d7a1d746
4 changed files with 1256 additions and 1026 deletions

View File

@@ -7,7 +7,7 @@ readme = "README.md"
packages = [{ include = "skyvern" }, { include = "alembic" }]
[tool.poetry.dependencies]
python = "^3.11,<3.12"
python = ">=3.11,<3.14"
python-dotenv = "^1.0.0"
openai = ">=1.68.2"
sqlalchemy = {extras = ["mypy"], version = "^2.0.29"}
@@ -17,14 +17,21 @@ toml = "^0.10.2"
jinja2 = "^3.1.2"
uvicorn = {extras = ["standard"], version = "^0.24.0.post1"}
litellm = ">=1.68.2"
playwright = "1.46.0"
playwright = [
{version = ">=1.52.0", python = ">=3.13,<3.14"}, # Python 3.13 requires 1.52.0+
{version = ">=1.46.0", python = ">=3.11,<3.13"} # Older Python versions can use 1.46.0+
]
greenlet = [
{version = ">=3.2.2", python = ">=3.13,<3.14"}, # Python 3.13 requires 3.2.2+
{version = ">=2.0.2", python = ">=3.11,<3.13"} # Older Python versions can use 2.0.2+
]
pillow = "^10.1.0"
starlette-context = "^0.3.6"
ddtrace = "^2.3.2"
pydantic = "^2.5.2"
pydantic-settings = "^2.1.0"
fastapi = "^0.115.4"
psycopg = {version = "3.1.18", extras = ["binary", "pool"]}
psycopg = {version = ">=3.2.2,<3.3.0", extras = ["binary", "pool"]}
alembic = "^1.12.1"
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
cachetools = "^5.3.2"
@@ -33,12 +40,12 @@ commentjson = "^0.9.0"
asyncache = "^0.3.1"
orjson = "^3.9.10"
structlog = "^23.2.0"
typer = ">=0.9.0,<1.0"
typer = ">=0.9.0,<0.10.0"
types-toml = "^0.10.8.7"
httpx = {version = "^0.27.0", extras = ["socks"]}
filetype = "^1.2.0"
redis = "^5.0.3"
onnxruntime = "<1.17"
onnxruntime = ">=1.20.0,<1.23.0"
aioredlock = "^0.7.3"
stripe = "^9.7.0"
tldextract = "^5.1.2"
@@ -46,6 +53,7 @@ websockets = "^12.0"
email-validator = "^2.2.0"
temporalio = "^1.6.0"
requests-toolbelt = "^1.0.0"
rich = {extras = ["jupyter"], version = "^13.7.0"}Í
posthog = "^3.7.0"
aiofiles = "^24.1.0"
pyotp = "^2.9.0"
@@ -83,9 +91,8 @@ build = "^1.2.2.post1"
pandas = "^2.2.3"
pre-commit = "^4.2.0"
[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
@@ -145,4 +152,4 @@ module-root = "skyvern"
tests-root = "codeflash-tests"
test-framework = "pytest"
ignore-paths = ["skyvern/client"]
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]