Changelog:
===========
Migrate module to package.
Migrate documentation to Sphinx.
Improve types and formatting in docstrings.
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>
Bugfixes:
===========
The ASCWriter now logs the correct channel for error frames (#1578, #1583).
Fix PCAN library detection (#1579, #1580).
On Windows, the first two periodic frames were sent without delay (#1590).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* On Python 3.10 and below, the version of the "typing_extensions" package
is now constrained to be at least version 4 (as we depend on functionality
in that version and above)
* Contextvars are now required for the implementation of Local as Python 3.6
is now no longer a supported version.
* sync_to_async and async_to_sync now pass-through
* Debug and Lifespan State extensions have resulted in a typing change for some
request and response types. This change should be backwards-compatible.
* "asgiref" frames will now be hidden in Django tracebacks by default.
* Raw performance and garbage collection improvements in Local, SyncToAsync,
and AsyncToSync.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the lcov command could raise an IndexError exception if a file is
translated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes issue 1553.
- Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
- Fix: the coverage debug sys command includes some environment variables in its
output. This could have included sensitive data. Those values are now hidden
with asterisks, closing issue 1628.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Issues fixed
------------
antlr4 jar doubled in size in 4.9.3 (unicode, comp:performance)
Go: exponentially bad/absymal performance as of ... (type:bug, target:go)
Go runtime panic (type:bug, target:go)
Improvements, features
------------------------
Update LexerATNSimulator.cs with virtual Consume (type:improvement, target:csharp)
Feature/fixembedding (type:improvement, target:go, comp:performance)
Provide Javascript port of TokenStreamRewriter (type:feature, target:javascript, target:typescript)
License-Update:
Version updated to 4.13.0
"Home-page" changed to "Project-URL: Homepage,"
"Eric Vergnaud" removed from Author
Author-email changed to "Eric Vergnaud <eric.vergnaud@wanadoo.fr>"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix incorrect context handling when a tag is used 2+ levels deeper than it was created.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched since 2018 and doesn't appear to have
any real dependents.
If something similar to pydbus is needed, then a maintained alternative
would be https://github.com/rhinstaller/dasbus (recipe available in
meta-anaconda).
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched upstream for six years and doesn't appear
to be considered "finished".
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of pygobject needs to support gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of python-gstreamer (and so, pygobject) needs to support
gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is one test in the pylint suite involving pickling non-pickleable
plugins that fails on target (but not host). Disable this test for
ptest runs.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This upgrade fixes most of the ptest errors that have been seen with
pylint, which were caused by a tomlkit issue. Changelog (see also
https://github.com/pylint-dev/pylint/releases/tag/v2.17.4):
False Positives Fixed
- Fix a false positive for bad-dunder-name when there is a
user-defined __index__ method. Closes#8613
Other Bug Fixes
- pyreverse: added escaping of vertical bar character in annotation
labels produced by DOT printer to ensure it is not treated as field
separator of record-based nodes. Closes#8603
- Fixed a crash when generating a configuration file:
tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
caused by tomlkit v0.11.8. Closes#8632
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed the threading implementation of servers on Windows.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
#555: Improved progress output when collecting nodes to be less verbose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
--------------
Add support for CLIENT NO-TOUCH (#2745)
Add support for CLUSTER MYSHARDID (#2704)
Add "address_remap" feature to RedisCluster (#2726)
Add WITHSCORES argument to ZREVRANK command (#2725)
Improve error output for master discovery (#2720)
Bug Fixes
----------
Fix XADD: allow non negative maxlen (#2739)
Fix create single connection client from url (#2752)
Optionally disable disconnects in read_response (#2695)
Fix SLOWLOG GET return value (#2732)
Fix potential race condition during disconnection (#2719)
Return response in case of KeyError (#2628)
Fix incorrect usage of once flag in async Sentinel (#2718)
Fix memory leak caused by hiredis in asyncio case (#2694)
Really do not use asyncio's timeout lib before 3.11.2 (#2699)
Maintenance
-----------
Clean PytestUnraisableExceptionWarning from asycio client (#2731)
Add RedisCluster.remap_host_port, Update tests for CWE 404 (#2706)
Updated AWS Elasticache IAM connection example (#2702)
Update CONTRIBUTING guidelines (#2736)
Fix ClusterCommandProtocol type (#2729)
Fix TOPK list example. (#2724)
Improving vector similarity search example (#2661)
Update example of Redisearch creating index (#2703)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add classifier for Python 3.11
Add Algorithm.compute_hash_digest and use it to implement at_hash validation example
fix: use datetime.datetime.timestamp function to have a milliseconds
[pre-commit.ci] pre-commit autoupdate
Custom header configuration in jwk client
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Add PyJWT._{de,en}code_payload hooks
Add sort_headers parameter to api_jwt.encode
Make mypy configuration stricter and improve typing
Bump actions/stale from 6 to 7
[pre-commit.ci] pre-commit autoupdate
Add more types
Differentiate between two errors
Fix _validate_iat validation
Improve error messages when cryptography isn't installed
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Make Algorithm an abstract base class
docs: correct mistake in the changelog about verify param
[pre-commit.ci] pre-commit autoupdate
Bump actions/stale from 7 to 8
[pre-commit.ci] pre-commit autoupdate
Add a timeout for PyJWKClient requests
Add client connection error exception
Add complete types to take all allowed keys into account
[pre-commit.ci] pre-commit autoupdate
Build and upload PyPI package
Fix for issue #862 - ignore invalid keys in a jwks.
Add as_dict option to Algorithm.to_jwk
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add 3.12 support
Add tox.ini to sdist
removing Windows versions
Better handling for UNIX support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Software Identification (SWID) tags provide an extensible XML-based structure
to identify and describe individual software components, patches, and
installation bundles.
CoSWID supports a similar set of semantics and features as SWID tags, as well
as new semantics that allow us to describe additional types of information,
all in a more memory efficient format.
python3-uswid is used to generate the CoSWID data blob. For example, fwupd
project requires CoSWID data to be embedded into firmware binary to hold the
version information.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed Google App Engine support to allow using urllib3 2.0
Ensured the test suite no longer reaches the Internet
Added explicit support for Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improve performance of ServiceBrowser outgoing query scheduler (#1170) (963d022)
Speed up parsing NSEC records (#1169) (06fa94d)
Speed up processing incoming data (#1167) (fbaaf7b)
Speed up decoding dns questions when processing incoming data (#1168) (f927190)
Re-release to rebuild failed wheels (#1165) (4986271)
Reduce cast calls in service browser (#1164) (c0d65ae)
Speed up incoming parser (#1163) (4626399)
Speed up incoming data parser (#1161) (cb4c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
New Features / Improvements
------------------------------
Add constants for potential model object fields (f3f73bc)
DIRECT_MESSAGE_EVENT_FIELDS
DM_EVENT_FIELDS
LIST_FIELDS
MEDIA_FIELDS
PLACE_FIELDS
POLL_FIELDS
PUBLIC_SPACE_FIELDS
SPACE_FIELDS
PUBLIC_TWEET_FIELDS
TWEET_FIELDS
USER_FIELDS
Add creator_id field for Space (a13726a)
Twitter API Backwards-Incompatible Changes
-------------------------------------------
Remove support for streaming with Twitter API v1.1 status/filter endpoint (c8a02eb)
Stream
AsyncStream
Remove support for deprecated Premium v1.1 Search APIs (a955f30)
API.search_30_day
API.search_full_archive
Misc
------
Overhaul Getting Started documentation (addb9f7)
Remove no longer valid Twitter API version badges in README (880e7bf)
Update and improve various documentation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add no_color and force_color parameters to override env vars
Add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: Handle a list of keys (not just a single key) in Django cache spans (#2082)
Add cache.hit and cache.item_size to Django (#2057)
Use http.method instead of method (#2054)
Handle non-int exc.status_code in Starlette (#2075)
Handle SQLAlchemy engine.name being bytes (#2074)
Fix KeyError in capture_checkin if SDK is not initialized (#2073)
Use functools.wrap for ThreadingIntegration patches to fix attributes (#2080)
Pin urllib3 to <2.0.0 for now (#2069)
Do not send monitor_config when unset (#2058)
Add db.system span data (#2040, #2042)
Fix memory leak in profiling (#2049)
Fix crash loop when returning none in before_send (#2045)
Better handling of redis span/breadcrumb data (#2033)
Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037)
Upgraded linting tooling (#2026)
Made code more resilient. (#2031)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed semicolon after 'else' in 'munge_name'.
Fixed pyproject.toml and setup.py.
pyproject.toml was missing.
Added pyproject.toml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Closed issues:
----------------
GeventConnection may now work on Windows #1407
ExchangeType should be from str type #1409
Merged pull requests:
---------------------
Attempt to re-enable GeventConnection on Windows #1417
fix typo #1414
Fix exchange type enum type #1410
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add PEP621/631 support.
- Exposed matplotlib unit formatter (PR #1703)
- Fix error when when re-registering a formatter.
- Add new SI prefixes: ronna-, ronto-, quetta-, quecto-.
- Fix unit check with 'atol' using 'np.allclose' & 'np.isclose'.
- Implementation for numpy.positive added for Quantity.
- Changed frequency to angular frequency in the docs.
- Remove deprecated 'alen' numpy function
- Updated URLs for log and offset unit errors.
- Patched TYPE_CHECKING import regression.
- Parse '°' along with previous text, rather than adding a space,
allowing as a unit.
- Improved escaping of special characters for LaTeX format
- Avoid addition of spurious trailing zeros when converting units and non-int-type is
Decimal (PR #1625).
- Implementation for numpy.delete added for Quantity.
- Fixed Quantity type returned from '__dask_postcompute__'.
- Added Townsend unit
- Fix get_compatible_units() in dynamically added units.
- Fix pint-convert script
- Honor non_int_type when dividing.
- Fix 'trapz', 'dot', and 'cross' to work properly with non-multiplicative units
- Support percent and ppm units. Support the '%' symbol.
- Fix error when parsing subtraction operator followed by white space.
- Removed Td as an alias for denier (within the Textile group)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Get translation changes from CLDR
Add more translations from CLDR
Add Norwegian keyboard layout to keyboards.xml (Resolves: #16)
Add Hang script to Southern Aymara
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Fix
-----
Avoid exception when n_frames is not set by Pillow
Forward get_reader/get_writer kwargs to read/write (#979)
Allow incremental write in pillow (#978)
Add writeable_output=True to pillow plugin to ensure data is writable by default (#976)
Other
-----
Refactor invoke in no-internet CI (#986)
Fixed typo in CI script (#985)
Fix typo in PyPI link tooltip (#980)
Generate images in temporary folders (#977)
Feature
--------
Expose v3 plugins via v2 API (#824)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: html_report() could fail with an AttributeError on isatty if run in an
unusual environment where sys.stdout had been replaced.
- Fix: with relative_files = true, specifying a specific file to include or
omit wouldn't work correctly (issue 1604).
- Fix: the XML report would have an incorrect <source> element when using
relative files and the source option ended with a slash (issue 1541).
- When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser.
- Docs: a new :ref:'Migrating page <migrating>' with details about how to
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Test suite shell wrapper: Accept OSError on exit
- Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420,
#424)
- Note completers can return iterables of strings, not just lists
(#422)
- Documentation and test improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add visitor function for TryStar to AsStringVisitor and add TryStar to astroid.nodes.ALL_NODE_CLASSES.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for client-side encryption (PYTHON-1341)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
feature
----------
Added support for autogenerate comparison of indexes on PostgreSQL which
include SQL sort option, such as ASC or NULLS FIRST.
bug
---------
Fixed issue where using a directive such as op.create_foreign_key() to
create a self-referential constraint on a single table where the same
column were present on both sides (e.g. within a composite foreign key)
would produce an error under SQLAlchemy 2.0 and a warning under SQLAlchemy 1.4
indicating that a duplicate column were being added to a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix regression with truediv and absolute URLs with empty paths causing the raw path to lack the leading /.
License-Update:Update the LICENSE file to contain the license used (Apache-2.0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete more code from __init__.py as we'll never be running from inside
a build tree.
Replace the use of skbuild.setup() with setuptools.setup(): the same
Python module is built and the only value-add is the potential build of
ninja, which we don't want and delete anyway.
This means we can remove most of the DEPENDS and RDEPENDS.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>