File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 44
55v2.3.0 is a feature release with the following features, fixes and enhancements:
66
7+ * Add Python 3.12 wheels
78 * Add support for AdminAPI ` DescribeCluster() ` and ` DescribeTopics() ` . (@jainruchir , #1635 )
89 * [ KIP-430] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-430+-+Return+Authorized+Operations+in+Describe+Responses ) :
910 Return authorized operations in Describe Responses. (@jainruchir , #1635 )
Original file line number Diff line number Diff line change 1+ urllib3 < 2.0.0 ;python_version < ="3.7"
2+ urllib3
13flake8
24pytest == 4.6.9 ;python_version < ="3.0"
35pytest >= 6.0.0 ;python_version >= "3.0"
46pytest-timeout
57requests-mock
68trivup >= 0.8.3
9+ fastavro < 1.8.0 ;python_version == "3.7"
10+ fastavro >= 1.8.4 ;python_version > "3.7"
711fastavro
812avro >= 1.11.1 ,< 2
913jsonschema
Original file line number Diff line number Diff line change 1515# docker run -t -v $(pwd):/io quay.io/pypa/manylinux2010_x86_64:latest /io/tools/build-manylinux.sh <librdkafka_tag>
1616
1717LIBRDKAFKA_VERSION=$1
18- PYTHON_VERSIONS=(" cp36" " cp37" " cp38" " cp39" " cp310" " cp311" )
18+ PYTHON_VERSIONS=(" cp36" " cp37" " cp38" " cp39" " cp310" " cp311" " cp312 " )
1919
2020if [[ -z " $LIBRDKAFKA_VERSION " ]]; then
2121 echo " Usage: $0 <librdkafka_tag>"
8585
8686# Install packages and test
8787echo " # Installing wheels"
88- for PYBIN in /opt/python/cp* /bin/ ; do
88+ for PYBIN in /opt/python/cp* /bin; do
8989 for PYTHON_VERSION in " ${PYTHON_VERSIONS[@]} " ; do
9090 if [[ $PYBIN == * " $PYTHON_VERSION " * ]]; then
9191 echo " ## Installing $PYBIN "
92- " ${PYBIN} /pip" install confluent_kafka -f /io/wheelhouse
92+ " ${PYBIN} /pip" -V
93+ " ${PYBIN} /pip" install --no-index -f /io/wheelhouse confluent_kafka
9394 " ${PYBIN} /python" -c ' import confluent_kafka; print(confluent_kafka.libversion())'
9495 " ${PYBIN} /pip" install -r /io/tests/requirements.txt
9596 " ${PYBIN} /pytest" /io/tests/test_Producer.py
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ export MAKE=mingw32-make # so that Autotools can find it
88
99cmd /c mklink /D C:\P ython38\p ython3.exe C:\P ython38\p ython.exe
1010
11- python -m pip install cibuildwheel==2.12.0
11+ python -m pip install cibuildwheel==2.16.2
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ set WHEELHOUSE=%4
1313if [%WHEELHOUSE% ]== [] goto usage
1414echo on
1515
16- set CIBW_BUILD = cp36-%BW_ARCH% cp37-%BW_ARCH% cp38-%BW_ARCH% cp39-%BW_ARCH% cp310-%BW_ARCH% cp311-%BW_ARCH%
16+ set CIBW_BUILD = cp36-%BW_ARCH% cp37-%BW_ARCH% cp38-%BW_ARCH% cp39-%BW_ARCH% cp310-%BW_ARCH% cp311-%BW_ARCH% cp312- %BW_ARCH%
1717set CIBW_BEFORE_BUILD = python -m pip install delvewheel==1.1.4
1818set CIBW_TEST_REQUIRES = -r tests/requirements.txt
1919set CIBW_TEST_COMMAND = pytest {project}\tests\test_Producer.py
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export CIBW_TEST_COMMAND="pytest {project}/tests/test_Producer.py"
1616
1717librdkafka_version=$1
1818wheeldir=$2
19- cibuildwheel_version=" 2.12.0 "
19+ cibuildwheel_version=" 2.16.2 "
2020
2121if [[ -z $wheeldir ]]; then
2222 echo " Usage: $0 <librdkafka-nuget-version> <wheeldir>"
You can’t perform that action at this time.
0 commit comments