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>