Merge pull request #194567 from r-ryantm/auto-update/python310Packages.batchspawner

python310Packages.batchspawner: 1.1.0 -> 1.2.0
This commit is contained in:
Fabian Affolter 2022-10-05 14:15:44 +02:00 committed by GitHub
commit b093aa5350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,29 +2,33 @@
, buildPythonPackage
, fetchFromGitHub
, jupyterhub
, isPy27
, pythonOlder
}:
buildPythonPackage rec {
pname = "batchspawner";
version = "1.1.0";
disabled = isPy27;
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "jupyterhub";
repo = "batchspawner";
rev = "v${version}";
sha256 = "0zv485b7fk5zlwgp5fyibanqzbpisdl2a0gz70fwdj4kl462axnw";
rev = "refs/tags/v${version}";
hash = "sha256-oyS47q+gsO7JmRsbVJXglZsSRfits5rS/nrHW5E7EV0=";
};
propagatedBuildInputs = [
jupyterhub
];
# tests require a job scheduler e.g. slurm, pbs, etc.
# Tests require a job scheduler e.g. slurm, pbs, etc.
doCheck = false;
pythonImportsCheck = [ "batchspawner" ];
pythonImportsCheck = [
"batchspawner"
];
meta = with lib; {
description = "A spawner for Jupyterhub to spawn notebooks using batch resource managers";