mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 20:13:21 +00:00
python3Packages.pytest: 7.1.2 -> 7.1.3
https://github.com/pytest-dev/pytest/releases/tag/7.1.3
This commit is contained in:
parent
a89d7bfe17
commit
0fcb93d85a
@ -20,12 +20,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest";
|
pname = "pytest";
|
||||||
version = "7.1.2";
|
version = "7.1.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-oGoEJUU4ZKJwvEXnH3gzMKdCje+0Iw+15qcx/eBuzUU=";
|
sha256 = "sha256-TzZf7C3/nBFi+DTZ8YrxuhMGLbDHCL97lG+KXHYYDDk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
@ -69,7 +69,7 @@ buildPythonPackage rec {
|
|||||||
# - files are not needed after tests are finished
|
# - files are not needed after tests are finished
|
||||||
pytestRemoveBytecodePhase () {
|
pytestRemoveBytecodePhase () {
|
||||||
# suffix is defined at:
|
# suffix is defined at:
|
||||||
# https://github.com/pytest-dev/pytest/blob/7.1.2/src/_pytest/assertion/rewrite.py#L51-L53
|
# https://github.com/pytest-dev/pytest/blob/7.1.3/src/_pytest/assertion/rewrite.py#L51-L53
|
||||||
find $out -name "*-pytest-*.py[co]" -delete
|
find $out -name "*-pytest-*.py[co]" -delete
|
||||||
}
|
}
|
||||||
preDistPhases+=" pytestRemoveBytecodePhase"
|
preDistPhases+=" pytestRemoveBytecodePhase"
|
||||||
|
Loading…
Reference in New Issue
Block a user