python310Packages.sanic: disable due to GHSA-7p79-6x2v-5h88

sanic doesn't support python 3.10 yet and attempting to use it
opens users to a DoS attack
This commit is contained in:
Robert Scott 2022-02-25 19:03:08 +00:00
parent 8b2bc00ec8
commit bf149c406a

View File

@ -13,6 +13,7 @@
, pytest-sugar
, pytestCheckHook
, pythonOlder
, pythonAtLeast
, sanic-routing
, sanic-testing
, ujson
@ -26,7 +27,8 @@ buildPythonPackage rec {
version = "21.12.1";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.7" ||
pythonAtLeast "3.10"; # see GHSA-7p79-6x2v-5h88
src = fetchFromGitHub {
owner = "sanic-org";