summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernát Gábor <bgabor8@bloomberg.net>2019-10-16 09:26:11 +0100
committerGitHub <noreply@github.com>2019-10-16 09:26:11 +0100
commit51cf4b648af6cf95dc6ba7fd5071f68cfe87e929 (patch)
treebc9d0d1eb087b893b14ac68313d5f17cc5809883
parent9678174548d71ed0c41b4cc260e7b3647fc3b256 (diff)
downloadvirtualenv-51cf4b648af6cf95dc6ba7fd5071f68cfe87e929.tar.gz
Bump pip and setuptools (#1428)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
-rw-r--r--.pre-commit-config.yaml16
-rw-r--r--docs/changelog/1428.bugfix.rst1
-rw-r--r--tox.ini2
-rwxr-xr-xvirtualenv.py2
-rw-r--r--virtualenv_embedded/deactivate.bat1
-rw-r--r--virtualenv_support/pip-19.1.1-py2.py3-none-any.whlbin1360957 -> 0 bytes
-rw-r--r--virtualenv_support/pip-19.3-py2.py3-none-any.whl (renamed from virtualenv_support/pip-19.2.3-py2.py3-none-any.whl)bin1414986 -> 1415223 bytes
-rw-r--r--virtualenv_support/setuptools-41.4.0-py2.py3-none-any.whl (renamed from virtualenv_support/setuptools-41.2.0-py2.py3-none-any.whl)bin576332 -> 580302 bytes
8 files changed, 11 insertions, 11 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0237c84..9adf769 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,27 +1,27 @@
repos:
- repo: https://github.com/ambv/black
- rev: 18.9b0
+ rev: 19.3b0
hooks:
- id: black
args: [--safe]
language_version: python3.7
- repo: https://github.com/asottile/blacken-docs
- rev: v0.3.0
+ rev: v1.3.0
hooks:
- id: blacken-docs
additional_dependencies: [black==18.9b0]
language_version: python3.7
- repo: https://github.com/asottile/seed-isort-config
- rev: v1.3.0
+ rev: v1.9.3
hooks:
- id: seed-isort-config
args: [--application-directories, '.']
- repo: https://github.com/pre-commit/mirrors-isort
- rev: v4.3.4
+ rev: v4.3.21
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v2.0.0
+ rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -31,13 +31,13 @@ repos:
- id: trailing-whitespace
- id: check-docstring-first
- id: flake8
- additional_dependencies: ["flake8-bugbear == 18.8.0"]
+ additional_dependencies: ["flake8-bugbear == 19.8.0"]
language_version: python3.7
- repo: https://github.com/asottile/pyupgrade
- rev: v1.10.0
+ rev: v1.24.1
hooks:
- id: pyupgrade
- repo: https://github.com/pre-commit/pygrep-hooks
- rev: v1.1.0
+ rev: v1.4.1
hooks:
- id: rst-backticks
diff --git a/docs/changelog/1428.bugfix.rst b/docs/changelog/1428.bugfix.rst
new file mode 100644
index 0000000..073134b
--- /dev/null
+++ b/docs/changelog/1428.bugfix.rst
@@ -0,0 +1 @@
+bump bundled pip from ``19.2.3`` to ``19.3`` and setuptools from ``41.2.0`` to ``41.4.0``
diff --git a/tox.ini b/tox.ini
index 3947929..dbbda9c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -84,7 +84,7 @@ description = format the code base to adhere to our styles, and complain about w
basepython = python3.7
passenv = *
deps = {[testenv]deps}
- pre-commit == 1.12.0
+ pre-commit >= 1.12.0, <2
skip_install = True
commands = pre-commit run --all-files --show-diff-on-failure
python -c 'import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
diff --git a/virtualenv.py b/virtualenv.py
index 7c5e3c8..8da6ab5 100755
--- a/virtualenv.py
+++ b/virtualenv.py
@@ -2594,7 +2594,7 @@ def mach_o_change(at_path, what, value):
# If the string is what is being replaced, overwrite it.
if load == what:
file.seek(where + name_offset, os.SEEK_SET)
- file.write(value.encode() + "\0".encode())
+ file.write(value.encode() + b"\0")
# Seek to the next command
file.seek(where + cmd_size, os.SEEK_SET)
diff --git a/virtualenv_embedded/deactivate.bat b/virtualenv_embedded/deactivate.bat
index 5ad81d4..7bbc568 100644
--- a/virtualenv_embedded/deactivate.bat
+++ b/virtualenv_embedded/deactivate.bat
@@ -17,4 +17,3 @@ if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH
set "PATH=%_OLD_VIRTUAL_PATH%"
set _OLD_VIRTUAL_PATH=
:ENDIFVPATH
-
diff --git a/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl b/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl
deleted file mode 100644
index 8476c11..0000000
--- a/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl
+++ /dev/null
Binary files differ
diff --git a/virtualenv_support/pip-19.2.3-py2.py3-none-any.whl b/virtualenv_support/pip-19.3-py2.py3-none-any.whl
index 8118df8..cb6a961 100644
--- a/virtualenv_support/pip-19.2.3-py2.py3-none-any.whl
+++ b/virtualenv_support/pip-19.3-py2.py3-none-any.whl
Binary files differ
diff --git a/virtualenv_support/setuptools-41.2.0-py2.py3-none-any.whl b/virtualenv_support/setuptools-41.4.0-py2.py3-none-any.whl
index 82df6f6..2378d3e 100644
--- a/virtualenv_support/setuptools-41.2.0-py2.py3-none-any.whl
+++ b/virtualenv_support/setuptools-41.4.0-py2.py3-none-any.whl
Binary files differ