Drop dependency on future

This commit is contained in:
Lumir Balhar 2023-08-29 19:07:03 +02:00
parent b9020ced62
commit f9506b8fcb
3 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,3 @@
from future.moves.itertools import zip_longest
import random
import itertools
@ -53,7 +52,7 @@ class IntroductionPointSet(object):
"""
# Combine intro points from across the backend instances and flatten
intro_points = zip_longest(*self.intro_points)
intro_points = itertools.zip_longest(*self.intro_points)
flat_intro_points = itertools.chain.from_iterable(intro_points)
for intro_point in itertools.cycle(flat_intro_points):
if intro_point:

View File

@ -4,5 +4,3 @@ stem>=1.8
pyyaml>=4.2b1
cryptography>=3.2
pycryptodomex
future>=0.14.3

View File

@ -47,7 +47,6 @@ setup(
'stem>=1.8',
'PyYAML>=4.2b1',
'pycryptodomex',
'future>=0.14.0',
'setproctitle',
'cryptography>=2.5',
],