Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
BLD: newer versions of meson are pickier about types
Some versions of meson fail with the following error:

  ../pandas/_libs/meson.build:158:7: ERROR: python.extension_module keyword argument 'dependencies' was of type array[str] but should have been array[Dependency | InternalDependency]

Switching the default dependency list to [] rather than '' fixes the build.
  • Loading branch information
tacaswell committed Dec 18, 2025
commit 60877b32ce8e610b3546944a694abf1684656a96
2 changes: 1 addition & 1 deletion pandas/_libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ foreach ext_name, ext_dict : libs_sources
ext_dict.get('sources'),
cython_args: cython_args,
include_directories: [inc_np, inc_pd],
dependencies: ext_dict.get('deps', ''),
dependencies: ext_dict.get('deps', []),
subdir: 'pandas/_libs',
install: true,
)
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ foreach ext_name, ext_dict : tslibs_sources
ext_dict.get('sources'),
cython_args: cython_args,
include_directories: [inc_np, inc_pd],
dependencies: ext_dict.get('deps', ''),
dependencies: ext_dict.get('deps', []),
subdir: 'pandas/_libs/tslibs',
install: true,
)
Expand Down
Loading