Skip to content

Commit 60877b3

Browse files
committed
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.
1 parent a682616 commit 60877b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_libs/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ foreach ext_name, ext_dict : libs_sources
160160
ext_dict.get('sources'),
161161
cython_args: cython_args,
162162
include_directories: [inc_np, inc_pd],
163-
dependencies: ext_dict.get('deps', ''),
163+
dependencies: ext_dict.get('deps', []),
164164
subdir: 'pandas/_libs',
165165
install: true,
166166
)

pandas/_libs/tslibs/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ foreach ext_name, ext_dict : tslibs_sources
4040
ext_dict.get('sources'),
4141
cython_args: cython_args,
4242
include_directories: [inc_np, inc_pd],
43-
dependencies: ext_dict.get('deps', ''),
43+
dependencies: ext_dict.get('deps', []),
4444
subdir: 'pandas/_libs/tslibs',
4545
install: true,
4646
)

0 commit comments

Comments
 (0)