Upstream changes: * Change deflate_tree: base_length[] and length_code[] not to be const * Drop support for python 3.8 and add support for python 3.13 PR: 283532