python3Packages.loguru: 0.5.3 -> 0.6.0
This commit is contained in:
parent
454006f6fd
commit
cad2ace32a
1 changed files with 2 additions and 15 deletions
|
@ -11,14 +11,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "loguru";
|
||||
version = "0.5.3";
|
||||
version = "0.6.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b28e72ac7a98be3d28ad28570299a393dfcd32e5e3f6a353dec94675767b6319";
|
||||
sha256 = "sha256-BmvQZ1jQpRPpg2/ZxrWnW/s/02hB9LmWvGC1R6MJ1Bw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [
|
||||
|
@ -30,19 +30,6 @@ buildPythonPackage rec {
|
|||
colorama
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Fixes tests with pytest>=6.2.2. Will be part of the next release after 0.5.3
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Delgan/loguru/commit/31cf758ee9d22dbfa125f38153782fe20ac9dce5.patch";
|
||||
sha256 = "1lzbs8akg1s7s6xjl3samf4c4bpssqvwg5fn3mwlm4ysr7jd5y67";
|
||||
})
|
||||
# Fix tests with Python 3.9
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Delgan/loguru/commit/19f518c5f1f355703ffc4ee62f0e1e397605863e.patch";
|
||||
sha256 = "0yn6smik58wdffr4svqsy2n212fwdlcfcwpgqhl9hq2zlivmsdc6";
|
||||
})
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals stdenv.isDarwin [
|
||||
"tests/test_multiprocessing.py"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue