Changelog:
Fixed a deadlock in the threading implementation when closing a connection without reading all messages.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Re-use pre-built wheels in CI for upgrade tests in #702
Make security permissions explicit in GHA template #704
Fix GITHUB_TOKEN variable in GHA template #715
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Send all events to /envelope endpoint when tracing is enabled
Note: If you’re self-hosting Sentry 9, you need to stay in the previous version of the SDK or update your self-hosted to at least 20.6.0
Profiling: Remove profile context from SDK
Profiling: Additionl performance improvements to the profiler
Fix: Celery Beat monitoring without restarting the Beat process
Fix: Using the Codecov uploader instead of deprecated python package
Fix: Support for Quart
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
FIX: Attribute syntax for case insensitive flag optionally allows a space, it does not require one.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix realtime timestamp reporting for line events in gpio-cdev v2 implementation.
Avoid writing direction and inverted on open to retain existing state with sysfs GPIOs
Add support for gpio-cdev v2 ABI.
Add type stubs.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Add useEmailAzp claim for id token iam flow
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Simplify type annotations for XSD datatypes
Full test coverage of sequence type functions with bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add check for range begin/end
restore py2 compat
Do not expose i into global namespace
Fix DOW hash parsing
better error handling on py3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-pandas-1.5.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/1.5.3-r0/pandas/_libs/hashing.c in package python3-pandas-src contains reference to TMPDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-h5py-3.8.0-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/_conv.c in package python3-h5py-src contains reference to TMPDIR
File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/h5fd.c in package python3-h5py-src contains reference to TMPDIR [buildpaths]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python bindings to libgpiod are now available on pypi. The source
package is a limited subset of the original repository. As such the
ptest package now requires the libgpiod-ptest to be available at
run-time (for libgpiosim.so against which the test C extension is
linked).
The problem with installing the C extensions for tests is now fixed so
drop the do_install:append(). We no longer have to pass any additional
CFLAGS to setup.py either.
We update the version of the recipe but the changes only apply to
building and packaging, there are no functional changes to the code.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The gpiod package needs some standard python modules so add them to
RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the provided PV variable when referring to project's version.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Make auto monitoring beat update support Celery 4 and 5
New: Celery Beat auto monitoring
New: gRPC integration
New: gRPC integration
Fix: Do not trim span descriptions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
future release of simplejson. The following fixes were implemented in
one PR: https://github.com/simplejson/simplejson/pull/313
* Fix invalid handling of unicode escape sequences in the pure Python
implementation of the decoder (SJ-PT-23-01)
* Fix missing reference count decrease if PyOS_string_to_double raises
an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
* Backport the integer string length limitation from Python 3.11 to
limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
* Remove unused unichr import from encoder (SJ-PT-23-101)
* Remove unused namedtuple_as_object and tuple_as_array arguments from
simplejson.load (SJ-PT-23-102)
* Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
* Change default of allow_nan from True to False and add allow_nan
to decoder (SJ-PT-23-107)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Wait longer when attempting to play media
Bump black from 23.1.0 to 23.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
==========
Do not create new JWT credentials if they make the same claims as the existing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the :ref:`config_run_sigterm` setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always.
- Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller.
- Development dependencies no longer use hashed pins, closing issue 1592.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* Support more possible usages of "attrs" decorators.
Closespylint-dev/pylint#7884
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[bug] [typing] Fixed various typing issues observed with pyright, including issues
involving the combination of Function and
MigrationContext.begin_transaction().
[bug] [autogenerate] Fixed error raised by alembic when running autogenerate after removing
a function based index.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Use standard licence text and SPDX identifier.
Changelog:
==========
Bug fixes
----------
Restored the C extension in the source distribution.
Backwards-incompatible changes
-------------------------------
The Sans-I/O implementation was moved.
Sans-I/O protocol constructors now use keyword-only arguments.
Closing a connection without an empty close frame is OK.
serve() times out on the opening handshake after 10 seconds by default.
New features
-------------
websockets 10.0 introduces a implementation on top of threading.
Added open_timeout to serve().
Made it possible to close a server without closing existing connections.
Added select_subprotocol to customize negotiation of subprotocols in the Sans-I/O layer.
Improvements
--------------
Added platform-independent wheels.
Improved error handling in broadcast().
Set server_hostname automatically on TLS connections when providing a sock argument to connect().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Alex Clark -> Jeffrey A. Clark (Alex)
Update HPND wording in LICENSE file
Changelog:
==========
Added ImageSourceData to TAGS_V2 #7053
Clear PPM half token after use #7052
Removed absolute path to ldconfig #7044
Support custom comments and PLT markers when saving JPEG2000 images #6903
Load before getting size in __array_interface__ #7034
Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 #7010
Consider transparency when applying APNG blend mask #7018
Round duration when saving animated WebP images #6996
Added reading of JPEG2000 comments #6909
Decrement reference count #7003
Allow libtiff_support_custom_tags to be missing #7020
Improved I;16N support #6834
Added QOI reading #6852
Added saving RGBA images as PDFs #6925
Do not raise an error if os.environ does not contain PATH #6935
Close OleFileIO instance when closing or exiting FPX or MIC #7005
Added __int__ to IFDRational for Python >= 3.11 #6998
Added memoryview support to Dib.frombytes() #6988
Close file pointer copy in the libtiff encoder if still open #6986
Raise an error if ImageDraw co-ordinates are incorrectly ordered #6978
Added "corners" argument to ImageDraw rounded_rectangle() #6954
Added memoryview support to frombytes() #6974
Allow comments in FITS images #6973
Support saving PDF with different X and Y resolutions #6961
Fixed writing int as UNDEFINED tag #6950
Raise an error if EXIF data is too long when saving JPEG #6939
Handle more than one directory returned by pkg-config #6896
Do not retry past formats when loading all formats for the first time #6902
Do not retry specified formats if they failed when opening #6893
Do not unintentionally load TIFF format at first #6892
Stop reading when EPS line becomes too long #6897
Allow writing IFDRational to BYTE tag #6890
Raise ValueError for BoxBlur filter with negative radius #6874
Support arbitrary number of loaded modules on Windows #6761
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Correct "startline=" to "beginline=" in LIC_FILES_CHKSUM so that the
correct lines from crc32c_adler.c are used.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Drop support for Python 3.6.
watchdog is now PEP 561 compatible, and tested with mypy
Fix missing > in FileSystemEvent.__repr__() (#980)
[ci] Lots of improvements
[inotify] Return from InotifyEmitter.queue_events() if not launched when thread is inactive (#963)
[tests] Stability improvements
[utils] Remove handling of threading.Event.isSet spelling (#962)
[watchmedo] Fixed tricks YAML generation (#965)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Updated denylist to include other widely used cookies/headers (#1972)
Forward all sentry- baggage items (#1970)
Update OSS licensing (#1973)
Profiling: Handle non frame types in profiler (#1965)
Tests: Bad arq dependency in tests (#1966)
Better naming (#1962)
New: Implement EventScrubber (#1943)
New: Added new functions_to_trace option for central way of performance instrumentation (#1960)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Improved warnings by ensuring that they target user code and not Typeguard internal code
Fixed warn_on_error() not showing where the type violation actually occurred
Fixed local assignment to *args or **kwargs being type checked incorrectly
Fixed TypeError on check_type(..., None)
Fixed unpacking assignment not working with a starred variable (x, *y = ...) in the target tuple
Fixed variable multi-assignment (a = b = c = ...) being type checked incorrectly
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Disabled repeat guards. They keep causing issues, and it's just simpler to rely on timeouts.
Re-enabled modified repeat guards due to regression in speed caused by excessive backtracking.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Upgrade urgency: SECURITY, contains fixes to security issues.
--------------------------------------------------------------
(CVE-2023-28859) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
(CVE-2023-28858) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
Bug Fixes
-------------
Fixing cancelled async futures (#2666)
Fix: do not use asyncio's timeout lib before 3.11.2 (#2659)
Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument (#2630)
Maintenance
--------------
Minor fixes for #2666 and enhanced async test (#2673)
Fix issue 2660: PytestUnraisableExceptionWarning from asycio client (#2669)
Removing accidentally checked in files (#2642)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix creating schema from model using ConstrainedStr with regex as dict key
Address bug in mypy plugin caused by explicit_package_bases=True
Add implicit defaults in the mypy plugin for Field with no default argument
Fix schema generated for Enum values used as Literals in discriminated unions
Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes
Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Print out reauth plugin error and raise if challenge output is None (#1265) (08d22fe)
Experimental service account iam endpoint flow for id token (#1258) (8ff0de5)
Python: Remove aws url validation (#1254) (20a966b)
Read both applicationId and relyingPartyId. (#1246) (e125dfe)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
https: disable_ssl_certificate_validation caused ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled
build(deps): bump cryptography from 37.0.4 to 38.0.3
Reason from cryptography changelog: Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Features
----------
Add overrides_by_request_protocol to BackendRule in google/api/backend.proto (77376dd)
Add proto_reference_documentation_uri to Publishing in google/api/client.proto (77376dd)
Add SERVICE_NOT_VISIBLE and GCP_SUSPENDED to ErrorReason in google/api/error_reason.proto (77376dd)
Documentation
--------------
Use rst syntax in readme (77376dd)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor XPath function call (context=None only as keyword argument)
Add external function support (issue #60)
Some fixes to string representation and source property of tokens
Extend documentation and tests
Clean XSD datatypes hierarchy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
==============
Improved date parsing for Chinese (#1148)
Improved date parsing for Czech (#1151)
Reorder language by popularity (#1152)
Fix leak of memory in cache (#1140)
Add support for "\d units later" (#1154)
Move modification in CLDR data to yaml (#1153)
Add support to use timezone via settings to get PREFER_DATES_FROM result (#1155)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Restore behavior of setting a Call as a base for classes created using six.with_metaclass(),
and harden support for using enums as metaclasses in this case.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
--------
Add support for execution profiles in execute_concurrent (PR 1122)
Bug Fixes
----------
Handle empty non-final result pages (PR 1110)
Do not re-use stream IDs for in-flight requests (PR 1114)
Asyncore race condition cause logging exception on shutdown (PYTHON-1266)
Others
---------
Fix deprecation warning in query tracing (PR 1103)
Remove mutable default values from some tests (PR 1116)
Remove dependency on unittest2 (PYTHON-1289)
Fix deprecation warnings for asyncio.coroutine annotation in asyncioreactor (PYTTHON-1290)
Fix typos in source files (PR 1126)
HostFilterPolicyInitTest fix for Python 3.11 (PR 1131)
Fix for DontPrepareOnIgnoredHostsTest (PYTHON-1287)
tests.integration.simulacron.test_connection failures (PYTHON-1304)
tests.integration.standard.test_single_interface.py appears to be failing for C* 4.0 (PYTHON-1329)
Authentication tests appear to be failing fraudulently (PYTHON-1328)
PreparedStatementTests.test_fail_if_different_query_id_on_reprepare() failing unexpectedly (PTYHON-1327)
Refactor deprecated unittest aliases for Python 3.11 compatibility (PR 1112)
Deprecations
------------
This release removes support for Python 2.7.x as well as Python 3.5.x and 3.6.x
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Call _default as fallback in zsh global completion hook
Begin support for mapping-emitting completers
activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
Add NOTICE file
Establish long term name for split_line as argcomplete.lexers.split_line
Re-add split_line to API (#419)
Fix zsh default completion issues
Fix zsh autoload issues
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
============
DEP: Minimum PROJ version 9.0 (issue #1223)
WHL: PROJ 9.2 in wheels (pull #1243)
ENH: Add return_back_azimuth: bool to allow compatibility between the azimuth output of the following functions (issue #1163):
fwd and fwd_intermediate, inv and inv_intermediate
ENH: Added only_best kwarg to Transformer.from_crs() (issue #1228)
PERF: Optimize point transformations (pull #1204)
REF: Raise error when CRS.to_wkt(), CRS.to_json(), or CRS.to_proj4() returns None (issue #1036)
CLN: Remove AzumuthalEquidistantConversion & LambertAzumuthalEqualAreaConversion.
AzimuthalEquidistantConversion & LambertAzimuthalEqualAreaConversion should be used instead (pull #1219)
BUG: Fix Derived Projected CRS support (issue #1182)
BUG: Add horizontal_datum_name for geographic CRS in CRS.to_cf() (issue #1251)
BUG: Add datum ensemble support to GeographicCRS (pull #1255)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest RDEPENDS on pytest
* Use python3-unittest-automake-output instead of using sed to reformat
the output use this new module.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In betamax fixtures and recorde_modes ptest are failing due to
the deprecation of fixture usage and the httpbin.org service.
Drop these ptests in meta-oe, until there is a suitable solution
to fix this failure.
Validation:
Enable ptest and add python3-betamax into IMAGE_INSTALL
$runqemu ...
$cd /usr/[lib/lib64]/python3-betamax/ptest
$./run-ptest
ALL ptests PASS.
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
import stack_data
ModuleNotFoundError: No module named 'stack_data'
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Build Linux binary wheels for Python 3.11.
Drop support for Python 2.7, 3.5, 3.6.
Fix test deprecation warning on Python 3.11.
Add preliminary support for Python 3.12 as of 3.12a5.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Correct duplicate record entries in windows wheels by updating poetry-core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improved the documentation
Fixed assignment unpacking (a, b = ...) being checked incorrectly
Fixed @typechecked attempting to instrument wrapper decorators such as @contextmanager when applied to a class
Fixed py.typed missing from the wheel when not building from a git checkout
BACKWARD INCOMPATIBLE Dropped the argname, memo, globals and locals arguments from check_type()
BACKWARD INCOMPATIBLE Removed the check_argument_types() and check_return_type() functions (use @typechecked instead)
BACKWARD INCOMPATIBLE Moved install_import_hook to be directly importable from the typeguard module
BACKWARD INCOMPATIBLE Changed the checking of collections (list, set, dict, sequence, mapping) to only check the first item by default.
BACKWARD INCOMPATIBLE Type checking failures now raise typeguard.TypeCheckError instead of TypeError
Dropped Python 3.5 and 3.6 support
Dropped the deprecated profiler hook (TypeChecker)
Added a configuration system
Added support for custom type checking functions
Added support for PEP 604 union types (X | Y) on all Python versions
Added support for generic built-in collection types (list[int] et al) on all Python versions
Added support for checking arbitrary Mapping types
Added support for the Self type
Added support for typing.Never (and typing_extensions.Never)
Added support for Never and NoReturn in argument annotations
Added support for LiteralString
Added support for TypeGuard
Added support for the subclassable Any on Python 3.11 and typing_extensions
Added the possibility to have the import hook instrument all packages
Added the suppress_type_checks() context manager function for temporarily disabling type checks
Much improved error messages showing where the type check failed
Made it possible to apply @typechecked on top of @classmethod / @staticmethod (PR by jacobpbrugh)
Changed check_type() to return the passed value, so it can be used (to an extent) in place of typing.cast(), but with run-time type checking
Replaced custom implementation of is_typeddict() with the implementation from typing_extensions v4.1.0
Emit InstrumentationWarning instead of raising RuntimeError from the pytest plugin if modules in the target package have already been imported
Fixed TypeError when checking against TypedDict when the value has mixed types among the extra keys (PR by biolds)
Fixed incompatibility with typing_extensions v4.1+ on Python 3.10 (PR by David C.)
Fixed checking of Tuple[()] on Python 3.11 and tuple[()] on Python 3.9+
Fixed integers 0 and 1 passing for Literal[False] and Literal[True], respectively
Fixed type checking of annotated variable positional and keyword arguments (*args and **kwargs)
Fixed checks against unittest.Mock and derivatives being done in the wrong place
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Improved the error message when the ZoneInfo cannot be found
- Don't error out because we find multiple possible timezones for
a symlink.
- More stable on Android/Termux with proot
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Made kombu client manager more robust and efficient
Made aio_pika client manager more robust and efficient
Correctly handle emits to multiple rooms in the async server
Expose the ignore_queue option in namespaces
Do not automatically import zmq
TLS/SSL client documentation
Removed incorrect reference to multiple callback invocations in documentation
Fix documentation typos
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use current master version of rapidjson
Produce ppc64le wheels, thanks to mgiessing (PR #170)
Use cibuildwheel 2.21.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Changes
--------
- Bump version.
- Include event reports by default in feed.
- Bump deps.
- Add greynoise-ip object.
Fix
----
- Use proper parameter to trigger the request in search_galaxy_clusters.
- Use POST in search galaxy cluster.
Other
------
- Rename include_event_reports kwarg to with_event_reports, in-line with
other kwarg naming.
- Add kwarg to allow the inclusion of event reports into to_feed(),
honour with_distribution and valid_distributions kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow configuring underlying websocket connection with custom options
Cancel all running tasks in async SIGINT handler
Handle unexpected WebSocket close frames sent by server
Close aiohttp session after a failed connection
Catch IOErrors from uWSGI and explicitly close the driver
Recommend ASGI integration for Sanic in Documentation
Fix documentation for max_http_buffer_size
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bugs Fixed:
* Migrate to use the explicitly-maintained 'packaging' library.
The package bundled in 'setuptools.extern.packaging' is to help make that
package self-contained, but is not a supported API.
* Declare dependency on Setuptools >= 62.4.0.
This is necessary for establishing the version information via Setuptools. We
use 'setuptools.command.build', 'introduced in Setuptools version 62.4.0
* Refactor calculation of file descriptor ranges to close.
Added:
* Document a 'ServiceRunner' class as an example of using 'DaemonContext'.
* PyPA recommended Project URLs for the distribution.
Changed:
* Raise a TypeError if any 'exclude' values are not valid file descriptors.
* Migrate package version handling to use Setuptools API.
Removed:
* Remove redundant 'wheel' from the requirements specification.
* Remove Setuptools 'test' command support.
* Remove Setuptools 'register' and 'upload' command support.
* Remove the obsolete 'runner' module.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect,
but has now been fixed: only the specified packages will be measured.
- Fix: the coverage lcov command could create a .lcov file with incorrect
LF (lines found) and LH (lines hit) totals.
- Fix: the coverage xml command on Windows could create a .xml file with
duplicate <package> elements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fully support zsh. Argcomplete now supports completion descriptions and global completion in zsh.
Clean up top level namespace.
Documentation and test improvements.
Test infrastructure improvements
Indicate that there is no support commitment for fish and tcsh shells
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update library name in license
Changelog:
==========
Add Support for Python 3.11.x minor revisions
Support for Python versions 3.7-3.11 (Python 2 no longer supported)
Primary development branch renamed from master to main
Handle all real numbers as coordinates
Default precision improvements
CI improvements
utf-8 support added to geojson.dumps()
Polygons now constrained to bounding box
Better GeometryCollection handling in util.coords()
Improved point validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: delete empty line at the end of the file.
Changelog:
==========
add missing server.start(). (#1443)
Don't publish univeral (Python2 / Python 3) wheels (#1423)
Remove unneccesary custom LOG_LEVEL check (#1424)
Include py.typed in package (#1422)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-requests-toolbelt is upgraded
to 0.10.1.
=======================================================
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.11/importlib/{}init{}.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_x509_adapter.py:20: in <module>
import trustme
E ModuleNotFoundError: No module named 'trustme'
=======================================================
The commit b93b4067ea "Fix x509 tests by using trustme" of
python3-requests-toolbelt introduces the trustme in test_x509_adapter.py.
Introducing python3-trustme to fix ptest error of python3-requests-toolbelt,
also introducing python3-service-identity, which is requested by python3-trustme's
ptest.
The ptest passes of all the three packages.
Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python3 click-repl package requires prompt-toolkit to be installed.
Add the missing RDEPENDS to the recipe.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add value <-> registers converter helpers. (#1413)
Add pre-commit config (#1406)
Make baud rate configurable for examples (#1410)
Clean __init_ and update log module. (#1411)
Simulator add calls functionality. (#1390)
Add note about not being thread safe. (#1404)
Update docker-publish.yml
Forward retry_on_empty and retries by calling transaction (#1401)
serial sync recv interval (#1389)
Add tests for writing multiple writes with a single value (#1402)
Enable mypy in CI (#1388)
Limit use of Singleton. (#1397)
Cleanup interfaces (#1396)
Add request names. (#1391)
Simulator, register look and feel. (#1387)
Fix enum for REPL server (#1384)
Remove unneeded attribute (#1383)
Fix mypy errors in reactive server (#1381)
remove nosec (#1379)
Fix type hints for http_server (#1369)
Merge pull request #1380 from pymodbus-dev/requirements
remove second client instance in async mode. (#1367)
Pin setuptools to prevent breakage with Version including "X" (#1373)
Lint and type hints for REPL (#1364)
Clean mixin execute (#1366)
Remove unused setup_commands.py. (#1362)
Run black on top-level files and /doc (#1361)
repl config path (#1359)
Fix NoReponse -> NoResponse (#1358)
Make whole main async. (#1355)
Fix more typing issues (#1351)
Test sync task (#1341)
Fixed text in ModbusClientMixin's writes (#1352)
lint /doc (#1345)
Remove unused linters (#1344)
Allow log level as string or integer. (#1343)
Sync serial, clean recv. (#1340)
Test server task, async completed (#1318)
main() should be sync (#1339)
Bug: Fixed caused by passing wrong arg (#1336)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Implement logic to support creating validators from non standard callables by
using defaults to identify them and unwrapping functools.partial and
functools.partialmethod when checking the signature
- Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses
- Raise ValidationError, not ConfigError, when a discriminator value is unhashable
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-[Feature] #2173: Accept single tabs as field separators (in addition to single
spaces) in <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
OpenSSH’s KnownHosts parser.
-[Feature] #2013: (solving #2009, plus others) Add an explicit channel_timeout
keyword argument to paramiko.client.SSHClient.connect, allowing users to
configure the previously-hardcoded default value of 3600 seconds.
-[Support] #2178: Apply codespell to the codebase, which found a lot of very old
minor spelling mistakes in docstrings. Also modernize many instances of
*largs vs *args and **kwarg vs **kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
------
An AbstractDiscreteInterval class to ease the creation of specialized discrete intervals (experimental).
A create_api function to generate an API similar to the one of portion but configured to use a given subclass of Interval (experimental, see Specialize & customize intervals).
Changed
-------
Speed up repr and to_string for Interval instances (see #76, adm271828).
Some internal changes to ease subclassing:
from_string and from_data accepts a klass parameter to specify which class should be used to create Interval instances (default is Interval).
Add a klass parameter for open, closed, openclosed, closedopen, singleton and empty (default is Interval).
Add a _klass class attribute in IntervalDict to specify how to create Interval instances (default is Interval).
IntervalDict uses self.__class__ to preserve subclasses when creating new instances.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
Breaking changes:
------------------
Remove not allowed attributes function-rate, functions-covered and functions-valid from cobertura report. (:issue:'671')
Remove "noncode" entries in JSON reports. (:issue:'663')
New :option:'--exclude-noncode-lines' to exclude noncode lines. Noncode lines are not excluded by default anymore. (:issue:'704', :issue:'705')
Changed :option:'--gcov-ignore-parse-errors' to accept list of errors to ignore. (:issue:'701')
The default filename for :option:'--cobertura' is changed from coverage.xml to cobertura.xml (:issue:'721')
Handling of gcov errors:
Do not ignore return code of gcov. (:issue:'653')
New :option:'--gcov-ignore-errors' to ignore gcov errors. Old behavior was to print a warning and continue. (:issue:'718')
Revert changes from :issue:'623' and add documentation entry :ref:'support keil uvision format'. (:issue:'727')
New features and notable changes:
---------------------------------
New :option:'--html-nested' for reports that summarize subdirectories with aggregated statistics per directory. (:issue:'687')
Accept NAN % which is used in GCOV 7.5.0 instead of an invalid value. (:issue:'651')
New :option:'--json-base' to define a base bath used in JSON reports. (:issue:'656')
New :option:'--calls' to report call coverage: function calls invoked/total (:issue:'666')
New nox session to generate a portable application with pyinstaller, see :ref:'standalone application'. (:issue:'661')
Print a warning if root directory contains symlinks. (:issue:'652')
Change :option:'--keep' when calling gcov internaly. (:issue:'703')
Allow annotations for never executed branches. (:issue:'711')
Add function merge mode for same function defined in different lines. (:issue:'700')
Update link to gcovr documentation in HTML report to point to the documentation of the used version. (:issue:'723')
Add environment SOURCE_DATE_EPOCH to set default for :option:'--timestamp'. (:issue:'729')
Bug fixes and small improvements:
--------------------------------
Fix :option:'--html-tab-size' feature. (:issue:'650')
Fix alphabetical sort of html report, for when there are symlinks. (:issue:'685')
Handle :option:'--version' before parsing the configuration file. (:issue:'696')
Fix reports of excluded coverage. (:issue:'409', :issue:'503', :issue:'663')
Fix handling for nonexistent source code for HTML-details and Coveralls reports. (:issue:'663')
Exclude functions with :ref:'Exclusion markers'. (:issue:'713')
Fix problem in decision parser if open block brace is on same line. (:issue:'681')
Add Python 3.11 to test matrix. (:issue:'717')
Fix casing of files if filesystem is case insensitive. (:issue:'694')
Fix deadlock if :option:'-j' is used and there are errors from gcov execution. (:issue:'719')
Fix problem in decision parser if case is not on a single line with the break statement. (:issue:'738')
Do not use realpath for DirectoryPrefixFilter to support symlinks in root directory. (:issue:'712')
Documentation:
-------------
Add detailed reference for the JSON output format. (:issue:'663')
Internal changes:
-----------------
Select the :option:'--html-theme' using CSS classes. (:issue:'650')
Change and extend cmake tests. (:issue:'676')
Detect gcc version for running tests. (:issue:'686')
Use scrubbed data for --update_reference option. (:issue:'698')
Install ninja with package manager instead of GitHub action. (:issue:'699')
Rename the reference files coverage.xml to cobertura.xml and the test from xml to cobertura (:issue:'721')
Add support for clang-14 in our test suite and improve startup performance of docker image. (:issue:'731')
Compare files by extension in test suite. (:issue:'733')
Split HTML templates into one file for each part of the page. (:issue:'735')
Change docker image to be able to use it like the nox command itself. (:issue:'734')
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import cmake".
Only build and ship the python parts, and don't download and
build cmake from sources. Use the already built cmake instead.
The CMakeLists.txt file is a crippled copy from this cmake
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so cmake is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import ninja".
Only build and ship the python parts, and don't download and
build ninja from sources. Use the already built ninja instead.
The CMakeLists.txt file is a crippled copy from this ninja
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so ninja is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Documentation and test improvements
Remove scripts for contrib-supported shells from global namespace
setup.py: exclude test.* subpackages from find_packages (#406)
Support PowerShell (#405)
CI updates
Revert "Support powershell (#392)"
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Support powershell (#392)
Update importlib-metadata dependency to include versions 5.x (#389)
Test and documentation improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added
-----
Argument should_rename_legacy for legacy function detect and disregard any new arguments without errors (PR #262)
Removed
-------
Support for Python 3.6 (PR #260)
Changed
-------
Optional speedup provided by mypy/c 1.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-pyproject.toml-Replace-with.patch
removed since it's included in 2.15.0
Changelog:
==========
* astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11.
* "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the
"Formattedvalue" class.
* "Astroid" now supports custom import hooks.
* "astroid" now infers return values from match cases.
* "AstroidManager.clear_cache" now also clears the inference context cache.
* "Astroid" now retrieves the default values of keyword only arguments and sets them on
"Arguments.kw_defaults".
* "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating
code that uses this singleton.
* Deprecate "modutils.is_standard_module()". It will be removed in the next minor release.
Functionality has been replaced by two new functions,
"modutils.is_stdlib_module()" and "modutils.module_in_path()".
* Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
[bug] [ops] Fixed regression where Alembic would not run with older SQLAlchemy 1.3
versions prior to 1.3.24 due to a missing symbol. Workarounds have been
applied for older 1.3 versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
===========
Security issues:
----------------
* Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063)
Features:
----------
* Added quadsubdiv() for numerical integration with adaptive path splitting
* Added the Cohen algorithm for inverse Laplace transforms
* Some speedup of matrix multiplication
* Optimizations to Carlson elliptic integrals
* Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle()
sigmoidw())
Bug fixes:
----------
* Correct mpf initialization from tuple for finf and fninf
* Support QR decomposition for matrices of width 0 and 1
* Fixed some cases where elliprj() gave inaccurate results
* Fixed cases where digamma() hangs for complex input
* Fixed cases of polylog() with integer-valued parameter with complex type
* Fixed fp.nsum() with Euler-Maclaurin algorithm
Maintenance:
------------
* Dropped support for Python 3.4
* Documentation cleanup
* Removed obsolete files
* Added options to runtests.py to skip tests and exit on failure
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
-----
- [doc] added the Jupyter notebook used in a.7-rest-api-extensive-
restsearch.
Fix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Run black on the entire source code
Bundle the requirements-tests.txt file in the source distribution (#939)
[watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (#949)
[watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fix incorrect behaviour of __or__ and __ior__, see #8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
=======
Broken test on FreeBSD due to a broken locale.strxfrm. This change has no effect outside fixing tests (issue #161)
Added
=========
The PRESORT option to the ns enum to attain consistent sort order in certain corner cases (issue #149)
Logic to ensure None and NaN are sorted in a consistent order (issue #149)
Explict Python 3.11 support
Changed
========
Only convert to str if necessary in os_sorted (@Dobatymo, issues #157 and #158)
Attempt to use new fastnumbers functionality if available
Move non-API documentation to the GitHub wiki
Removed
========
Support for EOL Python 3.6
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Feature
=========
Collection of small improvements to pyav (#939) (b0dc210)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Call gcloud config get project to get project for user cred (#1243) (c078a13)
Do not use hardcoded string 'python', when you mean sys.executable. (#1233) (91ac8e6)
Don't retry if error or error_description is not string (#1241) (e2d263a)
Improve ADC related errors and warnings (#1237) (2dfa213)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Performance improvements, especially with the haversine_vector function #65 by jobh
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
--------
Added the map option to all try_* functions to enable very fast conversions of lists or other iterables (issues #61, #63 and #67)
Added try_array to enable very fast conversions directly to numpy arrays (issues #62 and #65)
Changed
---------
Move to a model where the return code is a value or error instead of a model where one has to check the error state after getting a value (issue #66)
Significantly simplified the type annotations (by 4000+ lines!)
Fixed
-------
Increased code coverage and fixed missing headers in codecov reaport (issue #64)
Add back missing key option in type hints for deprecated fast_* functions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add missing LONG_PRESS enum member for button events (#190)
Mark auto_dynamic attribute optional on scene resource (#189)
Fixes for some small schema parse errors (#188)
Make active_timeslot optional in smart_scene model (#177)
Add util methods for backwards compatibility in Scenes controller (#176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise KeyError when key is not found in ini repositories
Fix infinite recursion on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix: the PyPI page had broken links to documentation pages, but no longer does, closing issue 1566.
Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing issue 1564.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The final libgpiod v2.0 release is out so update the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove deprecated 'setuptools-markdown' dependency
(https://github.com/ethereum/eth-keyfile/pull/37)
- Use twine to upload package to pypi
0001-setup-don-t-use-setuptools-markdown.patch
removed since it's not available in 0.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a new setting "[report] exclude_also" to let you add more exclusions
without overwriting the defaults. Thanks, 'Alpha Chen <pull 1557_>'_,
closing 'issue 1391_'.
- Added a :meth:'.CoverageData.purge_files' method to remove recorded data for
a particular file. Contributed by 'Stephan Deibel <pull 1547_>'_.
- Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
- Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the "data_file" and "config_file" arguments to
the Coverage constructor and the "basename" argument to CoverageData.
Closes 'issue 1552'_.
- Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
'Russell Keith-Magee <pull 1543_>'_, closing 'issue 1542'_.
- Added a "py.typed" file to announce our type-hintedness. Thanks,
'KotlinIsland <pull 1550_>'_.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix:
Hold a strong reference to the query sender start task (#1128) (808c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Ensure that URL rules using path converters will redirect with strict slashes
when the trailing slash is missing. #2533
- Type signature for get_json specifies that return type is not optional when
silent=False. #2508
- parse_content_range_header returns None for a value like bytes */-1 where the
length is invalid, instead of raising an AssertionError. #2531
- Address remaining ResourceWarning related to the socket used by run_simple.
Remove prepare_socket, which now happens when creating the server. #2421
- Update pre-existing headers for multipart/form-data requests with the test
client. #2549
- Fix handling of header extended parameters such that they are no longer
quoted. #2529
- LimitedStream.read works correctly when wrapping a stream that may not return
the requested size in one read call. #2558
- A cookie header that starts with = is treated as an empty key and discarded,
rather than stripping the leading ==.
- Specify a maximum number of multipart parts, default 1000, after which a
RequestEntityTooLarge exception is raised on parsing. This mitigates a DoS
attack where a larger number of form/file parts would result in
disproportionate resource use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired
[watchmedo] Add optional event debouncing for auto-restart, only restarting once
if many events happen in quick succession (--debounce-interval) (#940)
[watchmedo] Exit gracefully on KeyboardInterrupt exception (Ctrl+C) (#945)
[watchmedo] Add option to not auto-restart the command after it exits
(--no-restart-on-command-exit) (#946)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Better handling of empty strings passed as input.
Fix the shift safe number issue from 0.9.12
More minor pylint / etc fixes / cleanups (general code quality)
separate .parse from #115
Allow setting up completely empty {} operators / functions ( #75 via #123 )
Add extra bit-ops from #87
Add @daxamin to contributors ?
Version bump stuff.
other readme tweaks
star expressions, eg x = {"a": 1, "b": 2, **c}
no-build.patch
removed since it's included in 0.9.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified
languages, e.g. lang="", but not lang=und.
NEW: Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup
Sieve supports "forgiving" which is limited to empty selectors).
NEW: Formally drop Python 3.6.
NEW: Formally declare support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improved Documentation
----------------------
- #863: Document limitations for debugging due to standard I/O of workers not
being forwarded. Also, mention remote debugging as a possible workaround.
Features
----------
- #855: Users can now configure load scheduling precision using --maxschedchunk
command line option.
- #858: New worksteal scheduler, based on the idea of work stealing. It's
similar to load scheduler, but it should handle tests with significantly
differing duration better, and, at the same time, it should provide similar
or better reuse of fixtures.
Trivial Changes
---------------
- #870: Make the tests pass even when $PYTEST_XDIST_AUTO_NUM_WORKERS is set.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Relaxed dependency requirements (#77).
Dropped support for Python 3.6.
Added official support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fix broken parametrized bases handling with GenericModels with complex sets of models
Invalidate mypy cache if plugin config changes
Fix RecursionError when deep-copying dataclass types wrapped by pydantic
Fix X | Y union syntax breaking GenericModel
Switch coverage badge to show coverage for this branch/release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
========
#1881 DocumentProperties times set by module import only
#1947 Worksheet-specific definitions are missing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
----
Format hint test doesn't need to establish a connection (#941) (b7a0f35)
Other
------
Don't build pdfs on RTD (#944) (d200673)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improves propagation of errors in task results and includes fix for newer versions of pip.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Autoescape is enabled by default for ".svg" template files. :issue:'4831'
-Fix the type of "template_folder" to accept "pathlib.Path". :issue:'4892'
-Add "--debug" option to the "flask run" command. :issue:'4777'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fixes a security issue with severity "moderate" (CVE-2023-24580)
Fixed a bug in Django 4.1 that caused a crash of model validation on ValidationError with no code (#34319).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* fix popcount64 name conflict on NetBSD, #189
* even though PyPy is not actively supported, allow running tests for
PyPy 3.7 and 3.8, see also #188
* allow running `python setup.py test`
* add official Python 3.12 support
* simplify count functionality in util module
* retire `bitcount_lookup[256]` table
* improve `util.count_n()` error messages
* avoid `util` module tests from being run more than once in each
call to `bitarray.test()` when called multiple times in the same
Python process, see #6e52e49a
* improve testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Text encoding and errors to compile().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
'_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[bug] [mssql] Ongoing fixes for SQL Server server default comparisons under autogenerate,
adjusting for SQL Server's collapsing of whitespace between SQL function
arguments when reporting on a function-based server default, as well as its
arbitrary addition of parenthesis within arguments; the approach has now
been made more aggressive by stripping the two default strings to compare
of all whitespace, parenthesis, and quoting characters.
References: #1177
[bug] [postgresql] Fixed PostgreSQL server default comparison to handle SQL expressions
sent as text() constructs, such as text("substring('name', 1, 3)"),
which previously would raise errors when attempting to run a server-based
comparison.
[bug] [autogenerate] Removed a mis-use of the
EnvironmentContext.configure.render_item callable where the
"server_default" renderer would be erroneously used within the server
default comparison process, which is working against SQL expressions, not
Python code.
References: #1180
[bug] [commands] Fixed regression introduced in 1.7.0 where the "config" object passed to
the template context when running the merge() command
programmatically failed to be correctly populated. Pull request courtesy
Brendan Gann.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed incorrectly overwriting cookies with the same name and domain, but different path.
Fixed ConnectionResetError not being raised after client disconnection in SSL environments.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
ptest results:
====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ======
for qemux86-64 with 2 GB RAM which is the same as seen on master.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Includes bugfix from v234 which won't run on python3.10
See: https://github.com/systemd/python-systemd/issues/107
Removes patches now no longer required as they are implemented in v235
drop setting md5 checksum for src_uri as it is no longer needed
rename patch directory to match recipe name as python2 version of recipe
is gone
V235 released to PyPI on 11 Feb 23
https://pypi.org/project/systemd-python/235/
Signed-off-by: Samuel Cook <samuel.cook@cornelisnetworks.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for libgpiod v2 python bindings. This is a release
candidate but once the proper v2.0 is released, it will be made public
on pypi and the recipe modified accordingly.
As libgpiod python bindings now use setuptools and not make, we can
separate the recipe from the rest of the library.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python-daemon was part of meta-python2 this has now been updated to
python3 and v2.3.2
Signed-off-by: Bhargav Das <bhargav_das@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix mixed content extension without explicit mixed attribute (issue #334)
Refine string serialization of XML resources and data elements
Switch to use elementpath v4
Fix sequence_type property for XSD types
Remove XsdElement.get_attribute(): unused and doesn't work as expected
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix for "autofit()" exception when user defined column width was "None".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix logic bug that can cause disconnects (#893)
- Refactor and improve ping/pong logic to resolve several issues, including
an infinite loop issue during reconnect (#862)
- Fix issue where `skip_utf8_validation = True` is ignored (#886)
- Fix issue where sslopt `is_ssl` is ignored (#875)
- Downgrade "websocket connected" message from logging.warning to logging.info (#888)
- Update github actions to newer versions (669fe1b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
sql
------
- Fixed critical regression in SQL expression formulation in the 2.0 series due
to #7744 which improved support for SQL expressions that contained many
elements against the same operator repeatedly; parenthesis grouping would be
lost with expression elements beyond the first two elements.
typing
-------
Remove typing.Self workaround, now using PEP 673 for most methods that return
Self.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Polishing argcomplete support #829
Test that name and description can be set via constructor. #826
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix regression in sdist archive
* Distribute a pure python wheel for Pyodide
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Allow pypng factory to allow for saving to a string
(like qr.save("some_file.png")) in addition to file-like objects.
- Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to
mattiasj-axis!
- Restructure the factory drawers, allowing different shapes in SVG image
factories as well.
- Add a --factory-drawer option to the qr console script.
- Optimize the output for the SVGPathImage factory (more than 30% reduction in
file sizes).
- Add a pypng image factory as a pure Python PNG solution. If pillow is not
installed, then this becomes the default factory.
- The pymaging image factory has been removed, but its factory shortcut and the
actual PymagingImage factory class now just link to the PyPNGImage factory.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Various fixes & improvements
=============================
New: Add Huey Integration
Profiling: Do not send single sample profiles (#1879)
Profiling: Add additional test coverage for profiler (#1877)
Profiling: Always use builtin time.sleep (#1869)
Profiling: Defaul in_app decision to None (#1855)
Profiling: Remove use of threading.Event (#1864)
Profiling: Enable profiling on all transactions (#1797)
FastAPI: Fix check for Starlette in FastAPI integration (#1868)
Flask: Do not overwrite default for username with email address in FlaskIntegration (#1873)
Tests: Add py3.11 to test-common (#1871)
Fix: Don't log whole event in before_send / event_processor drops (#1863)
Add before_send_transaction (#1840)
Django: Always remove values of Django session related cookies. (#1842)
Profiling: Enable profiling for ASGI frameworks (#1824)
Profiling: Better gevent support (#1822)
Profiling: Use co_qualname in python 3.11 (#1831)
OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#1847)
OpenTelemetry: fix extra dependency (#1825)
OpenTelemetry: fix NoOpSpan updates scope (#1834)
OpenTelemetry: Make sure to noop when there is no DSN (#1852)
FastAPI: Fix middleware being patched multiple times (#1841)
Starlette: Avoid import of pkg_resource with Starlette integration (#1836)
Removed code coverage target (#1862)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add codespell to pre-commit config
Allow venv_install in config file
Avoid problematic tox 4.0 and 4.1
Update macos instances on Cirrus CI
Replace deprecated set-output
Update CI templates
Add comments about building sdist in tox.ini and FAQ
Update Python version in Read The Docs configuration
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Solve log problem in payload.
Fix register type check for size bigger than 3 registers (6 bytes) (#1323)
Re-add SQL tests. (#1329)
Central logging. (#1324)
Skip sqlAlchemy test. (#1325)
Solve 1319 (#1320)
Update README.rst
Correct README link. (#1316)
More direct readme links for REPL (#1314)
Add classifier for 3.11 (#1312)
Update README.rst (#1313)
Delete ModbusCommonBlock.png (#1311)
Add modbus standard to README. (#1308)
fix no auto reconnect after close/connect in TCPclient (#1298)
Update examples.rst (#1307)
var name clarification (#1304)
Bump external libraries. (#1302)
Reorganize documentation to make it easier accessible (#1299)
Simulator documentation (first version). (#1296)
Updated datastore Simulator. (#1255)
Update links to pydmodbus-dev (#1291)
Change riptideio to pymodbus-dev. (#1292)
#1258 Avoid showing unit as a seperate command line argument (#1288)
Solve docker cache problem. (#1287)
add missing server.start() (#1282)
small performance improvement on debug log (#1279)
Fix Unix sockets parsing (#1281)
client: Allow unix domain socket. (#1274)
transfer timeout to protocol object. (#1275)
Add ModbusUnixServer / StartAsyncUnixServer. (#1273)
Added return in AsyncModbusSerialClient.connect (#1271)
add connect() to the very first example (#1270)
Solve docker problem. (#1268)
Test stop of server task. (#1256)
Thanks to:
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix
========
- Set relationship_type default in MISPTag to empty string.
- Another typo in readme.
- Typo in readme.
- Update whl files.
- Nvm, readthedocs requires python 3.8 at most.
New
======
- Add relationship_type in Tag entries for feeds.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changed
=======
Speed up lookups in IntervalDict for non-interval keys.
Speed up iterate by no longer creating singleton instances under the hood.
Drop official support for Python 3.6.
Fixed
=====
Infinite recursion when a subclass of an Interval is compared using > with an Interval instance (see #75).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bubfix:
==========
-A handful of lower-level classes (notably paramiko.message.Message and
paramiko.pkey.PKey) previously returned bytes objects from their
implementation of __str__, even under Python 3; and there was never any
__bytes__ method.
-Streamline some redundant (and costly) byte conversion calls in the packetizer
and the core SFTP module. This should lead to some SFTP speedups at the very least.
-Remove some unnecessary __repr__ calls when handling bytes-vs-str conversions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
------------
Added support for data table formulae
Mapped chartspace graphical properties to charts for advanced formatting
Bugfixes
---------
#1156 Table filters are always overriden
#1360 Can't read some ScatterCharts if the x-axis is not numerical
#1786 NamedStyles share attributes - mutables gotcha
#1851 Allow print area to be set to None
#1852 Worksheet for print title and print areas can't be found
#1853 Custom document properties that are strings can be empty
#1858 ConditionalFormatting lost when pivot table updated
#1864 Better handling of defined names
#1912 Excel doesn't like xmlns:space on nodes with only whitespace, which it treats as empty.
#1942 Exception when print areas use table references.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use latest skeleton (and updated configure script)
Update license list to latest ScanCode and SPDX 3.19
Use correct syntax for python_require
Drop using Travis and Appveyor
Drop support for Python 3.7 and add Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Fix-host-contamination-of-include-files.patch
updated for 2.10.2
Changelog:
==========
- fixed bug in logic computing max_char for PyUnicode_New()
- fixed build issues with ICU < 72
- fixed bug with building on MacOS when pkg-config is present
- added link to note about building everything from sources
- added wrapper for u_cleanup/u_init sequence as ResourceBundle.resetICU()
- added wrapper for TimeZone.getRegion()
- added support for ICU 72.1
- added wrapper for UnicodeSetIterator::skipToStrings()
- added wrapper for DisplayOptions, DisplayOptions::Builder and related enums
- added wrapper for FormattedNumber::getNounClass()
- added wrapper for NumberFormatter.displayOptions()
- added support for ICU 71.1
- added wrappers for UMeasurePrefix, MeasureUnit.withPrefix()|getPrefix()
- added UNumberRoundingPriority, FractionPrecision.withSignificantDigits()
- added UNumberTrailingZeroDisplay, Precision.trailingZeroDisplay()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- right accepts a single character from suggestion
- ctrl+right accepts a semantic token (macos default shortcuts take precedence
and need to be disabled to make this work
- backspace deletes a character and resumes hinting autosuggestions
- ctrl-left accepts suggestion and moves cursor left one character.
- backspace deletes a character and resumes hinting autosuggestions
- down moves to suggestion to later in history when no lines are present below
the cursors.
- up moves to suggestion from earlier in history when no lines are present
above the cursor.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
===========
* Add support for SH1107 greyscale OLED
* Fix SSD1322 NHD initialization and encode each pixel as 4bit+4bit
identical nibbles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Correctly obtain database URL with SQLAlchemy 2.0
Remove legacy future import in Alembic templates
Add SQLAlchemy 1.4 and 2.0 to the test matrix
Switch to pytest as test runner
Support "check" command #502
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2021.
Changelog:
==========
- Removed a nasty memory leak that would cause every number returned
from 'fastnumbers' to never get freed.
- Added 'check_real', 'check_float', 'check_int', and 'check_intlike'
to provide a more flexible interface than 'isreal', 'isfloat', 'isint',
and 'isintlike', respectively
- Added 'try_real', 'try_float', 'try_int', and 'try_forceint'
to provide a more flexible interface than 'fast_real', 'fast_float', 'fast_int',
and 'fast_forceint', respectively
- Added Python 3.11 support
- 'query_type' now sets 'allow_underscores' to 'False' by default
- Complete rewrite into C++
- All functions now use use 'METH_FASTCALL' to pass arguments from
Python to C
- Always parse integers using 'int64_t' instead of using 'long' to ensure
we can always quickly parse at least 18 digits
- Parsing floats now always uses the fast and robust parser
['fast_float::from_chars()'](https://github.com/fastfloat/fast_float)
- 'isreal', 'isfloat', 'isint', and 'isintlike' are deprecated in
favor of 'check_real', 'check_float', 'check_int', and 'check_intlike',
though they will never be removed from the API
- 'fast_real', 'fast_float', 'fast_int', and 'fast_forceint' are deprecated in
favor of 'try_real', 'try_float', 'try_int', and 'try_forceint',
though they will never be removed from the API
- Support for Python 3.6
- Removed the undocumented 'dig', 'max_exp', 'min_exp', and 'max_int_len'
module-level constants, as they are now meaningless
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fix packaging: include py.typed in package data
* Revert to comparison between xs:QName instances and strings
* First XPath 3.1 implementation (without UCA collation support)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
============
Add an “ago” synonym for Arabic (#1128)
Improved date parsing for Czech (#1131)
Improved date parsing for Indonesian (#1134)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
* Bug Fixes
* Fixed ValueError caused when passing 'Cmd.columnize()' strings wider than 'display_width'.
* Enhancements
* Renamed 'utils.str_to_bool()' -> 'utils.to_bool()'.
* Enhanced 'utils.to_bool()' so that it accepts and converts 'bool', 'int', and 'float' in addition to 'str'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added: the debug output file can now be specified with [run] debug_file in
the configuration file. Closes issue 1319.
- Performance: fixed a slowdown with dynamic contexts that's been around since
6.4.3.
- Typing: all product and test code has type annotations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
fix: use repr() when adding values to plot
Allow cantools.tester to work with multiplexed signals
Relaxed an PDU assert for ARXML format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
==========
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Add support for inferring binary union types added in Python 3.10.
* Capture and log messages emitted when inspecting a module for astroid.
* Revert "CallContext" change as it caused a "RecursionError" regression.
* Fix issues with "typing_extensions.TypeVar".
* Fix "ClassDef.fromlino" for PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.
* Preserve parent CallContext when inferring nested functions.
* Add "Lock" to the "multiprocessing" brain.
* Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
* Fix overwritten attributes in inherited dataclasses not being ordered correctly.
* Fix a false positive when an attribute named "Enum" was confused with "enum.Enum".
Calls to "Enum" are now inferred & the qualified name is checked.
* Remove unnecessary typing_extensions dependency on Python 3.11 and newer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add support for Python 3.11.
- Drop support for decorating non-async functions with @template (deprecated since 0.16).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2022.
0001-Remove-tornado-6-test-constraint.-Ref-15.patch
removed since it's not available in 2.0.0.
Changelog:
=========
Drop support for legacy Pythons (2.7, 3.6 or older).
Remove Travis/Appveyor CI and switch to GitHub Actions.
Added support for Tornado 6 (in the test suite).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop backported patches as they are already in 2.0.2 release
Add a patch to cleanup register keyword usage
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brings in these changes
Fix poetry pip-shims extras dependency (#2078) @jooola
Add the ability to restrict which directories isort works against (#1967) @vkomarov-r7
docs: fix simple typo, detrmination -> determination (#1948) @timgates42
updated format strings to fstrings (#2076) @marksmayo
Simplify typeshed integration test (#2075) @AlexWaygood
Fix re-export sorter (#2065) @parafoxia
Add more docs about filter-files option (#2074) @micahjsmith
Removal Python 3.7 (#2064) @staticdev
Added test case and fix for cython pure python import (#2063) @jtoledo1974
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add initial pillow ptest support.
The ptest result is:
====== 3600 passed 324 skipped, 2 xfailed, 1 xpassed in 62.41s (0:01:02) ======
for qemux86-64 with 2 GB RAM.
The skipped tests as summarized with:
# ptest-runner python3-pillow | tee log
# grep SKIPP log | cut -d"(" -f2- | cut -d")" -f1 | cut -d" " -f1 | sort | uniq -c| sort -n | tail -4
12 webp
13 Tk
14 Qt
84 raqm
Webp was explicityly disabled in 2018 in:
6cb4e90fc python3-pillow: add 5.4.1
I didn't test Tk or Qt and there isn't yet a recipe for libraqm:
https://github.com/HOST-Oman/libraqm
a library that encapsulates the logic for complex text layout.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.3.0:
- Add cache_info() function to @cached decorator.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.25.0:
- Add audio support for ffmpeg writer
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- The new SPF 'v=spf1 -all' (reject-all) deliverability check is
removed in most cases. It now is performed only for domains that
do not have MX records but do have an A/AAAA fallback record.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive keys. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.0:
- The default casefolding method on Python 3 was changed from
str.lower() to str.casefold(). This changes the matching of the
case-insensitive values. This shold normally be an improvement,
but in case you find that you are negatively affected by this
change, you can go back to the str.lower() method by overriding
the NocaseDict.__casefold__() method with a method that calls
str.lower().
- Added support for Python 3.11.
- Changed the default casefolding method on Python 3 to be
str.casefold() in order to improve Unicode support. On Python 2,
it remains str.lower(). Added support for user-defined
casefolding.
- Added support for storing None as a value in a NocaseList.
Previously, that was rejected with AttributeError since the
casefold method was attempted to be called on the None value.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.0.8:
- fixing/test for a regression introduced in 5.0.7 that prevented
import validate from working
- update testing to validate against python version 2.7 & 3.5-3.11
- update broken links / non-existent services and references
License-Update: Use file LICENSE, no change of the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Improved :func:'autofit' algorithm to account for the additional width of
autofilter and table dropdowns.
* Improved :func:'autofit' take user defined column widths into account.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright changed from "Crossbar.io Technologies GmbH"
to "typedef int GmbH"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Add Starlite integration (#1748)
- Adding support for the Starlite framework. Unhandled errors are captured.
Performance spans for Starlite middleware are also captured.
- Profiling: Remove sample buffer from profiler (#1791)
- Profiling: Performance tweaks to profile sampler (#1789)
- Add span for Django SimpleTemplateResponse rendering (#1818)
- Use @wraps for Django Signal receivers (#1815)
- Add enqueued_at and started_at to rq job extra (#1024)
- Remove sanic v22 pin (#1819)
- Add support for byterray and memoryview built-in types (#1833)
- Handle "rc" in SQLAlchemy version. (#1812)
- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790)
- Auto publish to internal pypi on release (#1823)
- Added Python 3.11 to test suite (#1795)
- Update test/linting dependencies (#1801)
- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Experimental Features
---------------------
Add support for BF.CARD (#2545)
New Features
------------
Add support for custom connection pool class in NodesManager (#2547)
Bug Fixes
---------
Allow replica to master promotion in nodes_cache (#2549)
Security Fix: Updating graph parser for potential injection cases (#2548)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New:
------
- Added socket_class argument to zmq.Context.socket()
- Support shadowing sockets with socket objects, not just via address,
e.g. zmq.asyncio.Socket(other_socket). Shadowing an object preserves a
reference to the original, unlike shadowing via address.
- in zmq.auth, CredentialsProvider callbacks may now be async.
- ZMQStream callbacks may now be async.
- Add zmq.ReconnectStop draft constants.
- Add manylinux_2_28 wheels for x86_64 CPython 3.10, 3.11, and PyPy 3.9
(these are in addition to not instead of the manylinux_2014 wheels).
Fixed:
-------
- When ZMQStream is given an async socket, it now warns and hooks up events
correctly with the underlying socket, so the callback gets the received
message, instead of sending the callback the incorrect arguments.
- Fixed toml parse error in pyproject.toml, when installing from source with
very old pip.
- Removed expressed dependency on py when running with pypy, which hasn't
been used in some time.
Deprecated:
----------
- zmq.auth.ioloop.IOLoopAuthenticator is deprecated in favor of
zmq.auth.asyncio.AsyncioAuthenticator
- As part of migrating toward modern pytest, zmq.tests.BaseZMQTestCase
is deprecated and should not be used outside pyzmq.
- python setup.py test is deprecated as a way to launch the tests.
Just use pytest.
Removed:
----------
- Bundled subset of tornado's IOLoop (deprecated since pyzmq 17) is
removed, so ZMQStream cannot be used without an actual install of tornado.
- Remove support for tornado 4, meaning tornado is always assumed to run on asyncio.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add xdist pr default. (#1253)
Create docker-publish.yml (#1250)
Parallelize pytest with pytest-xdist (#1247)
Support Python3.11 (#1246)
Fix reconnectDelay to be within (100ms, 5min) (#1244)
Fix typos in comments (#1233)
WEB simulator, first version. (#1226)
Clean async serial problem. (#1235)
terminate when using 'randomize' and 'change_rate' at the same time (#1231)
Used tooled python and OS (#1232)
add 'change_rate' randomization option (#1229)
add check_ci.sh (#1225)
Simplify CI and use cache. (#1217)
Solve issue 1210, update simulator (#1211)
Add missing client calls in mixin.py. (#1206)
Advanced simulator with cross memory. (#1195)
AsyncModbusTcp/UdpClient honors delay_ms == 0 (#1203) (#1205)
Fix#1188 and some pylint issues (#1189)
Serial receive incomplete bytes.issue #1183 (#1185)
Handle echo (#1186)
Add updating server example. (#1176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names
prefixed with assert.
- gh-100690: Mock objects which are not unsafe will now raise an AttributeError
when accessing an attribute that matches the name of an assertion but without
the prefix assert_, e.g. accessing called_once instead of assert_called_once.
This is in addition to this already happening for accessing attributes with
prefixes assert, assret, asert, aseert, and assrt.
- gh-96127: inspect.signature was raising TypeError on call with mock objects.
Now it correctly returns (*args, **kwargs) as infered signature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
AwsCredentials should not call metadata server if security creds and region are retrievable through the environment variables (#1195) (5e27c8f)
Wrap all python built-in exceptions into library excpetions (#1191) (a83af39)
Bug Fixes
---------
Allow get_project_id to take a request (#1203) (9a4d23a)
Make OAUTH2.0 client resistant to string type 'expires_in' responses from non-compliant services (#1208) (9fc7b1c)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.7 or newer is required.
-Type annotations are now integrated with the source code and cover far more of
the library.
-The get_soa() method has been added to dns.zone.Zone.
-The minimum TLS version is now 1.2.
-EDNS padding is now supported. Messages with EDNS enabled and with a non-zero
pad option will be automatically padded appropriately when converted to wire format.
-dns.zone.from_text() and dns.zone.from_file() now have an allow_directives
parameter to allow finer control over how directives in zonefiles are processed.
-A preliminary implementation of DNS-over-QUIC has been added, and will be
available if the aioquic library is present. See dns.query.quic(),
dns.asyncquery.quic(), and examples/doq.py for more info. This API is subject
to change in future releases. For asynchronous I/O, both asyncio and Trio are
supported, but Curio is not.
-DNSSEC signing support has been added to the dns.dnssec module, along with a
number of functions to help generate DS, CDS, and CDNSKEY RRsets.
-Curio asynchronous I/O support is deprecated as of this release and will be
removed in a future release.
-The resolver object's nameserver field is planned to become a property in
dnspython 2.4. Writing to this field other than by direct assignment is
deprecated, and so is depending on the mutability and form of the iterable
returned when it is read.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix the bug where Monday is parsed as a month (#1121)
Prevent ReDoS in Spanish sentence splitting regex (#1084)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: On Python 3.7, a file with type annotations but no from __future__
import annotations would be missing statements in the coverage report.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 23.1.1:
- fix: support for Python up to v3.11
- fix: update GitHub CI
- fix: copyright transferred to typedef int GmbH -
no license change!
- fix: remove coverage crap
License-Update: Company name changed from Crossbar.io Technologies
GmbH to typedef int GmbH, the license remains MIT.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.2:
- Fixed typing definitions for EnvironmentContext.get_x_argument()
- Fixed regression where the string transformations applied to
server defaults caused expressions such as (getdate()) to no
longer compare as equivalent on SQL Server, others.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tftpy is a TFTP library for the Python programming language. It includes client
and server classes, with sample implementations. Hooks are included for easy
inclusion in a UI for populating progress indicators. It supports RFCs 1350,
2347, 2348 and the tsize option from RFC 2349.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.13.2:
- Removed version conditions on typing_extensions dependency.
- Removed typing_extensions from our tests requirements as it was
preventing issues to appear in our continuous integration.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Support ujson.loads(bytearray(...)) and other bytes-like objects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New Features
-------------
Add dialect to FT.AGGREGATE (#2537)
Add support for resetchannels in ACL SETUSER (#2514)
Allow EVAL_RO and EVALSHA_RO to be routed to read replica (#2494)
Add timeout parameter for SentinelManagedConnection (#2495)
Add TIMEOUT to query class (#2519)
Add support for certain LATENCY commands (#2503)
Bug Fixes
-----------
Add type checking to __eq__ in graph classes (#2531)
Accept str for ex parameter in set command (#2529)
Fix for Unhandled exception related to self.host with unix socket (#2520)
Make PythonParser resumable (#2510)
Maintenance
------------
Fix incorrect _disconnect_raise docstring (#2534)
Remove DeprecationWarning by replace get_event_loop with get_running_loop (#2530)
Fix AttributeError when trying to split library version (#2539)
Including startup instructions via redis-stack docker (#2535)
Fix JSON.ARRINDEX test (#2527)
Add OpenTelemetry example with Uptrace backend (#2452)
Switch docs to furo theme (#2492)
Combine auto-concatenated strings (#2482)
Updating graph tests to support new execution plan (#2486)
Raising NotImplementedError for certain CLUSTER and LATENCY commands (#2504) (#2501)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-Performance: an internal cache of file names was accidentally disabled,
resulting in sometimes drastic reductions in performance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Do not use deprecated functions in Flask-SQLAlchemy 3.0
Stop building Python 3.6
Remove tests from pypi package
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
accesscontextmanager: Update the api 038fdb69dc
alertcenter: Update the api 6057d89b61
androidenterprise: Update the api ec22103603
apigee: Update the api 43f435c459
batch: Update the api 3dd983b561
clouddeploy: Update the api 9a176a474c
compute: Update the api bba3627ef5
container: Update the api 98d6112970
contentwarehouse: Update the api 00fa4bb30f
datafusion: Update the api db1dddc7ca
datamigration: Update the api 12effe4a38
datapipelines: Update the api 91b60afaa4
dataplex: Update the api 04bafe3e11
dataproc: Update the api 1ad16fafbd
datastream: Update the api 30f292141f
firestore: Update the api 89b34a91c7
gmail: Update the api a4ca99c42e
notebooks: Update the api f732fd307f
retail: Update the api d94dee346b
speech: Update the api 339a5d6c9c
texttospeech: Update the api ee942d9363
workloadmanager: Update the api 93f0e30afa
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add support for Python 3.11.
Correct version information in RTD documentation.
badges/shields: Change to GitHub workflow badge routes.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Address changes of final V2 api release (#175)
Use non-deprecated logging warn method (#174)
Add support for smart_scene resource (#170)
Add support for matter resource (#171)
Fix: KeepAlive workaround causes Geofence to malfunction (#163)
Fix: Missing repeated events for Philips Hue Tap Dial switch (#167)
Fix error in log when an empty dict is received for an optional value (#164)
Add sparkle effect to fix new Festavia lights (#165)
Fix typo in discovery (#158)
Pin github actions and add dependabot actions ecosystem (#151)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
==========
- Added support for matrix multiplication operator (@).
- Should have all the wheels now (including the manylinux ones).
- Bumped minimum version requirements for setuptools and setuptools-scm.
- Switched the default pure python fallback implementation to the "simple" one
(when you from lazy_object_proxy import Proxy and the C extension is not
available). Previously the "slots" implementation was used but as it turns
out it is slower on Python 3.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.0:
- Updated pre-commit with mypy
- Test Python 3.12 pre-releases
- Fix to min_table_width parameter
- Widen tables with long titles
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.8.1:
- fix: mro_trait can be unbound when the class is not in mro
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.19.0:
- Add timestamp and timestamp_ms formats to fields.DateTime
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 38.0.0:
- Major bump due to minimum required Python version being raised
to 3.8
- do no longer use the ncurses module in the dump subparser
- Fix 'Assertation' NameError typo in test_database
- Add missing crccheck dependency to setup.py
- Bugfix in handling more than one node mapped attribute per signal
- A few bug fixes
- Typing improvements
- Use tox
- Fix CI
- Ensure that only Decimal types are stored in the Signal.decimal
attribute
- cantools library import lib from a relative path (unified)
- Test on python 3.11, build docs again
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.0:
- Add light shades, dark grey and black
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.18.1:
- Remove unnecessary `i` variable from encoder module namespace
- Declare support for Python 3.11 and add wheels
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.36:
- Another Python 3.6 fix for a bug that was introduced in 3.0.34.
- Fix bug introduced in 3.0.34 for Python 3.6. Use
asynccontextmanager implementation from prompt_toolkit itself.
- Improve completion performance in various places.
- Improve renderer performance.
- Handle `KeyboardInterrupt` when the stacktrace of an unhandled
error is displayed.
- Use correct event loop in `Application.create_background_task()`.
- Fix `show_cursor` attribute in `ScrollablePane`.
- Improve termination of `Application`. Don't suppress
`CancelledError`. This fixes a race condition when an
`Application` gets cancelled while we're waiting for the
background tasks to complete.
- Fixed typehint for `OneStyleAndTextTuple`.
- Small bugfix in `CombinedRegistry`. Fixed missing `@property`.
- Use `DummyInput` by default in `create_input()` if `sys.stdin`
does not have a valid file descriptor. This fixes errors when
`sys.stdin` is patched in certain situations.
- Fix control-c key binding for `ProgressBar` when the progress
bar was not created from the main thread. The current code would
try to kill the main thread when control-c was pressed.
- Accept a `cancel_callback` in `ProgressBar` to specify the
cancellation behavior for when `control-c` is pressed.
- Small performance improvement in the renderer.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.0.3:
- Fix: when using the [run] relative_files = True setting, a
relative [paths] pattern was still being made absolute. This is
now fixed.
- Fix: if Python doesn't provide tomllib, then TOML configuration
files can only be read if coverage.py is installed with the
[toml] extra. Coverage.py will raise an error if TOML support is
not installed when it sees your settings are in a .toml file.
But it didn't understand that [tools.coverage] was a valid
section header, so the error wasn't reported if you used that
header, and settings were silently ignored. This is now fixed.
- Fix: adjusted how decorators are traced on PyPy 7.3.10.
- Fix: the coverage lcov report did not properly implement the
--fail-under=MIN option. This has been fixed.
- Refactor: added many type annotations, including a number of
refactorings. This should not affect outward behavior, but they
were a bit invasive in some places, so keep your eyes peeled for
oddities.
- Refactor: removed the vestigial and long untested support for
Jython and IronPython.
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the
combining step could fail with assert row is not None using
7.0.2. This was due to a race condition that has always been
possible and is still possible. In 7.0.1 and before, the error
was silently swallowed by the combining code. Now it will produce
a message "Couldn't combine data file" and ignore the data file
as it used to do before 7.0.2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Added 'OverlappingRange' exception which is raised during Worksheet
:func:'add_table()' or :func:'merge_range()' if the range overlaps an existing
worksheet table or merge range. This is a file corruption error in Excel. See
:ref:'exceptions'.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Updated: copyright year updated to 2023
Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830
Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix#6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787
Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767
Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-gh-98624: Add a mutex to unittest.mock.NonCallableMock to protect concurrent
access to mock attributes.
-bpo-43478: Mocks can no longer be used as the specs for other Mocks. As a
result, an already-mocked object cannot have an attribute mocked using
autospec=True or be the subject of a create_autospec call. This can uncover
bugs in tests since these Mock-derived Mocks will always pass certain tests
(e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with)
will unconditionally pass.
-bpo-45156: Fixes infinite loop on unittest.mock.seal() of mocks created by
create_autospec().
-bpo-41403: Make mock.patch() raise a TypeError with a relevant error message
on invalid arg. Previously it allowed a cryptic AttributeError to escape.
-gh-91803: Fix an error when using a method of objects mocked with
unittest.mock.create_autospec() after it was sealed with unittest.mock.seal() function.
-bpo-41877: AttributeError for suspected misspellings of assertions on mocks are
now pointing out that the cause are misspelled assertions and also what to do
if the misspelling is actually an intended attribute name. The unittest.mock
document is also updated to reflect the current set of recognised misspellings.
-bpo-43478: Mocks can no longer be provided as the specs for other Mocks.
As a result, an already-mocked object cannot be passed to mock.Mock().
This can uncover bugs in tests since these Mock-derived Mocks will always pass
certain tests (e.g. isinstance) and builtin assert functions
(e.g. assert_called_once_with) will unconditionally pass.
-bpo-45010: Remove support of special method __div__ in unittest.mock.
It is not used in Python 3.
-gh-84753: inspect.iscoroutinefunction() now properly returns True when an
instance of unittest.mock.AsyncMock is passed to it. This makes it consistent
with behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.
-bpo-46852: Remove the undocumented private float.__set_format__() method,
previously known as float.__setformat__() in Python 3.7. Its docstring
said: "You probably don't want to use this function. It exists mainly to be
used in Python's test suite." Patch by Victor Stinner.
-gh-98086: Make sure patch.dict() can be applied on async functions.
-gh-100287: Fix the interaction of unittest.mock.seal() with unittest.mock.AsyncMock.
-gh-83076: Instantiation of Mock() and AsyncMock() is now 3.8x faster.
-bpo-41877: A check is added against misspellings of autospect, auto_spec and
set_spec being passed as arguments to patch, patch.object and create_autospec.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Parse short versions of day, month, and year (#1103)
Add a test for "in 1d" (#1104)
Update languages_info (#1107)
Add a workaround for zipimporter not having exec_module before Python 3.10 (#1069)
Stabilize tests at midnight (#1111)
Add a test case for French (#1110)
Remove the requirements-build file (#1113)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Only include the source code in the source distribution. This reduces the
size of the source distribution from 200kB to 30kB.
-Fix the return type hint of bidict.inverted() to return an Iterator, rather
than an Iterable.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.8:
- Add Python 3.11 support and move docs files to main folder
License-Update: File moved to main directory, no changes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.1:
- The equality checks for DNSPointer and DNSService should be case
insensitive
- Optimize equality checks for DNS records
- Optimize the dns cache
- Optimize construction of outgoing packets
- Optimize dns objects by adding pxd files
- Optimize incoming parser by reducing call stack
- Optimize incoming parser by using unpack_from
- Optimize incoming parser by adding pxd files
- Fix project name in pyproject.toml
- Drop async_timeout requirement for python 3.11+
License-Update: Use PKG-INFO to check the license
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Enable mypy to discover type hints as specified in PEP 561
- [ci] Set the expected Python version when building release files
- [ci] Update actions versions in use
- [watchmedo] [regression] Fix usage of missing signal.SIGHUP
attribute on non-Unix OSes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
On glibc this breaks build when using 64bit time_t since zlib ends up
undefining _FILE_OFFSET_BITS when -D_LARGEFILE64_SOURCE is defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a bug where the XML-RPC method supervisor.startProcess() would return 500
Internal Server Error instead of an XML-RPC fault response if the command could
not be parsed.
-Fixed a bug on Python 2.7 where a UnicodeDecodeError may have occurred when
using the web interface.
-Removed use of urllib.parse functions splithost, splitport, and splittype
deprecated in Python 3.8.
-Removed use of asynchat and asyncore deprecated in Python 3.10.
-The return value of the XML-RPC method supervisor.getAllConfigInfo() now
includes the directory, uid, and serverurl of the program.
-If a subprocess exits with a unexpected exit code (one not listed in
exitcodes= in a [program:x] section) then the exit will now be logged at
the WARN level instead of INFO.
-supervisorctl shutdown now shows an error message if an argument is given.
-File descriptors are now closed using the faster os.closerange() instead of
calling os.close() in a loop.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed a type annotations regression introduced in v6.0.2 under Python
versions <3.10. It was caused by importing certain types only available in
newer versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed#2038 (again): stop installing documentation files to top-level site-packages
CI: only run release workflows for upstream (#2052)
Tests: remove obsolete toml import from the test suite (#1978)
CI: bump Poetry 1.3.1 (#2058)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Feature
--------
Add support for Python 3.11 (#920) (e4146a1)
Other
-------
Exclude py3.11 on windows (#917) (c57e31c)
GitHub Actions add Python 3.11 to the testing (#916) (8d49551)
Add migration instructions for as_gray in new pillow plugin. (#913) (b3b040a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-When checking if a file mapping resolved to a file that exists, we weren't
considering files in .whl files. This is now fixed, closing issue 1511.
-File pattern rules were too strict, forbidding plus signs and curly braces
in directory and file names. This is now fixed, closing issue 1513.
-Unusual Unicode or control characters in source files could prevent reporting.
This is now fixed, closing issue 1512.
-The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing issue 1510.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Two new functions are added to the "asgiref.sync" module: "iscoroutinefunction()"
and "markcoroutinefunction()".
Python 3.12 deprecates "asyncio.iscoroutinefunction()" as an alias for
"inspect.iscoroutinefunction()", whilst also removing the "_is_coroutine" marker.
The latter is replaced with the "inspect.markcoroutinefunction" decorator.
The new "asgiref.sync" functions are compatibility shims for these
functions that can be used until Python 3.12 is the minimum supported
version.
**Note** that these functions are considered **beta**, and as such, whilst
not likely, are subject to change in a point release, until the final release
of Python 3.12. They are included in "asgiref" now so that they can be
adopted by Django 4.2, in preparation for support of Python 3.12.
* The "loop" argument to "asgiref.timeout.timeout" is deprecated. As per other
"asyncio" based APIs, the running event loop is used by default. Note that
"asyncio" provides timeout utilities from Python 3.11, and these should be
preferred where available.
* Support for the "ASGI_THREADS" environment variable, used by
"SyncToAsync", is removed. In general, a running event-loop is not
available to `asgiref` at import time, and so the default thread pool
executor cannot be configured. Protocol servers, or applications, should set
the default executor as required when configuring the event loop at
application startup.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Python 3.11 (including wheels)
Drop Python 3.5 support
License-Update: Copyright year updated to 2022
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed issue where server default compare would not work for string defaults
that contained backslashes, due to mis-rendering of these values when comparing
their contents.
-Implemented basic server default comparison for the Oracle backend; previously,
Oracle's formatting of reflected defaults prevented any matches from occurring.
-Adjusted SQLite's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
-Adjusted SQL Server's compare server default implementation to better handle
defaults with or without parens around them, from both the reflected and the
local metadata side.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed#2007: settings for py3.11 (#2040)
Fixed#2038: packaging pypoetry (#2042)
Docs: renable portray (#2043)
Ci: add minimum GitHub token permissions for workflows (#1969)
Ci: general CI improvements (#2041)
Ci: add release workflow (#2026)
Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
Hotfix #2031: only call colorama.init if colorama is available (#2032)
Added official support for Python 3.11 (#1996, #2008, #2011)
Dropped support for Python 3.6 (#2019)
Fixed problematic tests (#2021, #2022)
Fixed#1960: Rich compatibility (#1961)
Fixed#1945, #1986: Python 4.0 upper bound dependency resolving issues
Fixed Pyodide CDN URL (#1991)
Docs: clarify description of use_parentheses (#1941)
Fixed#1976: black compatibility for .pyi files
Implemented #1683: magic trailing comma option (#1876)
Add missing space in unrecoverable exception message (#1933)
Fixed#1895: skip-gitignore: use allow list, not deny list
Fixed#1917: infinite loop for unmatched parenthesis (#1919)
Docs: shared profiles (#1896)
Fixed build-backend values in the example plugins (#1892)
Remove reference to jamescurtin/isort-action (#1885)
Split long cython import lines (#1931)
Update plone profile: copy of black, plus three settings. (#1926)
Fixed#1815, #1862: Add a command-line flag to sort all re-exports (#1863)
Fixed#1854: lines_before_imports appending lines after comments (#1861)
Remove redundant multi_line_output = 3 from "Compatibility with black" (#1858)
Add tox config example (#1856)
Docs: add examples for frozenset and tuple settings (#1822)
Docs: add multiple config documentation (#1850)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
WHL: Add win32 to build_wheels matrix (pull #1169)
BUG: Changed so that the setup.cfg depends on the version code in the __init__.py instead of the other way around (issuue #1155)
BUG: Fix CRS.to_cf() for Pole rotation GRIB convention (pull #1167)
BUG: Fix CRS.to_authority() memory leak (pull #1178)
REF: Use upper case EPSG code when creating CRS (pull #1162)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Correct timeout in call to poll.poll (#687)
Revert "Revert "Fix error with select when python process exceeds 1024 open file descriptors"" (#686)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
This release fixes several minor issues and adds support for several libcurl options.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Bump cibuildwheel to build for Python 3.11 + CI total time speedups
Fix tests that depended on external sites
Complete the Python 3.11 support
Drop CPython 3.6
Improve test compatibility with pytest
Update c-ares submodule to 1.18.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
feature
--------
[feature] [commands] Added new Alembic command alembic check. This performs the widely
requested feature of running an "autogenerate" comparison between the
current database and the MetaData that's currently set up for
autogenerate, returning an error code if the two do not match, based on
current autogenerate settings. Pull request courtesy Nathan Louie.
bug
-------
[bug] [tests] Fixed issue in tox.ini file where changes in the tox 4.0 series to the
format of "passenv" caused tox to not function correctly, in particular
raising an error as of tox 4.0.6.
[bug] [typing] Fixed typing issue where revision.process_revision_directives
was not fully typed; additionally ensured all Callable and Dict
arguments to EnvironmentContext.configure() include parameters in
the typing declaration.
Additionally updated the codebase for Mypy 0.990 compliance.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the python bindings of the rapidjson library.
Signed-off-by: Roger Knecht <roger@norberthealth.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
---------
#789: Users can now set a default distribution mode in their configuration file:
Removals
--------
#842: Python 3.6 is no longer supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
----
- Basic support for listing, enabling and disabling decaying models.
- [tests] Test for local tags.
Changes
--------
- [types] added azure-application-id.
Fix
-----
- [describetypes] updated with the latest output from MISP.
- [types] added missing type value.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelogg:
============
Adding support for reported unknown devices (#680)
Add Chromecast Ultra and Chromecast HD to the recognised devices (#679)
Fix error with select when python process exceeds 1024 open file descriptors (#676)
Include URL and UUID in Home Assistant controller messages (#613)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[build] Wheels are now available for Python 3.11 (#932)
[documentation] HTML documentation builds are now tested for errors (#902)
[documentation] Fix typos here, and there (#910)
[fsevents2] The fsevents2 observer is now deprecated (#909)
[tests] The error message returned by musl libc for error code -1 is now allowed (#923)
[utils] Remove unnecessary code in dirsnapshot.py (#930)
[watchmedo] Handle shutdown events from SIGHUP (#912)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix media upload URI when API endpoint is overridden with client_opions.api_endpoint
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Copyright year updated to 2022
format of LICENSE changed
Changelog:
==========
New Features
-------------
Async clusters: Support creating locks inside async functions (#2471)
Bug Fixes
----------
Async: added 'blocking' argument to call lock method (#2454)
Added a replacement for the default cluster node in the event of failure. (#2463)
Fixed geosearch: Wrong number of arguments for geosearch command (#2464)
Maintenance
-----------
Updating dev dependencies (#2475)
Removing deprecated LGTM (#2473)
Added an explicit index name in RediSearch example (#2466)
Adding connection step to bloom filter examples (#2478)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To fix crash due to missing module:
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 42, in <module>
from typing_extensions import Literal, ParamSpec, Protocol
ModuleNotFoundError: No module named 'typing_extensions'
Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
To fix crash due to missing module:
from twisted.internet import defer
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 14, in <module>
from asyncio import AbstractEventLoop, Future, iscoroutine
ModuleNotFoundError: No module named 'asyncio'
Signed-off-by: Hains van den Bosch <hainsvdbosch@ziggo.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Remove deprecated function to fix twine check with pkginfo 1.9.0. (#941)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Adopt jupyter releaser #806
Use base setup dependency type #805
More CI Cleanup #803
More maintenance cleanup #802
Add project description #801
Bump actions/setup-python from 2 to 4 #798
Bump actions/checkout from 2 to 3 #797
Bump pre-commit/action from 2.0.0 to 3.0.0 #796
Bump actions/upload-artifact from 2 to 3 #795
Add dependabot #794
Add more typings #791
Format changelog #789
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Install uefi-firmware-parser tool
The UEFI firmware parseer is a simple module and set of scripts for
parsing, extracting, and recreating UEFI firmware volumes.
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
---------
Add api_key credentials
Introduce a way to provide scopes granted by user
Bug Fixes
---------
Allow mtls sts endpoint for external account token urls.
CI broken by removal of py.path
Ensure JWT segments have the right types
Updated the lower bound of interactive timeout and fix the kwarg
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Features
---------
Add support for Python 3.11 (#466) (ff379e3)
Allow representing enums with their unqualified symbolic names in headers (#465) (522b98e)
Bug Fixes
--------
Major refactoring of Polling, Retry and Timeout logic (#462) (434253d)
Require google-auth >= 2.14.1 (#463) (7cc329f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix bug in _round_and_pad with exponential coordinate values (#73)
Use assertNotEqual instead of assertNotEquals in tests, for Python 3.11 compatibility (#77)
Add support for Python 3.8, 3.9, and 3.10 (#79, #84)
Drop support for end-of-life Python versions 2.7, 3.4, 3.5, and 3.6 (#84)
Fix structure of coordinate values in GeoJSON to EsriJSON conversion (#82)
Update README with to add History and Limitations sections, and to expand on functionality (#86)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added official Python 3.11 support
Raise proper exception on invalid bignums
Make Tagged item usable as a map key
Eliminate potential memory leak in tag handling
Documentation tweaks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for watchdogdev - a python module for controlling linux
watchdog devices.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python 3.11 has moved the header "longintrepr.h" into a sub-folder [1]
the pre-generated .c files are generated using older cython, therefore
in order to compile it with python 3.11 regenerate them with OE's own
native cython
[1] https://bugs.python.org/issue35134
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
Move set_transaction_name out of event processor in fastapi/starlette (#1751)
Expose proxy_headers as top level config and use in ProxyManager: https://docs.sentry.io/platforms/python/configuration/options/#proxy-headers (#1746)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* New Features
--------------
Add support for TIMESERIES 1.8 (#2296)
Graph - add counters for removed labels and properties (#2292)
Add support for TDIGEST.QUANTILE extensions (#2317)
Add TDIGEST.TRIMMED_MEAN (#2300)
Add support for async GRAPH module (#2273)
Support TDIGEST.MERGESTORE and make compression optional on TDIGEST.CREATE (#2319)
Adding reserve as an alias for create, so that we have BF.RESERVE and CF.RESERVE accuratenly supported (#2331)
* Bug Fixes
--------------
Fix async connection.is_connected to return a boolean value (#2278)
Fix: workaround asyncio bug on connection reset by peer (#2259)
Fix crash: key expire while search (#2270)
Async cluster: fix concurrent pipeline (#2280)
Fix async SEARCH pipeline (#2316)
Fix KeyError in async cluster - initialize before execute multi key commands (#2439)
* Maintenance
----------------
Supply chain risk reduction: remove dependency on library named deprecated (#2386)
Search test - Ignore order of the items in the response (#2322)
Fix GRAPH.LIST & TDIGEST.QUANTILE tests (#2335)
Fix TimeSeries range aggregation (twa) tests (#2358)
Mark TOPK.COUNT as deprecated (#2363)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update to 1.4.0 for python 3.11 compatibilty
Add patch to add upstream commit added after the release of 1.4.0
tarball. Adds python 3.11 to setup.py
Update 0001-Fix-imports-for-ptest.patch for patch fuzz and
removed hunk already in 1.4.0.
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add ptest provided from the source code, and run it using pytest.
Since the tarball provided with pypi does not include ptest, switch the
source to be its git repo.
ptest result:
PASS FAIL SKIP
qemux86-64 5 3 1
qemuarm64 5 3 1
This issue exists since inotify adds unit test support, and it is
reported here: https://github.com/dsoprea/PyInotify/issues/95
Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
========
Change
------
- Add links to doc.
- [misp-objects] updated to the latest version
- [tests] fix the list name test following latest warning-list updates.
- Add dependabot
- Add in sort/desc for sorting results and limit/page for pagination.
- Improve documentation for add_attribute
Fix LIEF vuln.
- Improve warning on invalid template, bump deps
- Make mypy happy
- Add in test case
- Add ability to filter by sharing group for RestSearch for MISP >=
v2.4.158.
- Massive bump deps for python 3.7.
New
-----
- Add in ability to set a taxonomies required status.
- Pass arbitrary headers to a PyMISP request
- Allow to force the timestamps in to_dict/to_json, even if a change was
made.
- Enable TCP keepalive
- [example:copyTagsFromAttributesToEvent] Added script to copy tags from
attributes to the event level.
Fix
----
- Properly bump version
- Issue with EMailObject.
- Change DNS warning list test
- Missing place to update version
- Make keepalive configuration linux only
- Delete sharing group after deleting the event
- Give more time to MISP to publish the events before searching.
- Improper json check on non-json responses
- Mark all attributes in a soft deleted object as soft deleted too.
- Make flake8 happy
- Properly convert MSG to EML
- Update lock file
- [feed] fixes bug when template_uuid does not exist. [Christophe
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Recognize new name of Graal-based Python as jitted
Collect specialization statistics from running benchmarks
Add support for Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed regressions
------------------
Fixed regression in MultiIndex.join() for extension array dtypes (GH49277)
Fixed regression in Series.replace() raising RecursionError with numeric dtype and when specifying value=None (GH45725)
Fixed regression in arithmetic operations for DataFrame with MultiIndex columns with different dtypes (GH49769)
Fixed regression in DataFrame.plot() preventing Colormap instance from being passed using the colormap argument if Matplotlib 3.6+ is used (GH49374)
Fixed regression in date_range() returning an invalid set of periods for CustomBusinessDay frequency and start date with timezone (GH49441)
Fixed performance regression in groupby operations (GH49676)
Fixed regression in Timedelta constructor returning object of wrong type when subclassing Timedelta (GH49579)
Bug fixes
---------
Bug in the Copy-on-Write implementation losing track of views in certain chained indexing cases (GH48996)
Fixed memory leak in Styler.to_excel() (GH49751)
Other
---------
Reverted color as an alias for c and size as an alias for s in function DataFrame.plot.scatter() (GH49732)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Supports Python 3.8, 3.9, 3.10, and 3.11.
NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Added dataclass-equivalent for attrs.define
Find fixtures from Pytest entrypoints; Examples of pytest plugins installed like this are pytest-django, pytest-sugar and Faker.
Fixed Project.search, when a venv was involved, which is why for example :Pyimport django.db did not work in some cases in jedi-vim.
And many smaller bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add mnw_MM.UTF-8 and ckb_IQ.UTF-8
Do not run test cases using Python2 anymore
Add bih
Add more translations from CLDR
Migrate license tag to SPDX
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
Improved support for languages such as Slovak, Indonesian, Hindi, German, and Japanese (#1064, #1094, #986, #1071, #1068)
Recursively create a model home (#996)
Replace regex sub with simple string replace (#1095)
Add Python 3.10, 3.11 support (#1096)
Drop support for Python 3.5, 3.6 versions (#1097)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Prevent returning an empty list for ClassDef.slots() when the mro list contains one class & it is not object.
Prevent a crash when inferring calls to str.format with inferred arguments
Infer the length argument of the random.sample function.
Catch ValueError when indexing some builtin containers and sequences during inference.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adds a recipe for aioserial - an asynchronous serial port library for
Python
Signed-off-by: Gerbrand De Laender <gdelaende@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-kmod - a python wrapper around libkmod.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Allow serialization of classes that implement for_json or _asdict by
ignoring TypeError when those methods are called
https://github.com/simplejson/simplejson/pull/302
* Raise JSONDecodeError instead of ValueError in invalid unicode escape
sequence edge case
https://github.com/simplejson/simplejson/pull/298
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for building arm64 wheels on macOS.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* greenio: GreenPipe/fdopen() with 'a' in mode raised io.UnsupportedOperation:
File or stream is not writable https://github.com/eventlet/eventlet/pull/758
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Updates for Flask-SQLAlchemy 3.x compatiblity
Enable type comparison and batch mode by default
Option to rename "db" command group to a custom name
Better handling of MetaData instances in templates
Set options correctly when revision --autogenerate is used #463
Documentation section on configuring Alembic
Upgrade build to pypy-3.9
Add Python 3.10 to build
Add Python 3.11 to build
Specify license in project metadata #489
Remove tests from pypi package
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add pygments as requirement for repl
Update datastore remote to handle write requests (#1166)
Allow multiple servers. (#1164)
Fix typo. (#1162)
Transfer parms. to connected client. (#1161)
Repl enhancements 2 (#1141)
Server simulator with datastore with json data. (#1157)
Avoid unwanted reconnects (#1154)
Do not initialize framer twice. (#1153)
Allow timeout as float. (#1152)
Improve Docker Support (#1145)
Fix unreachable code in AsyncModbusTcpClient (#1151)
Fix type hints for port and timeout (#1147)
Start/stop multiple servers. (#1138)
Server/asyncio.py correct logging when disconnecting the socket (#1135)
Add Docker and container registry support (#1132)
Removes undue reported error when forwarding (#1134)
Obey timeout parameter on connection (#1131)
Readme typos (#1129)
Clean noqa directive. (#1125)
Add isort and activate CI fail for black/isort. (#1124)
Update examples. (#1117)
Move logging configuration behind function call (#1120)
serial2TCP forwarding example (#1116)
Make serial import dynamic. (#1114)
Bugfix ModbusSerialServer setup so handler is called correctly. (#1113)
Clean configurations. (#1111)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed CI runs when creating a new release, where new towncrier versions
fail when the current version section is already present.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Removed stray quote and comma from setup.cfg preventing PyPI from accepting a
release. (#361)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022
Changelog:
===========
Fix hex formatting of data bytes in Ext string representation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- create_dispatcher is determined by URL ws/wss, NOT by presence of sslopt args, to maintain consistency (#875)
- Remove redundant key generation line (#864)
- Updated docs to fix old links and updated CI to include Python 3.11
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
[Feature] #2125: (also re: #2054) Add a transport_factory kwarg to
SSHClient.connect for advanced users to gain more control over early
Transport setup and manipulation. Thanks to Noah Pederson for the patch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
Initialize libtiff buffer when saving #6699 [radarhere]
Inline fname2char to fix memory leak #6329 [nulano]
Fix memory leaks related to text features #6330 [nulano]
Use double quotes for version check on old CPython on Windows #6695 [hugovk]
Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
Fixed set_variation_by_name offset #6445 [radarhere]
Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
Release Python GIL when converting images using matrix operations #6418 [hmaarrfk]
Added ExifTags enums #6630 [radarhere]
Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere]
Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
Added GPS TIFF tag info #6661 [radarhere]
Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
Do not attempt normalization if mode is already normal #6644 [radarhere]
Fixed seeking to an L frame in a GIF #6576 [radarhere]
Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
Don't reassign crc on ChunkStream close#6627 [wiredfool, radarhere]
Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere]
Show all frames in ImageShow #6611 [radarhere]
Allow FLI palette chunk to not be first #6626 [radarhere]
If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere]
Round box position to integer when pasting embedded color #6517 [radarhere, nulano]
Removed EXIF prefix when saving WebP #6582 [radarhere]
Pad IM palette to 768 bytes when saving #6579 [radarhere]
Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere]
Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere]
Added reading of TIFF child images #6569 [radarhere]
Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
Defer parsing of palette into colors #6567 [radarhere]
Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere]
Corrected BMP and TGA palette size when saving #6500 [radarhere]
Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
Copy palette when converting from P to PA #6497 [radarhere]
Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere]
Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
Fixed writing bytes as ASCII tag #6493 [radarhere]
Open 1 bit EPS in mode 1 #6499 [radarhere]
Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
Added support for RGBA PSD images #6481 [radarhere]
Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere]
Do not clear GIF tile when checking number of frames #6455 [radarhere]
Support saving multiple MPO frames #6444 [radarhere]
Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
Added ABGR BMP mask mode #6436 [radarhere]
Fixed PSDraw rectangle #6429 [radarhere]
Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Updated text for supported Unicode and Python versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
--------
Update to greenlet 2.0. This fixes a deallocation issue that required a change
in greenlet's ABI. The design of greenlet 2.0 is intended to prevent future
fixes and enhancements from requiring an ABI change, making it easier to
update gevent and greenlet independently.
greenlet 2.0 requires a modern-ish C++ compiler.
This may mean certain older platforms are no longer supported. See :issue:`1909`.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Added read0 flag to enable reading 0 bytes after transfer to lower CS when cshigh == True
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.10.0:
- The systemd: endpoint parser now supports "named" file
descriptors. This is a more reliable mechanism for choosing
among several inherited descriptors.
- The systemd endpoint parser's index parameter is now documented
as leading to non-deterministic results in which descriptor is
selected. The new name parameter is now documented as preferred.
- The implementers of Zope interfaces are once more displayed in
the documentations.
- twisted.protocols.dict, which was deprecated in 17.9, has been
removed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.22.3:
- Support compression and compressionargs in tifffile plugin
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.39.4:
- Fix IP changes being missed by ServiceInfo
- Fix port changes not being seen by ServiceInfo
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features
------------
Validated compatibility with Python 3.11.
Added the latency property to protocols.
Changed ping to return the latency of the connection.
Supported overriding or removing the User-Agent header in clients and the Server header in servers.
Added deployment guides for more Platform as a Service providers.
Improvements
-------------
Improved FAQ.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
no-pip.patch
removed since it's included in 3.2.0
Changelog:
chore: Deactivate broken test for now (#557)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
==========
Dropped support for legacy Pythons (2.7, 3.6 or older).
Switched CI to GitHub Actions.
Removed dependency on the py library (that was not properly specified as a dependency anyway).
Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in #211.
Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in #224.
Now no save is attempted if --benchmark-disable is used. Fixes#205. Contributed by Friedrich Delgado in #207.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Simplify registry subclassing.
(Issue #1631)
- Restore intersphinx cross reference functionality.
(Issue #1637)
- Use a newer version of flexparser that can deal with
imports in linked/temporary folders.
(Issue #1634)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022
Changelog:
==========
Use native namespace package configuration
Drop support for Python 3.6
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
==========
Cleaned up use of cPickle. Contributed by Sandro Tosi in #62.
Cleaned up more dead Python 2 code.
Added Python 3.11 wheels.
Dropped support for Python 3.6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.0:
- Remove 'unmarked' from public API
- Remove remaining mentions of init_tokens
- Teach ASTText the special handling for f-strings
- Explore a clearer lazy-parsing behaviour API
- Handle and test f-strings better
- Handle node being None in same way as token-using methods
- Make get_text_positions docstring match get_text_range better
- Handle f-string nodes even when tokens are present
- Type checking blocks will never get runtime coverage
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.10.0:
- Added double-spaces after embedded youtube links
- Add explanation for how to use assert to pacify mypy
- Allow enter to have a default
- CI improvements
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 9.0.0:
- Changes to lscpu breaks parsing of cache info
- CPU stepping, model, and family values are blank if 0
- Officially drop support for Python 2
- Replace Python 3.11 deprecated unittest.makeSuite
- Fix lgtm.com alerts
- Support Wheel
- Add support for RISC-V
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.5.0:
- Update tests and docs to use non-deprecated functions
- Clean up version handling
- Prep for jupyter releaser
- Format the changelog
- Clean up application typing
License-Update: formating change, the license remains the same
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A request to release a new version is here:
https://github.com/sumerc/yappi/issues/122
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.20:
- Reorganized code into facets
Each facet encapsulate a Pint functionality
- The definition parser is now completely appart, making it easy to
try other formats
- Extra requires for optional packages are now explicit in
setup.cfg
- Parse both Greek mu and micro Unicode points without error
- Added angular frequency documentation page
- Move ASV benchmarks to dedicated folder
- Implement `numpy.broadcast_arrays`
- An ndim attribute has been added to Quantity and DataFrame has
been added to upcast types for pint-pandas compatibility
- Fix a recursion error that would be raised when passing
quantities to `cond` and `x`
- Update test_non_int tests for pytest
- Create NaN-value quantities of appropriate non-int-type
- New documentation format and organization
- Better support for pandas and dask
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.4.6:
- Add alternative to 'init()', called 'just_fix_windows_console'.
This fixes many longstanding problems with 'init', such as
working incorrectly on modern Windows terminals, and wonkiness
when init gets called multiple times. The intention is that it
just makes all Windows terminals treat ANSI the same way as other
terminals do.
- Support Windows 10's ANSI/VT console. This didn't exist when
Colorama was created, and avoiding us causing havok there is long
overdue.
- Internal overhaul of package metadata declaration, which
abolishes our use of the now heavily discouraged setuptools (and
hence setup.py, setup.cfg and MANIFEST.in), in favor of hatchling
(and hence pyproject.toml). This includes dropping support
Python3.5 and 3.6, which are EOL, and were already dropped from
setuptools, so this should not affect our users.
- Attention to detail award to LqdBcnAtWork for a spelling fix in
demo06
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.1.4:
- count parameter can now go beyond 16-bit
- README.md is updated to describe how the module works in detail
- Linting issues have been fixed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.6:
- Ensure tempfiles are deleted by default
- Fix pickling errors thrown when saving some Stdlib modules
- Move session-related code to new session module
- Fix load_session() and restrict loading a session in a different
modude
- Rewrite _create_code() with Structural Pattern Matching (limited
to tuples)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.2.6.post1:
- Improvement and refactoring in CI and tests
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changed
--------
bump up cryptography >= 3.4.0 by @jpadilla in #807
Remove types-cryptography from crypto extra by @lautat in #805
Fixed
---------
Invalidate token on the exact second the token expires #797
fix: version 2.5.0 heading typo by @c0state in #803
Added
-------
Adding validation for issued_at when iat > (now + leeway) as ImmatureSignatureError by @sriharan16 in #794
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix python_requires package metadata to support Python 3.7+.
Drop support for Python 2, as well as 3.4, 3.5, and 3.6.
Fix a broken compatibility shim that would cause the ConfigParser to fail on Python 3.12 when ConfigParser.readfp is removed.
Drop setuptools dependency and start using importlib.metadata instead.
Refactor repository into a src folder layout.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2022.
Changelog:
===========
Drop support for Python 3.6
Switch to implicit namespace package configuration
Add support for variable-width GPIO ports on FT23xx chips
Use time.perf_counter_ns() to avoid loss of precision
Remove cmdline.make_serial (deprecated since 1.17.1)
Pillow 9.2.0 or newer is required now
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add is_locked(lock_name) to test whether lock is held.
Allow raising CancelExecution within a Task, and override retries.
Add a very basic redis-backed lock that can be acquired more than once (to provide a rudimentary semaphore).
Add a periodic_task() wrapper for MiniHuey class.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)
Changed
Build with static metadata using 'build' frontend
Make the language detection stricter
Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1
Fixed
CLI with opt --normalize fail when using full path for files
TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
Sphinx warnings when generating the documentation
Removed
Coherence detector no longer return 'Simple English' instead return 'English'
Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
Breaking: Method first() and best() from CharsetMatch
UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
Breaking: Top-level function normalize
Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
Support for the backport unicodedata2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.8.0:
- Replace setup.py with build
- Lowered LinuxDistribution._distro_release_info method complexity
- Added official support for Buildroot distribution
- Added official support for Guix distribution
- Added support for /etc/debian_version
- Fixed a typography in CONTRIBUTING.md
- Improved README.md "Usage" code block
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.13.0:
- Add install info to readme for openSUSE
- Support defaultdict for namespace mapping
- parse(generator) is now possible
- Processing comments on parsing from xml to dict
- Add expand_iter kw to unparse to expand iterables
- Add support for python3.8
- Drop Jython/Python 2 and add Python 3.9/3.10
- Do not use len() to determine if a sequence is empty
- Add more namespace attribute tests
- Fix encoding issue in setup.py
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This has the python 3.11 fix in it so drop the patch
Add a patch to avoid adding native include paths to compiler cmdline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Upgrade to release 1.9.10:
- Added newer Celery versions to test suite
- Django 4.x support
- Cancel old CI runs when new one is started.
- Increase max string size for desc
- Pin Sanic version for CI
- Fix for partial signals in old Django and old Python versions.
- Convert profile output to the sample format
- Dynamically adjust profiler sleep time
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.11:
- Improve detection of namespace packages for the modules with
__spec__ set to None.
- Fixed a regression in the creation of the __init__ of dataclasses
with multiple inheritance.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: url of License changed from http to https.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.0:
- Migrate to pyproject.toml project layout (PEP 621).
- New output formats: `asciidoc`, various `*grid` and `*outline`
formats.
- New output features: vertical row alignment, separating lines.
- New input format: list of dataclasses (Python 3.7 or later).
- Support infinite iterables as row indices.
- Improve column width options.
- Improve support for ANSI escape sequences and document the
behavior.
- Various bug fixes.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.2.0:
- SPARQL: Fixed handing of HAVING clause with variable composition
- JSON-LD parser: better support for content negotiation
- Removed the following functions that were marked as deprecated
and scheduled for removal in version 6.0.0: Graph.load,
Graph.seq, Graph.comment, Graph.label
- Use functools.total_ordering to implement most comparison
operations for rdflib.paths.Path
- Fixed error handling for invalid URIs
- InfixOWL: Fixed handling of cardinality 0
- Added quad support to handling to
rdflib.graph.ReadOnlyGraphAggregate.quad
- Fixed base validation used when joining URIs
- Add GEO defined namespace for GeoSPARQL
- Fixed some issues with SPARQL Algebra handling/translation
- Fix SPARQL CSV result serialization of blank nodes
- Added a URIRef.fragment property
- Remove superfluous newline from N-Triples output
- Added a bunch of type hints
License-Update: Update years.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.5.0:
- The JSON report now includes details of which branches were
taken, and which are missing for each file.
- Starting with coverage.py 6.2, class statements were marked as a
branch. This wasn't right, and has been reverted. Note this will
very slightly reduce your coverage total if you are measuring
branch coverage.
- Packaging is now compliant with PEP 517.
- A new debug option --debug=pathmap shows details of the remapping
of paths that happens during combine due to the [paths] setting.
- Fix an internal problem with caching of invalid Python parsing.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.7:
- Fixed unused root argument in has_bridges
- docstring updates for union, disjoint_union, and compose
- Updated networkx/classes/function.py
- Improved documentation for all_simple_paths
- Change is_path to return False when node not in G instead of
raising exception
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Force regeneration of cython files in particular
(and strip build paths out of them afterwards).
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pre-generated cython files in the tarball are not compatible
with python 3.11, and adding a dependency will regenerate them.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the system version. Moreover, internal version is not cross compile
friendly. Ends up with
| cc1: error: include location "/usr/include/python3.10" is unsafe for cross-compilation [-Werror=poison-system-directories]
| cc1: some warnings being treated as errors
| error: command '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/python3-gevent/21.12.0-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-gcc' failed with exit code 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add to_etree() to document API
Improve generic encoding with wildcards
Clean document API and schema decoding
License-Update: Copyright year updated to 2022.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Enhancements
-------------
Add support for DIV operator
Add support for additional SPARK keywords
Avoid tokens copy
Add REGEXP as a comparision
Add DISTINCTROW keyword for MS Access (issue677).
Improve parsing of CREATE TABLE AS SELECT
Bug Fixes
---------
Fix spelling of INDICATOR keyword
Fix formatting error in EXTRACT function
Fix bad parsing of create table statements that use lower case
Handle backtick as valid quote char
Allow any unicode character as valid identifier name (issue641).
Other
-------
Update github actions to test on Python 3.10 as well
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix several possible resource warnings and deprecation warnings when cleaning
up contexts and sockets, especially in pyzmq’s own tests and when implicit
teardown of objects is happening during process teardown.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bump actions/checkout from 2 to 3
Bump codecov/codecov-action from 1 to 3
Bump actions/setup-python from 2 to 3
adding support for compressed payloads
Revert "adding support for compressed payloads"
Add to_jwk static method to ECAlgorithm
Remove redundant wheel dep from pyproject.toml
Adjust expected exceptions in option merging tests for PyPy3
Do not fail when an unusable key occurs
Fixes for pyright on strict mode
Bump actions/setup-python from 3 to 4
[pre-commit.ci] pre-commit autoupdate
docs: fix simple typo, iinstance -> isinstance
Expose get_algorithm_by_name as new method
Remove support for python3.6
[pre-commit.ci] pre-commit autoupdate
Emit a deprecation warning for unsupported kwargs
Fix typo: priot -> prior
Fix for headers disorder issue
Update audience typing
Improve PyJWKSet error accuracy
Add type hints to jwt/help.py and add missing types dependency
Add cacheing functionality for JWK set
[pre-commit.ci] pre-commit autoupdate
Mypy as pre-commit check + api_jws typing
[pre-commit.ci] pre-commit autoupdate
Bump version to 2.5.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
-------
Add installation instructions (#56)
Internationalise the decimal separator in intcomma() (#53)
Internationalise intcomma for de_DE locale (#49)
Fixed
------
Replace short scale with long scale for Polish numbers (#54)
Fix intcomma() failing with a string as input when ndigits is not None (#52)
Fix some pylint findings (#42)
Fix "ValueError: math domain error" for metric(0) (#47)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Django 2.2 is no longer supported. [#8662]
* Django 4.1 compatibility. [#8591]
* Add --api-version CLI option to generateschema management command. [#8663]
* Enforce is_valid(raise_exception=False) as a keyword-only argument. [#7952]
* Stop calling set_context on Validators. [#8589]
* Return NotImplemented from ErrorDetails.__ne__. [#8538]
* Don't evaluate DateTimeField.default_timezone when a custom timezone is set. [#8531]
* Make relative URLs clickable in Browseable API. [#8464]
* Support ManyRelatedField falling back to the default value when the attribute
specified by dot notation doesn't exist. Matches ManyRelatedField.get_attribute to Field.get_attribute. [#7574]
* Make schemas.openapi.get_reference public. [#7515]
* Make ReturnDict support dict union operators on Python 3.9 and later. [#8302]
* Update throttling to check if request.user is set before checking if the user is authenticated. [#8370]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.8.3:
- Increased the upper boundary of the multidict dependency to
allow for the version 6
License-Update: Update copyright year from 2020 to 2022
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.1:
- Add support for Python 3.11 and PyPy
- Add support for Python 3.10
- Add type annotations to the project and run mypy on CI
- Add tests
- Refer to GitHub Releases for release notes for 2.0.0+
- Autodeploy to TestPyPI and to PyPI for GH releases
- Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs
- Replace deprecated license_file with license_files in setup.cfg
- Use declarative metadata in setup.cfg
- Replace 3.9-dev with 3.9 in CI to use Python 3.9 final
- Drop support for EOL Python <= 3.6
- Remove hardcoded VERSION constant
- Update source URL
License-Update: Removed new line from the end of license file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Remove unncessary package_data from setup.py (#243)
Use a custom logger when logging exceptions, not root
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-protobuf-Disable-musttail-attribute-on-mips.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Reshuffle the process lock code and properly document it.
Revamp the docs and switch from sphinx to mkdocs
Remove difficult to use tread lock features from docs
Bring back support for eventlet spawn_n
Remove support for python3.6. It should still work, but is no longer tested.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
ARXML refactoring preparations
refactor the ARXML code
Bugfix: BU_BO_REL causes 'index out of range' error
Add missing Bus import in can/init.py
PCAN trace (.trc) format to logreader
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.0:
- Deliverability checks now check for 'v=spf1 -all' SPF records as
a way to reject more bad domains.
- Special use domain names now raise EmailSyntaxError instead of
EmailUndeliverableError since they are performed even if
check_deliverability is off.
- New module-level attributes are added to override the default
values of the keyword arguments and the special-use domains list.
- The keyword arguments of the public methods are now marked as
keyword-only.
- pyIsEmail's test cases are added to the tests.
- Recommend that check_deliverability be set to False for
validation on login pages.
- Added an undocumented globally_deliverable option.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.22.0:
- Pyav API for procedural video writing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.10:
- Fixed a crash when introspecting modules compiled by `cffi`
- ``decorators.cached`` now gets its cache cleared by calling
``AstroidManager.clear_cache``
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.0:
- Fix a security issue where eval(pre_dispatch) could potentially
run arbitrary code. Now only basic numerics are supported.
- Make sure that joblib works even when multiprocessing is not
available, for instance with Pyodide.
- Avoid unnecessary warnings when workers and main process delete
the temporary memmap folder contents concurrently.
- Fix memory alignment bug for pickles containing numpy arrays.
This is especially important when loading the pickle with
mmap_mode != None as the resulting numpy.memmap object would not
be able to correct the misalignment without performing a memory
copy. This bug would cause invalid computation and segmentation
faults with native code that would directly access the underlying
data buffer of a numpy array, for instance C/C++/Cython code
compiled with older GCC versions or some old OpenBLAS written in
platform specific assembly.
- Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+.
- Vendor loky 3.3.0 which fixes several bugs including:
* robustly forcibly terminating worker processes in case of a
crash
* avoiding leaking worker processes in case of nested loky
parallel calls
* reliability spawn the correct number of reusable workers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.4.0:
- Fix version_info
- Make generated config files more lintable
- Fix union from string
- Cover more Union parsing scenarios
- Upgrade GitHub Actions
- Fix and refactor downstream tests
- Test only the server part of notebook
- Add security.md, and tidelift bage
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.2:
- Extend root concept to subtrees used as root (e.g. XSD 1.1
assertions)
- Begin XPath 3.1 implementation adding XPathMap and XPathArray
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.5.0:
- Add support for Python 3.11 and PyPy3.9
- Add separators encoding parameter
- Fix encoding of infinity
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 22.9.0:
- Allow and add named sections for CalVer
- Add diff method to AwesomeVersion to list out changes between
2 objects
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.2.post1:
- FIX: Documentation for installation from source is outdated.
- FIX: Fix some typos in error messages.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.10.2:
- Revert Change: Revert percent encoding of URL parts
- Prevent long (length > 4_300) strings/bytes as input to int
fields, see python/cpython#95778 and CVE-2020-10735
- fix: dataclass wrapper was not always called
- Use tomllib on Python 3.11 when parsing mypy configuration
- Basic fix of GenericModel cache to detect order of arguments in
Union models
- Fix mypy plugin when using bare types like list and dict as
default_factory
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.1:
- Add option to specify line break character used in pagination
- Add header alignment attribute
- Revert "Add header alignment attribute"
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.6:
- Add random_spanning_tree to documentation
- Add warning to nx_agraph about layout nondeterminism
- Add cache reset for when G._node is changed
- Allow unsortable nodes in approximation.treewidth functions
- Add examples for the condensation function
- Improve LCA input validation
- Replace LCA with naive implementations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.3.0:
- Support Python 3.10.
- IntervalDict.as_dict has an optional atomic=False parameter that,
if set to True, returns intervals that are atomic.
- Experimental support for structural pattern matching (on left,
lower, upper and right).
- (breaking) For consistency, the empty interval is never <, >, <=,
nor >= when compared to another interval.
- Comparing an interval and a value is deprecated since it is
ill-defined when the value is on the left of <= or >=. Convert
values to singletons first.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.21.3:
- Raise error if fps is specified
- Fix small typo
- Examples for Pyav
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add use_location_hints argument to document API for giving the option of ignoring XSI schema locations hints
Fix import from locations hints with namespace mismatch (issue #324)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic
* Get translation changes from CLDR
* Add more translations from CLDR
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
-Metadata-Version updated to 2.1
-Python updated from 2.7.12 to 3
-Version updated to 4.11.1
-Description and Platform removed
Changelog:
===========
a major rebuild of the Go target
huge internal refractoring of testing and various target speed improvements
Getting all targets to run on all operating systems using github actions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Auto-coerce pathlib.Path objects to str since it is the least astonishing behavior
Reduce strictness of type hints to avoid over-constraining client code
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.9:
- Fixed creation of the ``__init__`` of ``dataclassess`` with
multiple inheritance.
- Fixed a crash on ``namedtuples`` that use ``typename`` to specify
their name.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.0:
- Removed legacy implementation of HierarchicalMachine from the
package
- Fix active state styling in GraphMachine
- Fix issues related to scopes and queueing in HierachicalMachine
- Reflexive transitions (dest: '=') had not been resolved correctly
when source was a wildcard
- HSM did not detect reflexive transitions if src was a parent
state
- Fix implicit fallback to graphviz when pygraphviz was not
installed
- Fix on_timeout callback resolution when timeout had been
initialized with timeout=0
- Last label in GraphSupport was not correctly aligned when
show_attributes=True
- Feature: Add pyi stub files for better type hinting. Since many
functions and constructors allow rather arbitrary arguments time
will tell whether typing should be strict (and cause more mypy
issues) or more relaxed (and thus less precise).
- Reviewed and improved method documentation
- Add may transition check to transitions
- Refactored error handling to be able to handle MachineError in
on_exception callbacks
- Add mypy to test workflow
- Add Retry state to supported state stereotypes
- Machine._identify_callback has been converted to instance method
from class method
- LockedMachine._get_qualified_state_name has been converted to
instance method from static method
- Removed _super workaround related to dill
License-Update: File changes, the licese remains the same MIT
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.7.0:
- Official support of python 3.10, 3.11 and 3.12
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
--------
Add 'strict' to flatten_query_params to lower-case bools (#433) (83678e9)
Make grpc transcode logic work in terms of protobuf python objects (#428) (c3ad8ea)
Bug Fixes
---------
Require python 3.7+ (#410) (7ddb8c0)
Restore support for grpcio-gcp (#418) (8c19609)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Add attribution to Lawrence Livermore
National Laboratory and the United States Department of Energy
Drop the Advertizing Clause from COPYING
Forward port patches
Drop 0001-cross-compiling-support.patch
bring in qemu usermode to do runtime pieces of build
Delete cached source files, as they are no longer needed
Upgrade version info in python3-h5py as well to match the upgraded
version number
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.31:
- Pass through `name` property in `TextArea` widget to `Buffer`.
- Added a `enable_cpr` parameter to `Vt100_Output`, `TelnetServer`
and `PromptToolkitSSHServer`, to completely disable CPR support
instead of automatically detecting it.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.21.2:
- Allow v3.imread to read dicom
- Revert to asanyarray
- Add missing numpy import in example
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed a crash involving non-standard type comments such as # type: # any comment.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Dropped patch for cross compile. 918d4481a4f69c7a4cbb4282acbabd28e2433039
fixes this upstream.
* This also fixing an issue building gnuradio where pybind looked for
something in /usr/include/pythonX.Y on the build machine.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-absl-always-use-asm-sgidefs.h.patch
removed since it's included in 1.48.0
abseil-ppc-fixes.patch
refreshed for new version
License-Update:
Add the contents of Mozilla Public License to license file.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix compile to code tests to run them on any platform
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrading python3-twitter to 4.10.1 and adding
missing RDEPEND requests-oauthlib
The license line in PKG-INFO was moved from row 8 to row 9.
Changelog: (https://github.com/tweepy/tweepy/releases)
New Features / Improvements:
- Add support for Direct Message typing indicator
and read receipts
- Add API.indicate_direct_message_typing and
API.mark_direct_message_read
- Fallback to "detail" response value for HTTPException message
- Handle "error" key of response being a string in HTTPException
- Add asynchronous interfaces for Twitter API v2
- Add asynchronous.AsyncClient
- Add async_lru as requirement for async extra
- Add asynchronous.AsyncStreamingClient
- Add support for reverse chronological home timeline
with Twitter API v2
- Add Client.get_home_timeline and AsyncClient.get_home_timeline
- Update the User-Agent header based on AsyncStream.user_agent
even if AsyncStream.session is already initialized/set
Bug Fixes
- Fix AsyncBaseClient rate limit handling
- Fix handling of StreamRule when passed in list to
StreamingClient.delete_rules or AsyncStreamingClient.delete_rules
- Add support for media_fields, place_fields, and poll_fields
parameters for Client.get_list_tweets and
AsyncClient.get_list_tweets
- Ignore AsyncClient method parameters explicitly passed as None
Twitter API Deprecations:
- Deprecate Stream.sample and note deprecation of compliance
messages for Stream.filter
- Deprecate AsyncStream.sample and note deprecation of compliance
messages for AsyncStream.filter
Misc:
- Use setup.cfg for coverage.py configuration
- Explicitly specify coverage >= 4.4.2 requirement for dev extra
- Use setup.cfg for tox configuration
- Update lower bound for dev extra tox requirement to >= 3.21.0
- Remove tests_require from setup.py
- Stop creating universal wheels
- Update and improve various documentation and tests
- Log text of HTTP response when handling request error in BaseStream
- Update Requests documentation URL for Intersphinx linking
- Correct typo in documentation for StreamingClient and
AsyncStreamingClient add_rules and delete_rules methods
Signed-off-by: Atanas Bunchev <atanas.bunchev@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to https://www.djangoproject.com/download/ python3-django
3.2.x has LTS support upto 2024, hence make it as default version
to build.
Also, add runtime dependency on python3-asgiref as the "django-admin"
script needs asgiref module.
More info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The default version of python3-django 2.2.x is no longer supported.
So, python3-django either 3.x or 4.x should be preferred, that
requires python3-asgiref at runtime.
More info at https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.0:
- Support Python 3.11
- Add flag to preserve internal borders when border=False
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.30:
- Allow zero-width-escape sequences in `print_formatted_text`.
- Add default value option for input dialog.
- Added `has_suggestion` filter.
- Always wrap lines in the Label widget by default.
- Fix enter key binding in system toolbar in Vi mode.
- Improved handling of stdout objects that don't have a 'buffer'
attribute. For instance, when using `renderer_print_formatted_text`
in a Jupyter Notebook.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.4:
- Do not include now private code.h
- Fix Python 3.11 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.4.4:
- Wheels are now provided for Python 3.11
- Fix a failure when combining data files if the file names
contained glob-like patterns
- Fix a messaging failure when combining Windows data files on a
different drive than the current directory
- Fix path calculations when running in the root directory, as you
might do in a Docker container
- Filtering in the HTML report wouldn't work when reloading the
index page. This is now fixed
- Fix a problem with Cython code measurement
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4:
- Add Python 3.8-3.10 to tox.ini. Remove old Python versions.
- Replace deprecated python setup.py test in tox.ini.
- Remove deprecated test_suite from setup.py.
- Move metadata to setup.cfg and add a pyproject.toml file.
- Include tests in sdist but not in wheel.
- Fix escape sequence warning in byte string literal.
- Open /dev/tty in binary mode under both Python 2 and 3.
- Officially change opentty's bufsize argument default from 1 to
-1. Under Python 3, 1 has effectively meant -1 all along but
Python 3.8 now issues a warning.
- Add readto, getfgcolor, getbgcolor, islightmode, and isdarkmode.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.12.0:
- Update to toolz 0.12.0
- Build wheels automatically with cibuildwheel!
- Support newer Python versions
- Improve import times
- Use versioneer.py to manage versions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.1:
- Fix small warnings for make docs
- Rename: encode_abi()->encode() and decode_abi()->decode()
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.4.1:
- Reject --tracemalloc in pyperf command
- Support reporting geometric mean by benchmark tags
- Add pyston as an implementation with a jit
- Add support for profiling benchmarks
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix router to restore the 2.1 strict_slashes == False behaviour whereby
leaf-requests match branch rules and vice versa.
- Fix router to identify invalid rules rather than hang parsing them, and
to correctly parse / within converter arguments.
- Update subpackage imports in werkzeug.routing to use the import as syntax
for explicitly re-exporting public attributes.
- Parsing of some invalid header characters is more robust.
- When starting the development server, a warning not to use it in a production
deployment is always shown.
- LocalProxy.__wrapped__ is always set to the wrapped object when the proxy is
unbound, fixing an issue in doctest that would cause it to fail.
- Address one ResourceWarning related to the socket used by run_simple.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
--------
add integration tests for pluggable auth
support for configurable token lifetime
support for configurable token lifetime
Bug Fixes
---------
async certificate decoding
Async system tests were not unwrapping async_generators
Fix IDTokenCredentials update bug
make expiration_time optional in response schema
refactor credential subclass parameters
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.5.0:
- Add support for new Hue Tap Dial (relative rotary)
- Fix KeyError on fake Hue bridges
- Add monitor configuration type
- Updated rate limit statuscode
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.4:
- has_properties now returns Matcher[Any] type, which addresses
type checking errors when nested as a matcher.
- Added Python 3.11 testing
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.5:
- Check that nodes have "pos" attribute in geometric_edges
- Correct louvain formula, solve infinite loops
- Add more comprehensive tests for pydot
- Move factory attributes to the class instead of instance
- make lazy_import private and remove its internal use
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.3.1:
- The published source distribution package became buildable under
Python 3.11.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.4:
- Various bug fixes in dependencies and test environment
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Fix router so that /path/ will match a rule /path if strict slashes mode is
disabled for the rule. #2467
-Fix router so that partial part matches are not allowed i.e. /2df does not
match /<int>. #2470
-Fix router static part weighting, so that simpler routes are matched before
more complex ones. #2471
-Restore ValidationError to be importable from werkzeug.routing. #2465
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Drop support for EOL python 2.7 / 3.4 / 3.5
Ignore __all__ when not directly assigned
Handle TypeAlias annotations as aliases (PEP 613)
Assignment expressions (:=) target outer scope in comprehensions
Add support for new python 3.11 syntax
Unify output so it is always filename:lineno:col: message
Properly report SyntaxError from stdin in python < 3.9
Fix offsets of "SyntaxError"s in pypy
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
From the pypi description:
Use requests to talk HTTP via a UNIX domain socket
Signed-off-by: Ed Tanous <edtanous@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's a bug in 3.5.1 that makes importing matplotlib impossible in
some environments:
>>> import matplotlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 895, in <module>
defaultParams = rcsetup.defaultParams = {
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 898, in <dictcomp>
rcParamsDefault[key]),
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 674, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'webagg.port'
This is fixed in 3.5.2.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
matplotlib needs python3-packaging at runtime. Add it to the package's
RDEPENDS.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We only support python3 so using PYTHON_PN is redundant.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix compatibility with Werkzeug 2.2 and Flask 2.2. #691
-Revert change to expand_login_view that attempted to preserve a dynamic
subdomain value. Such values should be handled using app.url_value_preprocessor
and app.url_defaults. #691
-Ensure deprecation warnings are present for deprecated features that will be
removed in the next feature release.
-Use request_loader instead of header_loader.
-Use user_loaded_from_request instead of user_loaded_from_header.
-Use app.config["LOGIN_DISABLED"] instead of _login_disabled.
-Use init_app instead of setup_app.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Remove warnings during the build of the package using package_data specs in setup.py
Fix decoding with process_namespaces=False and xsi:type in XML instance
Refactor DataElement.get(), restore DataElement.set() (issue #314)
Add map_attribute_names argument to DataElementConverter
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence python3-markupsafe
Changelog:
==========
- Deprecated get_script_name, get_query_string, peek_path_info, pop_path_info,
and extract_path_info. #2461
- Remove previously deprecated code. #2461
- Add MarkupSafe as a dependency and use it to escape values when rendering
HTML. #2419
- Added the werkzeug.debug.preserve_context mechanism for restoring
context-local data for a request when running code in the debug console.
- Fix compatibility with Python 3.11 by ensuring that end_lineno and
end_col_offset are present on AST nodes. #2425
- Add a new faster matching router based on a state machine. #2433
- Names within options headers are always converted to lowercase. This matches
RFC 6266 that the case is not relevant. #2442
- AnyConverter validates the value passed for it when building URLs. #2388
- The debugger shows enhanced error locations in tracebacks in Python 3.11. #2407
- Added Sans-IO is_resource_modified and parse_cookie functions based on WSGI versions.
- Added Sans-IO get_content_length function. #2415
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix where Command was not aware of default call args when wrapping the module
Add dependence python3-fcntl
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Remove debug logging from rsa/key.py (#194).
Remove overlapping slots in PrivateKey and PublicKey. (#189).
Do not include CHANGELOG/LICENSE/README.md in wheel (#191).
Fixed Key Generation Unittest: Public and Private keys are assigned the wrong way around (#188).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Removed wheel from the set of build dependencies in pyproject.toml (it is
redundant since setuptools already includes it), PR #652.
- Updated freebsd configuration in .cirrus.yml (with workaround for pipx in
2022Q3 repo), PR #657.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
most important fix: version 0.8.0 errors out on dbus-lib interaction,
which is fixed with the most recent commit
505e2b5 (tag: v.0.10.0) add interactive_authorization options for buses
2d90700 pystemd: add copyright boilerplate to typing stubs
5b95888 pystemd: update branch name in github workflow
16817d2 Add type stub for pystemd.run
410fd77 (tag: v.0.9.0) update changelog for 0.9.0
71aae43 GetProcesses() - info about systemd version (#59)
fcafd08 Also include .pxd and .pxi in the source distribution
475cd2f also support 3.9
ea98275 some formatting options and start pystemd 0.9 development
eb7d225 pystemd: update install instructions in README
6fdf2c8 Daily `arc lint --take BLACK`
50e61b7 add a LIBSYSTEMD_VERSION macro for gating new functions (#58)
Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
there was a raise missing for throwing exceptions (#1077) (d1f17b0)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* add data descriptions: '.nbytes', '.padbits', '.readonly'
* allow optional 'endian' argument to be 'None' when creating bitarrays
* fix type annotation for 'canonical_decode()', #178
* frozenbitarray's padbits are now guaranteed to be zero
* add tests
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed a crash in Python 3.11 when TempFileCleanup.SUCCESS is used.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
aiodns is a Python module for asynchronous DNS resolution using pycares.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Updated and converted to new recipe syntax.
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pycares is an interface to the c-ares asynchronous DNS library.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Updated and converted to new recipe syntax.
Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Running supervisord without these fails with import errors. smtpd might look strange, but provides required asynchat.py.
Replaced PYTHON_PN with python3 as suggested in previous thread.
Signed-off-by: Martin Großhauser <mgrosshauser@gmx.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
And update the summary and description from the github website.
Two tests are failing because cython is not installed.
But this is the same when running pytest under a native Linux system.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* Fix remaining logic to support Python 3.6/7
* Drop python3.6/3.7 support in testing runtime
* Add Python3 zed unit tests
* Update master for stable/yoga
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add namespaces argument to Server and AsyncServer #822
Add missing await in asyncio server #952
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed a crash in the undefined-loop-variable check when enumerate() is used
in a ternary expression.
Fixed handling of -- as separator between positional arguments and flags.
Fixed the disabling of fixme and its interaction with useless-suppression.
Allow lists of default values in parameter documentation for Numpy style.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- fix timing in shared data release procedure PR #149
- revert use of nullpointer introduced in #142 Its use is not necessary anymore
in 3.11.0-beta.4 and used to cause issues on some platforms (see #144 ) PR #145
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog from 2.0.2 to 2.1.1
==============================
* Move install metadata from "setup.py" to "setup.cfg"
* Add py.typed to source distribution
* "Turkey" changed to "Türkiye"
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Inline some optional imports that are only used for certain CLI commands.
- Relax type annotation for after_request functions.
- instance_path for namespace packages uses the path closest to the imported submodule.
- Clearer error message when render_template and render_template_string are
used outside an application context.
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add dependence python3-json
Changelog from 2.15.3 to 2.16.1
================================
* Fix uniqueItems when explicitly set to False
* Fix generating invalid code for some schemas using items
* Preserving full path in combination with $ref
* Improved error messages for oneOf and anyOf
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features:
------------
Support for EdDSA (Ed25519, Ed448) signature creation and verification.
Support for Ed25519 and Ed448 in PKCS#8 and public key files.
Support for point precomputation for EdDSA.
New API:
------------
CurveEdTw class to represent the Twisted Edwards curve parameters.
PointEdwards class to represent points on Twisted Edwards curve and
provide point arithmetic on it.
curve_by_name in curves module to get a Curve object by providing curve
name.
Bug fix:
---------
Accept private EdDSA keys that include public key in the ASN.1 structure.
Fix incompatibility with Python 3.3 in handling of memoryviews of empty
strings.
Make the VerifyingKey encoded with explicit parameters use the same
kind of point encoding for public key and curve generator.
Better handling of malformed curve parameters (as in CVE-2022-0778);
make python-ecdsa raise MalformedPointError instead of AssertionError.
Doc fix:
-----------
Publish the documentation on https://ecdsa.readthedocs.io/,
include explanation of basics of handling of ECC data formats and how to use
the library for elliptic curve arithmetic.
Make object names more consistent, make them into hyperlinks on the
readthedocs documentation.
Make security note more explicit (Ian Rodney)
Fix the explicit vs named_curve confusion in VerifyingKey docs.
Maintenance:
------------
Fix few typos (thanks to Tim Gates and Kian Meng Ang).
Updated black version; slight changes to formatting
Include interoperability tests for Ed25519 and Ed448 with OpenSSL.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Enhancements
------------
-Updated argparse decorator to remove annotations when the docstring is used
for a command's help text.
-Updated unit test to be Python 3.11 compliant.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[bug] [sqlite]
--------------
Fixed bug where the SQLite implementation of Operations.rename_table() would
render an explicit schema name for both the old and new table name, which while
is the standard ALTER syntax, is not accepted by SQLite’s syntax which doesn’t
support a rename across schemas. In particular, the syntax issue would prevent
batch mode from working for SQLite databases that made use of attached databases
(which are treated as “schemas” in SQLAlchemy).
[bug] [batch]
-------------
Added an error raise for the condition where Operations.batch_alter_table() is
used in --sql mode, where the operation requires table reflection, as is the
case when running against SQLite without giving it a fixed Table object.
Previously the operation would fail with an internal error. To get a
“move and copy” batch operation as a SQL script without connecting to a
database, a Table object should be passed to the
Operations.batch_alter_table.copy_from parameter so that reflection may be
skipped.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This one is needed for version 5.0.7.
And should not be needed anymore for version 6.x.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is needed as rdepends of the python3-jsonrpcserver package in version 5.0.7.
Is should not be needed anymore in the 6.x version.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Summary was ending in a kind of cut off sentence.
The text for summary and description is taken from the homepage.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Still with the warning:
WARNING: python3-pyzmq-23.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.10/site-packages/zmq/utils/compiler.json in package python3-pyzmq contains reference to TMPDIR
File /usr/lib/python3.10/site-packages/zmq/utils/config.json in package python3-pyzmq contains reference to TMPDIR [buildpaths]
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Added
------
Add support for arbitrary size integers (#548)
Fixed
---------
CVE-2022-31116:
Replace wchar_t string decoding implementation with a uint32_t-based one (#555)
Fix handling of surrogates on decoding (#550)
CVE-2022-31117: Potential double free of buffer during string decoding
Fix memory leak on encoding errors when the buffer was resized (#549)
Integer parsing: always detect overflows (#544)
Fix handling of surrogates on encoding (#530)
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed null check for fribidi_version_info in FriBiDi shim
Added GIF decompression bomb check
Handle PCF fonts files with less than 256 characters
Improved GIF optimize condition
Reverted to array_interface with the release of NumPy 1.23
Pad PCX palette to 768 bytes when saving
Fixed bug with rounding pixels to palette colors
Use gnome-screenshot on Linux if available
Fixed loading L mode BMP RLE8 images
Fixed incorrect operator in ImageCms error
Limit FPX tile size to avoid extending outside image
Added support for decoding plain PPM formats
Added apply_transparency()
Fixed behaviour change from endian fix
Use python3
Allow remapping P images with RGBA palettes
Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher"
[pre-commit.ci] pre-commit autoupdate
Only import ImageFont in ImageDraw when necessary
Fixed drawing translucent 1px high polygons
Pad COLORMAP to 768 items when saving TIFF
Fix P -> PA conversion
Once exif data is parsed, do not reload unless it changes
Only try to connect discontiguous corners at the end of edges
Improve transparency handling when saving GIF images
Do not update GIF frame position until local image is found
Netscape GIF extension belongs after the global color table
Only write GIF comments at the beginning of the file
Separate multiple GIF comment blocks with newlines
Always use GIF89a for comments
Ignore compression value from BMP info dictionary when saving as TIFF
If font is file-like object, do not re-read from object to get variant
Raise ValueError when trying to access internal fp after close
Support more affine expression forms in im.point()
Include 'twine check' in 'make sdist'
Ensure that furthest v is set in quantize2
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>