summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-click/0001-tests-Fix-test_bytes_args.patch
Commit message (Collapse)AuthorAgeFilesLines
* python3-click: upgrade 8.1.3 -> 8.1.5Wang Mingyu2023-07-201-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-tests-Fix-test_bytes_args.patch removed since it's included in 8.1.5 Changelog: ========== -Fix an issue with type hints for @click.command(), @click.option(), and other decorators. Introduce typing tests. -Replace all typing.Dict occurrences to typing.MutableMapping for parameter hints. #2255 -Improve type hinting for decorators and give all generic types parameters. #2398 -Fix return value and type signature of shell_completion.add_completion_class function. #2421 -Bash version detection doesn’t fail on Windows. #2461 -Completion works if there is a dot (.) in the program name. #2166 -Improve type annotations for pyright type checker. #2268 -Improve responsiveness of click.clear(). #2284 -Improve command name detection when using Shiv or PEX. #2332 -Avoid showing empty lines if command help text is empty. #2368 -ZSH completion script works when loaded from fpath. #2344. -EOFError and KeyboardInterrupt tracebacks are not suppressed when standalone_mode is disabled. #2380 -@group.command does not fail if the group was created with a custom command_class. #2416 -multiple=True is allowed for flag options again and does not require setting default=(). #2246, #2292, #2295 -Make the decorators returned by @argument() and @option() reusable when the cls parameter is used. #2294 -Don’t fail when writing filenames to streams with strict errors. Replace invalid bytes with the replacement character -Remove unnecessary attempt to detect MSYS2 environment. #2355 -Remove outdated and unnecessary detection of App Engine environment. #2554 -echo() does not fail when no streams are attached, such as with pythonw on Windows. #2415 -Argument with expose_value=False do not cause completion to fail. #2336 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-click: Fix ptest failureKhem Raj2023-04-271-0/+41
test_bytes_args fails especially on musl, therefore use mocked sys.stdin.encoding Signed-off-by: Khem Raj <raj.khem@gmail.com>