Skip to content

Commit

Permalink
chore(pyproject.toml): deprecate Python <=3.8
Browse files Browse the repository at this point in the history
Signed-off-by: Teo <[email protected]>
  • Loading branch information
teocns committed Dec 29, 2024
1 parent ade6d68 commit 9a772f0
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ authors = [
]
description = "Observability and DevTool Platform for AI Agents"
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -40,15 +38,6 @@ dependencies = [
# "pydantic-core>=2.23.4; python_version >= '3.8' and python_version < '3.13'"
]

[project.optional-dependencies]
# Optional LangChain integration for end users
langchain = [
"langchain>=0.2.14; python_version >= '3.8.1' and python_version < '3.13'",
"langchain-core>=0.3.0; python_version >= '3.8.1' and python_version < '3.13'",
"openai>=1.58.1; python_version >= '3.8.1' and python_version < '3.13'",
"openai<1.0.0; python_version < '3.8.1'" # For Python 3.7 compatibility
]

[dependency-groups]
test = [
"openai",
Expand All @@ -72,7 +61,6 @@ dev = [

# HTTP mocking and environment
"requests_mock==1.11.0", # Mock HTTP requests for testing agent external communications
"vcrpy>=6.0.0,<7.0.0; python_version >= '3.8'", # HTTP interaction recording for Python 3.8+
# "urllib3<2.0.0; python_version >= '3.8'", # Required for vcrpy compatibility
"python-dotenv", # Environment management for secure testing

Expand Down

0 comments on commit 9a772f0

Please sign in to comment.