Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): lock file maintenance #10062

Merged
merged 10 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions ibis/backends/bigquery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,17 @@ def list_tables(
) -> list[str]:
"""List the tables in the database.

::: {.callout-note}
## Ibis does not use the word `schema` to refer to database hierarchy.

A collection of tables is referred to as a `database`.
A collection of `database` is referred to as a `catalog`.

These terms are mapped onto the corresponding features in each
backend (where available), regardless of whether the backend itself
uses the same terminology.
:::

Parameters
----------
like
Expand All @@ -902,18 +913,7 @@ def list_tables(

To specify a table in a separate BigQuery dataset, you can pass in the
dataset and project as a string `"dataset.project"`, or as a tuple of
strings `("dataset", "project")`.

::: {.callout-note}
## Ibis does not use the word `schema` to refer to database hierarchy.

A collection of tables is referred to as a `database`.
A collection of `database` is referred to as a `catalog`.

These terms are mapped onto the corresponding features in each
backend (where available), regardless of whether the backend itself
uses the same terminology.
:::
strings `(dataset, project)`.
schema
[deprecated] The schema (dataset) inside `database` to perform the list against.
"""
Expand Down
9 changes: 5 additions & 4 deletions ibis/backends/duckdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,10 @@ def to_pyarrow_batches(
For analytics use cases this is usually nothing to fret about. In some cases you
may need to explicit release the cursor.

::: {.callout-warning}
## DuckDB returns 1024 size batches regardless of what value of `chunk_size` argument is passed.
:::

Parameters
----------
expr
Expand All @@ -1385,10 +1389,7 @@ def to_pyarrow_batches(
limit
Limit the result to this number of rows
chunk_size
::: {.callout-warning}
## DuckDB returns 1024 size batches regardless of what argument is passed.
:::

The number of rows to fetch per batch
"""
self._run_pre_execute_hooks(expr)
table = expr.as_table()
Expand Down
29 changes: 17 additions & 12 deletions nix/quarto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ let
"aarch64-darwin" = "macos";
};
shas = {
"x86_64-linux" = "sha256-1HqjMENJ1H5RBaKIRZoUDGrdSEQOhhIiRLIQFqnkFlk=";
"aarch64-linux" = "sha256-kRh8wC4nzHuE25Ymj+e+cy6+cl0YYF44cUAZwbjCCvw=";
"aarch64-darwin" = "sha256-/1gV3MrRNuGPALzR+1o3x9BvZakyZDRYQwRUzagfHMA=";
"x86_64-linux" = "sha256-Ns3DLQ8V0gaxEJgStMJFat2kynRuAH1ysNypxNRTDsk=";
"aarch64-linux" = "sha256-3KjI7RRsFtrPNp7EJBlCACUQJukO9+CMf5UdkMMgqxU=";
"aarch64-darwin" = "sha256-9uX8CkZoQ7jgBoL3pp+NU73lN3RyzCGHbV0ag9vc+UY=";
};
inherit (stdenv.hostPlatform) system;
in
stdenv.mkDerivation rec {
pname = "quarto";
version = "1.5.55";
version = "1.6.9";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${version}/quarto-${version}-${platforms.${system}}.tar.gz";
sha256 = shas.${system};
Expand All @@ -37,13 +37,19 @@ stdenv.mkDerivation rec {

nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ] ++ [ makeWrapper ];

preFixup = ''
wrapProgram $out/bin/quarto \
--prefix QUARTO_ESBUILD : ${esbuild}/bin/esbuild \
--prefix QUARTO_DENO : ${deno}/bin/deno \
--prefix QUARTO_R : ${rWrapper.override { packages = with rPackages; [ dplyr reticulate rmarkdown tidyr ]; }}/bin/R \
--prefix QUARTO_DART_SASS : ${dart-sass}/bin/dart-sass
'';
preFixup =
let
rEnv = rWrapper.override {
packages = with rPackages; [ dplyr reticulate rmarkdown tidyr ];
};
in
''
wrapProgram $out/bin/quarto \
--prefix QUARTO_ESBUILD : ${esbuild}/bin/esbuild \
--prefix QUARTO_DENO : ${deno}/bin/deno \
--prefix QUARTO_R : ${rEnv}/bin/R \
--prefix QUARTO_DART_SASS : ${dart-sass}/bin/dart-sass
'';

installPhase = ''
runHook preInstall
Expand All @@ -67,7 +73,6 @@ stdenv.mkDerivation rec {
homepage = "https://quarto.org/";
changelog = "https://github.com/quarto-dev/quarto-cli/releases/tag/v${version}";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ mrtarantoga ];
platforms = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
sourceProvenance = with sourceTypes; [ binaryNativeCode binaryBytecode ];
};
Expand Down
Loading
Loading