intake / intake/python-snappy

0.7.3 has breaking changes to 0.7.2

Aperta
#147 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
490
Fork
104
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.