Commit 232ef930 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.pyiceberg: fix on darwin

parent 3b988f71
Loading
Loading
Loading
Loading
+65 −56
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -49,7 +50,6 @@
  pytest-mock,
  pytest-timeout,
  requests-mock,
  pythonOlder,
}:

buildPythonPackage rec {
@@ -185,7 +185,8 @@ buildPythonPackage rec {
    "tests/integration"
  ];

  disabledTests = [
  disabledTests =
    [
      # botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL
      "test_checking_if_a_file_exists"
      "test_closing_a_file"
@@ -239,8 +240,16 @@ buildPythonPackage rec {

      # Hangs forever (from tests/io/test_pyarrow.py)
      "test_getting_length_of_file_gcs"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # ImportError: The pyarrow installation is not built with support for 'GcsFileSystem'
      "test_converting_an_outputfile_to_an_inputfile_gcs"
      "test_new_input_file_gcs"
      "test_new_output_file_gc"
    ];

  __darwinAllowLocalNetworking = true;

  meta = {
    description = "Python library for programmatic access to Apache Iceberg";
    homepage = "https://github.com/apache/iceberg-python";