From e0f0a01d678aecfeb57372721e9d78a148487f48 Mon Sep 17 00:00:00 2001 From: Chandan Singh Date: Mon, 18 Feb 2019 18:11:31 +0530 Subject: requirements/Makefile: exclude pkg-resources Having `pkg-resources` in requirements files is never the right thing as it is not really a package that one can install. This is basically an artifact of Debian-based systems providing incorrect metadata to pip. See [this pip issue](https://github.com/pypa/pip/issues/4022) and [this Ubuntu issue](https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463) for more background. --- requirements/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/Makefile b/requirements/Makefile index c49a2e2d0..0f4d885fa 100644 --- a/requirements/Makefile +++ b/requirements/Makefile @@ -17,5 +17,5 @@ all: $(REQUIREMENTS_TXT) $(eval VENVDIR := $(shell mktemp -d $(CURDIR)/.bst-venv.XXXXXX)) $(VENV) $(VENVDIR) $(VENV_PIP) install -r $^ - $(VENV_PIP) freeze -r $^ > $@ + $(VENV_PIP) freeze -r $^ | grep -v pkg-resources > $@ rm -rf $(VENVDIR) -- cgit v1.2.1