diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2022-08-23 23:05:26 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-08-24 10:00:52 -0400 |
commit | 65ba7a9d3ee989035a875e7c108f1733e92c7ea0 (patch) | |
tree | 2cdc5ecfe5cecc2d1eb330168b61846f2607e648 /b4-wrapper.sh | |
parent | e107170fc17e3e2effb6a1629a8658497f59375b (diff) | |
download | b4-65ba7a9d3ee989035a875e7c108f1733e92c7ea0.tar.gz |
setup.py: bump python_requires to 3.8
Since c95e4d1 (am: Fix broken guessbranch handling, 2022-03-31), b4 uses
the 'extend' action for the '--guess-branch' argument. This action is
new in Python 3.8 [1], but setup.py still lists Python 3.6 as the
minimum version.
This leads Pip to allow installing or upgrading b4 on Python 3.6 or 3.7,
but then any invocation of b4 fails with an error from the argparse
module ending with:
ValueError: unknown action "extend"
Fix this by bumping python_requires to 3.8.
[1] https://docs.python.org/3/library/argparse.html#action
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4-wrapper.sh')
0 files changed, 0 insertions, 0 deletions