diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-26 05:47:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-26 05:47:38 +0000 |
| commit | a79c31aa56e2e24578d24df331804a869bc86948 (patch) | |
| tree | d15eb21a4a1e97ffa6cb865157419d4790a52e7f /dev-python/kafka-python/files | |
| parent | 2951002562ac82c23bc570fd82d42d19b0b60304 (diff) | |
| download | baldeagleos-repo-a79c31aa56e2e24578d24df331804a869bc86948.tar.gz baldeagleos-repo-a79c31aa56e2e24578d24df331804a869bc86948.tar.xz baldeagleos-repo-a79c31aa56e2e24578d24df331804a869bc86948.zip | |
Adding metadata
Diffstat (limited to 'dev-python/kafka-python/files')
| -rw-r--r-- | dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch b/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch deleted file mode 100644 index 8b983952fd47..000000000000 --- a/dev-python/kafka-python/files/kafka-python-2.0.2-py311-test-fixes.patch +++ /dev/null @@ -1,26 +0,0 @@ -Fix tests for Py3.11 - -Upstream-PR: https://github.com/dpkp/kafka-python/pull/2358 - -diff --git a/test/test_assignors.py b/test/test_assignors.py -index 67e91e131..a1214d8fa 100644 ---- a/test/test_assignors.py -+++ b/test/test_assignors.py -@@ -661,7 +661,7 @@ def test_reassignment_with_random_subscriptions_and_changes(mocker, execution_nu - - subscriptions = defaultdict(set) - for i in range(n_consumers): -- topics_sample = sample(all_topics, randint(1, len(all_topics) - 1)) -+ topics_sample = sample(sorted(all_topics), randint(1, len(all_topics) - 1)) - subscriptions['C{}'.format(i)].update(topics_sample) - - member_metadata = make_member_metadata(subscriptions) -@@ -671,7 +671,7 @@ def test_reassignment_with_random_subscriptions_and_changes(mocker, execution_nu - - subscriptions = defaultdict(set) - for i in range(n_consumers): -- topics_sample = sample(all_topics, randint(1, len(all_topics) - 1)) -+ topics_sample = sample(sorted(all_topics), randint(1, len(all_topics) - 1)) - subscriptions['C{}'.format(i)].update(topics_sample) - - member_metadata = {} |
