Changelog:
==========
Better handling of message_queue connection argument #1130
More robust handling of to and room arguments of emit and send #1771
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In order to fix the dependency issue on PIL module, python3-pillow is required.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1.3.5 (2022-05-20)
- Fix an exception with matplotlib on Python 3.10 (#97)
- Fix incorrect walltime when same coroutine is ran with concurrent tasks (#58)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix adding failed emitters on observer schedule. (#872)
[inotify] Fix hang when unscheduling watch on a path in an unmounted filesystem. (#869)
[watchmedo] Fix broken parsing of --kill-after argument for the auto-restart command. (#870)
[watchmedo] Fix broken parsing of boolean arguments. (#887)
[watchmedo] Fix broken parsing of commands from auto-restart, and shell-command. (#888)
[watchmedo] Support setting verbosity level via -q/--quiet and -v/--verbose arguments. (#889)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
Don't treat im_mode ? as im_mode V
Other
Add stacklevel=2 to some warnings.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Fix crash while obtaining object_type() of an Unknown node.
- Fix a bug where in attempting to handle the patching of distutils by virtualenv,
library submodules called distutils (e.g. numpy.distutils) were included also.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Hatchling is the build backend used by the Hatch tool. Add the recipe
and a pep517 build class.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This now uses hatching to build.
Also remove redundant PYPI_PACKAGE assignment.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe inherited python_flit_core, but actually builds with setuptools.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
The development server does not set Transfer-Encoding: chunked for 1xx, 204, 304, and HEAD responses.
Response HTML for exceptions and redirects starts with <!doctype html> and <html lang=en>.
Fix ability to set some cache_control attributes to False.
Disable keep-alive connections in the development server, which are not supported sufficiently by Python’s http.server.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
changes:
--------
Fix asyncio Search crash
Replace OSError exceptions from can_read with redis.ConnectionError
Updated FUNCTION LOAD changes (from release 7.0 rc3 to support redis 7.0 final)
New Features
--------------
Get command keys for subcommands
Add support for CLUSTER SHARDS
Add support for COMMAND LIST
Add Async RedisCluster
ACL SETUSER - add selectors and key based permissions
Support for redis 7 streams features
Async Connection: Allow PubSub.run() without previous subscribe()
Implemented LATENCY HISTOGRAM by always throwing NotImplementedError
Add async supoort for SEARCH commands
Retry(): Support negative retries value
Add support for MODULE LOADEX
INFO - add support for taking multiple section arguments
CONFIG SET - add the ability to set multiple parameters in one call
CONFIG GET - add the ability to pass multiple pattern parameters in one call
Add support for COMMAND GETKEYSANDFLAGS
Support CASESENSITIVE for TAG fields
Bug Fixes
---------
Rename 'update_supported_erros' to 'update_supported_errors' in Retry module
Fix execute_command() determining nodes error when no key command
Fix incorrect return statement in aut
Maintenance
------------
Add unittest for PubSub.connect()
Fix incorrect return annotation in asyncio.lock
Minor cleanups in commands/cluster.py
Update xtrim type annotation
Async tests for redis commands, json, bloom, timeseries
Fixed typing in getex command
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
2.13.9 is the last release supporting python interpreter between 3.6.2 and 3.7.2.
---------------------------------------------------------------------------------
Respect ignore configuration options with --recursive=y.
Fix false positives for no-name-in-module and import-error for numpy.distutils and pydantic.
Fix IndexError crash in uninferable_final_decorators method.
Fix a crash in unnecessary-dict-index-lookup when subscripting an attribute.
Fix a crash when accessing __code__ and assigning it to a variable.
Fix a false positive for undefined-loop-variable when using enumerate().
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix
Reset request when iterating over plugins (#792) (46a49c4)
Rename format_hint to extension and prefer it over actual file extensions (#807) (4830f15)
Other
Fix broken links in readme (#806) (52954bc)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are packages missing in RDEPENDS needed to run speedtest-cli. Add
them and use += for the assignment as we don't know what inherited
classes may have added.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-uinput: a python module for controlling the
virtual input devices on linux.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
add dependence: python3-awesomeversion
Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API
Mac address got lost in translation
Update to final models and fix parser errors
Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is disabled
Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device
Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state
Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands
Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
We have a recipe for python3-pyinotify (not to be confused with the
recently added python3-pyfanotify) but this project has been abandoned
years ago. There's another - still maintained - project called simply
inotify on pypi and this adds the recipe for it.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This build is broken and doesn't generate any files: it is missing a
DEPENDS on python3-setuptools-scm-native, and our setuptools recipe
isn't new enough to build this version.
This reverts commit 1e050deca1.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add load_media_failed callback to MediaStatusListener
Tweak media status
Lookup known cast models in mDNS discovery
Fix default value for fetching model name in discovery
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
allow grpc without grpcio-status
remove dependency on pkg_resources
Avoid AttributeError if grpcio-status is not installed
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix type annotation for json.loads, it accepts str or bytes.
The --cert and --key options on flask run can be given in either order.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Only preserve subdomain or host view args in unauthorized redirect
The new utility function login_remembered returns True if the current login is remembered across sessions.
Fix side effect potentially executing view twice for same request.
Clarify usage of FlaskLoginClient test client in docs.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Released 2022-04-28
Use verbose form of typing.Callable for @command and @group.
Show error when attempting to create an option with multiple=True, is_flag=True. Use count instead.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-04 2.5.0:
-------------------
* add calculating of canonical Huffman codes 'util.canonical_huffman()'
and decoding thereof 'util.canonical_decode()', see #173
* allow creating "Huffman codes" from frequency maps with a single symbol
in 'util.huffman_code()' and 'util.canonical_huffman()', see #172
* allow bytes-like argument in '.frombytes()' and '.pack()' - previously,
the arguments were limited to the 'bytes' object, see #174
* allow bytes-like arguments in 'util.deserialize()'
* add official pyodide support
* add [DEFLATE decompression](../examples/puff/) example
* optimize '.bytereverse()'
* optimize 'delslice()' for cases like 'del a[1:17:2]' when 'a' is large
* fix 'examples/huffman/compress.py' to handle files with 0 or 1 characters,
see also #172
* add 'skipIF' decorator for skipping tests
* add test
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for web3: a library for interacting with Ethereum.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for lru-dict: a fixed size dict like container.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-eth-account: a tool for signing Ethereum
transactions and messages with local private keys.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-abi: utilities for working with Ethereum ABI definitions.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for parsimonious: an arbitrary-lookahead parser written in
pure Python.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-rlp: RLP definitions for common Ethereum objects.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for hexbytes: a Python bytes subclass that decodes hex,
with a readable console output.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-keyfile: a library for handling the encrypted
keyfiles used to store ethereum private keys.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-keys: common API for Ethereum key operations.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-utils: utility functions for codebases
which interact with ethereum.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-typing: common type annotations for ethereum
python packages.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for eth-hash: the Ethereum hashing function module.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python-decouple: generic tool for separating settings
from code.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for cytoolz: cython implementation of the toolz package.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for toolz: a set of utility functions for iterators,
functions, and dictionaries.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This adds a recipe for pyfanotify - a python wrapper around linux'
fanotify interface.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix a crash caused by using the new config from 2.14.0 in 2.13.x code.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
PHP
-------
Fix building packaged PHP extension (#9727)
Fixed composer.json to only advertise compatibility with PHP 7.0+. (#9819)
Ruby
----------
Disable the aarch64 build on macOS until it can be fixed. (#9816)
Other
-------
Fix versioning issues in 3.20.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add syr locale
Get translation changes from CLDR
Add more translations from CLDR
Fix names for keyboard layouts which have changed
Add ab_GE locale
Add rif language
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add keyword-only neato_no_op argument to .render(), .pipe(), and stand-alone
graphviz.render() and graphviz.pipe().
- When building a Graph or Digraph, warn about an expected DOT syntax error in
rendering when passing a string that ends with an odd number of backslashes
(e.g. invalid dot.node('spam', label='\\') instead of correct ..., label=r'\\'
for a node labled as a backslash).
- Increase visibility of graphviz.escape() in the documentation.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Features
========
androidmanagement: update the api 3d37600 (e691ed3)
apigee: update the api aa29053 (e691ed3)
baremetalsolution: update the api 629a968 (e691ed3)
bigtableadmin: update the api 2d50872 (e691ed3)
certificatemanager: update the api 40bf958 (e691ed3)
civicinfo: update the api 95321d9 (e691ed3)
cloudasset: update the api 3eee9ca (e691ed3)
clouddeploy: update the api acd6b20 (e691ed3)
container: update the api 7c592ee (e691ed3)
dataflow: update the api 53c9c70 (e691ed3)
dataproc: update the api 3119767 (e691ed3)
datastream: update the api aea557f (e691ed3)
documentai: update the api 9a6bad2 (e691ed3)
file: update the api b527c56 (e691ed3)
firebaseappcheck: update the api 3be993a (e691ed3)
gkehub: update the api a77aded (e691ed3)
logging: update the api cc08e8e (e691ed3)
policytroubleshooter: update the api 3f20c2e (e691ed3)
prod_tt_sasportal: update the api bacc9ef (e691ed3)
run: update the api 1b566dc (e691ed3)
servicemanagement: update the api 6d783b7 (e691ed3)
vmmigration: update the api a0b42c2 (e691ed3)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
No need to push a new app context in the test client #1669
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Improve documentation on start_background_task() function
changed room argument to to in documentation examples #1665
Fix documentation typo #1793
Fix example code in documentation #1787
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Option to use a callable for cors_allowed_origins #264
Close aiohttp session when disconnecting #272
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed an error in the Qt brain when building instance_attrs.
Fixed a crash in the gi brain.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
changelog:
-Bug Fixes
Fixed value for ansi.Bg.YELLOW.
Fixed unit tests for ansi.allow_style.
-Enhancements
async_alert() raises a RuntimeError if called from the main thread.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
Upgrade to release 3.15.0:
- Allow passing a dict to fields.Nested
- Address distutils deprecation warning in Python 3.10
- Add py310 to black target-version
- Drop support for Python 3.6
- Use postponed evaluation of annotations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
Upgrade to release 8.14.0:
- C implementation: allow partial decoding of truncated data
- Python implementation: allow partial decoding of truncated data
- fix segmentation faults on CI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
License-Update: type of file changed
"ASCII text, with CRLF line terminators" -> "ASCII text"
changelog:
===============================================================================
Bug fixes:
-Mitigated the coveralls HTTP status 422 by pinning coveralls-python to <3.0.0 .
-Fixed issues raised by new Pylint 2.9 and 2.10.
-Fixed a dependency error that caused importlib-metadata to be installed on
Python 3.8, while it is included in the Python base.
-Disabled new Pylint issue 'consider-using-f-string', since f-strings were
introduced only in Python 3.6.
-Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of
MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13.
-Fixed potential issue with Sphinx/docutils versions on Python 2.7.
-Fixed error when installing virtualenv in install test on Python 2.7.
-Fixed that the added setup.py commands (test, leaktest, installtest) were not
displayed. They are now displayed at verbosity level 1 (using '-v').
Enhancements:
-Enhanced test matrix on GitHub Actions to always include Python 2.7 and
Python 3.4 on Ubuntu and Windows, and Python 2.7 and Python 3.5 on macOS.
-Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in
package metadata.
Cleanup:
-Removed old tools that were needed for travis and Appveyor but no longer on
GitHub Actions: remove_duplicate_setuptools.py, retry.bat
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
License-Update: type of file changed
"ASCII text, with CRLF line terminators" -> "ASCII text"
Changelog:
=========
Bug fixes:
----------
Mitigated the coveralls HTTP status 422 by pinning coveralls-python to <3.0.0 (issue #55).
Fixed a dependency error that caused importlib-metadata to be installed on Python 3.8, while it is included in the Python base.
Fixed new issues raised by Pylint 2.10.
Disabled new Pylint issue ‘consider-using-f-string’, since f-strings were introduced only in Python 3.6.
Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13.
Fixed TypeError when running Sphinx due to using docutils 0.18 on Python 2.7.
Fixed error when installing virtualenv in install test on Python 2.7.
Fixed that the added setup.py commands (test, leaktest, installtest) were not displayed. They are now displayed at verbosity level 1 (using ‘-v’).
Enhancements:
------------
Enhanced test matrix on GitHub Actions to always include Python 2.7 and Python 3.4 on Ubuntu and Windows, and Python 2.7 and Python 3.5 on macOS.
Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in package metadata.
Cleanup:
-----------
Removed old tools that were needed on Travis and Appveyor but no longer on GitHub Actions: remove_duplicate_setuptools.py, retry.bat
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <tvgamblin@gmail.com>
This reverts commit c4c2a90040.
This update fails to build python3-kiwisolver, it works ok with 1.2.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
License-Update:
modify the description of License: change from 3-Clause BSD License to BSD-3-Clause
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog from 8.0.4 to 8.1.2:
==============================
- Fix error message for readable path check that was mixed up with the executable
check. #2236
- Restore parameter order for Path, placing the executable parameter at the end.
It is recommended to use keyword arguments instead of positional arguments. #2235
- Fix an issue with decorator typing that caused type checking to report that a
command was not callable. #2227
- Drop support for Python 3.6. #2129
- Remove previously deprecated code. #2130
- Group.resultcallback is renamed to result_callback.
- autocompletion parameter to Command is renamed to shell_complete.
- get_terminal_size is removed, use shutil.get_terminal_size instead.
- get_os_args is removed, use sys.argv[1:] instead.
- Rely on PEP 538 and PEP 540 to handle selecting UTF-8 encoding instead of ASCII.
Click's locale encoding detection is removed. #2198
- Single options boolean flags with show_default=True only show the default if it is True. #1971
- The command and group decorators can be applied with or without parentheses. #1359
- The Path type can check whether the target is executable. #1961
- Command.show_default overrides Context.show_default, instead of the other way around. #1963
- Parameter decorators and @group handles cls=None the same as not passing cls.
@option handles help=None the same as not passing help. #1959
- A flag option with required=True requires that the flag is passed instead of
choosing the implicit default value. #1978
- Indentation in help text passed to Option and Command is cleaned the same as
using the @option and @command decorators does. A command's epilog and
short_help are also processed. #1985
- Store unprocessed Command.help, epilog and short_help strings. Processing is
only done when formatting help text for output. #2149
- Allow empty str input for prompt() when confirmation_prompt=True and default="". #2157
- Windows glob pattern expansion doesn't fail if a value is an invalid pattern. #2195
- It's possible to pass a list of params to @command. Any params defined with
decorators are appended to the passed params. #2131.
- @command decorator is annotated as returning the correct type if a cls argument is used. #2211
- A Group with invoke_without_command=True and chain=False will invoke its
result callback with the group function's return value. #2124
- to_info_dict will not fail if a ParamType doesn't define a name. #2168
- Shell completion prioritizes option values with option prefixes over new options. #2040
- Options that get an environment variable value using autoenvvar_prefix treat
an empty value as None, consistent with a direct envvar. #2146
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-Fix documentation.
-Re-enable TTY echo at evtest exit.
-Fix ImportError: sys.meta_path is None, Python is likely shutting down.
-Closing the input device file descriptor in InputDevice.close() now happens in
the main thread, instead of in a new thread.
-Fix util.find_ecodes_by_regex not working across all supported Python versions.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The attempt to pass in correct headers was being ignored,
because it never got updated after distutils class was removed.
Switch to SETUPTOOLS_BUILD_ARGS, which setuptools3 class does
pay attention to.
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog from 1.11.0 to 2.0.1:
=========
Fix issues with switching to pyproject.toml
Drop support for python 2.7 and 3.6
Add support for python 3.9 and 3.10
Introduce pyproject.toml
Provide metadata via JSON file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
From the release notes (https://github.com/protocolbuffers/protobuf/releases):
- Make libprotobuf symbols local on OSX to fix issue #9395 (#9435)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-Require Python 3.7 or later (breaking change).
-Remove deprecated submodules (breaking change).
The cache, fifo, lfu, lru, mru, rr and ttl submodules have been deleted.
Therefore, statements like from cachetools.ttl import TTLCache will no longer
work. Use from cachetools import TTLCacheinstead.
-Pass self to @cachedmethod key function (breaking change).
The key function passed to the @cachedmethod decorator is now called as key
(self, *args, **kwargs).
The default key function has been changed to ignore its first argument, so
this should only affect applications using custom key functions with the
@cachedmethod decorator.
-Change exact time of expiration in TTLCache (breaking change).
TTLCache items now get expired if their expiration time is less than or equal
to timer(). For applications using the default timer(), this should be barely
noticable, but it may affect the use of custom timers with larger tick
intervals. Note that this also implies that a TTLCache with ttl=0 can no longer
hold any items, since they will expire immediately.
-Change Cache.__repr__() format (breaking change).
String representations of cache instances now use a more compact and efficient
format, e.g.LRUCache({1: 1, 2: 2}, maxsize=10, currsize=2)
-Add TLRU cache implementation.
-Documentation improvements.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-[bug] [operations]
Fixed issue where using Operations.create_table() in conjunction with a
CheckConstraint that referred to table-bound Column objects rather than string
expressions would be added to the parent table potentially multiple times,
resulting in an incorrect DDL sequence. Pull request courtesy Nicolas CANIART.
-[bug] [environment]
The logging.fileConfig() line in env.py templates, which is used to setup Python
logging for the migration run, is now conditional on Config.config_file_name not
being None. Otherwise, the line is skipped as there is no default logging
configuration present.
-[bug] [mssql]
Fixed bug where an Operations.alter_column() operation would change a “NOT NULL”
column to “NULL” by emitting an ALTER COLUMN statement that did not specify
“NOT NULL”. (In the absence of “NOT NULL” T-SQL was implicitly assuming “NULL”).
An Operations.alter_column() operation that specifies
Operations.alter_column.type should also specify include either
Operations.alter_column.nullable or Operations.alter_column.existing_nullable to
inform Alembic as to whether the emitted DDL should include “NULL” or “NOT NULL”;
a warning is now emitted if this is missing under this scenario.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Now that the recipe for python3-pytest-lazy-fixture exists, add it to
RDEPENDS to fix the broken python3-prettytable ptests.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a minor extension of pytest that is used by some ptests, such as
python3-prettytable. There is a set of ptests included (run-ptest script
is based on the one from python3-aspectlib).
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core.
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Instead of using the copy of lz4 that is embedded in the python3-lz4
source code, use the system lz4 library.
python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-Bugs Fixed
Python 3.11 dropped inspect.formatargspec() which was used in creating
signature changing decorators. Now bundling a version of this function which
uses Parameter and Signature from inspect module when available. The
replacement function is exposed as wrapt.formatargspec() if need it for
your own code.
When using a decorator on a class, isinstance() checks wouldn’t previously
work as expected and you had to manually use Type.__wrapped__ to access the
real type when doing instance checks. The __instancecheck__ hook is now
implemented such that you don’t have to use Type.__wrapped__ instead of Type
as last argument to isinstance().
Eliminated deprecation warnings related to Python module import system, which
would have turned into broken code in Python 3.12. This was used by the post
import hook mechanism.
-New Features
Binary wheels provided on PyPi for aarch64 Linux systems and macOS native
silicon where supported by Python when using pypa/cibuildwheel.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: There is separate License file now so use that for
checksums
use setuptools_build_meta since normal setuptools3 bbclass ends up
in errors
| distutils.errors.DistutilsError: Command '['/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux-musl/python3-kiwisolver/1.4.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3', '-m
', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpmeo45wf4', '--quiet', 'cppy>=1.2.0']' returned non-zero exit status 1.
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
Release is here [1]
[1] https://github.com/nucleic/kiwi/releases/tag/1.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef,
and nodes.FunctionDef.
Accessing the doc attribute of nodes.Module, nodes.ClassDef, and
nodes.FunctionDef has been deprecated in favour of the doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef,
and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.
Replace custom cachedproperty with functools.cached_property and deprecate it
for Python 3.8+.
Closes#1410
Set end_lineno and end_col_offset attributes to None for all nodes
with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
to unexpected errors. Overwriting them with None will cause a fallback
to the already supported way of PyPy 3.7.
Add missing shape parameter to numpy zeros_like, ones_like,
and full_like methods.
ClosesPyCQA/pylint#5871
Only pin wrapt on the major version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.
The recipe that needed poetry-core is python3-iso8601.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
This recipe has been moved to oe-core in support of
python3-cryptography.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
These variables are no longer used by pip_install_wheel, so remove them
from all recipes that set them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The test suite is no longer shipped in the sources, so remove PN-tests.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Nothing is packaged in these, there are no debug symbols and the sources
are packaged into the regular packages.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
By assigning directly to DEPENDS the dependencies in setuptools3 are
overwritten, so python3-setuptools-native is present to let the build
succeed entirely through luck.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Put the patch into a directory named after PN to avoid needing to set
FILESEXTRAPATHS.
Remove explicit FILES:${PN}-dbg, as these are packaged automatically.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 lru_cache for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This is a backport of the Python 3 configparser for Python 2 users, so
obviously it makes no sense to have for Python 3.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Pystache hasn't been maintained since 2014. One maintained alternative
is https://github.com/noahmorrison/chevron.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Show diff when black fails
Fix f-string
Fix black fail introduced
Log error code on exception
Bump protobuf to 3.19.1 and regenerate protobuf files
Bump black from 21.12b0 to 22.1.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Changes
-------
- Bump required python version for doc.
- Remove python 3.6 from metadata.
- Re-bump changelog.
- Bump version.
- Bump changelog.
- Bump misp-objects.
- Bump deps.
- Bump new minimal python version to 3.7.
- Perl dependencies not longer required.
- Simplify submodules checkout.
- Use https for link to documentation.
- Bump deps.
- [misp-objects] updated to the latest version.
- [FIPS] no clean way to support OpenSSL hashlib interface for FIPS.
- [FIPS] falling back on older version of Python not having
usedforsecurity.
- [FIPS] in some cases, the `usedforsecurity` is not used. So fail if
the FIPS compliance is required and then the `usedforsecurity` is
disabled.
- [feeds] FIPS: when MD5 hashes are generated for fast-lookup it's not
for security.
hashlib provides an option to tell if the hash is used for security or
not. By default, it's set to True. For the feed cache generation, it's
not. Then usedforsecurity=False
- Bump deps.
- Bump deps, objects.
Fix
-----
- Incorrect call when requesting a new API key.
- Libfuzzy-dev is not longer required.
- [mispevent] cannot type.
- Make mypy happy.
New
------
- Get_new_authkey for a user.
- [dep] Use pydeep2 instead of pydeep.
Other
------
- Create add_filetype_object_from_csv.py.
- Add feed option for local tag exclusion #817.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Ignore TIFF XResolution or YResolution with 0 in the denominator.
Add section on freezing
Update "python_requires" to 3.7+
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py-use-setuptools-instead-of-distutils.patch
removed since it's included in 2.4.0
Changelog:
=========
* enable building wheels for multiple platforms and Python versions using
pypa/cibuildwheel, see #165 and #170
* use setuptools instead of distutils in 'setup.py', #168
* add missing type hinting for '.count()' step argument
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
* Fixed inference of "self" in binary operations in which "self"
is part of a list or tuple.
* Fixed builtin inference on `property` calls not calling the `postinit` of the new node, which
resulted in instance arguments missing on these nodes.
* Fixed a crash on "Super.getattr" when the attribute was previously uninferable due to a cache
limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the
"__init__" attribute) is very large.
* Inlcude names of keyword-only arguments in "astroid.scoped_nodes.Lambda.argnames".
* Fixed a crash inferring on a "NewType" named with an f-string.
* Add support for [attrs v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which
added a new `attrs` module alongside the existing `attr`.
* Use the "end_lineno" attribute for the "NodeNG.tolineno" property
when it is available.
* Add "is_dataclass" attribute to "ClassDef" nodes.
* Use "sysconfig" instead of "distutils" to determine the location of
python stdlib files and packages.
* Fixed crash with recursion error for inference of class attributes that referenced
the class itself.
* Fixed crash when trying to infer "items()" on the "__dict__"
attribute of an imported module.
* Add optional "NodeNG.position" attribute.
Used for block nodes to highlight position of keyword(s) and name
in cases where the AST doesn't provide good enough positional information.
E.g. "nodes.ClassDef", "nodes.FunctionDef".
* Fix "ClassDef.fromlineno". For Python < 3.8 the "lineno" attribute includes decorators.
"fromlineno" should return the line of the "class" statement itself.
* Performance improvements. Only run expensive decorator functions when
non-default Deprecation warnings are enabled, eg. during a Pytest run.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Fixed a bug pymongo.collection.Collection.bulk_write() did not apply the
collection’s CodecOptions to upserted_ids result (PYTHON-3075).
Fixes the High Availability and PyMongo example for initializing a replica
set (PYTHON-3041).
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
New set algorithms_available lists all implemented algorithms in xxhash package.
Upgrade xxHash to v0.8.1.
Drop support for EOL Python versions, require python >= 3.6 from now on.
Migrate to github actions and build arm64 wheels for macOS.
Always release GIL.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Poetry can bootstrap itself, so just inherit poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This reverts commit df077258b6.
Add python3-ipy back and inherit setuptools3-legacy.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Python Version Support
----------------------
- Python 3.6 is no longer supported by Waitress
- Python 3.10 is fully supported by Waitress
Bugfix
-------
- "wsgi.file_wrapper" now sets the "seekable", "seek", and "tell"
attributes from the underlying file if the underlying file is seekable. This
allows WSGI middleware to implement things like range requests for example
See https://github.com/Pylons/waitress/issues/359 and
https://github.com/Pylons/waitress/pull/363
- In Python 3 "OSError" is no longer subscriptable, this caused failures on
Windows attempting to loop to find an socket that would work for use in the
trigger.
See https://github.com/Pylons/waitress/pull/361
- Fixed an issue whereby "BytesIO" objects were not properly closed, and
thereby would not get cleaned up until garbage collection would get around to
it.
This led to potential for random memory spikes/memory issues, see
https://github.com/Pylons/waitress/pull/358 and
https://github.com/Pylons/waitress/issues/357 .
Features
--------
- When the WSGI app starts sending data to the output buffer, we now attempt to
send data directly to the socket. This avoids needing to wake up the main
thread to start sending data. Allowing faster transmission of the first byte.
See https://github.com/Pylons/waitress/pull/364
- Add REQUEST_URI to the WSGI environment.
REQUEST_URI is similar to "request_uri" in nginx. It is a string that
contains the request path before separating the query string and
decoding "%"-escaped characters.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Bugfixes
--------
- twisted.internet.gireactor.PortableGIReactor.simulate and
twisted.internet.gtk2reactor.PortableGtkReactor.simulate no longer raises
TypeError when there are no delayed called. This was a regression introduced
with the migration to Python 3 in which the builtin 'min' function no longer
accepts 'None' as an argument. (#9660)
- twisted.conch.ssh.transport.SSHTransportBase now disconnects the remote peer
if the SSH version string is not sent in the first 4096 bytes.
(#10284, CVE-2022-21716, GHSA-rv6r-3f5q-9rgx)
Improved Documentation
----------------------
- Add type annotations for twisted.web.http.Request.getHeader. (#10270)
Deprecations and Removals
-------------------------
- Support for Python 3.6, which is EoL as of 2021-09-04, has been deprecated. (#10303)
Bugfixes
--------
- _dist.test.test_workertrial now correctly compare strings via assertEqual() and pass on PyPy3 (#10302)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Main Changes
------------
Add pyenv's .python-version into .gitignore, #576
Added more --very-verbose logging to make clearer what's going on, #578
Updated versions of containers in CI config, #583
Fixed coverage config template for namespaced packages, #610
Replaced internal appdirs dependency with platformdirs, #584
Documentation Changes
---------------------
Mention python -m setuptools_scm as a form of debugging, #574
Mention setting the default branch in git in docs, #577
Fix documented path to pyscaffold/default.cfg, #580
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
0001-setupinfo.py-check-the-return-value.patch
removed since it's included in 4.8.0.
Changelog:
=========
Features added
--------------
* GH#337: Path-like objects are now supported throughout the API instead of just strings.
Patch by Henning Janssen.
* The ''ElementMaker'' now supports ''QName'' values as tags, which always override
the default namespace of the factory.
Bugs fixed
----------
* GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in
lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
Patch by Tobias Deiminger.
Other changes
-------------
* Built with Cython 0.29.28.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
refresh 0001-Fix-host-contamination-of-include-files.patch
for new version.
License-Update: year updated to 2022.
Changelog:
=========
- renamed _icu extension module to _icu_ and moved it into icu module
- moved icu python module sources into py directory
- deleted long deprecated PyICU.py file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Build wheels for aarch64 at Travis; publish them at PyPI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
fix: auto ping/pong logs should be debug instead of info (#1524)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Do not poke at build system for finding platform
platform is target specific and when cross compiling it should be
detected differently, in this case lets pass it via environment so that
it can be set in recipe
Looks like we're not the first to need to specify the target platform
[1]
when building this package. According to upstream, we can just update
setup.cfg instead of patching setup.py.
[1] https://github.com/ICRAR/crc32c/pull/10
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.4:
- Fix traceback in hashlib_insecure_functions
- Add version 1.7.3 to dropdown
- core/config: Fix ConfigError missing argument if toml is missing
- Add 1.7.4 in issue template
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Migrate to use setuptools instead of distutils
merge slip.dbus into slip module since we use
slip.dbus, it works fine for OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.5.2:
- Add support for building aarch64 wheels
- Remove update process document
- Port ast27 to Python 3.11
- Define _PyUnicode_DecodeUnicodeEscape even on Python 3.6+
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.0.0:
- Drop support for Python 3.6
- Remove deprecated VERSION, use version instead
- Remove when from naturaldelta() and allow largest timedelta
- Remove deprecated private function aliases
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.13.0:
- Clarify that the Headers class is a Sequence and inherit from
the collections Sequence abstract base class to also indicate
this (and gain the mixin methods)
- Switch event classes to dataclasses for easier typing and
slightly improved performan
- Shorten traceback of protocol errors for easier readability
- Add typing including a PEP 561 marker for usage by type checkers
- Expand the allowed status codes to [0, 999] from [0, 600]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.7:
- Dropped support for Python 3.7
- Added the Asadpour algorithm for solving the asymmetric traveling
salesman problem
- Removed all internal usage of the numpy.matrix class, and added a
FutureWarning to all functions that return a numpy.matrix
instance
- Added support for the scipy.sparse array interface
- Added generic dtype support to
~networkx.convert_matrix.to_numpy_array
- Added support for computing betweenness centrality on multigraphs
- Added support for directed graphs and multigraphs to
greedy_modularity_communities
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Use github to fetch it since its not yet available on pypi
Port to use setuptools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Without python3-setuptools-scm-native, the version on the generated
wheel is 0.0.0, not ${PV} as expected which causes
pip_install_wheel_do_install to fail to find the wheel.
Consulting the LICENSE.txt distributed with the source, the template
files under pyscaffold.templates, which are installed as part of this
recipe, are licensed as BSD-0-Clause
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
Add --verbose logging for querying keyring credentials.
Log all upload responses with --verbose.
Show more helpful error message for invalid metadata.
-Bugfixes
Require a recent version of urllib3.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Switch back to pulling from PyPI which now does have appropriate release
tarballs. This fixes building the wheel.
While touching the recipe, also add HOMEPAGE and point LIC_FILES_CHKSUM
at the LICENSE file that's now part of the release tarball.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the
1.8.1 tag.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add function to generate expected PYPA_WHEEL name.
Generated name:
/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/
Flask_Versioned-0.9.4.post20101221-py3-none-any.whl
Default (wrong) name:
Flask_Versioned-0.9.4-20101221-*.whl
Error:
WARNING: Requirement '/yp/builds/meta-qtec-distro/tmp/work/dbfp4-poky-linux/python3-flask-versioned/0.9.4-20101221-r0/Flask-Versioned-0.9.4-20101221/dist/Flask_Versioned-0.9.4-20101221-*.whl'
looks like a filename, but the file does not exist
ERROR: Flask_Versioned-0.9.4-20101221-*.whl is not a valid wheel filename.
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Does not build with bdist_wheel. If you need this package please work
with upstream to update to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Connect with an empty auth object instead of None
Fix indentation in the "Rooms" docs example.
Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherity pypi and the package name is capitalized
regardless. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
When calling setup.py with bdist_wheel, the find_pth_directory() in
setup.py correctly install the pth file to
${D}${PYTHON_SITEPACKAGES_DIR}. It's not clear why setup.py was being
patched original when the recipe was added in 2019, but it doesn't
appear to be necessary now.
This fixes the recipe to build with the recent PEP-517 changes.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Fix the pip install variables since the default values don't work
here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The current SRC_URI is pointing to a fork of an abandoned
code.google.com project, the latter being what is actually on pypi.
Aside from some activity in 2012 porting to python3, the fork hasn't
seen any real activity.
The package doesn't have wheel support and has no dependents in
meta-openembedded
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream hasn't done a release, but has commits which among other things
switches from distutils to setuptools.
Now DEPENDS on python3-setuptools-scm-native
Set PV to what the version of the 'wheel' is.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Reviewed-by: TIm Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH so set PYPA_WHEEL
appropriately.
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
Added :func:'print_black_and_white' worksheet method to set "Black and
White" print options.
License-Update: year updated to 2022.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022.
ChangeLog
============
- Fix 10 year old bug and improve dispatcher handling for run_forever (#795)
- Fix run_forever to never return None, only return True or False, and add two
tests (#788)
- Remove Python 3.6 support, EOL in Dec 2021
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
setup.py bdist_wheel does not work with ditutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The LICENSE is already included in the wheel and therefore packaged like
any other wheel. Remove the duplicate LICENSE erroneously installed in
/usr/pako/LICENSE.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The code has not been touched since 2013 and does not build with
bdist_wheel. If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to a useful name for
the wheel. Set PIP_INSTALL_PACKAGE appropriately.
Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH
appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.
The recipe also builds its wheel in ${S}/dist so we must set
PIP_INSTALL_DIST_PATH appropriately.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
wheel dist-info standard files).
This recipe may be overly complicated. This commit is only an attempt to
fix the install of the wheel.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares a flit_core.buildapi
build backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upstream provides a pyproject.toml which declares the flit_core.buildapi
backend for PEP-517 packaging.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, the wheel is being built in
${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Like python3-setuptools-rust-native, this is building its wheel in
${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add comment that setuptools_build_meta is currently broken and stick
with setuptools3 for now.
For some reason, the wheel is built in ${S}/dist and not ${B}/dist.
Set PIP_INSTALL_DIST_PATH accordingly as a workaround.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.8.11:
- Rewrote an async test and replaced setDaemon with daemon property
assignment for thread handling
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.1.1:
- Drop support for EOL Python 3.6
- Use <caption> tags to print html table titles
- Add colorful tables and themes
- Convert None to empty cell or custom value
- Resolve "KeyError" issue on _stringify_row
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
anyjson is inactive [1] moreover does not have wheel support
there is drop-in replacement to use oslo.serialization if needed
we can accept such a recipe if submitted
[1] https://snyk.io/advisor/python/anyjson
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add pytest module dependency for testing
nose has been dropped upstream too [1]
[1] 037453c6f9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.3.2:
- Fix: adapt to pypy3.9's decorator tracing behavior. It now
traces function decorators like CPython 3.8: both the @-line
and the def-line are traced.
- Debug: added pybehave to the list of Diagnostics: coverage debug
and --debug options
- Fix: show an intelligible error message if
--concurrency=multiprocessing is used without a configuration file
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.4.0:
- Fixed issue where tab completion was quoting argparse flags in
some cases.
- Added broader exception handling when enabling clipboard
functionality via pyperclip.
- Added PassThroughException to __init__.py imports.
- cmd2 now uses pyreadline3 when running any version of Python
on Windows
- Improved memory usage in certain use cases of tables
(e.g. nested colored tables)
- Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0.
Use cmd2.Fg and cmd2.Bg instead.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.0.57:
- Get translation changes from CLDR
- Add more translations from CLDR
- Replace "ibus/cangjie" with "ibus/table:cangjie"
- Updates for Sami languages
- Updates for Finnish keyboard layouts
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.1:
- Regression in Series.mask() with inplace=True and PeriodDtype and
an incompatible other coercing to a common dtype instead of
raising
- Regression in assert_frame_equal() not respecting check_flags=False
- Regression in DataFrame.loc() raising ValueError when indexing
(getting values) on a MultiIndex with one level
- Regression in Series.fillna() with downcast=False incorrectly
downcasting object dtype
- Regression in api.types.is_bool_dtype() raising an AttributeError
when evaluating a categorical Series
- Regression in DataFrame.iat() setting values leading to not
propagating correctly in subsequent lookups
- Regression when setting values with DataFrame.loc() losing Index
name if DataFrame was empty before
- Regression in join() with overlapping IntervalIndex raising an
InvalidIndexError
- Regression when setting values with Series.loc() raising with all
False indexer and Series on the right hand side
- Regression in read_sql() with a DBAPI2 connection that is not an
instance of sqlite3.Connection incorrectly requiring SQLAlchemy
be installed
- Regression in DateOffset when constructing with an integer
argument with no keywords (e.g. pd.DateOffset(n)) would behave
like datetime.timedelta(days=0)
- Fixed segfault in DataFrame.to_json() when dumping tz-aware
datetimes in Python 3.10
- Stopped emitting unnecessary FutureWarning in
DataFrame.sort_values() with sparse columns
- Fixed window aggregations in DataFrame.rolling() and
Series.rolling() to skip over unused elements
- Fixed builtin highlighters in Styler to be responsive to NA with
nullable dtypes
- Bug in apply() with axis=1 raising an erroneous ValueError
- Reverted performance speedup of DataFrame.corr() for
method=pearson to fix precision regression
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 4.1.0:
- Packaged using flit. Wheels now exist, and setuptools is no
longer required.
- This package now has a typical package structure, instead of
being a single module. The code is in ordered_set/__init__.py
instead of ordered_set.py.
- There is an ordered_set/py.typed so that type checkers know
about the types.
- Use the type aliases SetLike[T] and OrderedSetInitializer[T] to
simplify some types.
- Updated the way overloaded type signatures are written to what
MyPy currently expects.
- Minimum Python version is 3.7.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
-The test client's as_tuple parameter is deprecated and will be removed in
Werkzeug 2.1. It is now also deprecated in Flask, to be removed in Flask 2.1,
while remaining compatible with both in 2.0.x. Use response.request.environ
instead.
-Fix type annotation for errorhandler decorator.
-Revert a change to the CLI that caused it to hide ImportError tracebacks when
importing the application.
-app.json_encoder and json_decoder are only passed to dumps and loads if they
have custom behavior. This improves performance, mainly on PyPy.
-Clearer error message when after_this_request is used outside a request
context.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
python3-nose still contains Python 2 code which causes errors in
do_compile when using bdist_wheel or PEP-517 packaging.
Like nose, test-generator has not been touched since 2016.
Drop this recipe unless someone fixes the issues in python3-nose
[YOCTO #14638]
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Because of layer priority, this recipe must be dropped before a build
with the new PEP-517 packaging can proceed due to dependency loops.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 8.0.4:
- open_file recognizes Path("-") as a standard stream, the same as
the string "-".
- The option and argument decorators preserve the type annotation
of the decorated function.
- A callable default value can customize its help text by
overriding __str__ instead of always showing (dynamic).
- Fix a typo in the Bash completion script that affected file and
directory completion. If this script was generated by a previous
version, it should be regenerated.
- Fix typing for echo and secho file argument.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.0:
- Dropped support for EOL Pythons 2.7, 3.4 and 3.5
- Dropped support for LSB and uname back-ends when --root-dir is
specified
- Moved distro.py to src/distro/distro.py
- Documented that distro.version() can return an empty string on
rolling releases
- Documented support for Python 3.10
- Added official support for Rocky Linux distribution
- Added a shebang to distro.py to allow standalone execution
- Added support for AIX platforms
- Added compliance for PEP-561
- Fixed include_uname parameter oversight
- Fixed crash when uname -rs output is empty
- Fixed Amazon Linux identifier in distro.id() documentation
- Fixed OpenSuse >= 15 support
- Fixed encoding issues when opening distro release files
- Fixed linux_distribution regression
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update:
year updated to 2022
changelog:
===============================================================================
Add a new command alembic ensure_version, which will ensure that the Alembic
version table is present in the target database, but does not alter its
contents. Pull request courtesy Kai Mueller.
Fixed regression where usage of a with_variant() datatype in conjunction
with the existing_type option of op.alter_column() under batch mode would
lead to an internal exception.
Implemented support for recognizing and rendering SQLAlchemy “variant” types
going forward into SQLAlchemy 2.0, where the architecture of “variant”
datatypes will be changing.
Added a rule to the MySQL impl so that the translation between JSON / LONGTEXT
is accommodated by autogenerate, treating LONGTEXT from the server as
equivalent to an existing JSON in the model.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.3.4:
- Add a way to make next() easier to use
- Restore compat with python2
- Fix regressions with set_current
- Fix compat for tests under py27
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since 2021-11-23 this is on oe-core:
d56fcb5806 ("python: introduce python3-dtschema")
The recipe in oe-core is named python3-dtschema (without dash between
'dt' and 'schema'). It points to the correct GIT repository and uses a
much more recent version.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
When using ns.PATH, only split off a maximum of two suffixes from a file name.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update: year updated to 2022
Changelog:
=========
Features
--------
-Python 3.10 is now a supported platform (#10224)
-Type annotations have been added to the twisted.python.fakepwd module. (#10287)
Bugfixes
--------
-twisted.internet.defer.inlineCallbacks has an improved type annotation, to
avoid typing errors when it is used on a function which returns a non-None
result. (#10231)
-twisted.internet.base.DelayedCall.__repr__ and
twisted.internet.task.LoopingCall.__repr__ had the changes from #10155
reverted to accept non-function callables. (#10235)
-Revert the removal of .whl building that was done as part of #10177. (#10236)
-The type annotation of the host parameter to
twisted.internet.interfaces.IReactorTCP.connectTCP has been corrected from
bytes to str. (#10251)
-Deprecated twisted.python.threading.ThreadPool.currentThread() in favor of
threading.current_thread().
-Switched twisted.python.threading.ThreadPool.currentThread() and
twisted.python.threadable.getThreadID() to use 'threading.current_thread() to
avoid the deprecation warnings introduced forthreading.currentThread()'
in Python 3.10. (#10273)
Improved Documentation
----------------------
-twisted.internet.utils.runWithWarningsSupressed behavior of waiting on
deferreds has been documented. (#10238)
-Sync API docs templates with pydoctor 21.9.0 release, using new theming
capabilities. (#10267)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
- "ProxyFix" supports IPv6 addresses. :issue:'2262'
- Type annotation for "Response.make_conditional",
"HTTPException.get_response", and "Map.bind_to_environ" accepts
"Request" in addition to "WSGIEnvironment" for the first
parameter. :pr:'2290'
- Fix type annotation for "Request.user_agent_class". :issue:'2273'
- Accessing "LocalProxy.__class__" and "__doc__" on an unbound
proxy returns the fallback value instead of a method object.
:issue:'2188'
- Redirects with the test client set "RAW_URI" and "REQUEST_URI"
correctly. :issue:'2151'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.3.6:
- add optional value parameter to `util.count_n()`
- determine machine endianness at build time when possible, by
using the `PY_LITTLE_ENDIAN` macro, in order to optimize
`shift_r8()`
- add official Python 3.11 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.14.0:
- Don't deprecate time.Unit enumeration
- Use humanize.intcomma to format years in time module
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.15.0:
- Fix webcam FPS settings on MacOS
- Add format_hint to v3 API
- Make tifffile read resolution metadata
- Make RTD fail on warnings during CI
- Remove link to download tracker
- Type annotations for pillow
- Contribution guidelines
- Deprecate python 3.6 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
Drop support for Python 2.7. #1047
The minimum cryptography version is now 35.0.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
===============================================================================
OAuth2.0 Client:
Add Device Authorization Flow for Web Application
Add PKCE support for Client
Fallback to none in case of wrong expires_at format.
OAuth2.0 Provider:
Add support for CORS to metadata endpoint.
Add support for CORS to token endpoint.
Remove comma after Bearer in WWW-Authenticate
OAuth2.0 Provider - OIDC:
Call save_token in Hybrid code flow
OIDC add support of refreshing ID Tokens with refresh_id_token
The RefreshTokenGrant modifiers now take the same arguments as the
AuthorizationCodeGrant modifiers (token, token_handler, request).
General:
Added Python 3.9, 3.10, 3.11
Improve Travis & Coverage
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
License-Update:
year updated to 2022
changelog:
===============================================================================
-orm
Fixed issue in Session.bulk_save_objects() where the sorting that takes place
when the preserve_order parameter is set to False would sort partially on
Mapper objects, which is rejected in Python 3.11.
-postgresql
Fixed regression where the change in #7148 to repair ENUM handling in
PostgreSQL broke the use case of an empty ARRAY of ENUM, preventing rows
that contained an empty array from being handled correctly when fetching results.
-mysql
Fixed regression in asyncmy dialect caused by #7567 where removal of the
PyMySQL dependency broke binary columns, due to the asyncmy dialect not being
properly included within CI tests.
-mssql
Added support for FILESTREAM when using VARBINARY(max) in MSSQL.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This package is Apache-2.0 licensed, not BSD.
Also set the license checksum to the specific fragment of the README.rst
which states the license.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 6.3:
- Added the lcov command to generate reports in LCOV format.
- the coverage data file can now be specified on the command line
with the --data-file option in any command that reads or writes
data. This is in addition to the existing COVERAGE_FILE
environment variable.
- coverage measurement data will now be written when a SIGTERM
signal is received by the process. This includes
Process.terminate, and other ways to terminate a process.
Currently this is only on Linux and Mac; Windows is not supported.
- Dropped support for Python 3.6, which reached end-of-life on
2021-12-23.
- Updated Python 3.11 support to 3.11.0a4.
- Fix: the coverage data file is now created in a more robust way,
to avoid problems when multiple processes are trying to write
data at once.
- Fix: a .gitignore file will only be written into the HTML report
output directory if the directory is empty. This should prevent
certain unfortunate accidents of writing the file where it is
not wanted.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.7.0:
- Replace recommendation of using system packages with pip3
- Add truecolor support
- Generate documentation with Sphinx and use Read the Docs
- Adds support for OSC hyperlink sequences
- Add test coverage
- Replace pkg_resources with importlib.metadata
- Fix including of CHANGELOG.rst
- Update linting dependencies
- Upgrade the build process
- Add type hinting
- Update CI badges in readme
- Bump setuptools-scm version
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.17.3:
- Allow writer to become a reader in thread ReaderWriter lock
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
mips/glibc systems have interesting problem where dev_t is not defined
properly for O32 ABI [1], therefore address it for libsystemd crate, it
works fine for musl
Fixes
error[E0308]: mismatched types
--> /usr/src/debug/python3-pyruvate/1.1.2-r0/cargo_home/bitbake/libsystemd-0.4.1/src/logging.rs:296:25
|
296 | device: stat.st_dev,
| ^^^^^^^^^^^ expected `u64`, found `u32`
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=17786
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.4.0:
- Improved warning messages
- Index can hold arbitrary ExtensionArrays
- Styler
- Multi-threaded CSV reading with a new CSV Engine based on
pyarrow
- Rank function for rolling and expanding windows
- Groupby positional indexing
- DataFrame.from_dict and DataFrame.to_dict have new 'tight'
option
- Fix inconsistent date string parsing
- Fix ignoring dtypes in concat with empty or all-NA columns
- Null-values are no longer coerced to NaN-value in value_counts
and mode
- mangle_dupe_cols in read_csv no longer renames unique columns
conflicting with target names
- unstack and pivot_table no longer raises ValueError for result
that would exceed int32 limit
- groupby.apply consistent transform detection
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.14.0:
- Handle pillow9 GIFs
- Allow mode=None when writing with pillow
- Add repo to PYTHONPATH in should_release?
- Reorganize commit tags
- Reduce release frequency to weekly
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.3:
- Pick up custom urlconf set by Django middlewares from request
if any
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.9.2:
- Enhanced log output when connecting to servers that do not
support server-sig-algs extensions, making the new-as-of-2.9
defaulting to SHA2 pubkey algorithms more obvious when it
kicks in.
- Connecting to servers which support server-sig-algs but which
have no overlap between that list and what a Paramiko client
supports, now raise an exception instead of defaulting to
rsa-sha2-512 (since the use of server-sig-algs allows us to
know what the server supports).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 9.0.0:
- Restrict builtins for ImageMath.eval()
- Ensure JpegImagePlugin stops at the end of a truncated file
- Fixed ImagePath.Path array handling
- Remove consecutive duplicate tiles that only differ by their
offset
- Removed redundant part of condition
- Explicitly enable strip chopping for large uncompressed TIFFs
- Use the Windows method to get TCL functions on Cygwin
- Changed error type to allow for incremental WebP parsing
- Improved I;16 operations on big endian
- Ensure that BMP pixel data offset does not ignore palette
- Limit quantized palette to number of colors
- Use latin1 encoding to decode bytes
- Fixed palette index for zeroed color in FASTOCTREE quantize
- When saving RGBA to GIF, make use of first transparent palette
entry
- Pass SAMPLEFORMAT to libtiff
- Added rounding when converting P and PA
- Improved putdata() documentation and data handling
- Exclude carriage return in PDF regex to help prevent ReDoS
- Image.NONE is only used for resampling and dithers
- Fixed freeing pointer in ImageDraw.Outline.transform
- Add Tidelift alignment action and badge
- Replaced further direct invocations of setup.py
- Added ImageShow support for xdg-open
- Switched from deprecated "setup.py install" to "pip install ."
- Support 16-bit grayscale ImageQt conversion
- Fixed raising OSError in _safe_read when size is greater than
SAFEBLOCK
- Convert subsequent GIF frames to RGB or RGBA
- WebP: Fix memory leak during decoding on failure
- Do not prematurely return in ImageFile when saving to stdout
- Added support for top right and bottom right TGA orientations
- Corrected ICNS file length in header
- Block tile TIFF tags when saving
- Added line width argument to ImageDraw polygon
- Do not redeclare class each time when converting to NumPy
- Only prevent repeated polygon pixels when drawing with
transparency
- Fix pushes_fd method signature
- Add support for pickling TrueType fonts
- Only prefer command line tools SDK on macOS over default
MacOSX SDK
- Fix compilation on 64-bit Termux
- Replace 'setup.py sdist' with '-m build --sdist'
- Use declarative package configuration
- Use title for display in ImageShow
- Fix for PyQt6
- Rename master to main
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
====================================================================
see changes at
https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md
Features
analyticsadmin: update the api 981bbe3 (4d5c983)
artifactregistry: update the api 0d1152f (4d5c983)
content: update the api 195bfc2 (4d5c983)
datapipelines: update the api 3bb1937 (4d5c983)
dataproc: update the api 2fc3a16 (4d5c983)
datastream: update the api d51a6ee (4d5c983)
displayvideo: update the api 459a636 (4d5c983)
drive: update the api 92ec7cf (4d5c983)
eventarc: update the api 8fd4b62 (4d5c983)
metastore: update the api b7f92e4 (4d5c983)
ondemandscanning: update the api e8a2008 (4d5c983)
osconfig: update the api 974f389 (4d5c983)
privateca: update the api f48c528 (4d5c983)
recaptchaenterprise: update the api edd3d24 (4d5c983)
redis: update the api 0a68f42 (4d5c983)
run: update the api 59c518f (4d5c983)
sasportal: update the api 1517d9d (4d5c983)
servicedirectory: update the api 298a0e1 (4d5c983)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelog:
Fix support for Sanic v21.9.0 and up
Include example code in flake8 pass
Remove unused __version__ constant #262
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
changelogs:
=============================================================
Truncate input after cursor. Fixes#351 (#352)
Support of path completion in fish #327 (#359)
Drop support for Python 2.7 and 3.5 (#361)
Add support for Python 3.10 (#356)
Test, documentation, and release infrastructure improvements
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Check the return value in subprocess to guarantee the subprocess
execute successfully or not as after [1] introduced to limit the
netowork, there some difference during do_compile phase as below.
Before the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b''
>>>
After the change
# python
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> cmd = "pkg-config --modversion libxml-2.0"
>>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>>> stdout_data, errors = p.communicate()
>>> print(stdout_data)
b'2.9.12\n'
>>> print(errors)
b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
>>>
[1] https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.7.1:
- Fix broken link to packaging tutorial
- Add support for core metadata version 2.2, defined in PEP 643.
- Add support for Python 3.10
- Show more helpful messages for invalid passwords
- Allow the --skip-existing option to work with GCP Artifact
Registry
- Add a helpful error message when an upload fails due to missing
a trailing slash in the URL
- Generalize --verbose suggestion when an upload fails
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.9.12:
- Remove Cyclic references (memory leak)
- Add left & right shift operations (<< and >>)
- Switch to GH actions & CodeCov.io for CI tests
- Add extra contributors details
- Reformat w/ Black + isort, and have linting of those in CI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.3.0:
- Do not install C sources with binary distributions
- Dropped Python 3.6 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.2.0:
- SVCB and HTTPS records have been updated to track the evolving
draft standard.
- The ZONEMD type has been added.
- The resolver now returns a LifetimeTimeout exception which
includes an error trace like the NoNameservers exception. This
class is a subclass of dns.exception.Timeout for backwards
compatibility.
- DNS-over-HTTPS will try to use HTTP/2 if the httpx and h2
packages are installed.
- DNS-over-HTTPS is now supported for asynchronous queries and
resolutions.
- dns.zonefile.read_rrsets() has been added, which allows rrsets
in zonefile format, or a restrition of it, to be read. This
function is useful for applications that want to read DNS data
in text format, but do not want to use a Zone.
- On Windows systems, if the WMI module is available, the resolver
will retrieve the nameserver from WMI instead of trying to
figure it out by reading the registry. This may lead to more
accurate results in some cases.
- The CERT rdatatype now supports certificate types IPKIX, ISPKI,
IPGP, ACPKIX, and IACPKIX.
- The CDS rdatatype now allows digest type 0.
- Dnspython zones now enforces that a node is either a CNAME node
or an "other data" node. A CNAME node contains only CNAME,
RRSIG(CNAME), NSEC, RRSIG(NSEC), NSEC3, or RRSIG(NSEC3) rdatasets.
An "other data" node contains any rdataset other than a CNAME or
RRSIG(CNAME) rdataset. The enforcement is "last update wins". For
example, if you have a node which contains a CNAME rdataset, and
then add an MX rdataset to it, then the CNAME rdataset will be
deleted. Likewise if you have a node containing an MX rdataset
and add a CNAME rdataset, the MX rdataset will be deleted.
- Extended DNS Errors, as specified in RFC 8914, are now supported.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 5.1.1:
- Fix so that cythonized functions can be decorated
- Fix an issue in the decorator_apply example
- Fix issues with decorator.contextmanager
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Use the same approach as librsvg to disable 64-bit atomics on platforms
which have 32-bit pointers or are otherwise not supported.
https://github.com/crossbeam-rs/crossbeam/blob/master/no_atomic.rshttps://doc.rust-lang.org/std/sync/atomic/#portability
"PowerPC and MIPS platforms with 32-bit pointers do not have AtomicU64
or AtomicI64 types."
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 1.2.0:
- Enforce validation for day=1. Before this release we used to
support day=0 and it was silently glided to day=1 to support
having both day in day in 4th field when it came to have
6fields cron forms (second repeat). It will now raises a
CroniterBadDateError.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 0.17.2:
- Remove unecessary setuptools pin
- Switch to the modern python package build infrastructure
- Remove support for python 3.5 and earlier, including 2.7
- Add support for python 3.9 and 3.10
- Fix a conflict with django lock
- Add __version__ and __all__ attributes
- Fix a failure to parse README as utf-8
- Move from nosetest to pytest and cleanup testing infrastructure
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.8.1:
- Fixed pickle problem of jdate and jdatetime objects
- Fixed unicode literal problem in isoformat
License-Update: Use the LICENSE file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
See https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3601---2021-12-14
for changes
* Add PSF-2.0 license and explicitly add checksums for the LICENSE files that
are packaged.
* RDEPENDS on python3-hypothesis (in oe-core) for ptest so we can drop the
patch for skipping.
* Drop backported patch for openssl3 support.
* inherit new setuptools_rust class (which inherits new pyo3 class, which
inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Cleanup and alphabetize the RDEPENDS
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
- Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
only package.repository was strictly required):
[package]
description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
homepage = "https://github.com/pyca/cryptography"
repository = "https://github.com/pyca/cryptography"
* Add patches to src/rust/Cargo.toml to fix cargo errors including pem version
* Add check-memfree.py to ptest to check for sufficient free memory
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Add note to remind contributors to keep this recipe in lock-step with
python3-cryptography. They must be at the same version.
5bd0c10d allow parsing of nonstandard country name and jurisdiction country name (#6641)
78c2dd8a add AES SIV vectors (#6608)
c451c1df add AES OCB3 test vectors (#6606)
4da2a681 Allow parsing CSR extensions with the critical bit having an explicitly encoded default (#6600)
bb05d4b5 allow multiple identical pem blocks (#6551)
f4871a21 add accvraiz1 bmpstring test vector (#6503)
667e7a5f Add new PKCS12 test vectors (#6383)
703de3af Accept combined PEM files with multiple sections (#6365)
51221b2c support legacy PEM headers for certificate and CSR (#6356)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
0.6.0 (2022-01-15)
* pytest>=6.0 is now required.
* Added official support for Python 3.10.
* Dropped support for Python 3.5.
* Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52).
* Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30).
References:
https://github.com/pytest-dev/pytest-subtests/pull/52https://github.com/pytest-dev/pytest-subtests/pull/30
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Pyruvate is a reasonably fast, multithreaded, non-blocking WSGI server
implemented in Rust.
This recipe uses the new setuptools3_rust and pyo3 classes.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Dependency for python3-cryptography 3.4.x+
Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
The upstream source repository has disappeared, and a release was last
made in January 2016.
As this package is unmaintained and there are many alternatives, remove
it.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Port the use of distutils to setuptools, as distutils is deprecated.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
pycrypto hasn't had a commit upstream since June 2014, which for a
security-critical module is not a good sign.
Everyone has migrated to the pycryptodome or cryptography modules, so
remove pycrypto from meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
=========
Fixed a bug where the --identifier command line argument was ignored.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Changelog:
url for these releases
<https://github.com/pyscaffold/pyscaffold/issues/####>
=========
Ensure build configuration produces sdist as it is needed by conda, #570
Documentation improvements in #567
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2.0.10:
- Fallback match entries might lead to UnicodeDecodeError for
large bytes sequence
- Skipping the language-detection (CD) on ASCII
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 3.0.1:
- Fixed :class:`~fields.DateTimeField` and other similar fields
can handle multiple formats
- Stop support for python 3.6
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Upgrade to release 2021.11.10:
- Minor changes to some tests
- Removed unused functions
- Fuzzy regex matching doesn't seem to test insertions correctly
License-Update: Use LICENSE.txt
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>