poetry: pin virtualenv to 20.30.0 (#439521)

authored by dotlambda and committed by GitHub 8d11030e ced1025b

+12 -1
+12
pkgs/by-name/po/poetry/package.nix
··· 11 11 { 12 12 poetry = self.callPackage ./unwrapped.nix { }; 13 13 14 + # Poetry 2.1.4 officially requires virtualenv >=20.26.6, <20.33.0 15 + # otherwise will be incompatible with python312 16 + # see: https://github.com/python-poetry/poetry/issues/10490 17 + virtualenv = super.virtualenv.overridePythonAttrs (old: rec { 18 + version = "20.30.0"; 19 + src = fetchPypi { 20 + inherit (old) pname; 21 + inherit version; 22 + hash = "sha256-gAhjFivKpUUKbk1yEElzDn8trgdyDgkCsOQEC9b5rag="; 23 + }; 24 + }); 25 + 14 26 # The versions of Poetry and poetry-core need to match exactly, 15 27 # and poetry-core in nixpkgs requires a staging cycle to be updated, 16 28 # so apply an override here.
-1
pkgs/by-name/po/poetry/unwrapped.nix
··· 60 60 pythonRelaxDeps = [ 61 61 "dulwich" 62 62 "keyring" 63 - "virtualenv" 64 63 ]; 65 64 66 65 dependencies = [