|
| 1 | +# Add/remove version constraints for transitive dependencies in this file |
| 2 | +# (transitive dependencies are dependencies of our direct dependencies). |
| 3 | +# |
| 4 | +# Direct dependencies should be recorded in `requirements-pants.txt`, not here. |
| 5 | + |
| 6 | +# please document each version constraint as follows: |
| 7 | +# |
| 8 | +# REQUIRED BY: <package>, <package>, ... |
| 9 | +# REASON: <why do we need to constrain this transitive dep?> |
| 10 | +# NOTE: <status of this constraint / when can we remove it?> |
| 11 | +# DROPS RESOLVED VERSION: <which version pip resolved without this constraint> |
| 12 | +#<package><version constraint> |
| 13 | + |
| 14 | +# ############################################ # |
| 15 | +# pinned transitive deps from requirements.txt # |
| 16 | +# ############################################ # |
| 17 | + |
| 18 | +# REQUIRED BY: jinja2 |
| 19 | +# REASON: Fix MarkupSafe to < 2.1.0 as 2.1.0 removes soft_unicode >=0.23 was from jinja2 |
| 20 | +# NOTE: try to remove constraint later. |
| 21 | +# DROPS RESOLVED VERSION: unknown |
| 22 | +MarkupSafe<2.1.0,>=0.23 |
| 23 | + |
| 24 | +# REQUIRED BY: kombu |
| 25 | +# REASON: unknown -- this looks like a lockfile-style pin |
| 26 | +# NOTE: try to remove constraint later. |
| 27 | +# DROPS RESOLVED VERSION: 5.1.1 |
| 28 | +amqp==5.0.6 |
| 29 | + |
| 30 | +# REQUIRED BY: cryptography, paramiko, passlib |
| 31 | +# REASON: unknown -- this looks like a lockfile-style pin |
| 32 | +# NOTE: try to remove constraint later. |
| 33 | +# DROPS RESOLVED VERSION: 4.0.1 |
| 34 | +bcrypt==3.2.0 |
| 35 | + |
| 36 | +# REQUIRED BY: bcrypt, cryptography, pynacl, zstandard |
| 37 | +# REASON: unknown |
| 38 | +# NOTE: try to remove constraint later. |
| 39 | +# DROPS RESOLVED VERSION: 1.15.1 |
| 40 | +cffi<1.15.0 |
| 41 | + |
| 42 | +# REQUIRED BY: orquesta, prance, requests |
| 43 | +# REASON: requests 2.23 requires chardet < 3.1.0 |
| 44 | +# NOTE: orquesta already constrains this, so this is just documentation. |
| 45 | +# DROPS RESOLVED VERSION: 3.0.4 |
| 46 | +#chardet<3.1.0 |
| 47 | + |
| 48 | +# REQUIRED BY: jsonpath-rw, networkx |
| 49 | +# REASON: |
| 50 | +# networkx requires decorator>=4.3,<5 which should resolve to version 4.4.2 |
| 51 | +# but the wheel on pypi does not say it supports python3.8, so pip gets |
| 52 | +# confused. For now, pin decorator to work around pip's confusion. |
| 53 | +# NOTE: Since pants/pex use a newer version of pip, this is not an issue. |
| 54 | +# DROPS RESOLVED VERSION: 4.4.2 |
| 55 | +#decorator==4.4.2 |
| 56 | + |
| 57 | +# REQUIRED BY: eventlet, pymongo |
| 58 | +# REASON: 2.0 version breaks pymongo work with hosts |
| 59 | +# NOTE: try to remove this later |
| 60 | +# DROPS RESOLVED VERSION: 1.16 |
| 61 | +dnspython>=1.16.0,<2.0.0 |
| 62 | + |
| 63 | +# REQUIRED BY: eventlet |
| 64 | +# REASON: unknown -- this looks like a lockfile-style pin |
| 65 | +# NOTE: We are having a hard time upgrading eventlet, so this pin is commented |
| 66 | +# out to see if that will help. If any tests fail, uncomment this. |
| 67 | +# DROPS RESOLVED VERSION: 1.1.3.post0 |
| 68 | +#greenlet==1.0.0 |
| 69 | + |
| 70 | +# REQUIRED BY: argcomplete, click, debtcollector, kombu, pluggy, prettytable, |
| 71 | +# pytest, virtualenv |
| 72 | +# REASON: unknown |
| 73 | +# NOTE: This pinned version (3.10.1) actually conflicts with other requirements. |
| 74 | +# So, it is commented out. If there are issues with newer versions, |
| 75 | +# update this with a range of valid versions. |
| 76 | +# DROPS RESOLVED VERSION: 4.8.3 |
| 77 | +#importlib-metadata==3.10.1 |
| 78 | + |
| 79 | +# REQUIRED BY: tooz |
| 80 | +# REASON: unknown |
| 81 | +# NOTE: try to remove constraint later. |
| 82 | +# DROPS RESOLVED VERSION: 4.13 |
| 83 | +oslo.utils<5.0,>=4.0.0 |
| 84 | + |
| 85 | +# REQUIRED BY: tooz |
| 86 | +# REASON: unknown |
| 87 | +# NOTE: try to remove constraint later. |
| 88 | +# DROPS RESOLVED VERSION: 8.1 |
| 89 | +tenacity>=3.2.1,<7.0.0 |
| 90 | + |
| 91 | +# REQUIRED BY: st2-auth-backend-flat-file |
| 92 | +# REASON: unknown -- this looks like a lockfile-style pin |
| 93 | +# NOTE: st2-auth-backend-flat-file has a version range >=1.7.1,<1.8.0 |
| 94 | +# If we need to narrow that range, we should do so in: |
| 95 | +# https://github.com/StackStorm/st2-auth-backend-flat-file/blob/master/requirements.txt |
| 96 | +# DROPS RESOLVED VERSION: 1.7.4 |
| 97 | +#passlib==1.7.4 |
| 98 | + |
| 99 | +# pyOpenSSL required by: pymongo[ocsp], redis[ocsp], urllib3[secure] |
| 100 | +# but we don't use any of those, so skip copying from fixed-requirements.txt |
| 101 | + |
| 102 | +# REQUIRED BY: httplib2, oslo.utils, packaging |
| 103 | +# REASON: unknown -- It looks like <3 was only needed for python2 compatibility. |
| 104 | +# NOTE: this is still here, commented, until we can validate that all test are |
| 105 | +# passing without it. |
| 106 | +# DROPS RESOLVED VERSION: 3.0.7 |
| 107 | +#pyparsing<3 |
| 108 | + |
| 109 | +# REQUIRED BY: async-timeout, gitpython, importlib-metadata, redis |
| 110 | +# REASON: importlib-metadata requires typing-extensions but v4.2.0 requires py3.7+ |
| 111 | +# NOTE: try to remove constraint later. |
| 112 | +# DROPS RESOLVED VERSION: 4.1.1 |
| 113 | +typing-extensions<4.2 |
0 commit comments