From 198639a09582727dc4116875512f220a7f99dfda Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 21 Dec 2020 13:44:29 +1000 Subject: [PATCH] update setuptools; remove header So users don't need to manually exclude the header from the git commit --- pip/requirements.txt | 4 +--- pip/update.py | 7 ++++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pip/requirements.txt b/pip/requirements.txt index e0efec0de..af7e21843 100644 --- a/pip/requirements.txt +++ b/pip/requirements.txt @@ -1,5 +1,3 @@ -# See README.md - appdirs==1.4.4 # via black astroid==2.4.2 # via pylint atomicwrites==1.4.0 ; sys_platform == "win32" # via -r requirements.in, pytest @@ -62,4 +60,4 @@ wrapt==1.12.1 # via astroid # The following packages are considered to be unsafe in a requirements file: pip==20.3.3 # via pip-tools -setuptools==51.0.0 # via jsonschema +setuptools==51.1.0.post20201221 # via jsonschema diff --git a/pip/update.py b/pip/update.py index 1ff1adfd4..dd80192f5 100644 --- a/pip/update.py +++ b/pip/update.py @@ -3,15 +3,16 @@ import os import click from piptools.scripts import compile + @click.group() def cli(): pass + cli.add_command(compile.cli, "compile") print("Updating deps...") os.chdir("pip") -sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade"] - -cli() +sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"] +cli() \ No newline at end of file