Loading pkgs/development/python-modules/pandas-stubs/default.nix +8 −7 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ pandas, pyarrow, pyreadstat, python-calamine, scipy, sqlalchemy, tables, Loading @@ -35,16 +36,16 @@ buildPythonPackage rec { pname = "pandas-stubs"; version = "2.2.2.240603"; version = "2.2.2.240909"; pyproject = true; disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "pandas-dev"; repo = "pandas-stubs"; rev = "refs/tags/v${version}"; hash = "sha256-wJ7lN1+BGNqhwgPLmmpb3foX6rIEy3R62rOvu0mr8xs="; hash = "sha256-Dt2a4l5WAOizUeaDa80CRuvyPT9mWfFz+zGZMm3vQP4="; }; build-system = [ poetry-core ]; Loading Loading @@ -73,9 +74,7 @@ buildPythonPackage rec { typing-extensions xarray xlsxwriter # missing dependencies in nixpkgs # python-calamine python-calamine ]; disabledTests = Loading @@ -83,10 +82,12 @@ buildPythonPackage rec { # Missing dependencies, error and warning checks "test_all_read_without_lxml_dtype_backend" # pyarrow.orc "test_orc" # pyarrow.orc "test_read_excel" # python-calamine "test_plotting" # UserWarning: No artists with labels found to put in legend. "test_spss" # FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! "test_show_version" # FutureWarning: In the future `np.bool` will be defined as the corresponding... "test_timedelta_cmp" "test_timestamp_cmp" ] ++ lib.optionals stdenv.isDarwin [ "test_clipboard" # FileNotFoundError: [Errno 2] No such file or directory: 'pbcopy' Loading pkgs/development/python-modules/python-calamine/Cargo.lock 0 → 100644 +914 −0 File added.Preview size limit exceeded, changes collapsed. Show changes pkgs/development/python-modules/python-calamine/default.nix 0 → 100644 +61 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, cargo, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, rustc, packaging, rustPlatform, }: buildPythonPackage rec { pname = "python-calamine"; version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "dimastbk"; repo = "python-calamine"; rev = "refs/tags/v${version}"; hash = "sha256-zZqhvfpkkbWLhPJIthDgxqvPUMpaXkyptuzY2fcecHU="; }; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "pyo3-file-0.8.1" = "sha256-EqeXykP7CF8SU5LgT9+y/FDy79E/DAJT2fc1OrmlOZE="; }; }; postPatch = '' ln -s ${./Cargo.lock} Cargo.lock ''; build-system = [ cargo poetry-core rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook rustc ]; dependencies = [ packaging ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "python_calamine" ]; meta = { description = "Python binding for calamine"; homepage = "https://github.com/dimastbk/python-calamine"; changelog = "https://github.com/dimastbk/python-calamine/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "python-calamine"; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10221,6 +10221,8 @@ self: super: with self; { pywebcopy = callPackage ../development/python-modules/pywebcopy { }; python-calamine = callPackage ../development/python-modules/python-calamine { }; python-can = callPackage ../development/python-modules/python-can { }; python-codon-tables = callPackage ../development/python-modules/python-codon-tables { }; Loading Loading
pkgs/development/python-modules/pandas-stubs/default.nix +8 −7 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ pandas, pyarrow, pyreadstat, python-calamine, scipy, sqlalchemy, tables, Loading @@ -35,16 +36,16 @@ buildPythonPackage rec { pname = "pandas-stubs"; version = "2.2.2.240603"; version = "2.2.2.240909"; pyproject = true; disabled = pythonOlder "3.9"; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "pandas-dev"; repo = "pandas-stubs"; rev = "refs/tags/v${version}"; hash = "sha256-wJ7lN1+BGNqhwgPLmmpb3foX6rIEy3R62rOvu0mr8xs="; hash = "sha256-Dt2a4l5WAOizUeaDa80CRuvyPT9mWfFz+zGZMm3vQP4="; }; build-system = [ poetry-core ]; Loading Loading @@ -73,9 +74,7 @@ buildPythonPackage rec { typing-extensions xarray xlsxwriter # missing dependencies in nixpkgs # python-calamine python-calamine ]; disabledTests = Loading @@ -83,10 +82,12 @@ buildPythonPackage rec { # Missing dependencies, error and warning checks "test_all_read_without_lxml_dtype_backend" # pyarrow.orc "test_orc" # pyarrow.orc "test_read_excel" # python-calamine "test_plotting" # UserWarning: No artists with labels found to put in legend. "test_spss" # FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0! "test_show_version" # FutureWarning: In the future `np.bool` will be defined as the corresponding... "test_timedelta_cmp" "test_timestamp_cmp" ] ++ lib.optionals stdenv.isDarwin [ "test_clipboard" # FileNotFoundError: [Errno 2] No such file or directory: 'pbcopy' Loading
pkgs/development/python-modules/python-calamine/Cargo.lock 0 → 100644 +914 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
pkgs/development/python-modules/python-calamine/default.nix 0 → 100644 +61 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, cargo, fetchFromGitHub, poetry-core, pytestCheckHook, pythonOlder, rustc, packaging, rustPlatform, }: buildPythonPackage rec { pname = "python-calamine"; version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "dimastbk"; repo = "python-calamine"; rev = "refs/tags/v${version}"; hash = "sha256-zZqhvfpkkbWLhPJIthDgxqvPUMpaXkyptuzY2fcecHU="; }; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "pyo3-file-0.8.1" = "sha256-EqeXykP7CF8SU5LgT9+y/FDy79E/DAJT2fc1OrmlOZE="; }; }; postPatch = '' ln -s ${./Cargo.lock} Cargo.lock ''; build-system = [ cargo poetry-core rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook rustc ]; dependencies = [ packaging ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "python_calamine" ]; meta = { description = "Python binding for calamine"; homepage = "https://github.com/dimastbk/python-calamine"; changelog = "https://github.com/dimastbk/python-calamine/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "python-calamine"; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10221,6 +10221,8 @@ self: super: with self; { pywebcopy = callPackage ../development/python-modules/pywebcopy { }; python-calamine = callPackage ../development/python-modules/python-calamine { }; python-can = callPackage ../development/python-modules/python-can { }; python-codon-tables = callPackage ../development/python-modules/python-codon-tables { }; Loading