--- Begin Message ---
Source: python-altair
Version: 5.0.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240224 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> #dh binary --with sphinxdoc --buildsystem=pybuild
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
> module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair
> * Building wheel...
> Successfully built altair-5.0.1-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build"
> module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair
> * Building wheel...
> Successfully built altair-5.0.1-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:310: cp -a tools
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build;
> python3.12 -m pytest --verbose -k 'not test_render_examples_to_chart and not
> test_from_and_to_json_roundtrip and not test_save_html'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 --
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build
> configfile: pyproject.toml
> collecting ... collected 230 items / 6 deselected / 224 selected
>
> tests/test_examples.py::test_render_examples_to_png[tests.examples_arguments_syntax-vl-convert]
> SKIPPED [ 0%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_arguments_syntax-altair_saver]
> SKIPPED [ 0%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_methods_syntax-vl-convert]
> SKIPPED [ 1%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_methods_syntax-altair_saver]
> SKIPPED [ 1%]
> tests/test_magics.py::test_vegalite_magic_data_included PASSED [
> 2%]
> tests/test_magics.py::test_vegalite_magic_json_flag PASSED [
> 2%]
> tests/test_magics.py::test_vegalite_magic_pandas_data PASSED [
> 3%]
> tests/test_toplevel.py::test_completeness_of__all__ PASSED [
> 3%]
> tests/expr/test_expr.py::test_unary_operations PASSED [
> 4%]
> tests/expr/test_expr.py::test_binary_operations PASSED [
> 4%]
> tests/expr/test_expr.py::test_abs PASSED [
> 4%]
> tests/expr/test_expr.py::test_expr_funcs PASSED [
> 5%]
> tests/expr/test_expr.py::test_expr_consts PASSED [
> 5%]
> tests/expr/test_expr.py::test_json_reprs PASSED [
> 6%]
> tests/expr/test_expr.py::test_to_dict PASSED [
> 6%]
> tests/expr/test_expr.py::test_copy PASSED [
> 7%]
> tests/expr/test_expr.py::test_datum_getattr PASSED [
> 7%]
> tests/expr/test_expr.py::test_expression_getitem PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_expr PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_string PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_nostring PASSED [
> 9%]
> tests/utils/test_core.py::test_infer_dtype[value0-integer] PASSED [
> 9%]
> tests/utils/test_core.py::test_infer_dtype[value1-floating] PASSED [
> 10%]
> tests/utils/test_core.py::test_infer_dtype[value2-mixed-integer-float] PASSED
> [ 10%]
> tests/utils/test_core.py::test_infer_dtype[value3-string] PASSED [
> 11%]
> tests/utils/test_core.py::test_infer_dtype[value4-mixed] PASSED [
> 11%]
> tests/utils/test_core.py::test_parse_shorthand PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_with_data PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_all_aggregates PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_all_timeunits PASSED [
> 13%]
> tests/utils/test_core.py::test_parse_shorthand_window_count PASSED [
> 13%]
> tests/utils/test_core.py::test_parse_shorthand_all_window_ops PASSED [
> 14%]
> tests/utils/test_core.py::test_update_nested PASSED [
> 14%]
> tests/utils/test_core.py::test_infer_encoding_types PASSED [
> 15%]
> tests/utils/test_core.py::test_infer_encoding_types_with_condition PASSED [
> 15%]
> tests/utils/test_core.py::test_invalid_data_type PASSED [
> 16%]
> tests/utils/test_data.py::test_limit_rows PASSED [
> 16%]
> tests/utils/test_data.py::test_sample PASSED [
> 16%]
> tests/utils/test_data.py::test_to_values PASSED [
> 17%]
> tests/utils/test_data.py::test_type_error PASSED [
> 17%]
> tests/utils/test_data.py::test_dataframe_to_json PASSED [
> 18%]
> tests/utils/test_data.py::test_dict_to_json PASSED [
> 18%]
> tests/utils/test_data.py::test_dataframe_to_csv PASSED [
> 19%]
> tests/utils/test_data.py::test_dict_to_csv PASSED [
> 19%]
> tests/utils/test_deprecation.py::test_deprecated_class PASSED [
> 20%]
> tests/utils/test_deprecation.py::test_deprecation_decorator PASSED [
> 20%]
> tests/utils/test_execeval.py::test_eval_block_with_return PASSED [
> 20%]
> tests/utils/test_execeval.py::test_eval_block_without_return PASSED [
> 21%]
> tests/utils/test_html.py::test_spec_to_html[True-True] PASSED [
> 21%]
> tests/utils/test_html.py::test_spec_to_html[True-False] PASSED [
> 22%]
> tests/utils/test_html.py::test_spec_to_html[False-True] PASSED [
> 22%]
> tests/utils/test_html.py::test_spec_to_html[False-False] PASSED [
> 23%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[vl-convert]
> SKIPPED [ 23%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[altair_saver]
> SKIPPED [ 24%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[None]
> SKIPPED [ 24%]
> tests/utils/test_mimebundle.py::test_spec_to_vegalite_mimebundle PASSED [
> 25%]
> tests/utils/test_mimebundle.py::test_spec_to_vega_mimebundle PASSED [
> 25%]
> tests/utils/test_mimebundle.py::test_spec_to_json_mimebundle PASSED [
> 25%]
> tests/utils/test_plugin_registry.py::test_plugin_registry PASSED [
> 26%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_extra_options
> PASSED [ 26%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_global_settings
> PASSED [ 27%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_context PASSED [
> 27%]
> tests/utils/test_schemapi.py::test_construct_multifaceted_schema PASSED [
> 28%]
> tests/utils/test_schemapi.py::test_schema_cases PASSED [
> 28%]
> tests/utils/test_schemapi.py::test_round_trip PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_from_dict PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_simple_type PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_simple_array PASSED [
> 30%]
> tests/utils/test_schemapi.py::test_definition_union PASSED [
> 30%]
> tests/utils/test_schemapi.py::test_invalid_properties PASSED [
> 31%]
> tests/utils/test_schemapi.py::test_undefined_singleton PASSED [
> 31%]
> tests/utils/test_schemapi.py::test_schema_validator_selection PASSED [
> 32%]
> tests/utils/test_schemapi.py::test_copy_method PASSED [
> 32%]
> tests/utils/test_schemapi.py::test_copy_module PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_attribute_error PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_to_from_json PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_to_from_pickle PASSED [
> 34%]
> tests/utils/test_schemapi.py::test_class_with_no_schema PASSED [
> 34%]
> tests/utils/test_schemapi.py::test_hash_schema[True] PASSED [
> 35%]
> tests/utils/test_schemapi.py::test_hash_schema[False] PASSED [
> 35%]
> tests/utils/test_schemapi.py::test_schema_validation_error PASSED [
> 36%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value_unknown_x_option-Multiple
> errors were found.\n\nError 1: `X` has no parameter named 'unknown'\n\n
> Existing parameter names are:\n shorthand bin scale timeUnit
> \n aggregate field sort title \n axis impute
> stack type \n bandPosition \n\n
> See the help for `X` to read the full description of these
> parameters\n\nError 2: 'asdf' is an invalid value for `stack`. Valid values
> are:\n\n - One of \\['zero', 'center', 'normalize'\\]\n - Of type
> 'null' or 'boolean'$] PASSED [ 36%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__wrong_tooltip_type_in_faceted_chart-'{'wrong'}'
> is an invalid value for `field`. Valid values are of type 'string' or
> 'object'.$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__wrong_tooltip_type_in_layered_chart-'{'wrong'}'
> is an invalid value for `field`. Valid values are of type 'string' or
> 'object'.$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_in_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: `Encoding` has no
> parameter named 'invalidChannel'\n\n Existing parameter names are:\n
> angle key order strokeDash tooltip xOffset \n
> color latitude radius strokeOpacity url y \n
> description latitude2 radius2 strokeWidth x y2 \n
> detail longitude shape text x2 yError
> \n fill longitude2 size theta xError yError2
> \n fillOpacity opacity stroke theta2 xError2 yOffset
> \n href
> \n\n See the help for `Encoding` to read the full description of these
> parameters$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_in_complex_concat_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: '4' is an invalid
> value for `bandPosition`. Valid values are of type 'number'.$] PASSED [ 38%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__three_errors_in_complex_concat_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: `Encoding` has no
> parameter named 'invalidChannel'\n\n Existing parameter names are:\n
> angle key order strokeDash tooltip xOffset \n
> color latitude radius strokeOpacity url y \n
> description latitude2 radius2 strokeWidth x y2 \n
> detail longitude shape text x2 yError
> \n fill longitude2 size theta xError yError2
> \n fillOpacity opacity stroke theta2 xError2 yOffset
> \n href
> \n\n See the help for `Encoding` to read the full description of these
> parameters\n\nError 3: '4' is an invalid value for `bandPosition`. Valid
> values are of type 'number'.$] PASSED [ 38%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_with_one_in_nested_layered_chart-Multiple
> errors were found.\n\nError 1: `Scale` has no parameter named
> 'invalidOption'\n\n Existing parameter names are:\n align domain
> interpolate range round \n base domainMax nice
> rangeMax scheme \n bins domainMid padding rangeMin
> type \n clamp domainMin paddingInner reverse zero \n
> constant exponent paddingOuter \n\n See the
> help for `Scale` to read the full description of these parameters\n\nError 2:
> `Encoding` has no parameter named 'invalidChannel'\n\n Existing parameter
> names are:\n angle key order strokeDash tooltip
> xOffset \n color latitude radius strokeOpacity url
> y \n description latitude2 radius2 strokeWidth x
> y2 \n detail longitude shape text x2
> yError \n fill longitude2 size theta
> xError yError2 \n fillOpacity opacity stroke theta2
> xError2 yOffset \n href
> \n\n See the help for `Encoding` to read the full
> description of these parameters$] PASSED [ 39%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__layer-`VConcatChart`
> has no parameter named 'width'\n\nExisting parameter names are:\nvconcat
> center description params title \nautosize config
> name resolve transform \nbackground data padding
> spacing usermeta \nbounds datasets
> \n\nSee the help for `VConcatChart` to read the full description of
> these parameters$] PASSED [ 39%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value-'asdf'
> is an invalid value for `stack`. Valid values are:\n\n- One of \\['zero',
> 'center', 'normalize'\\]\n- Of type 'null' or 'boolean'$] PASSED [ 40%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value_with_condition-'asdf'
> is an invalid value for `stack`. Valid values are:\n\n- One of \\['zero',
> 'center', 'normalize'\\]\n- Of type 'null' or 'boolean'$] PASSED [ 40%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__hconcat-'{'text':
> 'Horsepower', 'align': 'right'}' is an invalid value for `title`. Valid
> values are of type 'string', 'array', or 'null'.$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_channel-`Encoding`
> has no parameter named 'invalidChannel'\n\nExisting parameter names
> are:\nangle key order strokeDash tooltip xOffset
> \ncolor latitude radius strokeOpacity url y
> \ndescription latitude2 radius2 strokeWidth x y2
> \ndetail longitude shape text x2 yError
> \nfill longitude2 size theta xError yError2
> \nfillOpacity opacity stroke theta2 xError2 yOffset
> \nhref
> \n\nSee the help for `Encoding` to read the full description of these
> parameters$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_timeunit_value-'invalid_value'
> is an invalid value for `timeUnit`. Valid values are:\n\n- One of \\['year',
> 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes',
> 'seconds', 'milliseconds'\\]\n- One of \\['utcyear', 'utcquarter',
> 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours',
> 'utcminutes', 'utcseconds', 'utcmilliseconds'\\]\n- One of \\['yearquarter',
> 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours',
> 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek',
> 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes',
> 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth',
> 'monthdate', 'monthdatehours', 'monthdatehoursminutes',
> 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours',
> 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours',
> 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes',
> 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'\\]\n- One of
> \\['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth',
> 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes',
> 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday',
> 'utcyearweekdayhours', 'utcyearweekdayhoursminutes',
> 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth',
> 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes',
> 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours',
> 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours',
> 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes',
> 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'\\]\n-
> Of type 'object'$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_sort_value-'invalid_value'
> is an invalid value for `sort`. Valid values are:\n\n- One of
> \\['ascending', 'descending'\\]\n- One of \\['x', 'y', 'color', 'fill',
> 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity',
> 'opacity', 'text'\\]\n- One of \\['-x', '-y', '-color', '-fill', '-stroke',
> '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity',
> '-opacity', '-text'\\]\n- Of type 'array', 'object', or 'null'$] PASSED [ 42%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_bandposition_value-'4'
> is an invalid value for `bandPosition`. Valid values are of type 'number'.$]
> PASSED [ 42%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_type-'unknown'
> is an invalid value for `type`. Valid values are one of \\['quantitative',
> 'ordinal', 'temporal', 'nominal', 'geojson'\\].$] PASSED [ 43%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__additional_datum_argument-`X`
> has no parameter named 'wrong_argument'\n\nExisting parameter names
> are:\nshorthand bin scale timeUnit \naggregate field
> sort title \naxis impute stack type
> \nbandPosition \n\nSee the help for `X` to read
> the full description of these parameters$] PASSED [ 43%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_value_type-'1'
> is an invalid value for `value`. Valid values are of type 'object',
> 'string', or 'null'.$] PASSED [ 44%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__four_errors-Multiple
> errors were found.\n\nError 1: `Color` has no parameter named
> 'another_unknown'\n\n Existing parameter names are:\n shorthand
> bin legend timeUnit \n aggregate condition scale
> title \n bandPosition field sort type \n\n See
> the help for `Color` to read the full description of these
> parameters\n\nError 2: `Opacity` has no parameter named 'fourth_error'\n\n
> Existing parameter names are:\n shorthand bin legend
> timeUnit \n aggregate condition scale title \n
> bandPosition field sort type \n\n See the help for
> `Opacity` to read the full description of these parameters\n\nError 3: `X`
> has no parameter named 'unknown'\n\n Existing parameter names are:\n
> shorthand bin scale timeUnit \n aggregate field sort
> title \n axis impute stack type \n
> bandPosition \n\n See the help for `X` to
> read the full description of these parameters$] PASSED [ 44%]
> tests/utils/test_schemapi.py::test_multiple_field_strings_in_condition PASSED
> [ 45%]
> tests/utils/test_schemapi.py::test_serialize_numpy_types PASSED [
> 45%]
> tests/utils/test_schemapi.py::test_to_dict_no_side_effects PASSED [
> 45%]
> tests/utils/test_schemapi.py::test_to_dict_expand_mark_spec PASSED [
> 46%]
> tests/utils/test_server.py::test_serve PASSED [
> 46%]
> tests/utils/test_utils.py::test_infer_vegalite_type PASSED [
> 47%]
> tests/utils/test_utils.py::test_sanitize_dataframe PASSED [
> 47%]
> tests/utils/test_utils.py::test_sanitize_dataframe_colnames PASSED [
> 48%]
> tests/utils/test_utils.py::test_sanitize_dataframe_timedelta PASSED [
> 48%]
> tests/utils/test_utils.py::test_sanitize_dataframe_infs PASSED [
> 49%]
> tests/utils/test_utils.py::test_sanitize_nullable_integers PASSED [
> 49%]
> tests/utils/test_utils.py::test_sanitize_string_dtype PASSED [
> 50%]
> tests/utils/test_utils.py::test_sanitize_boolean_dtype PASSED [
> 50%]
> tests/vegalite/test_common.py::test_basic_chart_to_dict[altair.vegalite.v5]
> PASSED [ 50%]
> tests/vegalite/test_common.py::test_basic_chart_from_dict[altair.vegalite.v5]
> PASSED [ 51%]
> tests/vegalite/test_common.py::test_theme_enable[altair.vegalite.v5] PASSED [
> 51%]
> tests/vegalite/test_common.py::test_max_rows[altair.vegalite.v5] PASSED [
> 52%]
> tests/vegalite/v5/test_alias.py::test_aliases PASSED [
> 52%]
> tests/vegalite/v5/test_api.py::test_chart_data_types PASSED [
> 53%]
> tests/vegalite/v5/test_api.py::test_chart_infer_types PASSED [
> 53%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args0-kwargs0] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args1-kwargs1] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args2-kwargs2] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args3-kwargs3] PASSED
> [ 55%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args4-kwargs4] PASSED
> [ 55%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args5-kwargs5] PASSED
> [ 56%]
> tests/vegalite/v5/test_api.py::test_chart_operations PASSED [
> 56%]
> tests/vegalite/v5/test_api.py::test_selection_to_dict PASSED [
> 57%]
> tests/vegalite/v5/test_api.py::test_selection_expression PASSED [
> 57%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-html] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-json] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-png] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-svg] PASSED [
> 59%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-pdf] PASSED [
> 59%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-bogus] PASSED [
> 60%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-html] PASSED [
> 60%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-json] PASSED [
> 61%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-png] PASSED [
> 61%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-svg] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-pdf] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-bogus] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_facet_basic PASSED [
> 63%]
> tests/vegalite/v5/test_api.py::test_facet_parse PASSED [
> 63%]
> tests/vegalite/v5/test_api.py::test_facet_parse_data PASSED [
> 64%]
> tests/vegalite/v5/test_api.py::test_selection PASSED [
> 64%]
> tests/vegalite/v5/test_api.py::test_transforms PASSED [
> 65%]
> tests/vegalite/v5/test_api.py::test_filter_transform_selection_predicates
> PASSED [ 65%]
> tests/vegalite/v5/test_api.py::test_resolve_methods PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_layer_encodings PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_add_selection PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_repeat_add_selections PASSED [
> 67%]
> tests/vegalite/v5/test_api.py::test_facet_add_selections PASSED [
> 67%]
> tests/vegalite/v5/test_api.py::test_layer_add_selection PASSED [
> 68%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[concat] PASSED [
> 68%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[hconcat] PASSED [
> 69%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[vconcat] PASSED [
> 69%]
> tests/vegalite/v5/test_api.py::test_selection_property PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_LookupData PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_themes PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_chart_from_dict PASSED [
> 71%]
> tests/vegalite/v5/test_api.py::test_consolidate_datasets PASSED [
> 71%]
> tests/vegalite/v5/test_api.py::test_consolidate_InlineData PASSED [
> 72%]
> tests/vegalite/v5/test_api.py::test_repeat PASSED [
> 72%]
> tests/vegalite/v5/test_api.py::test_data_property PASSED [
> 73%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-layer]
> PASSED [ 73%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-hconcat]
> PASSED [ 74%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-vconcat]
> PASSED [ 74%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-concat]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-layer]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-hconcat]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-vconcat]
> PASSED [ 76%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-concat]
> PASSED [ 76%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-layer]
> PASSED [ 77%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-hconcat]
> PASSED [ 77%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-vconcat]
> PASSED [ 78%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-concat]
> PASSED [ 78%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-layer]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-hconcat]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-vconcat]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-concat]
> PASSED [ 80%]
> tests/vegalite/v5/test_api.py::test_layer_facet PASSED [
> 80%]
> tests/vegalite/v5/test_api.py::test_layer_errors PASSED [
> 81%]
> tests/vegalite/v5/test_api.py::test_resolve[layer] PASSED [
> 81%]
> tests/vegalite/v5/test_api.py::test_resolve[hconcat] PASSED [
> 82%]
> tests/vegalite/v5/test_api.py::test_resolve[vconcat] PASSED [
> 82%]
> tests/vegalite/v5/test_api.py::test_resolve[concat] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[facet] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[facet_encoding] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[repeat] PASSED [
> 84%]
> tests/vegalite/v5/test_api.py::test_facet[None-chart] PASSED [
> 84%]
> tests/vegalite/v5/test_api.py::test_facet[None-layer] PASSED [
> 85%]
> tests/vegalite/v5/test_api.py::test_facet[facet-chart] PASSED [
> 85%]
> tests/vegalite/v5/test_api.py::test_facet[facet-layer] PASSED [
> 86%]
> tests/vegalite/v5/test_api.py::test_facet[row-chart] PASSED [
> 86%]
> tests/vegalite/v5/test_api.py::test_facet[row-layer] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_facet[column-chart] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_facet[column-layer] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_sequence PASSED [
> 88%]
> tests/vegalite/v5/test_api.py::test_graticule PASSED [
> 88%]
> tests/vegalite/v5/test_api.py::test_sphere PASSED [
> 89%]
> tests/vegalite/v5/test_api.py::test_validate_dataset PASSED [
> 89%]
> tests/vegalite/v5/test_data.py::test_disable_max_rows PASSED [
> 90%]
> tests/vegalite/v5/test_display.py::test_check_renderer_options PASSED [
> 90%]
> tests/vegalite/v5/test_display.py::test_display_options PASSED [
> 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_polygon_feature
> PASSED [ 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_removal_empty_properties
> PASSED [ 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_register_foreign_member
> PASSED [ 92%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_serializing_arrays_tuples
> PASSED [ 92%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_reserved_members
> PASSED [ 93%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_empty_feature_collection
> PASSED [ 93%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_feature_collection
> PASSED [ 94%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_feature_collection_gdf
> PASSED [ 94%]
> tests/vegalite/v5/test_layer_props.py::test_layer_props PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_variable_param PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_param_expr PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_selection_deprecation FAILED [
> 96%]
> tests/vegalite/v5/test_params.py::test_parameter_naming PASSED [
> 96%]
> tests/vegalite/v5/test_params.py::test_selection_expression PASSED [
> 97%]
> tests/vegalite/v5/test_params.py::test_selection_condition PASSED [
> 97%]
> tests/vegalite/v5/test_params.py::test_creation_views_params_layered_repeat_chart
> PASSED [ 98%]
> tests/vegalite/v5/test_renderers.py::test_html_renderer_embed_options PASSED
> [ 98%]
> tests/vegalite/v5/test_renderers.py::test_mimetype_renderer_embed_options
> PASSED [ 99%]
> tests/vegalite/v5/test_renderers.py::test_json_renderer_embed_options PASSED
> [ 99%]
> tests/vegalite/v5/test_theme.py::test_vega_themes PASSED
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_selection_deprecation
> __________________________
>
> def test_selection_deprecation():
> # We use the `warnings.catch_warnings` context so pytest will also
> report deprecation warnings
> with warnings.catch_warnings():
> warnings.simplefilter("error")
>
> # new syntax
> > alt.selection_point()
>
> tests/vegalite/v5/test_params.py:81:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> altair/vegalite/v5/api.py:674: in selection_point
> return _selection(
> altair/vegalite/v5/api.py:422: in _selection
> select = core.PointSelectionConfig(type=type, **kwds)
> altair/vegalite/v5/schema/core.py:11899: in __init__
> super(PointSelectionConfig, self).__init__(type=type, clear=clear,
> encodings=encodings,
> altair/utils/schemapi.py:624: in __init__
> self.to_dict(validate=True)
> altair/utils/schemapi.py:807: in to_dict
> self.validate(result)
> altair/utils/schemapi.py:924: in validate
> return validate_jsonschema(
> altair/utils/schemapi.py:73: in validate_jsonschema
> errors = _get_errors_from_spec(spec, schema, rootschema=rootschema)
> altair/utils/schemapi.py:118: in _get_errors_from_spec
> resolver = jsonschema.RefResolver.from_schema(rootschema)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> name = 'RefResolver'
>
> def __getattr__(name):
> if name == "__version__":
> warnings.warn(
> "Accessing jsonschema.__version__ is deprecated and will be "
> "removed in a future release. Use importlib.metadata directly
> "
> "to query for jsonschema's version.",
> DeprecationWarning,
> stacklevel=2,
> )
>
> from importlib import metadata
> return metadata.version("jsonschema")
> elif name == "RefResolver":
> from jsonschema.validators import _RefResolver
> > warnings.warn(
> _RefResolver._DEPRECATION_MESSAGE,
> DeprecationWarning,
> stacklevel=2,
> )
> E DeprecationWarning: jsonschema.RefResolver is deprecated as of
> v4.18.0, in favor of the https://github.com/python-jsonschema/referencing
> library, which provides more compliant referencing behavior as well as more
> flexible APIs for customization. A future release will remove RefResolver.
> Please file a feature request (on referencing) if you are missing an API for
> the kind of customization you need.
>
> /usr/lib/python3/dist-packages/jsonschema/__init__.py:41: DeprecationWarning
> =============================== warnings summary
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning:
> datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal
> in a future version. Use timezone-aware objects to represent datetimes in
> UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
> EPOCH = datetime.datetime.utcfromtimestamp(0)
>
> altair/utils/schemapi.py:353: 99 warnings
> tests/utils/test_core.py: 37 warnings
> tests/utils/test_schemapi.py: 187 warnings
> tests/vegalite/test_common.py: 53 warnings
> tests/vegalite/v5/test_api.py: 569 warnings
> tests/vegalite/v5/test_display.py: 1 warning
> tests/vegalite/v5/test_layer_props.py: 11 warnings
> tests/vegalite/v5/test_params.py: 23 warnings
> tests/vegalite/v5/test_theme.py: 1 warning
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build/altair/utils/schemapi.py:353:
> DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in
> favor of the https://github.com/python-jsonschema/referencing library, which
> provides more compliant referencing behavior as well as more flexible APIs
> for customization. A future release will remove RefResolver. Please file a
> feature request (on referencing) if you are missing an API for the kind of
> customization you need.
> resolver = jsonschema.RefResolver.from_schema(root or schema)
>
> tests/test_magics.py: 1 warning
> tests/utils/test_schemapi.py: 21 warnings
> tests/utils/test_utils.py: 4 warnings
> tests/vegalite/test_common.py: 1 warning
> tests/vegalite/v5/test_api.py: 54 warnings
> tests/vegalite/v5/test_params.py: 2 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build/altair/utils/core.py:395:
> FutureWarning: the convert_dtype parameter is deprecated and will be removed
> in a future version. Do ``ser.astype(object).apply()`` instead if you want
> ``convert_dtype=False``.
> col = df[col_name].apply(to_list_if_array, convert_dtype=False)
>
> tests/expr/test_expr.py: 4 warnings
> tests/utils/test_core.py: 84 warnings
> tests/utils/test_schemapi.py: 231 warnings
> tests/vegalite/test_common.py: 58 warnings
> tests/vegalite/v5/test_api.py: 892 warnings
> tests/vegalite/v5/test_geo_interface.py: 8 warnings
> tests/vegalite/v5/test_layer_props.py: 11 warnings
> tests/vegalite/v5/test_params.py: 54 warnings
> tests/vegalite/v5/test_renderers.py: 18 warnings
> tests/vegalite/v5/test_theme.py: 20 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build/altair/utils/schemapi.py:118:
> DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in
> favor of the https://github.com/python-jsonschema/referencing library, which
> provides more compliant referencing behavior as well as more flexible APIs
> for customization. A future release will remove RefResolver. Please file a
> feature request (on referencing) if you are missing an API for the kind of
> customization you need.
> resolver = jsonschema.RefResolver.from_schema(rootschema)
>
> tests/utils/test_utils.py::test_sanitize_dataframe
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build/tests/utils/test_utils.py:66:
> FutureWarning: Passing literal json to 'read_json' is deprecated and will be
> removed in a future version. To read from a literal string, wrap it in a
> 'StringIO' object.
> df2 = pd.read_json(s)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/vegalite/v5/test_params.py::test_selection_deprecation -
> Depreca...
> ==== 1 failed, 216 passed, 7 skipped, 6 deselected, 2446 warnings in 10.23s
> ====
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_altair/build; python3.12 -m pytest
> --verbose -k 'not test_render_examples_to_chart and not
> test_from_and_to_json_roundtrip and not test_save_html'
> I: pybuild pybuild:310: cp -a tools
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build;
> python3.11 -m pytest --verbose -k 'not test_render_examples_to_chart and not
> test_from_and_to_json_roundtrip and not test_save_html'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build
> configfile: pyproject.toml
> collecting ... collected 230 items / 6 deselected / 224 selected
>
> tests/test_examples.py::test_render_examples_to_png[tests.examples_arguments_syntax-vl-convert]
> SKIPPED [ 0%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_arguments_syntax-altair_saver]
> SKIPPED [ 0%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_methods_syntax-vl-convert]
> SKIPPED [ 1%]
> tests/test_examples.py::test_render_examples_to_png[tests.examples_methods_syntax-altair_saver]
> SKIPPED [ 1%]
> tests/test_magics.py::test_vegalite_magic_data_included PASSED [
> 2%]
> tests/test_magics.py::test_vegalite_magic_json_flag PASSED [
> 2%]
> tests/test_magics.py::test_vegalite_magic_pandas_data PASSED [
> 3%]
> tests/test_toplevel.py::test_completeness_of__all__ PASSED [
> 3%]
> tests/expr/test_expr.py::test_unary_operations PASSED [
> 4%]
> tests/expr/test_expr.py::test_binary_operations PASSED [
> 4%]
> tests/expr/test_expr.py::test_abs PASSED [
> 4%]
> tests/expr/test_expr.py::test_expr_funcs PASSED [
> 5%]
> tests/expr/test_expr.py::test_expr_consts PASSED [
> 5%]
> tests/expr/test_expr.py::test_json_reprs PASSED [
> 6%]
> tests/expr/test_expr.py::test_to_dict PASSED [
> 6%]
> tests/expr/test_expr.py::test_copy PASSED [
> 7%]
> tests/expr/test_expr.py::test_datum_getattr PASSED [
> 7%]
> tests/expr/test_expr.py::test_expression_getitem PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_expr PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_string PASSED [
> 8%]
> tests/expr/test_expr.py::test_expression_function_nostring PASSED [
> 9%]
> tests/utils/test_core.py::test_infer_dtype[value0-integer] PASSED [
> 9%]
> tests/utils/test_core.py::test_infer_dtype[value1-floating] PASSED [
> 10%]
> tests/utils/test_core.py::test_infer_dtype[value2-mixed-integer-float] PASSED
> [ 10%]
> tests/utils/test_core.py::test_infer_dtype[value3-string] PASSED [
> 11%]
> tests/utils/test_core.py::test_infer_dtype[value4-mixed] PASSED [
> 11%]
> tests/utils/test_core.py::test_parse_shorthand PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_with_data PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_all_aggregates PASSED [
> 12%]
> tests/utils/test_core.py::test_parse_shorthand_all_timeunits PASSED [
> 13%]
> tests/utils/test_core.py::test_parse_shorthand_window_count PASSED [
> 13%]
> tests/utils/test_core.py::test_parse_shorthand_all_window_ops PASSED [
> 14%]
> tests/utils/test_core.py::test_update_nested PASSED [
> 14%]
> tests/utils/test_core.py::test_infer_encoding_types PASSED [
> 15%]
> tests/utils/test_core.py::test_infer_encoding_types_with_condition PASSED [
> 15%]
> tests/utils/test_core.py::test_invalid_data_type PASSED [
> 16%]
> tests/utils/test_data.py::test_limit_rows PASSED [
> 16%]
> tests/utils/test_data.py::test_sample PASSED [
> 16%]
> tests/utils/test_data.py::test_to_values PASSED [
> 17%]
> tests/utils/test_data.py::test_type_error PASSED [
> 17%]
> tests/utils/test_data.py::test_dataframe_to_json PASSED [
> 18%]
> tests/utils/test_data.py::test_dict_to_json PASSED [
> 18%]
> tests/utils/test_data.py::test_dataframe_to_csv PASSED [
> 19%]
> tests/utils/test_data.py::test_dict_to_csv PASSED [
> 19%]
> tests/utils/test_deprecation.py::test_deprecated_class PASSED [
> 20%]
> tests/utils/test_deprecation.py::test_deprecation_decorator PASSED [
> 20%]
> tests/utils/test_execeval.py::test_eval_block_with_return PASSED [
> 20%]
> tests/utils/test_execeval.py::test_eval_block_without_return PASSED [
> 21%]
> tests/utils/test_html.py::test_spec_to_html[True-True] PASSED [
> 21%]
> tests/utils/test_html.py::test_spec_to_html[True-False] PASSED [
> 22%]
> tests/utils/test_html.py::test_spec_to_html[False-True] PASSED [
> 22%]
> tests/utils/test_html.py::test_spec_to_html[False-False] PASSED [
> 23%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[vl-convert]
> SKIPPED [ 23%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[altair_saver]
> SKIPPED [ 24%]
> tests/utils/test_mimebundle.py::test_vegalite_to_vega_mimebundle[None]
> SKIPPED [ 24%]
> tests/utils/test_mimebundle.py::test_spec_to_vegalite_mimebundle PASSED [
> 25%]
> tests/utils/test_mimebundle.py::test_spec_to_vega_mimebundle PASSED [
> 25%]
> tests/utils/test_mimebundle.py::test_spec_to_json_mimebundle PASSED [
> 25%]
> tests/utils/test_plugin_registry.py::test_plugin_registry PASSED [
> 26%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_extra_options
> PASSED [ 26%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_global_settings
> PASSED [ 27%]
> tests/utils/test_plugin_registry.py::test_plugin_registry_context PASSED [
> 27%]
> tests/utils/test_schemapi.py::test_construct_multifaceted_schema PASSED [
> 28%]
> tests/utils/test_schemapi.py::test_schema_cases PASSED [
> 28%]
> tests/utils/test_schemapi.py::test_round_trip PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_from_dict PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_simple_type PASSED [
> 29%]
> tests/utils/test_schemapi.py::test_simple_array PASSED [
> 30%]
> tests/utils/test_schemapi.py::test_definition_union PASSED [
> 30%]
> tests/utils/test_schemapi.py::test_invalid_properties PASSED [
> 31%]
> tests/utils/test_schemapi.py::test_undefined_singleton PASSED [
> 31%]
> tests/utils/test_schemapi.py::test_schema_validator_selection PASSED [
> 32%]
> tests/utils/test_schemapi.py::test_copy_method PASSED [
> 32%]
> tests/utils/test_schemapi.py::test_copy_module PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_attribute_error PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_to_from_json PASSED [
> 33%]
> tests/utils/test_schemapi.py::test_to_from_pickle PASSED [
> 34%]
> tests/utils/test_schemapi.py::test_class_with_no_schema PASSED [
> 34%]
> tests/utils/test_schemapi.py::test_hash_schema[True] PASSED [
> 35%]
> tests/utils/test_schemapi.py::test_hash_schema[False] PASSED [
> 35%]
> tests/utils/test_schemapi.py::test_schema_validation_error PASSED [
> 36%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value_unknown_x_option-Multiple
> errors were found.\n\nError 1: `X` has no parameter named 'unknown'\n\n
> Existing parameter names are:\n shorthand bin scale timeUnit
> \n aggregate field sort title \n axis impute
> stack type \n bandPosition \n\n
> See the help for `X` to read the full description of these
> parameters\n\nError 2: 'asdf' is an invalid value for `stack`. Valid values
> are:\n\n - One of \\['zero', 'center', 'normalize'\\]\n - Of type
> 'null' or 'boolean'$] PASSED [ 36%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__wrong_tooltip_type_in_faceted_chart-'{'wrong'}'
> is an invalid value for `field`. Valid values are of type 'string' or
> 'object'.$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__wrong_tooltip_type_in_layered_chart-'{'wrong'}'
> is an invalid value for `field`. Valid values are of type 'string' or
> 'object'.$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_in_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: `Encoding` has no
> parameter named 'invalidChannel'\n\n Existing parameter names are:\n
> angle key order strokeDash tooltip xOffset \n
> color latitude radius strokeOpacity url y \n
> description latitude2 radius2 strokeWidth x y2 \n
> detail longitude shape text x2 yError
> \n fill longitude2 size theta xError yError2
> \n fillOpacity opacity stroke theta2 xError2 yOffset
> \n href
> \n\n See the help for `Encoding` to read the full description of these
> parameters$] PASSED [ 37%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_in_complex_concat_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: '4' is an invalid
> value for `bandPosition`. Valid values are of type 'number'.$] PASSED [ 38%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__three_errors_in_complex_concat_layered_chart-Multiple
> errors were found.\n\nError 1: '{'wrong'}' is an invalid value for `field`.
> Valid values are of type 'string' or 'object'.\n\nError 2: `Encoding` has no
> parameter named 'invalidChannel'\n\n Existing parameter names are:\n
> angle key order strokeDash tooltip xOffset \n
> color latitude radius strokeOpacity url y \n
> description latitude2 radius2 strokeWidth x y2 \n
> detail longitude shape text x2 yError
> \n fill longitude2 size theta xError yError2
> \n fillOpacity opacity stroke theta2 xError2 yOffset
> \n href
> \n\n See the help for `Encoding` to read the full description of these
> parameters\n\nError 3: '4' is an invalid value for `bandPosition`. Valid
> values are of type 'number'.$] PASSED [ 38%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__two_errors_with_one_in_nested_layered_chart-Multiple
> errors were found.\n\nError 1: `Scale` has no parameter named
> 'invalidOption'\n\n Existing parameter names are:\n align domain
> interpolate range round \n base domainMax nice
> rangeMax scheme \n bins domainMid padding rangeMin
> type \n clamp domainMin paddingInner reverse zero \n
> constant exponent paddingOuter \n\n See the
> help for `Scale` to read the full description of these parameters\n\nError 2:
> `Encoding` has no parameter named 'invalidChannel'\n\n Existing parameter
> names are:\n angle key order strokeDash tooltip
> xOffset \n color latitude radius strokeOpacity url
> y \n description latitude2 radius2 strokeWidth x
> y2 \n detail longitude shape text x2
> yError \n fill longitude2 size theta
> xError yError2 \n fillOpacity opacity stroke theta2
> xError2 yOffset \n href
> \n\n See the help for `Encoding` to read the full
> description of these parameters$] PASSED [ 39%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__layer-`VConcatChart`
> has no parameter named 'width'\n\nExisting parameter names are:\nvconcat
> center description params title \nautosize config
> name resolve transform \nbackground data padding
> spacing usermeta \nbounds datasets
> \n\nSee the help for `VConcatChart` to read the full description of
> these parameters$] PASSED [ 39%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value-'asdf'
> is an invalid value for `stack`. Valid values are:\n\n- One of \\['zero',
> 'center', 'normalize'\\]\n- Of type 'null' or 'boolean'$] PASSED [ 40%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_y_option_value_with_condition-'asdf'
> is an invalid value for `stack`. Valid values are:\n\n- One of \\['zero',
> 'center', 'normalize'\\]\n- Of type 'null' or 'boolean'$] PASSED [ 40%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__hconcat-'{'text':
> 'Horsepower', 'align': 'right'}' is an invalid value for `title`. Valid
> values are of type 'string', 'array', or 'null'.$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_channel-`Encoding`
> has no parameter named 'invalidChannel'\n\nExisting parameter names
> are:\nangle key order strokeDash tooltip xOffset
> \ncolor latitude radius strokeOpacity url y
> \ndescription latitude2 radius2 strokeWidth x y2
> \ndetail longitude shape text x2 yError
> \nfill longitude2 size theta xError yError2
> \nfillOpacity opacity stroke theta2 xError2 yOffset
> \nhref
> \n\nSee the help for `Encoding` to read the full description of these
> parameters$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_timeunit_value-'invalid_value'
> is an invalid value for `timeUnit`. Valid values are:\n\n- One of \\['year',
> 'quarter', 'month', 'week', 'day', 'dayofyear', 'date', 'hours', 'minutes',
> 'seconds', 'milliseconds'\\]\n- One of \\['utcyear', 'utcquarter',
> 'utcmonth', 'utcweek', 'utcday', 'utcdayofyear', 'utcdate', 'utchours',
> 'utcminutes', 'utcseconds', 'utcmilliseconds'\\]\n- One of \\['yearquarter',
> 'yearquartermonth', 'yearmonth', 'yearmonthdate', 'yearmonthdatehours',
> 'yearmonthdatehoursminutes', 'yearmonthdatehoursminutesseconds', 'yearweek',
> 'yearweekday', 'yearweekdayhours', 'yearweekdayhoursminutes',
> 'yearweekdayhoursminutesseconds', 'yeardayofyear', 'quartermonth',
> 'monthdate', 'monthdatehours', 'monthdatehoursminutes',
> 'monthdatehoursminutesseconds', 'weekday', 'weeksdayhours',
> 'weekdayhoursminutes', 'weekdayhoursminutesseconds', 'dayhours',
> 'dayhoursminutes', 'dayhoursminutesseconds', 'hoursminutes',
> 'hoursminutesseconds', 'minutesseconds', 'secondsmilliseconds'\\]\n- One of
> \\['utcyearquarter', 'utcyearquartermonth', 'utcyearmonth',
> 'utcyearmonthdate', 'utcyearmonthdatehours', 'utcyearmonthdatehoursminutes',
> 'utcyearmonthdatehoursminutesseconds', 'utcyearweek', 'utcyearweekday',
> 'utcyearweekdayhours', 'utcyearweekdayhoursminutes',
> 'utcyearweekdayhoursminutesseconds', 'utcyeardayofyear', 'utcquartermonth',
> 'utcmonthdate', 'utcmonthdatehours', 'utcmonthdatehoursminutes',
> 'utcmonthdatehoursminutesseconds', 'utcweekday', 'utcweeksdayhours',
> 'utcweekdayhoursminutes', 'utcweekdayhoursminutesseconds', 'utcdayhours',
> 'utcdayhoursminutes', 'utcdayhoursminutesseconds', 'utchoursminutes',
> 'utchoursminutesseconds', 'utcminutesseconds', 'utcsecondsmilliseconds'\\]\n-
> Of type 'object'$] PASSED [ 41%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_sort_value-'invalid_value'
> is an invalid value for `sort`. Valid values are:\n\n- One of
> \\['ascending', 'descending'\\]\n- One of \\['x', 'y', 'color', 'fill',
> 'stroke', 'strokeWidth', 'size', 'shape', 'fillOpacity', 'strokeOpacity',
> 'opacity', 'text'\\]\n- One of \\['-x', '-y', '-color', '-fill', '-stroke',
> '-strokeWidth', '-size', '-shape', '-fillOpacity', '-strokeOpacity',
> '-opacity', '-text'\\]\n- Of type 'array', 'object', or 'null'$] PASSED [ 42%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_bandposition_value-'4'
> is an invalid value for `bandPosition`. Valid values are of type 'number'.$]
> PASSED [ 42%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_type-'unknown'
> is an invalid value for `type`. Valid values are one of \\['quantitative',
> 'ordinal', 'temporal', 'nominal', 'geojson'\\].$] PASSED [ 43%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__additional_datum_argument-`X`
> has no parameter named 'wrong_argument'\n\nExisting parameter names
> are:\nshorthand bin scale timeUnit \naggregate field
> sort title \naxis impute stack type
> \nbandPosition \n\nSee the help for `X` to read
> the full description of these parameters$] PASSED [ 43%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__invalid_value_type-'1'
> is an invalid value for `value`. Valid values are of type 'object',
> 'string', or 'null'.$] PASSED [ 44%]
> tests/utils/test_schemapi.py::test_chart_validation_errors[chart_error_example__four_errors-Multiple
> errors were found.\n\nError 1: `Color` has no parameter named
> 'another_unknown'\n\n Existing parameter names are:\n shorthand
> bin legend timeUnit \n aggregate condition scale
> title \n bandPosition field sort type \n\n See
> the help for `Color` to read the full description of these
> parameters\n\nError 2: `Opacity` has no parameter named 'fourth_error'\n\n
> Existing parameter names are:\n shorthand bin legend
> timeUnit \n aggregate condition scale title \n
> bandPosition field sort type \n\n See the help for
> `Opacity` to read the full description of these parameters\n\nError 3: `X`
> has no parameter named 'unknown'\n\n Existing parameter names are:\n
> shorthand bin scale timeUnit \n aggregate field sort
> title \n axis impute stack type \n
> bandPosition \n\n See the help for `X` to
> read the full description of these parameters$] PASSED [ 44%]
> tests/utils/test_schemapi.py::test_multiple_field_strings_in_condition PASSED
> [ 45%]
> tests/utils/test_schemapi.py::test_serialize_numpy_types PASSED [
> 45%]
> tests/utils/test_schemapi.py::test_to_dict_no_side_effects PASSED [
> 45%]
> tests/utils/test_schemapi.py::test_to_dict_expand_mark_spec PASSED [
> 46%]
> tests/utils/test_server.py::test_serve PASSED [
> 46%]
> tests/utils/test_utils.py::test_infer_vegalite_type PASSED [
> 47%]
> tests/utils/test_utils.py::test_sanitize_dataframe PASSED [
> 47%]
> tests/utils/test_utils.py::test_sanitize_dataframe_colnames PASSED [
> 48%]
> tests/utils/test_utils.py::test_sanitize_dataframe_timedelta PASSED [
> 48%]
> tests/utils/test_utils.py::test_sanitize_dataframe_infs PASSED [
> 49%]
> tests/utils/test_utils.py::test_sanitize_nullable_integers PASSED [
> 49%]
> tests/utils/test_utils.py::test_sanitize_string_dtype PASSED [
> 50%]
> tests/utils/test_utils.py::test_sanitize_boolean_dtype PASSED [
> 50%]
> tests/vegalite/test_common.py::test_basic_chart_to_dict[altair.vegalite.v5]
> PASSED [ 50%]
> tests/vegalite/test_common.py::test_basic_chart_from_dict[altair.vegalite.v5]
> PASSED [ 51%]
> tests/vegalite/test_common.py::test_theme_enable[altair.vegalite.v5] PASSED [
> 51%]
> tests/vegalite/test_common.py::test_max_rows[altair.vegalite.v5] PASSED [
> 52%]
> tests/vegalite/v5/test_alias.py::test_aliases PASSED [
> 52%]
> tests/vegalite/v5/test_api.py::test_chart_data_types PASSED [
> 53%]
> tests/vegalite/v5/test_api.py::test_chart_infer_types PASSED [
> 53%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args0-kwargs0] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args1-kwargs1] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args2-kwargs2] PASSED
> [ 54%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args3-kwargs3] PASSED
> [ 55%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args4-kwargs4] PASSED
> [ 55%]
> tests/vegalite/v5/test_api.py::test_multiple_encodings[args5-kwargs5] PASSED
> [ 56%]
> tests/vegalite/v5/test_api.py::test_chart_operations PASSED [
> 56%]
> tests/vegalite/v5/test_api.py::test_selection_to_dict PASSED [
> 57%]
> tests/vegalite/v5/test_api.py::test_selection_expression PASSED [
> 57%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-html] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-json] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-png] PASSED [
> 58%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-svg] PASSED [
> 59%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-pdf] PASSED [
> 59%]
> tests/vegalite/v5/test_api.py::test_save[altair_saver-bogus] PASSED [
> 60%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-html] PASSED [
> 60%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-json] PASSED [
> 61%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-png] PASSED [
> 61%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-svg] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-pdf] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_save[vl-convert-bogus] PASSED [
> 62%]
> tests/vegalite/v5/test_api.py::test_facet_basic PASSED [
> 63%]
> tests/vegalite/v5/test_api.py::test_facet_parse PASSED [
> 63%]
> tests/vegalite/v5/test_api.py::test_facet_parse_data PASSED [
> 64%]
> tests/vegalite/v5/test_api.py::test_selection PASSED [
> 64%]
> tests/vegalite/v5/test_api.py::test_transforms PASSED [
> 65%]
> tests/vegalite/v5/test_api.py::test_filter_transform_selection_predicates
> PASSED [ 65%]
> tests/vegalite/v5/test_api.py::test_resolve_methods PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_layer_encodings PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_add_selection PASSED [
> 66%]
> tests/vegalite/v5/test_api.py::test_repeat_add_selections PASSED [
> 67%]
> tests/vegalite/v5/test_api.py::test_facet_add_selections PASSED [
> 67%]
> tests/vegalite/v5/test_api.py::test_layer_add_selection PASSED [
> 68%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[concat] PASSED [
> 68%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[hconcat] PASSED [
> 69%]
> tests/vegalite/v5/test_api.py::test_compound_add_selections[vconcat] PASSED [
> 69%]
> tests/vegalite/v5/test_api.py::test_selection_property PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_LookupData PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_themes PASSED [
> 70%]
> tests/vegalite/v5/test_api.py::test_chart_from_dict PASSED [
> 71%]
> tests/vegalite/v5/test_api.py::test_consolidate_datasets PASSED [
> 71%]
> tests/vegalite/v5/test_api.py::test_consolidate_InlineData PASSED [
> 72%]
> tests/vegalite/v5/test_api.py::test_repeat PASSED [
> 72%]
> tests/vegalite/v5/test_api.py::test_data_property PASSED [
> 73%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-layer]
> PASSED [ 73%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-hconcat]
> PASSED [ 74%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-vconcat]
> PASSED [ 74%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data.json-concat]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-layer]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-hconcat]
> PASSED [ 75%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-vconcat]
> PASSED [ 76%]
> tests/vegalite/v5/test_api.py::test_subcharts_with_same_data[data1-concat]
> PASSED [ 76%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-layer]
> PASSED [ 77%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-hconcat]
> PASSED [ 77%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-vconcat]
> PASSED [ 78%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data.json-concat]
> PASSED [ 78%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-layer]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-hconcat]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-vconcat]
> PASSED [ 79%]
> tests/vegalite/v5/test_api.py::test_subcharts_different_data[data1-concat]
> PASSED [ 80%]
> tests/vegalite/v5/test_api.py::test_layer_facet PASSED [
> 80%]
> tests/vegalite/v5/test_api.py::test_layer_errors PASSED [
> 81%]
> tests/vegalite/v5/test_api.py::test_resolve[layer] PASSED [
> 81%]
> tests/vegalite/v5/test_api.py::test_resolve[hconcat] PASSED [
> 82%]
> tests/vegalite/v5/test_api.py::test_resolve[vconcat] PASSED [
> 82%]
> tests/vegalite/v5/test_api.py::test_resolve[concat] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[facet] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[facet_encoding] PASSED [
> 83%]
> tests/vegalite/v5/test_api.py::test_resolve[repeat] PASSED [
> 84%]
> tests/vegalite/v5/test_api.py::test_facet[None-chart] PASSED [
> 84%]
> tests/vegalite/v5/test_api.py::test_facet[None-layer] PASSED [
> 85%]
> tests/vegalite/v5/test_api.py::test_facet[facet-chart] PASSED [
> 85%]
> tests/vegalite/v5/test_api.py::test_facet[facet-layer] PASSED [
> 86%]
> tests/vegalite/v5/test_api.py::test_facet[row-chart] PASSED [
> 86%]
> tests/vegalite/v5/test_api.py::test_facet[row-layer] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_facet[column-chart] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_facet[column-layer] PASSED [
> 87%]
> tests/vegalite/v5/test_api.py::test_sequence PASSED [
> 88%]
> tests/vegalite/v5/test_api.py::test_graticule PASSED [
> 88%]
> tests/vegalite/v5/test_api.py::test_sphere PASSED [
> 89%]
> tests/vegalite/v5/test_api.py::test_validate_dataset PASSED [
> 89%]
> tests/vegalite/v5/test_data.py::test_disable_max_rows PASSED [
> 90%]
> tests/vegalite/v5/test_display.py::test_check_renderer_options PASSED [
> 90%]
> tests/vegalite/v5/test_display.py::test_display_options PASSED [
> 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_polygon_feature
> PASSED [ 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_removal_empty_properties
> PASSED [ 91%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_register_foreign_member
> PASSED [ 92%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_serializing_arrays_tuples
> PASSED [ 92%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_reserved_members
> PASSED [ 93%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_empty_feature_collection
> PASSED [ 93%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_feature_collection
> PASSED [ 94%]
> tests/vegalite/v5/test_geo_interface.py::test_geo_interface_feature_collection_gdf
> PASSED [ 94%]
> tests/vegalite/v5/test_layer_props.py::test_layer_props PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_variable_param PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_param_expr PASSED [
> 95%]
> tests/vegalite/v5/test_params.py::test_selection_deprecation FAILED [
> 96%]
> tests/vegalite/v5/test_params.py::test_parameter_naming PASSED [
> 96%]
> tests/vegalite/v5/test_params.py::test_selection_expression PASSED [
> 97%]
> tests/vegalite/v5/test_params.py::test_selection_condition PASSED [
> 97%]
> tests/vegalite/v5/test_params.py::test_creation_views_params_layered_repeat_chart
> PASSED [ 98%]
> tests/vegalite/v5/test_renderers.py::test_html_renderer_embed_options PASSED
> [ 98%]
> tests/vegalite/v5/test_renderers.py::test_mimetype_renderer_embed_options
> PASSED [ 99%]
> tests/vegalite/v5/test_renderers.py::test_json_renderer_embed_options PASSED
> [ 99%]
> tests/vegalite/v5/test_theme.py::test_vega_themes PASSED
> [100%]
>
> =================================== FAILURES
> ===================================
> __________________________ test_selection_deprecation
> __________________________
>
> def test_selection_deprecation():
> # We use the `warnings.catch_warnings` context so pytest will also
> report deprecation warnings
> with warnings.catch_warnings():
> warnings.simplefilter("error")
>
> # new syntax
> > alt.selection_point()
>
> tests/vegalite/v5/test_params.py:81:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> altair/vegalite/v5/api.py:674: in selection_point
> return _selection(
> altair/vegalite/v5/api.py:422: in _selection
> select = core.PointSelectionConfig(type=type, **kwds)
> altair/vegalite/v5/schema/core.py:11899: in __init__
> super(PointSelectionConfig, self).__init__(type=type, clear=clear,
> encodings=encodings,
> altair/utils/schemapi.py:624: in __init__
> self.to_dict(validate=True)
> altair/utils/schemapi.py:807: in to_dict
> self.validate(result)
> altair/utils/schemapi.py:924: in validate
> return validate_jsonschema(
> altair/utils/schemapi.py:73: in validate_jsonschema
> errors = _get_errors_from_spec(spec, schema, rootschema=rootschema)
> altair/utils/schemapi.py:118: in _get_errors_from_spec
> resolver = jsonschema.RefResolver.from_schema(rootschema)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> name = 'RefResolver'
>
> def __getattr__(name):
> if name == "__version__":
> warnings.warn(
> "Accessing jsonschema.__version__ is deprecated and will be "
> "removed in a future release. Use importlib.metadata directly
> "
> "to query for jsonschema's version.",
> DeprecationWarning,
> stacklevel=2,
> )
>
> from importlib import metadata
> return metadata.version("jsonschema")
> elif name == "RefResolver":
> from jsonschema.validators import _RefResolver
> > warnings.warn(
> _RefResolver._DEPRECATION_MESSAGE,
> DeprecationWarning,
> stacklevel=2,
> )
> E DeprecationWarning: jsonschema.RefResolver is deprecated as of
> v4.18.0, in favor of the https://github.com/python-jsonschema/referencing
> library, which provides more compliant referencing behavior as well as more
> flexible APIs for customization. A future release will remove RefResolver.
> Please file a feature request (on referencing) if you are missing an API for
> the kind of customization you need.
>
> /usr/lib/python3/dist-packages/jsonschema/__init__.py:41: DeprecationWarning
> =============================== warnings summary
> ===============================
> altair/utils/schemapi.py:353: 99 warnings
> tests/utils/test_core.py: 37 warnings
> tests/utils/test_schemapi.py: 187 warnings
> tests/vegalite/test_common.py: 53 warnings
> tests/vegalite/v5/test_api.py: 569 warnings
> tests/vegalite/v5/test_display.py: 1 warning
> tests/vegalite/v5/test_layer_props.py: 11 warnings
> tests/vegalite/v5/test_params.py: 23 warnings
> tests/vegalite/v5/test_theme.py: 1 warning
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build/altair/utils/schemapi.py:353:
> DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in
> favor of the https://github.com/python-jsonschema/referencing library, which
> provides more compliant referencing behavior as well as more flexible APIs
> for customization. A future release will remove RefResolver. Please file a
> feature request (on referencing) if you are missing an API for the kind of
> customization you need.
> resolver = jsonschema.RefResolver.from_schema(root or schema)
>
> tests/test_magics.py: 1 warning
> tests/utils/test_schemapi.py: 21 warnings
> tests/utils/test_utils.py: 4 warnings
> tests/vegalite/test_common.py: 1 warning
> tests/vegalite/v5/test_api.py: 54 warnings
> tests/vegalite/v5/test_params.py: 2 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build/altair/utils/core.py:395:
> FutureWarning: the convert_dtype parameter is deprecated and will be removed
> in a future version. Do ``ser.astype(object).apply()`` instead if you want
> ``convert_dtype=False``.
> col = df[col_name].apply(to_list_if_array, convert_dtype=False)
>
> tests/expr/test_expr.py: 4 warnings
> tests/utils/test_core.py: 84 warnings
> tests/utils/test_schemapi.py: 231 warnings
> tests/vegalite/test_common.py: 58 warnings
> tests/vegalite/v5/test_api.py: 892 warnings
> tests/vegalite/v5/test_geo_interface.py: 8 warnings
> tests/vegalite/v5/test_layer_props.py: 11 warnings
> tests/vegalite/v5/test_params.py: 54 warnings
> tests/vegalite/v5/test_renderers.py: 18 warnings
> tests/vegalite/v5/test_theme.py: 20 warnings
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build/altair/utils/schemapi.py:118:
> DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in
> favor of the https://github.com/python-jsonschema/referencing library, which
> provides more compliant referencing behavior as well as more flexible APIs
> for customization. A future release will remove RefResolver. Please file a
> feature request (on referencing) if you are missing an API for the kind of
> customization you need.
> resolver = jsonschema.RefResolver.from_schema(rootschema)
>
> tests/utils/test_utils.py::test_sanitize_dataframe
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build/tests/utils/test_utils.py:66:
> FutureWarning: Passing literal json to 'read_json' is deprecated and will be
> removed in a future version. To read from a literal string, wrap it in a
> 'StringIO' object.
> df2 = pd.read_json(s)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/vegalite/v5/test_params.py::test_selection_deprecation -
> Depreca...
> ==== 1 failed, 216 passed, 7 skipped, 6 deselected, 2445 warnings in 12.95s
> ====
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_altair/build; python3.11 -m pytest
> --verbose -k 'not test_render_examples_to_chart and not
> test_from_and_to_json_roundtrip and not test_save_html'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/02/24/python-altair_5.0.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---