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 4
4
5
5
v2.3.0 is a feature release with the following features, fixes and enhancements:
6
6
7
+ * Add Python 3.12 wheels
7
8
* Add support for AdminAPI ` DescribeCluster() ` and ` DescribeTopics() ` . (@jainruchir , #1635 )
8
9
* [ KIP-430] ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-430+-+Return+Authorized+Operations+in+Describe+Responses ) :
9
10
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
1
3
flake8
2
4
pytest == 4.6.9 ;python_version < ="3.0"
3
5
pytest >= 6.0.0 ;python_version >= "3.0"
4
6
pytest-timeout
5
7
requests-mock
6
8
trivup >= 0.8.3
9
+ fastavro < 1.8.0 ;python_version == "3.7"
10
+ fastavro >= 1.8.4 ;python_version > "3.7"
7
11
fastavro
8
12
avro >= 1.11.1 ,< 2
9
13
jsonschema
Original file line number Diff line number Diff line change 15
15
# docker run -t -v $(pwd):/io quay.io/pypa/manylinux2010_x86_64:latest /io/tools/build-manylinux.sh <librdkafka_tag>
16
16
17
17
LIBRDKAFKA_VERSION=$1
18
- PYTHON_VERSIONS=(" cp36" " cp37" " cp38" " cp39" " cp310" " cp311" )
18
+ PYTHON_VERSIONS=(" cp36" " cp37" " cp38" " cp39" " cp310" " cp311" " cp312 " )
19
19
20
20
if [[ -z " $LIBRDKAFKA_VERSION " ]]; then
21
21
echo " Usage: $0 <librdkafka_tag>"
85
85
86
86
# Install packages and test
87
87
echo " # Installing wheels"
88
- for PYBIN in /opt/python/cp* /bin/ ; do
88
+ for PYBIN in /opt/python/cp* /bin; do
89
89
for PYTHON_VERSION in " ${PYTHON_VERSIONS[@]} " ; do
90
90
if [[ $PYBIN == * " $PYTHON_VERSION " * ]]; then
91
91
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
93
94
" ${PYBIN} /python" -c ' import confluent_kafka; print(confluent_kafka.libversion())'
94
95
" ${PYBIN} /pip" install -r /io/tests/requirements.txt
95
96
" ${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
8
8
9
9
cmd /c mklink /D C:\P ython38\p ython3.exe C:\P ython38\p ython.exe
10
10
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
13
13
if [%WHEELHOUSE% ]== [] goto usage
14
14
echo on
15
15
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%
17
17
set CIBW_BEFORE_BUILD = python -m pip install delvewheel==1.1.4
18
18
set CIBW_TEST_REQUIRES = -r tests/requirements.txt
19
19
set 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"
16
16
17
17
librdkafka_version=$1
18
18
wheeldir=$2
19
- cibuildwheel_version=" 2.12.0 "
19
+ cibuildwheel_version=" 2.16.2 "
20
20
21
21
if [[ -z $wheeldir ]]; then
22
22
echo " Usage: $0 <librdkafka-nuget-version> <wheeldir>"
You can’t perform that action at this time.
0 commit comments