-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python tests are broken in branch-2.10 #20314
Comments
This change was only released in BookKeeper 4.16.0 apache/bookkeeper#3875. Pulsar branch-2.10 uses BookKeeper 4.14.7, which doesn't contain this PR. |
I wonder if we should maintain the Python client in the previous branches. |
@lhotari We are fetching the latest bookkeeper in the python tests.
We replaced the python collections to collections.abc in apache/bookkeeper#3875 and released in 4.16. So it breaks the python test. In Pulsar, we need to use a fixed bookkeeper version to avoid getting the latest version. |
--- Fixes: apache#20314 ### Motivation Use the fixed version of bookie-client to avoid some break changes.
@mattisonchao See my previous discussion here. @zymap @lhotari I think we can change the way to install the Python client for functions. Currently, it's installed by: pip install pulsar-client[functions] However, it's equivalent to: pip install pulsar-client
pip install <some-other-dependencies>... Because the dependencies by the extra pip install pulsar-client
# I assumes BK client 4.16.0 is still compatible with Python 2.7
pip install apache-bookkeeper-client==4.16.0
# TODO: pip install other dependencies |
The issue had no activity for 30 days, mark with Stale label. |
The python tests seem to break because of Python 2.7 compatibility issues
it seems to be related to apache/bookkeeper#3875 changes.
@zymap do you have a solution for fixing the Python tests in branch-2.10?
The text was updated successfully, but these errors were encountered: