Skip to content

Commit 4634688

Browse files
committed
Release 8.0: Fix ImportError reported in #24
1 parent 98efa23 commit 4634688

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

CHANGELOG.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ to `semantic versioning`_.
1111
.. _Keep a Changelog: http://keepachangelog.com/
1212
.. _semantic versioning: http://semver.org/
1313

14+
`Release 8.0`_ (2020-02-18)
15+
---------------------------
16+
17+
This is a bit of an awkward release:
18+
19+
- An :exc:`~exceptions.ImportError` was reported in issue `#24`_ caused by a
20+
backwards incompatible change in :pypi:`humanfriendly` concerning an
21+
undocumented module level variable (shouldn't have used that).
22+
23+
- I've now updated :pypi:`rotate-backups` to be compatible with the newest
24+
release of :pypi:`humanfriendly` however in the mean time that package
25+
dropped support for Python 3.4.
26+
27+
- This explains how a simple bug fix release concerning two lines in the code
28+
base triggered a major version bump because compatibility is changed.
29+
30+
- While I was at it I set up Python 3.8 testing on Travis CI which seems to
31+
work fine, so I've documented Python 3.8 as compatible. Python 3.9 seems
32+
to be a whole other story, I'll get to that soon.
33+
34+
.. _Release 8.0: https://github.com/xolox/python-rotate-backups/compare/7.2...8.0
35+
.. _#24: https://github.com/xolox/python-rotate-backups/issues/24
36+
1437
`Release 7.2`_ (2020-02-14)
1538
---------------------------
1639

rotate_backups/__init__.py

Lines changed: 2 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 14, 2020
4+
# Last Change: February 18, 2020
55
# URL: https://github.com/xolox/python-rotate-backups
66

77
"""
@@ -44,7 +44,7 @@
4444
from verboselogs import VerboseLogger
4545

4646
# Semi-standard module versioning.
47-
__version__ = '7.2'
47+
__version__ = '8.0'
4848

4949
# Initialize a logger for this module.
5050
logger = VerboseLogger(__name__)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def get_absolute_path(*args):
7373
]),
7474
install_requires=get_requirements('requirements.txt'),
7575
test_suite='rotate_backups.tests',
76+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
7677
classifiers=[
7778
'Development Status :: 5 - Production/Stable',
7879
'Environment :: Console',

0 commit comments

Comments
 (0)