Skip to content

Commit 5871956

Browse files
committed
Use poetry
1 parent b2faa89 commit 5871956

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ requires = [ "poetry-core>=2.0.0,<3.0.0", "wheel"]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
# only use poetry for dependency management
7-
#package-mode = false
86
packages = [{include = "confluent_kafka", from = "src"}]
97

108
[tool.poetry.dependencies]

tools/source-package-verification.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
#
66
set -e
77

8+
pip install poetry
9+
poetry install --all-extras --no-root
10+
pip install tests/trivup/trivup-0.12.7.tar.gz
811
pip install -U build
912

1013
lib_dir=dest/runtimes/$OS_NAME-$ARCH/native
@@ -14,9 +17,7 @@ export LDFLAGS="$LDFLAGS -L${PWD}/${lib_dir}"
1417
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/$lib_dir"
1518
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$PWD/$lib_dir"
1619

17-
pip install poetry
18-
poetry install --all-extras
19-
pip install tests/trivup/trivup-0.12.7.tar.gz
20+
python3 -m pip install .
2021

2122
if [[ $OS_NAME == linux && $ARCH == x64 ]]; then
2223
if [[ -z $TEST_CONSUMER_GROUP_PROTOCOL ]]; then

0 commit comments

Comments
 (0)