Skip to content

Commit c6f5d32

Browse files
committed
Fix humanfriendly deprecation warnings
1 parent fc28ac0 commit c6f5d32

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Installation requirements.
22

33
coloredlogs >= 5.1
4-
executor >= 21.3
5-
humanfriendly >= 7.1
4+
executor >= 23.1
5+
humanfriendly >= 8.0
66
naturalsort >= 1.4
7-
property-manager >= 2.3
7+
property-manager >= 3.0
88
python-dateutil >= 2.2
99
simpleeval >= 0.8.7
1010
six >= 1.9.0
11-
update-dotdee >= 5.0
11+
update-dotdee >= 6.0
1212
verboselogs >= 1.5

rotate_backups/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# rotate-backups: Simple command line interface for backup rotation.
22
#
33
# Author: Peter Odding <peter@peterodding.com>
4-
# Last Change: February 18, 2020
4+
# Last Change: May 17, 2020
55
# URL: https://github.com/xolox/python-rotate-backups
66

77
"""
@@ -26,8 +26,8 @@
2626
from executor import ExternalCommandFailed
2727
from executor.concurrent import CommandPool
2828
from executor.contexts import RemoteContext, create_context
29-
from humanfriendly import Timer, coerce_boolean, coerce_pattern, format_path, parse_path, pluralize
30-
from humanfriendly.text import concatenate, split
29+
from humanfriendly import Timer, coerce_boolean, coerce_pattern, format_path, parse_path
30+
from humanfriendly.text import concatenate, pluralize, split
3131
from natsort import natsort
3232
from property_manager import (
3333
PropertyManager,

rotate_backups/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# rotate-backups: Simple command line interface for backup rotation.
22
#
33
# Author: Peter Odding <peter@peterodding.com>
4-
# Last Change: February 18, 2020
4+
# Last Change: May 17, 2020
55
# URL: https://github.com/xolox/python-rotate-backups
66

77
"""
@@ -210,9 +210,10 @@
210210
import coloredlogs
211211
from coloredlogs.syslog import enable_system_logging
212212
from executor import validate_ionice_class
213-
from humanfriendly import coerce_boolean, parse_path, pluralize
213+
from humanfriendly import coerce_boolean, parse_path
214214
from humanfriendly.compat import on_windows
215215
from humanfriendly.terminal import usage
216+
from humanfriendly.text import pluralize
216217
from verboselogs import VerboseLogger
217218

218219
# Modules included in our package.

0 commit comments

Comments
 (0)