intake / intake/python-snappy

0.7.3 has breaking changes to 0.7.2

Ouverte
#147 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
490
Forks
104
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by comparing the 0.7.2 and 0.7.3 behavior around snappy_formats.DEFAULT_FORMAT and get_decompress_function, then review the unit tests that use snappy.StreamCompressor. The report does not define whether done means restoring compatibility, providing a migration path, or documenting the breaking change, so that outcome needs clarification.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
backend
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.