Hongshun Wang created FLINK-37396: ------------------------------------- Summary: Kafka connector python test fail Key: FLINK-37396 URL: https://issues.apache.org/jira/browse/FLINK-37396 Project: Flink Issue Type: Improvement Components: Connectors / Kafka Affects Versions: kafka-3.4.0 Reporter: Hongshun Wang Attachments: image-2025-02-27-16-47-24-728.png
In the recently a week, all the kafka connector overflow's python test fail with: {code:java} rror: Multiple top-level packages discovered in a flat-layout: ['dev', 'target', 'pyflink']. 76 77To avoid accidental inclusion of unwanted files or directories, 78setuptools will not proceed with this build. 79 80If you are trying to create a single distribution with multiple packages 81on purpose, you should not rely on automatic discovery. 82Instead, consider the following options: 83 841. set up custom discovery (`find` directive with `include` or `exclude`) 852. use a `src-layout` 863. explicitly set `py_modules` or `packages` with a list of names 87 88To find more information, look for "package discovery" on setuptools docs. 89 90=================================== log end ==================================== 91ERROR: FAIL could not package project - v = InvocationError('/home/runner/work/flink-connector-kafka/flink-connector-kafka/flink-python/dev/.uv/bin/python setup.py sdist --formats=zip --dist-dir /home/runner/work/flink-connector-kafka/flink-connector-kafka/flink-python/.tox/dist', 1) 92============tox checks... [FAILED]============ 93./dev/lint-python.sh: line 596: deactivate: command not found 94Error: Process completed with exit code 1. {code} !image-2025-02-27-16-47-24-728.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)