Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

Plan for adding python-duckdb recipe

  • Create directory structure for python-duckdb recipe
  • Create recipe.yaml file with proper metadata and dependencies
  • Create test_import_duckdb.py test file
  • Update URL format to use pypi.io standard format
  • Fix SHA256 checksum
  • Add scikit-build-core and setuptools_scm dependencies
  • Run code review and verify recipe follows repository conventions
  • Add build.sh with PYBIND11_INCLUDE_DIR export (addresses CI failure)

Summary

Successfully added python-duckdb recipe (version 1.4.3) for emscripten-wasm32 platform. The recipe includes:

Recipe Features:

  • Proper source URL using PyPI standard format
  • Correct SHA256 checksum
  • Build script with PYBIND11_INCLUDE_DIR environment variable export
  • Build dependencies: python, cross-python, C/C++ compilers, cmake, ninja, pip, scikit-build-core, setuptools_scm
  • Host dependencies: python, pybind11, pip
  • Runtime dependency: python
  • Test infrastructure using pytester

Latest Changes:

  • Created build.sh to set PYBIND11_INCLUDE_DIR=$PREFIX/include before pip install (similar to contourpy recipe)
  • Removed inline script from recipe.yaml in favor of build.sh file

The recipe follows all emscripten-forge conventions and patterns observed in similar packages like contourpy, apsw, and boost-histogram.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add a python-duckdb package</issue_title>
<issue_description>Similar to https://github.com/conda-forge/python-duckdb-feedstock/blob/main/recipe/meta.yaml, add a python-duckdb recipe here. Which must be tested</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add python-duckdb package and test Add python-duckdb Jan 19, 2026
Copilot AI requested a review from martinRenou January 19, 2026 10:13
@martinRenou
Copy link
Contributor

@copilot CI is not passing, can you try adding

export PYBIND11_INCLUDE_DIR=$PREFIX/include

prior to pip install similar to the contourpy recipe here

Copy link
Contributor Author

Copilot AI commented Jan 19, 2026

@copilot CI is not passing, can you try adding

...

Added build.sh file with export PYBIND11_INCLUDE_DIR=$PREFIX/include before pip install, similar to the contourpy recipe. Commit: 246779d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a python-duckdb package

2 participants