From a9afee4b5d4291b7ea16f2853e886b2825088e76 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 23 Dec 2021 14:53:00 -0500 Subject: [PATCH] chore: prepare for 1.7.2 (#572) * chore: bump pre-commit * docs: update changelog * chore: drop unneeded line --- .pre-commit-config.yaml | 4 ++-- CHANGELOG.rst | 8 ++++++++ plumbum/cli/i18n.py | 1 - plumbum/fs/atomic.py | 1 - setup.cfg | 1 - 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33ec5bf02..2c8065f3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: fix-encoding-pragma - repo: https://github.com/psf/black - rev: "21.11b1" + rev: "21.12b0" hooks: - id: black @@ -50,7 +50,7 @@ repos: stages: [manual] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v0.910-1" + rev: "v0.930" hooks: - id: mypy files: plumbum diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cbdf7bedd..af23eaeff 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,11 @@ +1.7.2 +----- + +* Commands: avoid issue mktemp issue on some BSD variants (`#571 `_) +* Better specification of dependency on pywin32 (`#568 `_) +* Some DeprecationWarnings changed to FutureWarnings (`#567 `_) + + 1.7.1 ----- diff --git a/plumbum/cli/i18n.py b/plumbum/cli/i18n.py index 9098aa697..43e488935 100644 --- a/plumbum/cli/i18n.py +++ b/plumbum/cli/i18n.py @@ -18,7 +18,6 @@ def ngettext(self, str1, strN, n): def get_translation_for(package_name): return NullTranslation() - else: import gettext import os diff --git a/plumbum/fs/atomic.py b/plumbum/fs/atomic.py index 1a2619283..3c38485f3 100644 --- a/plumbum/fs/atomic.py +++ b/plumbum/fs/atomic.py @@ -54,7 +54,6 @@ def locked_file(fileno, blocking=True): finally: UnlockFile(hndl, 0, 0, 0xFFFFFFFF, 0xFFFFFFFF) - else: if hasattr(fcntl, "lockf"): diff --git a/setup.cfg b/setup.cfg index 74fdb319c..6af03c372 100644 --- a/setup.cfg +++ b/setup.cfg @@ -103,7 +103,6 @@ select = C,E,F,W,B,B9 [tool:isort] profile = black -multi_line_output = 3 [check-manifest] ignore =