Page MenuHomeSoftware Heritage

hashutil: drop all pre-3.6 blake2 workarounds
ClosedPublic

Authored by olasd on Dec 22 2021, 3:48 PM.

Details

Summary

blake2s and blake2b have been provided by the stdlib hashlib since
Python 3.6, and we declare 3.7 as minimum Python version supported.

Test Plan

toxed

Diff Detail

Repository
rDMOD Data model
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25774
Build 40287: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 40286: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6868 (id=24907)

Rebasing onto 9d517c1792...

Current branch diff-target is up to date.
Changes applied before test
commit c6ec4d87c50fd5b728ed33e0565a8f3e922910a7
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Wed Dec 22 15:46:01 2021 +0100

    hashutil: drop all pre-3.6 blake2 workarounds
    
    blake2s and blake2b have been provided by the stdlib hashlib since
    Python 3.6, and we declare 3.7 as minimum Python version supported.

See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/439/ for more details.

olasd requested review of this revision.Dec 22 2021, 3:50 PM
This revision is now accepted and ready to land.Dec 22 2021, 3:57 PM