@@ -12,7 +12,6 @@ maintainers = [{name = "Rollbar, Inc.", email = "support@rollbar.com"}]
1212classifiers = [
1313 " Programming Language :: Python" ,
1414 " Programming Language :: Python :: 3" ,
15- " Programming Language :: Python :: 3.9" ,
1615 " Programming Language :: Python :: 3.10" ,
1716 " Programming Language :: Python :: 3.11" ,
1817 " Programming Language :: Python :: 3.12" ,
@@ -39,19 +38,37 @@ classifiers = [
3938 " Topic :: System :: Logging" ,
4039 " Topic :: System :: Monitoring" ,
4140]
42- requires-python = " >=3.9 "
41+ requires-python = " >=3.10 "
4342dependencies = [
4443 " requests>=0.12.1" ,
44+ " typing_extensions; python_version < \" 3.11\" "
4545]
4646
4747[dependency-groups ]
4848test = [
4949 " blinker" ,
5050 " httpx" ,
51+ " packaging" ,
5152 " pytest" ,
53+ " python-multipart" ,
5254 " webob" ,
5355]
5456
57+ type = [
58+ " bottle" ,
59+ " djangorestframework-stubs[compatible-mypy]" ,
60+ " django-stubs" ,
61+ " fastapi" ,
62+ " mypy ~= 1.20.2" ,
63+ " pyramid" ,
64+ " quart" ,
65+ " sanic" ,
66+ " starlette" ,
67+ " tornado" ,
68+ " twisted" ,
69+ " uvicorn" ,
70+ ]
71+
5572[project .urls ]
5673Homepage = " https://rollbar.com/"
5774Documentation = " https://docs.rollbar.com/docs/python"
@@ -64,6 +81,9 @@ rollbar = "rollbar.cli:main"
6481[project .entry-points ."paste .filter_app_factory" ]
6582pyramid = " rollbar.contrib.pyramid:create_rollbar_middleware"
6683
84+ [tool .mypy ]
85+ packages = [" rollbar" ]
86+
6787[tool .pytest ]
6888testpaths = [
6989 " rollbar/test" ,
@@ -72,6 +92,9 @@ testpaths = [
7292[tool .setuptools .dynamic ]
7393version = {attr = " rollbar.__version__" }
7494
95+ [tool .setuptools .package-data ]
96+ rollbar = [" py.typed" ]
97+
7598[tool .tox ]
7699requires = [" tox>=4.22" ]
77100
0 commit comments