forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
duckdb: Incorporate changes from NixOS#257452
- Loading branch information
Showing
7 changed files
with
100 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkgs/development/python-modules/duckdb-engine/remote_data.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/duckdb_engine/tests/test_basic.py b/duckdb_engine/tests/test_basic.py | ||
index 302636f..ed20f12 100644 | ||
--- a/duckdb_engine/tests/test_basic.py | ||
+++ b/duckdb_engine/tests/test_basic.py | ||
@@ -183,7 +183,6 @@ def test_get_views(engine: Engine) -> None: | ||
|
||
|
||
@mark.skipif(os.uname().machine == "aarch64", reason="not supported on aarch64") | ||
-@mark.remote_data | ||
def test_preload_extension() -> None: | ||
duckdb.default_connection.execute("INSTALL httpfs") | ||
engine = create_engine( | ||
diff --git a/duckdb_engine/tests/test_integration.py b/duckdb_engine/tests/test_integration.py | ||
index 349c976..bf3dbaa 100644 | ||
--- a/duckdb_engine/tests/test_integration.py | ||
+++ b/duckdb_engine/tests/test_integration.py | ||
@@ -24,7 +24,6 @@ def test_integration(engine: Engine) -> None: | ||
conn.execute(text("select * from test_df")) | ||
|
||
|
||
-@mark.remote_data | ||
@mark.skipif( | ||
"dev" in duckdb.__version__, reason="md extension not available for dev builds" # type: ignore[attr-defined] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/tools/pythonpkg/setup.py b/tools/pythonpkg/setup.py | ||
index fdf2911019..c363cc518a 100644 | ||
--- a/tools/pythonpkg/setup.py | ||
+++ b/tools/pythonpkg/setup.py | ||
@@ -163,8 +163,6 @@ if 'BUILD_HTTPFS' in os.environ: | ||
for ext in extensions: | ||
toolchain_args.extend(['-DDUCKDB_EXTENSION_{}_LINKED'.format(ext.upper())]) | ||
|
||
-toolchain_args.extend(['-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1', '-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1']) | ||
- | ||
|
||
class get_pybind_include(object): | ||
def __init__(self, user=False): | ||
@@ -343,7 +341,7 @@ setup( | ||
packages=packages, | ||
include_package_data=True, | ||
python_requires='>=3.7.0', | ||
- setup_requires=setup_requires + ["setuptools_scm<7.0.0", 'pybind11>=2.6.0'], | ||
+ setup_requires=setup_requires + ["setuptools_scm", 'pybind11>=2.6.0'], | ||
use_scm_version=setuptools_scm_conf, | ||
tests_require=['google-cloud-storage', 'mypy', 'pytest'], | ||
classifiers=[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters