diff --git a/pyproject.toml b/pyproject.toml index cb6549fd..c82969b5 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.2.0,<=2.2.0", # Must support python 3.8 "Werkzeug>=0.14,<4.0.0", "starlette>=0.37.0,<1.0.0; python_version>='3.8' and python_version<'3.10'", "starlette>=1.0.1,<2.0.0; python_version>='3.10'", diff --git a/setup.py b/setup.py index 10dfee0d..87464047 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.2.0,<2.3.0", "Werkzeug>=0.14,<4.0.0", ], extras_require={