Merge pull request #168091 from r-ryantm/auto-update/python3.10-tablib

python310Packages.tablib: 3.2.0 -> 3.2.1
This commit is contained in:
Mario Rodas 2022-04-14 11:13:58 -05:00 committed by GitHub
commit 087617b75f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,12 @@
{ buildPythonPackage, lib, fetchPypi, isPy27
{ buildPythonPackage
, lib
, fetchPypi
, isPy27
, odfpy
, openpyxl
, pandas
, setuptools-scm
, pytest
, pytestCheckHook
, pytest-cov
, pyyaml
, unicodecsv
@ -13,26 +16,27 @@
buildPythonPackage rec {
pname = "tablib";
version = "3.2.0";
version = "3.2.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "12d8686454c721de88d8ca5adf07e1f419ef6dbcecedf65e8950d4a329daf3a0";
sha256 = "sha256-pX8ncLjCJf6+wcseZQEqac8w3Si+gQ4P+Y0CR2jH0PE=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
checkInputs = [ pytest pytest-cov unicodecsv pandas ];
checkInputs = [ pytestCheckHook pytest-cov unicodecsv pandas ];
# test_tablib needs MarkupPy, which isn't packaged yet
checkPhase = ''
pytest --ignore tests/test_tablib.py
'';
pytestFlagsArray = [ "--ignore=tests/test_tablib.py" ];
pythonImportsCheck = [ "tablib" ];
meta = with lib; {
description = "Format-agnostic tabular dataset library";
homepage = "https://python-tablib.org";
homepage = "https://tablib.readthedocs.io/";
changelog = "https://github.com/jazzband/tablib/raw/v${version}/HISTORY.md";
license = licenses.mit;
};
}