This package has strict build dependencies defined in pyproject.toml:
requires = ['setuptools ~= 41.4', 'setuptools_scm ~= 3.3', 'wheel ~= 0.33.6']
The ~= operator is "compatible release", so "setuptools ~= 41.4" can be
read as "setuptools >= 41.4, setuptools == 41.*".
We have setuptools 62.6.0 and do builds using our own packages instead
of building inside virtual environments, so these dependencies cannot
be satisfied.
Resolve this by passing --loose-depends to picobuild, which effectively
turns ~= into >=.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's no need to depend on python3-toml-native, but this does need
python3-setuptools-scm-git-archive-native.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a DEPENDS on ptyhon3-setuptools-scm-git-archive-native as the setup.py
uses it.
In the future we'll have a Python building tool which validates build
requirements, so remove pip from those dependencies as it shouldn't depend
on a specific build tool being present.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The upstream pyproject.toml says it needs to be built with the Poetry
frontend, but that's deprecated behaviour and it should use the Poetry
Core API instead.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In the future we'll have a Python building tool which validates build
requirements. No package should require a specific tool to be present
(not even used, just present), so remove the dependency on 'build'.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build doesn't generate the right filenames without this package.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.0:
- style.py: Drop unused CSS class .bold
- Bring back putting a rendered man page into release archives
- Migrate from mock to unittest.mock of Python >=3.3
- Fix for ANSI color codes that include blank values
- Added py.typed file
- style.py: Get CSS class .inv_foreground in sync with
.body_foreground
- Fix --input-encoding= regression added in PR #143 + related
tests
- Add ability to also recognize colons in ANSI escapes
- Fixes to respect bright colors in palette
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.12.0:
- Add apply
- Support newer Python versions--up to Python 3.11-alpha
- Improve warning when using toolz.compatibility
- Improve documentation
- Improve performance of merge_with
- Improve import times
- Auto-upload new releases to PyPI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.7.4:
- Fixed git diff parsing issues (filename with spaces, only one
added/deleted file).
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.4:
- Clean up maximal_independent_set tests
- MAINT: Cleanup centrality module, remove unused variables
- importorskip scipy instead of numpy for total spanning tree
- Add initial_graph parameter to scale_free_graph and deprecate
create_using
- Add docstring example for attr transfer to linegraph.
- Update ISMAGS.analyze_symmetry docstring.
- Add default value p=2 for minkowski distance metric.
- Update inline code to inline math in docstring
- Update multigraph docstrings to reflect remove_edges_from
behavior.
- Update simple_cycles docstring w/ yields and examples
- Chromatic polynomial
- Catch ':' explicitly while working with pydot
- Revert "Add workaround for pytest failures on 3.11b2"
- Default to lightmode for documentation
- Dont compute all biconnected components in is_biconnected()
- Some more changes to make pytest-randomly happy
- Add durations flag to coverage run on CI.
- Recover order of layers in multipartite_layout when layers are
sortable
- Update doc requirements
- Touchups to MG and MDG edges docstrings.
- Add PendingDeprecation for pydot
- Add example of topo_order kwarg to dag_longest_path
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.1:
- Rejecting domains with NULL MX records (when deliverability
checks are turned on).
- Rejecting unsafe unicode characters. (Some of these checks you
should be doing on all of your user inputs already!)
- Rejecting most special-use reserved domain names. A new
test_environment option is added for using @*.test domains.
- Some fixes in the tests.
- example and example.com/net/org are removed from the special-use
domains list.
- SPECIAL_USE_DOMAIN_NAMES is now a documented part of the API
(and it is a list instead of a tuple)
- New module-level attributes ALLOW_SMTPUTF8, CHECK_DELIVERABILITY,
TEST_ENVIRONMENT, and DEFAULT_TIMEOUT can be used to change the
default values of the keyword arguments.
- Travis CI is updated to test from Python 3.6 forward,
dropping 3.5.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.4.1:
- Greatly improved performance on PyPy, and other environments that
need the pure Python trace function.
- The conditions for using tomllib from the standard library have
been made more precise, so that 3.11 alphas will continue to work.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.2:
- The minimum supported Python version is now 3.7.
- Wheels are now published with the Python stable ABI (abi3) for
compatibility across versions of Python.
- SSL certificate verfication and hostname checks are now enabled
by default in more places (primarily in client-side usage of
SSLIOStream).
- Various improvements to type hints throughout the package.
- CI has moved from Travis and Appveyor to Github Actions.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.3:
- Update annotations, docs, and tests: naturaltime can also accept
a timedelta
- Update annotations: naturadelta and naturaltime can also accept
a float
- Rename Arabic locale from ar_SA to ar to enable fallbacks
- Use %d for year translations, convert to string for intcomma after
- Fix intcomma with ndigits=0
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.17.0:
- Support serialization as float in TimeDelta field
- Add messages_dict property to ValidationError to facilitate type
checking
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Handle ASGI lifespan when running with a secondary ASGI app #284
Update deprecated usage of asyncio.wait() #281
Better handling of queued WebSocket messages in uWSGI #256
Gracefully fail to decode empty packets #269
Only attempt to set an async signal handler once #276
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Handle ValueError for possible blank values when casting to int
Remove deprecated method AwesomeVersion.ensure_strategy
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Convert the metadata into PEP 621 format
- Use pyproject.toml only
- Memory leak when multiple field is set to true in ack
- No exception raised when heartbeat timed out
- Wrong return type for basic_get
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.29.2:
- Only thread lock methods attempting to access the cache for the
caching middleware.
- Socket timeout when pushing a significant amount of data
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.41:
- support for python 3.11 added (__getstate__ behavior change)
- replaced travis CI by Github actions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.3 and add runtime dependencies:
- Keccak backend was initialized every time it was called.
Now it's initialized only the first time it's called.
- Prune venv files from the release via MANIFEST.in
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.5.1:
- new: WAMP Flatbuffers IDL and schema processing (experimental)
- new: WAMP-cryptosign trustroot (experimental)
- new: add wrapper type for CryptosignAuthextra
- fix: stricted type checking of Challenge; fix cryposign unit test
- new: more test coverage
- fix: reduce log noise
- fix: forward channel_binding selected in Component client
- new: expand ISigningKey to provide security_module/key_id
- fix: Component cryptosign test
- fix: add type hints; fix channel_binding
- new: work on federated realms and secmods
- new: rename to and work on a.w.CryptosignKey
- new: add bip44 for cryptosign test
- fix: remove all txaio.make_logger refs from generic code
- new: initial support for federated WAMP realms via
a.x.FederatedRealm/Seeder
- new: moved utility functions and unit tests for WAMP realm name
checking from Crossbar.io
- new: allow list of URLs for transports in a.t.component.Component
- new: add websocket_options to a.t.wamp.ApplicationRunner
- new: add stop_at_close flag in a.t.component.run
- fix: reduce log noise (regression) on ApplicationRunner Twisted
- new: allow max_retry_delay==0 for always-immediate auto-reconnect
in ApplicationRunner on Twisted
- new: add websocket_options to WAMP ApplicationRunner on Twisted
- new: more type hints and docs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed regression caused by #8133 where the pickle format for mutable attributes
was changed, without a fallback to recognize the old format, causing in-place
upgrades of SQLAlchemy to no longer be able to read pickled data from previous
versions. A check plus a fallback for the old format is now in place.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Catch a racy ValueError that could occur on exit.
Create README-hacking.md, for Colorama contributors.
Tweak some README unicode characters that don't render correctly on PyPI.
Fix some tests that were failing on some operating systems.
Add support for Python 3.9.
Add support for PyPy3.
Add support for pickling with the dill module.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
--------
Output the Unicode table version when running the CLI with --version (PR #194)
Changed
--------
Re-use decoded buffer for single byte character sets
Fixing some performance bottlenecks
Fixed
--------
Workaround potential bug in cpython with Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space (PR #175)
CLI default threshold aligned with the API threshold from @oleksandr-kuzmenko (PR #181)
Removed
--------
Support for Python 3.5 (PR #192)
Deprecated
--------
Use of backport unicodedata from unicodedata2 as Python is quickly catching up, scheduled for removal in 3.0 (PR #194)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
The Qt brain now correctly treats calling .disconnect() (with no
arguments) on a slot as valid.
The argparse brain no longer incorrectly adds "Namespace" to the locals
of functions that return an argparse.Namespace object.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
[fsevents] Fix flakey test to assert that there are no errors when stopping the emitter.
[inotify] Suppress occasional OSError: [Errno 9] Bad file descriptor at shutdown. #805
[watchmedo] Make auto-restart restart the sub-process if it terminates. #896
[watchmedo] Avoid zombie sub-processes when running shell-command without --wait. #405
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.py-Do-not-strip-debugging-symbols.patch
refreshed for new version.
License-Update:
version updated to 5.3.0
Build options added
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
e31d5fdf2ea00ac6349e64580a20816783064dd4.patch
removed since it's not available in 0.4.3
License-Update:
version updated to 0.4.3
The content location of the description of the license has changed
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.0:
- Add humanize.metric() for converting big/small numbers to SI units
- Add type hints
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.3.0:
- Fix traitlet name in docstring
- Re-support multiple-alias key for ArgParseConfigLoader
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed two false positives for bad-super-call for calls that refer to a non-direct parent.
* Fixed a false positive for useless-super-delegation for subclasses that specify the number of
of parameters against a parent that uses a variadic argument.
* Allow suppressing undefined-loop-variable and undefined-variable without raising useless-suppression.
* Fixed false positive for undefined-variable for __class__ in inner methods.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add an upstream patch that's not part of any release yet that addresses
an issue with python 3.10 (related to a missing macro).
Link: https://github.com/pybluez/pybluez/issues/426
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Avoid reporting unnecessary-dict-index-lookup or unnecessary-list-index-lookup
when the index lookup is part of a destructuring assignment.
Fixed parsing of unrelated options in tox.ini.
Fixed a crash when linting __new__() methods that return a call expression.
Don't crash if we can't find the user's home directory.
Fixed false positives for unused-import when aliasing typing e.g. as t
and guarding imports under t.TYPE_CHECKING.
Fixed a false positive regression in 2.13 for used-before-assignment where it is safe to rely
on a name defined only in an except block because the else block returned.
Fixed the use of abbreviations for some special options on the command line.
Fix a crash in the optional pylint.extensions.private_import extension.
bad-option-value (E0012) is now a warning unknown-option-value (W0012). Deleted messages that do not exist
anymore in pylint now raise useless-option-value (R0022) instead of bad-option-value. This allows to
distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for
bad-option-value will still work on both new messages.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Now that we have a new enough setuptools, cbor2 5.4.3 successfully builds.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python-can 4.0.0 release introduced a dependency on the
typing_extensions module:
$ python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import can
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "python-can/can/__init__.py", line 17, in <module>
from .listener import Listener, BufferedReader, RedirectReader, AsyncBufferedReader
File "python-can/can/listener.py", line 12, in <module>
from can.message import Message
File "python-can/can/message.py", line 11, in <module>
from . import typechecking
File "python-can/can/typechecking.py", line 9, in <module>
import typing_extensions
ModuleNotFoundError: No module named 'typing_extensions'
Signed-off-by: Ben Powell <ben_powell@trimble.com>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove change of default for clear_untrusted_proxy_headers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
==========
Improve logging when keyring fails. (#890)
Reconfgure root logger to show all log messages. (#896)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
*Improved macro definition logic and platform detection to enable building
universal2 binary wheels for macOS, alongside arm64 and x86_64 ones;
added step to GitHub Actions to generate and publish them (#28).
*Mention explicit support for Python 3.10.
*Fixed minor compilation warning in ARM64 builds.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence asyncio.
Changelog:
==========
Parse SPNs in SYM Files
Miscellaneous smaller fixes
Implement support for AUTOSAR secure on-board communication
Distribute & expose type annotations per PEP 561
Add more type annotations
Improve encoding performance
Add Support for Dumping Database as SYM File
Fix SYM file bugs
Fix parsing of referenced data in CDDs
implement decoding of partial messages
Use floating point scaling in encoding
Small improvements after #417
minor bug fixes and improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
*Alembic 1.8 now supports Python 3.7 and above.
*The "Pylons" environment template has been removed as of Alembic 1.8. This
template was based on the very old pre-Pyramid Pylons web framework which
has been long superseded by Pyramid.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
*Flag instances now raise an error if used in a bool context.
This prevents the occasional mistake of testing an instance for truthiness
rather than testing flag.value.
*absl-py no longer depends on six.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Python 3.11 (beta)
refresh ci settings.
Don't define _*ENDIAN macro on Unix.
Update setuptools and black
Use PyFloat_Pack8() on Python 3.11a7
Upgrade black to fix CI
Fix Unpacker max_buffer_length handling
ci: Update action versions.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Bugs fixed
----------
* GH#341: The mixin inheritance order in ''lxml.html'' was corrected.
Patch by xmo-odoo.
Other changes
-------------
* Built with Cython 0.29.30 to adapt to changes in Python 3.11 and 3.12.
* Wheels include zlib 1.2.12, libxml2 2.9.14 and libxslt 1.1.35
(libxml2 2.9.12+ and libxslt 1.1.34 on Windows).
* GH#343: Windows-AArch64 build support in Visual Studio.
Patch by Steve Dower.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>