Page MenuHomePhabricator

contrib: correct version check
ClosedPublic

Authored by PiRK on Tue, Oct 12, 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.Tue, Oct 12, 08:47
This revision is now accepted and ready to land.Tue, Oct 12, 09:53
This revision was automatically updated to reflect the committed changes.