openstack-ansible/global-requirement-pins.txt
Jimmy McCrory 93ce5fa105 Pin argparse for idempotent pip installs
Argparse is part of the Python standard library in 2.7 but is still
an unmarked and unpinned downstream dependency of some packages
(unittest2==1.1.0 for example).

Ubuntu's libpython2.7-stdlib package includes an argparse.egg-info file
setting its version to 1.2.1.

The python_venv_build process will try to build and install the latest
version of argparse available in PyPI, 1.4.0, but this will never
actually install over the existing standard library install. The pip
module currently marks the install as changed regardless, causing a
restart of OpenStack services during every playbook run.

Change-Id: I8be207c359388d00b34448318bc17c8b0039c4db
2018-10-31 11:48:26 +00:00

23 lines
757 B
Plaintext

# This file should only be used to set python package pins that are
# not present in OpenStack's upper-constraints. Any pins present in
# this file will override any requirements set in *requirements.txt,
# upper-constraints and any roles/vars.
#
# Use this file with caution!
#
### Pinned for gnocchi's dependency pycradox
# https://github.com/sileht/pycradox/commit/2209f89fd65ecf31bea8eac6405acce2543e7b84
Cython<0.28
###
### These are pinned to ensure exactly the same behaviour forever! ###
### These pins are updated through the sources-branch-updater script ###
###
# Bumping pip to version 10 fails in tempest when trying to install
# packages with an empty list.
argparse==1.2.1;python_version=='2.7'
pip==18.0
setuptools==40.0.0
wheel==0.31.1