intake / intake/python-snappy

0.7.3 has breaking changes to 0.7.2

未关闭
#147 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
490
派生
104
PR 合并指标
30 天内没有已合并 PR

描述

Hello,
Seems like patch versions were used for backward incompatible changes.
Example:

I have the following function that works fine in 0.7.2:

```
def snappy_decompress_stream(in_file, out_file):
decompress_func, read_chunk = snappy_formats.get_decompress_function(snappy_formats.DEFAULT_FORMAT, in_file)
decompress_func(in_file, out_file, start_chunk=read_chunk)
```

The above function doesn't work in 0.7.3
There is no `snappy_formats.DEFAULT_FORMAT` anymore. Looking at the unit tests, it seems `get_decompress_function`is not used and instead a `snappy.StreamCompressor` is introduced.

I'm a little confused about a patch breaking all the above!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。