1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Description: Debian has original retry, not reretry
Author: Nilesh Patra <nilesh@debian.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
--- a/snakemake/remote/__init__.py
+++ b/snakemake/remote/__init__.py
@@ -13,7 +13,7 @@ from contextlib import contextmanager
import shutil
from wrapt import ObjectProxy
-from reretry import retry
+from retry import retry
try:
from connection_pool import ConnectionPool
--- a/snakemake/sourcecache.py
+++ b/snakemake/sourcecache.py
@@ -428,7 +428,7 @@ class SourceCache:
os.utime(cache_entry, times=(mtime, mtime))
def _open_local_or_remote(self, source_file: SourceFile, mode, encoding=None):
- from reretry.api import retry_call
+ from retry.api import retry_call
if source_file.is_local:
return self._open(source_file, mode, encoding=encoding)
--- a/setup.cfg
+++ b/setup.cfg
@@ -48,7 +48,7 @@ install_requires =
pulp >=2.0
pyyaml
requests
- reretry
+ retry
smart_open >=3.0
stopit
tabulate
|