python3Packages.pytest-flake8: drop deprecated py.path.local hook arg
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
setuptools-scm,
|
||||
flake8,
|
||||
pytestCheckHook,
|
||||
@@ -19,6 +20,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-uc5DOqqdoLfhzI2ogDOqhbJOHzdu+uqSOojIH+S1LZI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Drop deprecated `path` arg from pytest_collect_file hook. (https://github.com/coherent-oss/pytest-flake8/issues/5)
|
||||
(fetchpatch2 {
|
||||
url = "https://raw.githubusercontent.com/OpenIndiana/oi-userland/0d06abedf17256d1f2c89086acc05cfa53dbc647/components/python/pytest-flake8/patches/02-deprecated-path.patch";
|
||||
hash = "sha256-mHGRKaMmDTJdj6ajWS0Dts1ZTbT1bNLMjOOZAP156Jg=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [ flake8 ];
|
||||
|
||||
Reference in New Issue
Block a user