Merge pull request #216556 from fabaff/pandas-stubs-bump
python310Packages.pandas-stubs: 1.5.0.221003 -> 1.5.3.230214
This commit is contained in:
@@ -4,25 +4,27 @@
|
||||
, fetchFromGitHub
|
||||
, jinja2
|
||||
, matplotlib
|
||||
, odfpy
|
||||
, openpyxl
|
||||
, pandas
|
||||
, poetry-core
|
||||
, scipy
|
||||
, sqlalchemy
|
||||
, tabulate
|
||||
, pyarrow
|
||||
, pyreadstat
|
||||
, tables
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, sqlalchemy
|
||||
, tables
|
||||
, tabulate
|
||||
, types-pytz
|
||||
, typing-extensions
|
||||
, xarray
|
||||
, XlsxWriter
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pandas-stubs";
|
||||
version = "1.5.0.221003";
|
||||
version = "1.5.3.230214";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -30,8 +32,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pandas-dev";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RV0pOTPtlwBmYs3nu8+lNwVpl/VC/VzcXKOQMg9C3qk=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hLQXGnWtjYNzzyHO+p7CCFEHc2lrSwh35Om94K5Ozhk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -46,62 +48,65 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
jinja2
|
||||
matplotlib
|
||||
odfpy
|
||||
openpyxl
|
||||
scipy
|
||||
sqlalchemy
|
||||
tabulate
|
||||
pyarrow
|
||||
tables
|
||||
pyreadstat
|
||||
pytestCheckHook
|
||||
scipy
|
||||
sqlalchemy
|
||||
tables
|
||||
tabulate
|
||||
typing-extensions
|
||||
xarray
|
||||
XlsxWriter
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AttributeErrors, missing dependencies, error and warning checks
|
||||
"test_data_error"
|
||||
"test_specification_error"
|
||||
"test_setting_with_copy_error"
|
||||
"test_setting_with_copy_warning"
|
||||
"test_numexpr_clobbering_error"
|
||||
"test_undefined_variable_error"
|
||||
"test_indexing_error"
|
||||
"test_pyperclip_exception"
|
||||
"test_css_warning"
|
||||
"test_possible_data_loss_error"
|
||||
"test_closed_file_error"
|
||||
"test_incompatibility_warning"
|
||||
"test_attribute_conflict_warning"
|
||||
"test_database_error"
|
||||
"test_possible_precision_loss"
|
||||
"test_value_label_type_mismatch"
|
||||
"test_invalid_column_name"
|
||||
"test_categorical_conversion_warning"
|
||||
"test_join"
|
||||
"test_isetframe"
|
||||
"test_reset_index_150_changes"
|
||||
"test_compare_150_changes"
|
||||
"test_quantile_150_changes"
|
||||
"test_resample_150_changes"
|
||||
"test_index_astype"
|
||||
"test_orc"
|
||||
"test_orc_path"
|
||||
"test_orc_buffer"
|
||||
"test_orc_columns"
|
||||
"test_orc_bytes"
|
||||
"test_clipboard"
|
||||
"test_clipboard_iterator"
|
||||
"test_arrow_dtype"
|
||||
"test_aggregate_series_combinations"
|
||||
"test_aggregate_frame_combinations"
|
||||
"test_types_rank"
|
||||
"test_reset_index"
|
||||
"test_types_assert_series_equal"
|
||||
"test_show_version"
|
||||
"test_aggregate_series_combinations"
|
||||
"test_arrow_dtype"
|
||||
"test_attribute_conflict_warning"
|
||||
"test_categorical_conversion_warning"
|
||||
"test_clipboard_iterator"
|
||||
"test_clipboard"
|
||||
"test_closed_file_error"
|
||||
"test_compare_150_changes"
|
||||
"test_crosstab_args"
|
||||
"test_css_warning"
|
||||
"test_data_error"
|
||||
"test_database_error"
|
||||
"test_dummies"
|
||||
"test_from_dummies_args"
|
||||
"test_incompatibility_warning"
|
||||
"test_index_astype"
|
||||
"test_indexing_error"
|
||||
"test_invalid_column_name"
|
||||
"test_isetframe"
|
||||
"test_join"
|
||||
"test_numexpr_clobbering_error"
|
||||
"test_orc_buffer"
|
||||
"test_orc_bytes"
|
||||
"test_orc_columns"
|
||||
"test_orc_path"
|
||||
"test_orc"
|
||||
"test_possible_data_loss_error"
|
||||
"test_possible_precision_loss"
|
||||
"test_pyperclip_exception"
|
||||
"test_quantile_150_changes"
|
||||
"test_resample_150_changes"
|
||||
"test_reset_index_150_changes"
|
||||
"test_reset_index"
|
||||
"test_rolling_step_method"
|
||||
"test_setting_with_copy_error"
|
||||
"test_setting_with_copy_warning"
|
||||
"test_show_version"
|
||||
"test_specification_error"
|
||||
"test_types_assert_series_equal"
|
||||
"test_types_rank"
|
||||
"test_undefined_variable_error"
|
||||
"test_value_label_type_mismatch"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"test_plotting" # Fatal Python error: Illegal instruction
|
||||
];
|
||||
@@ -112,7 +117,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Type annotations for Pandas";
|
||||
homepage = "https://github.com/VirtusLab/pandas-stubs";
|
||||
homepage = "https://github.com/pandas-dev/pandas-stubs";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ malo ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user