diff --git a/pyproject.toml b/pyproject.toml index 972e7e52..d30418be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ dependencies = [ "click>=7.0,<9.0", "watchdog>=1.0.0", "gunicorn>=22.0.0; platform_system!='Windows'", - "cloudevents>=1.11.0,<=1.12.0", # Must support python 3.8 + "cloudevents>=2.0.0,<=2.0.0", # Must support python 3.8 "Werkzeug>=0.14,<4.0.0", "starlette>=0.37.0,<1.0.0; python_version>='3.8'", "uvicorn>=0.18.0,<1.0.0; python_version>='3.8'", diff --git a/setup.py b/setup.py index db6479ea..3e87a9f5 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ "click>=7.0,<9.0", "watchdog>=1.0.0", "gunicorn>=22.0.0; platform_system!='Windows'", - "cloudevents>=1.2.0,<2.0.0", + "cloudevents>=2.0.0,<2.1.0", "Werkzeug>=0.14,<4.0.0", ], extras_require={