Changelog:
- Added AsyncSingleThreadContext context manager to ensure multiple AsyncToSync
invocations use the same thread.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* The top-level test runner has been changed to use nox, adding a noxfile.py as well as some included modules.
* The minimum Python version is now 3.10, as Python 3.9 is EOL.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.12.0:
- Update V1 copy to v1.10.24
- Add extra parameter to the validate functions
- Add exclude_computed_fields serialization option
- Add preverse_empty_path URL options
- Add union_format parameter to JSON Schema generation
- Add __qualname__ parameter for create_model
- Do not try to infer name from lambda definitions in pipelines API
- Use proper namespace for functions in TypeAdapter
- Use Any for context type annotation in TypeAdapter
- Expose FieldInfo in pydantic.fields.__all__
- Respect validation_alias in @validate_call
- Use Any as context annotation in plugin API
- Use proper stacklevel in warnings when possible
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.41.1:
- Add url_preserve_empty_path entry to CoreConfig
v2.41.0:
- Do not call default factories taking the data argument if a
validation error already occurred
- fix default_factory which takes data on more types
- ci: avoid timeout on aarch64 tests
- make _pydantic_core._pydantic_core pub for static linking
- Preserve order for collections.OrderedDict
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.7.2:
- enable `util.random_k()` for all supported Python versions,
previously this functions required Python 3.9 or higher
- add official Python 3.14 support
- update cibuildwheel to 3.2.0
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Changed copyrights to Copyright (c) Pydantic Services Inc. 2025 to present
Changes
4.2
===
Add typing_objects.is_noextraitems()
4.1
===
Fix compatibility with latest Python 3.14 release
Add typing_objects.is_forwardref()
Fix implementation of is_union_origin()
Add SPDX license identifier
Use list as a type hint for InspectedAnnotation.metadata
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.8:
- bugfix: object has no attribute '_extra'
License-Update: telnetlib.py and telnetlib3/tests/test_telnetlib.py
derived from Python 3.12 so a note about PYTHON SOFTWARE FOUNDATION
LICENSE VERSION 2 has been added to the LICENSE.txt. The license of
this package remains ISC.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.20.0:
- Added tox.toml to sdist
- Updated docs with example
- Added 3.14 support and drop 3.9
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.11.0:
- Support Django 6.0.
- Support Python 3.14.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.6.0:
- Build wheels for Python 3.14
- Python free-threading support
- Typing: Use Buffer type stubs
- Deprecate xxhash.VERSION_TUPLE, it will be removed in the next
major release
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.14.2:
- Making ResultSet inherit from MutableSequence still resulted in
too many breaking changes in users of the library, so it was
reverted the ResultSet code back to where it was in 4.13.5 and
added tests of all known breaking behavior. [bug=2125906]
- Version 4.14.0 adds function overloading to the find_* methods to
make it easier to write type-safe Python.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's an optional dependency for pandas to provide ODS reader
and writer support. It complements spreadsheet support along
with python3-xlrd and python3-openpyxl, both of which are
part of meta-python already.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.25:
- Bump minimum Python version to 3.11
- Upgrade code to Python 3.11
- Move to pixi/uv/ruff
- Refactor compat to make it easier to test
- Implemented several pixi environment and tasks to simplify
development
- Add docs to the functions in pint.testing
- Fix round function returning float instead of int
- Fix return type of PlainQuantity.to
- Update constants to CODATA 2022 recommended values
- Fixed issue with .to_compact and Magnitudes with uncertainties
/ Quantities with units
- Fixed issue in unit conversion which led to loss of precision
when using decimal
- Add conductivity dimension
- Add absorbance unit and dimension
- Add membrane filtration flux and permeability dimensionality,
and shorthand "LMH"
- Fix find_shortest_path to use breadth first search
- Fix typo in pyproject.toml: rename AS_MIP to HAS_MIP so that
MIP support is correctly detected
- Fix handling of extra arguments in conversion with enabled
contexts
- Fix swapped left and right arguments in interp
- Fix formatted scientific notation bug in Python 3.13
- Fix ability to add dB units, and to add dB (dimensionless) to
referenced dB units, such as dBm or dBW
- Improve pressure unit definitions in default definition file
- Avoid and document known issues with MIP during install, testing
and runtime
- Fix issue with Dask by restricting its version to < 2025.3.0
- Skip false xfail tests linked to a known numpy issue
- Improve Contributing documentation
- Add Quantity.to_unprefixed` and `ito_unprefixed methods that
remove SI prefixes without converting to base units
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.92:
- Implement servo.inertia_feedforward for calculating a feedforward
term based on the control acceleration
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.8.0:
- Drop tomli in pyproject.toml
- Add scene status (active + last_recall) fields
- Update various models
- Add a few missing models to complete MotionAware
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.21.0:
- The reusable-cibuildwheel.yml workflow has been refactored to be
more generic and ci-cd.yml now holds all the configuration toggles
- When building wheels, the source distribution is now passed
directly to the cibuildwheel invocation
- Added CI for Python 3.14
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Due to the recipes listed in OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES has
supported reproducibility, update OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES
to latest
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The type of new_value is either `npy_timedelta' or `int64_t'
In build/pandas/_libs/tslibs/timedeltas.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/tslibs/timedeltas.pyx.c
..
npy_timedelta __pyx_v_new_value;
...
In build/pandas/_libs/tslibs/timedeltas.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/tslibs/timedeltas.pyx.c
...
__pyx_t_5numpy_int64_t __pyx_v_new_value;
...
Explicitly define it as int64_t to assure the generated source is
reproducibility between builds
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Implement the SOURCE_DATE_EPOCH specification[1] for reproducible
builds. If SOURCE_DATE_EPOCH is set, use it as timestamp instead of the
current time.
[1] https://reproducible-builds.org/specs/source-date-epoch/
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In order to make the generated library be reproducible, build wheel
in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
option -fdebug-prefix-map could work as expected
Note: To support reproducible, it also requires oe-core commit [1] to be merged
[1] https://git.openembedded.org/openembedded-core/commit/?id=61d98d12eca1c7bdf3b7387a820c83d3b8fad965
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In order to make the generated library be reproducible, build wheel
in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
option -fdebug-prefix-map could work as expected
Note: To support reproducible, it also requires oe-core commit [1] to be merged
[1] https://git.openembedded.org/openembedded-core/commit/?id=61d98d12eca1c7bdf3b7387a820c83d3b8fad965
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In order to make the generated library be reproducible, build wheel
in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
option -fdebug-prefix-map could work as expected
Note: To support reproducibility, it also requires oe-core commit [1] to be merged
[1] https://git.openembedded.org/openembedded-core/commit/?id=61d98d12eca1c7bdf3b7387a820c83d3b8fad965
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop 0001-Remove-assert-checking-for-trivial-type.patch
which was resolved in upstream by:
82fa082b14
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This helps build when using shallow clones for git repos by default
e.g.
| vcversioner: no VCS could be detected in '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1' and '/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/python3-txws/0.9.1/sources/python3-txws-0.9.1/version.txt' isn't present.
| vcversioner: are you installing from a github tarball?
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to 1.3.2:
- Recursive discovery and import in steps directory is now disabled
by default. An expert user can enable this feature again (if
he/she knows what he/she is doing).
- RTFD: Enable PDF output format again (for download).
- Improve command-line option descriptions (show: value).
- Use "confval" directive for config-file parameters.
- api: Add "Configuration" class description.
- Include changes from pull
- Fix more deadlinks in docs
License-Update: Update authors and years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for cucumber-tag-expressions, release 6.2.0. It provides
a tag-expression parser and evaluation logic for cucumber/behave.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.3:
- mypy(c) is no longer a required dependency at build time if
CHARSET_NORMALIZER_USE_MYPYC isn't set to 1.
- automatically lower confidence on small bytes samples that are
not Unicode in detect output legacy function.
- Custom build backend to overcome inability to mark mypy as an
optional dependency in the build phase.
- Support for Python 3.14
- sdist archive contained useless directories.
- automatically fallback on valid UTF-16 or UTF-32 even if the md
says it's noisy.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fixed a bug that resulted in WebSocket pings not being sent at the configured interval.
- Improved logging for invalid Host headers. This was previously logged as an
uncaught exception with a stack trace, now it is simply a 400 response
(logged as a warning in the access log).
- Restored the host argument to HTTPServerRequest. This argument is deprecated
and will be removed in the future, but its removal with no warning in 6.5.0 was a mistake.
- Removed a debugging print statement that was left in the code.
- Improved type hints for gen.multi.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fix bug where the content type is always recorded as either text/plain or application/json.
* Allow asserts on add_callback() matches
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- adds wheels for android and free-threaded Python 3.14
- adds wheels for free-threaded Python for Windows on ARM.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Correct bit handling (each byte is LSB->MSB).
- read_input_registers docstring change count to regs
- Add dev_id/tid check in clients
- Auto debug in case of an error.
- Remove duplicate log lines.
- Remove unused callback in ServerRequestHandler
- test on Python 3.14
- Validate address in all datastores.
- Use asyncio.Event to deterministically ensure simulator start
- Ignore lockfile
- Link api_changes/changelog to README.
- Add note about semver.org.
- Datastore, add typing to set/get.
- Move exception codes to constants.
- Move ExceptionResponse to proper file.
- make base frame signature match subclasses
- Switch from venv+pip to uv
- Cleanup CI configuration
- Simplify code flow for broadcast requests
- Fix serial_forwarder.py from examples/contrib
- Remove discord.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
added a TCP server capable of handling multiple concurrent client connections
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>