Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33615

build_wheels_on_macos failed with "Multiple top-level packages discovered in a flat-layout"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.18.0
    • None
    • Build System

    Description

      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

             × 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. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            mapohl Matthias Pohl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: