Comments (1)
We are currently running the tests against 3.6. I ran the unit tests against 3.7 and hit this failure (presumably PEP 479):
======================================================================
ERROR: test_decode_message_set_stop_iteration (afkak.test.test_kafkacodec.TestKafkaCodec)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".../afkak/kafkacodec.py", line 133, in _decode_message_set_iter
((offset, ), cur) = relative_unpack('>q', data, cur)
File ".../afkak/_util.py", line 155, in relative_unpack
raise BufferUnderflowError("Not enough data left")
afkak.common.BufferUnderflowError: Not enough data left
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".../afkak/kafkacodec.py", line 153, in _decode_message_set_iter
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File ".../afkak/test/test_kafkacodec.py", line 323, in test_decode_message_set_stop_iteration
msgs = list(KafkaCodec._decode_message_set_iter(encoded))
RuntimeError: generator raised StopIteration
I'll fix this right away.
Note that Python 3 support is only present in master at the moment. I want to merge #51 before issuing a 3.0 as it is a major change with public API impact (it requires changing things that are public API surface but probably shouldn't have been). We are using a snapshot of current master internally without issue, but that is on Python 2.7.
from afkak.
Related Issues (20)
- When is the lz4 compression format supported? HOT 1
- Duplicate supported codec constant
- Consumer: long max_fetch_time can cause timeouts
- Using afkak with kafka's SSL auth HOT 2
- attrs 19.2.0 deprecations
- Readme examples not working HOT 1
- Version mismatch HOT 1
- ResourceWarning running integration tests on Python 3.8
- TLS Failing HOT 1
- Afkak update for latest broker protocol support in broker version `3.4`
- TestAfkakClientIntegration.test_roundtrip_large_request assertion error HOT 3
- Publish afkak releases to PyPI HOT 3
- KafkaClient.close() doesn't fully clean up
- Readme should link to changelog HOT 1
- Write release procedure HOT 1
- Document ConsumerGroup HOT 1
- Consumer fails with `RecursionError: Maximum recursion depth exceeded` HOT 1
- Example scripts do not work with Python3
- Consumer: FailedPayloadError when stopping consumer HOT 2
- Consumer: max fetch time defaults don't match HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afkak.