forked from mirrors/nixpkgs
Merge pull request #123573 from sternenseemann/pytest-randomly-3.8.0
This commit is contained in:
commit
6ec77e02e1
|
@ -1,36 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, importlib-metadata
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.entry-points-selectable";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
# pypi project name and tarball name differ
|
||||
pname = builtins.replaceStrings [ "-" ] [ "_" ] pname;
|
||||
sha256 = "4acda84d96855beece3bf9aad9a1030aceb5f744b8ce9af7d5ee6dd672cdd3bd";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compatibility shim providing selectable entry points for older implementations";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
homepage = "https://github.com/jaraco/backports.entry_points_selectable";
|
||||
};
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, factory_boy, faker, numpy, backports-entry-points-selectable
|
||||
, factory_boy, faker, numpy, importlib-metadata
|
||||
, pytestCheckHook, pytest-xdist
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-randomly";
|
||||
version = "3.6.0";
|
||||
version = "3.10.1";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
|
@ -14,11 +14,11 @@ buildPythonPackage rec {
|
|||
repo = pname;
|
||||
owner = "pytest-dev";
|
||||
rev = version;
|
||||
sha256 = "17s7gx8b7sl7mp77f5dxzwbb32qliz9awrp6xz58bhjqp7pcsa5h";
|
||||
sha256 = "10z7hsr8yd80sf5113i61p0g1c0nqkx7p4xi19v3d133f6vjbh3k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backports-entry-points-selectable
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -33,6 +33,7 @@ in
|
|||
### Deprecated aliases - for backward compatibility
|
||||
|
||||
mapAliases ({
|
||||
backports-entry-points-selectable = throw "backports-entry-points-selectable has been removed"; # added 2021-07-01
|
||||
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29
|
||||
bt_proximity = bt-proximity; # added 2021-07-02
|
||||
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
|
||||
|
|
|
@ -977,8 +977,6 @@ in {
|
|||
|
||||
backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { };
|
||||
|
||||
backports-entry-points-selectable = callPackage ../development/python-modules/backports-entry-points-selectable { };
|
||||
|
||||
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
|
||||
|
||||
backports_shutil_get_terminal_size = callPackage ../development/python-modules/backports_shutil_get_terminal_size { };
|
||||
|
|
Loading…
Reference in a new issue