forked from mirrors/nixpkgs
Merge pull request #285216 from fabaff/levenshtein-bump
python311Packages.levenshtein: 0.23.0 -> 0.24.0
This commit is contained in:
commit
763fc93142
|
@ -1,11 +1,11 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, cmake
|
||||
, cython_3
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rapidfuzz
|
||||
, rapidfuzz-cpp
|
||||
, scikit-build
|
||||
|
@ -13,16 +13,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "levenshtein";
|
||||
version = "0.23.0";
|
||||
format = "pyproject";
|
||||
version = "0.24.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "Levenshtein";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-xQimslz/G6nf2uYerLSaRAK5gvmfDmWTzEx/fh+nqg0=";
|
||||
hash = "sha256-Vf12MBfy4IoTsXSYdKBMjxyMCaba21fiG0g1bPmrUmI=";
|
||||
fetchSubmodules = true; ## for vendored `rapidfuzz-cpp`
|
||||
};
|
||||
|
||||
|
|
|
@ -47,6 +47,16 @@ buildPythonPackage rec {
|
|||
"docx"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/python-openxml/python-docx/issues/1302
|
||||
"it_accepts_unicode_providing_there_is_no_encoding_declaration"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Create and update Microsoft Word .docx files";
|
||||
homepage = "https://python-docx.readthedocs.io/";
|
||||
|
|
Loading…
Reference in a new issue