Skip to content

Update Python versions#40

Merged
bguise987 merged 4 commits intodevelopfrom
update-python-versions
Jan 22, 2026
Merged

Update Python versions#40
bguise987 merged 4 commits intodevelopfrom
update-python-versions

Conversation

@bguise987
Copy link
Copy Markdown
Owner

It has been awhile!

  • Update tox.ini for newer file format
  • Update tox.ini to utilize more recent Python versions
  • Update GitHub actions Python matrix to more recent Python versions

@bguise987 bguise987 merged commit 739c720 into develop Jan 22, 2026
6 checks passed
@bguise987 bguise987 deleted the update-python-versions branch January 22, 2026 22:41
bguise987 added a commit that referenced this pull request Mar 11, 2026
* Update github username (#39)

* Update Python versions (#40)

* Update tox.ini for newer file format and new Python versions

* Update GitHub Actions workflow to use newer Python versions

* Update GitHub Actions versions

* Bugfix/fix race condition (#41)

* Fix race condition causing intermittent gzip corruption

The _process_chunk method checked _last_chunk to determine whether to
use Z_FINISH, but _last_chunk wasn't set until after the read thread
submitted the final chunk. This caused the last chunk to sometimes be
compressed with Z_SYNC_FLUSH instead of Z_FINISH, producing invalid
gzip files with unterminated deflate streams (00 00 FF FF marker).

Fix by peeking ahead in _read_file to determine is_last before
submitting to the pool, and passing the flag directly to _process_chunk.

* Update tests to reflect passing in is_last to _process_chunk

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bguise987 added a commit that referenced this pull request Apr 2, 2026
* Update github username (#39)

* Update Python versions (#40)

* Update tox.ini for newer file format and new Python versions

* Update GitHub Actions workflow to use newer Python versions

* Update GitHub Actions versions

* Specify GitHub actions Python versions as strings

* Bugfix/fix race condition (#41)

* Fix race condition causing intermittent gzip corruption

The _process_chunk method checked _last_chunk to determine whether to
use Z_FINISH, but _last_chunk wasn't set until after the read thread
submitted the final chunk. This caused the last chunk to sometimes be
compressed with Z_SYNC_FLUSH instead of Z_FINISH, producing invalid
gzip files with unterminated deflate streams (00 00 FF FF marker).

Fix by peeking ahead in _read_file to determine is_last before
submitting to the pool, and passing the flag directly to _process_chunk.

* Update tests to reflect passing in is_last to _process_chunk

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

* Update how package gets version metadata (#43)

* Update how package gets version metadata

* Add pyproject.toml

* Delete setup.py

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
bguise987 added a commit that referenced this pull request Apr 2, 2026
* Update github username (#39)

* Update Python versions (#40)

* Update tox.ini for newer file format and new Python versions

* Update GitHub Actions workflow to use newer Python versions

* Update GitHub Actions versions

* Specify GitHub actions Python versions as strings

* Bugfix/fix race condition (#41)

* Fix race condition causing intermittent gzip corruption

The _process_chunk method checked _last_chunk to determine whether to
use Z_FINISH, but _last_chunk wasn't set until after the read thread
submitted the final chunk. This caused the last chunk to sometimes be
compressed with Z_SYNC_FLUSH instead of Z_FINISH, producing invalid
gzip files with unterminated deflate streams (00 00 FF FF marker).

Fix by peeking ahead in _read_file to determine is_last before
submitting to the pool, and passing the flag directly to _process_chunk.

* Update tests to reflect passing in is_last to _process_chunk

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

* Update how package gets version metadata (#43)

* Update how package gets version metadata

* Add pyproject.toml

* Delete setup.py

* Version bump to 2.0.0

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant