[ https://issues.apache.org/jira/browse/FLINK-33615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Pohl updated FLINK-33615: ---------------------------------- Summary: build_wheels_on_macos failed with "Multiple top-level packages discovered in a flat-layout" (was: build_wheels_on_macos failed) > build_wheels_on_macos failed with "Multiple top-level packages discovered in > a flat-layout" > ------------------------------------------------------------------------------------------- > > Key: FLINK-33615 > URL: https://issues.apache.org/jira/browse/FLINK-33615 > Project: Flink > Issue Type: Bug > Components: Build System > Affects Versions: 1.18.0 > Reporter: Matthias Pohl > Priority: Major > Labels: test-stability > > [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=54783&view=logs&j=f73b5736-8355-5390-ec71-4dfdec0ce6c5&t=90f7230e-bf5a-531b-8566-ad48d3e03bbb&l=169] > {code:java} > × Getting requirements to build wheel did not run successfully. > │ exit code: 1 > ╰─> [14 lines of output] > error: Multiple top-level packages discovered in a flat-layout: > ['bson', 'gridfs', 'pymongo']. > > To avoid accidental inclusion of unwanted files or directories, > setuptools will not proceed with this build. > > If you are trying to create a single distribution with multiple > packages > on purpose, you should not rely on automatic discovery. > Instead, consider the following options: > > 1. set up custom discovery (`find` directive with `include` or > `exclude`) > 2. use a `src-layout` > 3. explicitly set `py_modules` or `packages` with a list of names > > To find more information, look for "package discovery" on > setuptools docs. > [end of output] > > note: This error originates from a subprocess, and is likely not a > problem with pip. > error: subprocess-exited-with-error > > × Getting requirements to build wheel did not run successfully. > │ exit code: 1 > ╰─> See above for output. > > note: This error originates from a subprocess, and is likely not a > problem with pip. {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)