python3Packages.jsonrpc-server,docker: drop python 3.2 checks

This commit is contained in:
Sigmanificient 2024-05-16 20:14:17 +02:00
parent c2f97d3f55
commit 41aba865e7
2 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@
, pyyaml, colorama, docopt
, dockerpty, docker, jsonschema, requests
, six, texttable, websocket-client, cached-property
, enum34, functools32, paramiko, distro, python-dotenv
, enum34, paramiko, distro, python-dotenv
}:
buildPythonApplication rec {
@ -25,8 +25,7 @@ buildPythonApplication rec {
jsonschema requests six texttable websocket-client
docopt cached-property paramiko distro python-dotenv
]
++ lib.optional (pythonOlder "3.4") enum34
++ lib.optional (pythonOlder "3.2") functools32;
++ lib.optional (pythonOlder "3.4") enum34;
postPatch = ''
# Remove upper bound on requires, see also

View File

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
{ lib, buildPythonPackage, fetchFromGitHub
, pytestCheckHook, mock, pytest-cov, coverage
, future, futures ? null, ujson}:
, future, ujson}:
buildPythonPackage rec {
pname = "python-jsonrpc-server";
@ -22,8 +22,7 @@ buildPythonPackage rec {
pytestCheckHook mock pytest-cov coverage
];
propagatedBuildInputs = [ future ujson ]
++ lib.optional (pythonOlder "3.2") futures;
propagatedBuildInputs = [ future ujson ];
meta = with lib; {
homepage = "https://github.com/palantir/python-jsonrpc-server";