diff --git a/pkgs/development/python-modules/pyiceberg/default.nix b/pkgs/development/python-modules/pyiceberg/default.nix index 6546897c2342..9ba6f9232712 100644 --- a/pkgs/development/python-modules/pyiceberg/default.nix +++ b/pkgs/development/python-modules/pyiceberg/default.nix @@ -55,14 +55,14 @@ buildPythonPackage rec { pname = "iceberg-python"; - version = "0.9.0"; + version = "0.9.1"; pyproject = true; src = fetchFromGitHub { owner = "apache"; repo = "iceberg-python"; tag = "pyiceberg-${version}"; - hash = "sha256-PLxYe6MpKR6qILTNt0arujyx/nlVorwjhwokbXvdwb0="; + hash = "sha256-OUj8z/UOIcK0S4tf6Id52YHweNDfYnX6P4nChXrOxqY="; }; patches = [ @@ -82,6 +82,10 @@ buildPythonPackage rec { # Prevents the cython build to fail silently env.CIBUILDWHEEL = "1"; + pythonRelaxDeps = [ + "rich" + ]; + dependencies = [ cachetools click @@ -189,6 +193,10 @@ buildPythonPackage rec { disabledTests = [ + # ModuleNotFoundError: No module named 'puresasl' + "test_create_hive_client_with_kerberos" + "test_create_hive_client_with_kerberos_using_context_manager" + # Require unpackaged pyiceberg_core "test_bucket_pyarrow_transforms" "test_transform_consistency_with_pyarrow_transform" @@ -219,34 +227,6 @@ buildPythonPackage rec { "test_partitioned_write" "test_token_200_w_oauth2_server_uri" - # TypeError: pyarrow.lib.large_list() takes no keyword argument - # From tests/io/test_pyarrow_stats.py: - "test_bounds" - "test_column_metrics_mode" - "test_column_sizes" - "test_metrics_mode_counts" - "test_metrics_mode_full" - "test_metrics_mode_non_default_trunc" - "test_metrics_mode_none" - "test_null_and_nan_counts" - "test_offsets" - "test_read_missing_statistics" - "test_record_count" - "test_value_counts" - "test_write_and_read_stats_schema" - # From tests/io/test_pyarrow.py: - "test_list_type_to_pyarrow" - "test_projection_add_column" - "test_projection_list_of_structs" - "test_read_list" - "test_schema_compatible_missing_nullable_field_nested" - "test_schema_compatible_nested" - "test_schema_mismatch_missing_required_field_nested" - "test_schema_to_pyarrow_schema_exclude_field_ids" - "test_schema_to_pyarrow_schema_include_field_ids" - # From tests/io/test_pyarrow_visitor.py - "test_round_schema_conversion_nested" - # Hangs forever (from tests/io/test_pyarrow.py) "test_getting_length_of_file_gcs" ] @@ -255,6 +235,11 @@ buildPythonPackage rec { "test_converting_an_outputfile_to_an_inputfile_gcs" "test_new_input_file_gcs" "test_new_output_file_gc" + + # PermissionError: [Errno 13] Failed to open local file + # '/tmp/iceberg/warehouse/default.db/test_projection_partitions/metadata/00000-6c1c61a1-495f-45d3-903d-a2643431be91.metadata.json' + "test_identity_transform_column_projection" + "test_identity_transform_columns_projection" ]; __darwinAllowLocalNetworking = true;