Changelog:
=============
- Pin fakeredis<2.36.0 in tests
- Unpin redis and fakeredis for tests
- (aiohttp) Unfurl spans explicitly instead of using pop()
- (tox) Migrate from pip to uv via tox-uv
- Pin redis<8 for rq
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
============
- Speed up partial-boundary scanning for CR/LF-dense part data
- Speed up multipart header parsing and callback dispatch
- Bound header field name size before validating
- Validate Content-Length is non-negative in parse_form
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- implemented a pre-computed decoder plan for each class
- added json_to_data to aid in re-encoding JSON messages
- encode_msg & encode_dict now require a mandatory sentence argument
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
- Fixed snapshot_arg() to use the fix category (instead of create) when
creating an argument with an existing non-ellipsis default argument value.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
=========
- Add banks list for en_GB locale
- Add pan and gstin generators to en_IN SSN provider
- Improve barcode provider test coverage
- Bump liskin/gh-problem-matcher-wrap from 3 to 4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- Fixed incorrect tracking of string references for definite-length text
strings of length greater than 65536
- Fixed cbor2.load() crash caused by incorrect handling of internal read buffer
extension during stream deserialization.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
pytest-cache has been unmaintained since its last release in 2013 and
its functionality was long ago merged into pytest core. Drop the recipe
along with its packagegroup-meta-python entry and the now-redundant ptest
dependency in python3-fastjsonschema.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
pathtools3 is an abandoned Python 3 fork. Its last release (0.2.1) was
in 2018 and the upstream original pathtools has been dead since 2011.
Its only historical consumer, python3-watchdog, dropped the dependency
long ago and is now at 6.0.0 in OE. Nothing else references it.
Drop the recipe and its packagegroup-meta-python entry.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- Build and upload free-threaded (cp314t, cp315t) wheels for all platforms.
- Replace all remaining PyDict_GetItem() calls in the C extension with
exception-safe alternatives (PyDict_Contains, PyDict_GetItemWithError).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
=============
- ci(schemastore): sync fork before pushing branch
- feat: Also pass TERMINFO when in an interactive shell
- fix(pip): skip constrain_package_deps when constraints is set
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
============
- Support httpx2 in the test client
- Use httpx2 for type checking in the testclient module
- Add assert error for requires() when request param is not Request type
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- Python 3.14 and 3.15 are now officially supported. #85#93
- service-identity now uses cryptography's Rust-based ASN.1 decoder and doesn't
depend on pyasn1 and pyasn1-modules anymore.
- Verifying a single-label hostname (e.g. localhost) against a wildcard
certificate pattern now raises VerificationError cleanly instead of crashing
with an opaque ValueError
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
Parse zero-precision floats formatted without a decimal point
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
==========
- moteus_tool --calibrate for controllers configured for hall commutation now
calibrate a fine position for each hall transition, which improves
performance and consistency for hall based configurations
- moteus.move_to now respects the velocity_limit argument across all devices
- moteus.move_to works properly when exiting the stopped state
- Don't inject await when it isn't needed, rending some python mode definitions
possible that previously would have triggered syntax errors
- Fix the order of D and Q axes for current mode requests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- get_snapshot_value() now accepts a which parameter ("new" or "old") to select
whether to return the new (just-compared) or the old (previously stored)
snapshot value
- Example.run_pytest: deterministic test order by using -p no:ranodmly
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
0001-Allow-building-with-latest-setuptools.patch
removed since it's included in 0.8.0
Changelog:
===========
- Add http-parser and llhttp licenses into the wheels
- Mark cython module as free-threading compatible
- Fix all typing issues
- Bump llhttp to 9.4.1
- Security: fix URL truncation issue
- Allow building with latest setuptools
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
===========
- Fix: the HTML report used typographic niceties to make file paths more
readable by adding a small amount of space around slashes.
- Add a 3.16 PyPI classifier
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upgrade to release 6.1.1:
- Fixed cbor2.load() returning corrupted data for payloads exceeding
4096 bytes
From 6.1.0:
- Added the allow_duplicate_keys parameter to CBORDecoder, load and
loads (default: True). When set to False, a CBORDecodeError is raised
upon encountering a duplicate key within the same map.
- Added support for decoding from any object supporting the buffer API
(e.g. memoryview or bytearray) in addition to bytes
- Fixed compatibility issues with 32-bit systems
From 6.0.1:
- Fixed an error in the mutability logic during decoding, leading to
values being decoded as immutable in unexpected places
From 6.0.0:
- MAJOR REWRITE: The Python and C implementations of the encoder and
decoder were replaced with a single, Rust-based implementation in the
interest of maintainability.
- BACKWARD INCOMPATIBLE Changed the signature of the tag_hook decoder
callables to accept (CBORTag, immutable as arguments instead of
CBORDecoder, CBORTag)
- BACKWARD INCOMPATIBLE Changed the signature of the object_hook decoder
callables to accept (Mapping[Any, Any], bool) instead of (CBORDecoder,
dict[Any, Any])
- BACKWARD INCOMPATIBLE Removed the break_marker singleton as no longer
necessary
- BACKWARD INCOMPATIBLE Removed the CBORDecodeValueError exception,
instead chaining ValueError or TypeError to a CBORDecodeError
- BACKWARD INCOMPATIBLE Changed the decoding of semantic tag 261 to
yield an IPv4Interface or IPv6Interface if the address contains host
bits
- BACKWARD INCOMPATIBLE Removed the individual decoding functions from
the API as they were mistakenly called directly by users. Please open
an issue if you need them back.
- BACKWARD INCOMPATIBLE Changed the encoding of IP addresses to use the
semantic tags 52 and 54 instead of the deprecated 260 and 261
- BACKWARD INCOMPATIBLE Dropped the deprecated cbor2.decoder and
cbor2.encoder modules - everything in the API is now importable
directly from cbor2
- BACKWARD INCOMPATIBLE The cbor2.FrozenDict class has now been renamed
frozendict and is not available on Python 3.15 where the built-in
frozendict class must be used instead
- Added the semantic_decoders decoder option to add or override decoders
for specific semantic tags
- Added the immutable decoder flag to always use immutable containers
where possible when decoding a CBOR stream
- Added the allow_indefinite decoder option to optionally disallow
indefinite-length strings and containers
- Dropped support for Python 3.9
- Fixed the decoder not rejecting invalid two-byte simple value
sequences (0xF800 - 0xF81F)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Changelog:
==========
- Ignore malformed Host header when constructing request.url
- Use "application/octet-stream" as the FileResponse media type fallback
- Only dispatch standard HTTP verbs in HTTPEndpoint
- Reject absolute paths in StaticFiles.lookup_path
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>