From 9e36c09dc3794b77b1efe5923ccfeefe9e331f79 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Wed, 12 Jan 2022 19:50:51 -0500 Subject: [PATCH] version 0.3.1 Changes since 0.3.0: - The experimental C implementation has been bumped to v0.0.1. Testers and reviewers can install this implementation from TestPyPI with: `pip install -i https://test.pypi.org/simple/ blake3-experimental-c` - We now avoid releasing the GIL for short inputs and release the GIL for long outputs in addition to long inputs. - The experimental C implementation now has GIL handling matching the Rust implementation. - Both implementations now contain an internal mutex, to protect the state object from data races. However, it's still possible for data races to occur in the input buffer. (This is also the case for standard hashlib implementations.) --- Cargo.toml | 2 +- c_impl/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 56005a4..8ad75ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ # PyPI. Installing this with `pip install blake3` is better than something # redundant like `pip install PyBLAKE3-py`. name = "blake3" -version = "0.3.0" +version = "0.3.1" authors = ["Jack O'Connor "] description = "Python bindings for the Rust blake3 crate" repository = "https://github.com/oconnor663/blake3-py" diff --git a/c_impl/setup.py b/c_impl/setup.py index d8d9ad5..a159d8b 100644 --- a/c_impl/setup.py +++ b/c_impl/setup.py @@ -6,7 +6,7 @@ import subprocess import sys -VERSION = "0.0.0" +VERSION = "0.0.1" DESCRIPTION = "experimental bindings for the BLAKE3 C implementation, API-compatible with the Rust-based blake3 module" unix_asm_files = [