chore(make): Upgrade pip in dev-upgrade make command

Description

Abstract

Ask pip to updated itself before upgrading other packages

Motivation

Instead of having the message given by pip and having to do the upgrade manually, it’s a good idea to have it done automatically before upgrading all other packages

Rationale

N/A

Info

Hash

e4d137fffb6542828c3d15f219dc3c54d34bb502

Date

2019-08-15 23:26:05 +0200

Parents
  • fix(faker): Handle change of `min` (to `min_value`) arg for `pyint` [7f8ecb5a]2019-08-15 23:15:21 +0200

Children
  • refactor(core): Rename `core` domain context to `code_repository` [07e279b3]2019-08-15 23:31:33 +0200

Branches
Tags

(No tags)

Changes

Makefile

Type

Modified

Stats

+1 -0

@@ -25,6 +25,7 @@ dev:  ## Install the project in the current environment, with its dependencies,

 .PHONY: dev-upgrade
 dev-upgrade:  ## Upgrade all default+dev dependencies defined in setup.cfg
+    @pip install --upgrade pip
     @pip install --upgrade `python -c 'import setuptools; o = setuptools.config.read_configuration("setup.cfg")["options"]; print(" ".join(o["install_requires"] + o["extras_require"]["dev"] + o["extras_require"]["tests"] + o["extras_require"]["lint"] + o["extras_require"]["docs"]))'`
     @pip install -e .
     @$(MAKE) full-clean