Page MenuHomePhabricator

contrib: correct version check
ClosedPublic

Authored by PiRK on Oct 12 2021, 08:47.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC5b71c10db3f7: contrib: correct version check
Summary

[ not(major >= 3 and minor >= 6) ] fails for '4.0'

This is a backport of core#13699

D1120 introduced f-strings which require python >= 3.6

Test Plan

Run contrib/zmq/zmq_pub.py with python >= 3.6 and verify that it doesn't print the error message about the python version.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Oct 12 2021, 08:47
This revision is now accepted and ready to land.Oct 12 2021, 09:53
This revision was automatically updated to reflect the committed changes.