Skip to content

Commit

Permalink
python310Packages.sanic: disable due to GHSA-7p79-6x2v-5h88
Browse files Browse the repository at this point in the history
sanic doesn't support python 3.10 yet and attempting to use it
opens users to a DoS attack
  • Loading branch information
risicle committed Feb 25, 2022
1 parent 8b2bc00 commit bf149c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/sanic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
, pytest-sugar
, pytestCheckHook
, pythonOlder
, pythonAtLeast
, sanic-routing
, sanic-testing
, ujson
Expand All @@ -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";
Expand Down

0 comments on commit bf149c4

Please sign in to comment.