Merge pull request #243496 from dotlambda/piston-cli-python310

piston-cli: use Python 3.10
This commit is contained in:
Sandro 2023-07-15 02:51:04 +02:00 committed by GitHub
commit 0734b7d3df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -18,13 +18,14 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = with python3Packages; [ nativeBuildInputs = with python3Packages; [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
postPatch = '' pythonRelaxDeps = [
substituteInPlace pyproject.toml \ "rich"
--replace 'rich = "^10.1.0"' 'rich = "*"' \ "more-itertools"
--replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"' "PyYAML"
''; ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;

View File

@ -34177,7 +34177,7 @@ with pkgs;
pistol = callPackage ../tools/misc/pistol { }; pistol = callPackage ../tools/misc/pistol { };
piston-cli = callPackage ../tools/misc/piston-cli { python3Packages = python39Packages; }; piston-cli = callPackage ../tools/misc/piston-cli { };
pizarra = callPackage ../applications/graphics/pizarra { }; pizarra = callPackage ../applications/graphics/pizarra { };