Skip to content

Commit f8964d9

Browse files
committed
Testing wheel generation
1 parent 71461df commit f8964d9

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

tests/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
urllib3<2.0.0;python_version<="3.7"
2+
urllib3
13
flake8
24
pytest==4.6.9;python_version<="3.0"
35
pytest>=6.0.0;python_version>="3.0"
46
pytest-timeout
57
requests-mock
68
trivup>=0.8.3
9+
fastavro==1.8.0;python_version=="3.7"
10+
fastavro>=1.8.4;python_version>"3.7"
711
fastavro
812
avro>=1.11.1,<2
913
jsonschema

tools/build-manylinux.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ 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
93-
"${PYBIN}/python" -c 'import confluent_kafka; print(confluent_kafka.libversion())'
94-
"${PYBIN}/pip" install -r /io/tests/requirements.txt
95-
"${PYBIN}/pytest" /io/tests/test_Producer.py
92+
"${PYBIN}pip" -V
93+
"${PYBIN}pip" install confluent_kafka -f /io/wheelhouse
94+
"${PYBIN}python" -c 'import confluent_kafka; print(confluent_kafka.libversion())'
95+
"${PYBIN}pip" install -r /io/tests/requirements.txt
96+
"${PYBIN}pytest" /io/tests/test_Producer.py
9697
echo "## Uninstalling $PYBIN"
97-
"${PYBIN}/pip" uninstall -y confluent_kafka
98+
"${PYBIN}pip" uninstall -y confluent_kafka
9899
break
99100
fi
100101
done

0 commit comments

Comments
 (0)