@@ -17,6 +17,7 @@ readme = "README.md"
1717requires-python = " >=3.7"
1818classifiers = [
1919 " Programming Language :: Python :: 3" ,
20+ " Programming Language :: Python :: 3.7" ,
2021 " Programming Language :: Python :: 3.8" ,
2122 " Programming Language :: Python :: 3.9" ,
2223 " Programming Language :: Python :: 3.10" ,
@@ -34,29 +35,25 @@ dependencies = [
3435 " opentelemetry-api>=1.22.0,<2.0.0" ,
3536 " opentelemetry-sdk>=1.22.0,<2.0.0" ,
3637 " opentelemetry-exporter-otlp-proto-http>=1.22.0,<2.0.0" ,
37- " typing-extensions>=4.9.0; python_version >= '3.8'" ,
38- " pydantic>=2.7.4,<3.0.0; python_version < '3.13'" ,
39- " pydantic-core>=2.23.4; python_version >= '3.8' and python_version < '3.13'"
38+ # "typing-extensions>=4.9.0; python_version >= '3.8'",
39+ # "pydantic>=2.7.4,<3.0.0; python_version < '3.13'",
40+ # "pydantic-core>=2.23.4; python_version >= '3.8' and python_version < '3.13'"
4041]
4142
4243[project .optional-dependencies ]
4344# Optional LangChain integration for end users
4445langchain = [
4546 " langchain>=0.2.14; python_version >= '3.8.1' and python_version < '3.13'" ,
4647 " langchain-core>=0.3.0; python_version >= '3.8.1' and python_version < '3.13'" ,
47- " openai>=1.58.1; python_version < '3.13'"
48- ]
49-
50- # LangChain testing dependencies
51- test-langchain = [
52- " langchain-core>=0.3.0; python_version >= '3.8.1' and python_version < '3.13'" ,
53- " langchain>=0.2.14; python_version >= '3.8.1' and python_version < '3.13'"
48+ " openai>=1.58.1; python_version >= '3.8.1' and python_version < '3.13'" ,
49+ " openai<1.0.0; python_version < '3.8.1'" # For Python 3.7 compatibility
5450]
5551
5652[dependency-groups ]
5753test = [
5854 " openai" ,
5955 " langchain" ,
56+ # ... Add all dependencies that are required for testing here
6057]
6158# CI dependencies
6259ci = [
6764Homepage = " https://github.com/AgentOps-AI/agentops"
6865Issues = " https://github.com/AgentOps-AI/agentops/issues"
6966
67+ # [project.scripts]
68+ # test-versions = "bash -c 'for v in 3.7 3.8 3.9 3.10 3.11 3.12; do ./test_python_versions.sh $v || exit 1; done'"
69+
7070[tool .uv ]
7171compile-bytecode = true # Enable bytecode compilation for better performance
7272
0 commit comments