From 0796b07dacf6fdf353057526b22a96e4b050affc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 31 Oct 2019 09:49:34 +0100 Subject: [PATCH 1/2] list the LICENSE as a license_file Data files are installed in the wrong directory when packaging this, and it is very uncommon to do so. data files should be files needed for the runtime only. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 819324850..c54a99c32 100755 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def get_install_requirements(path): ext_modules=[module], packages=find_packages('src'), package_dir={'': 'src'}, - data_files=[('', [os.path.join(work_dir, 'LICENSE.txt')])], + license_files=('LICENSE.txt', ), install_requires=INSTALL_REQUIRES, classifiers=trove_classifiers, extras_require={ From e35e12aa7c0ca903aaf4c41a6a8ee20c7e6336e8 Mon Sep 17 00:00:00 2001 From: Emanuele Sabellico Date: Mon, 13 Nov 2023 16:01:01 +0100 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85f5ee106..bae645641 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Confluent's Python client for Apache Kafka +## v2.3.1 (can change before next release) + + - Remove LICENCE.txt that was incorrectly installed as a data file (@dirkmueller, @asottile-sentry, #1672) + +confluent-kafka-python is based on librdkafka v2.3.1, see the +[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.3.1) +for a complete list of changes, enhancements, fixes and upgrade considerations. + ## v2.3.0 v2.3.0 is a feature release with the following features, fixes and enhancements: