| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
| |
oe-core master now has a python_pdm build class.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
| |
oe-core master now has a python_pdm build class.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
License-Update: Copyright year updated to 2025
Changelog:
==========
- Raise runtimeerror if listen() fails.
- Correct values parameter in setValues.
- Correct return from getValues.
- Add request fc to exceptionResponse.
- DummyProtocol is not async
- Handle "little" for multiple values in to_registers
- Remove unused const.
- Add retries to ModbusPDU class
- Don't invoke trace_connect callback twice
- ensure unpacking of proper length during decoding
- README clean-up
- Bump coverage to 95,5%
- Simplify response rejection.
- Bump coverage to 93%.
- Solve ModbusDeviceContext bug.
- Bit handling LSB -> MSB across bytes.
- Change slave to device_id and slave= to device_id=.
- Remove payload.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
| |
Changelog:
Remove deprecated toml dependency in favor of native tomllib (or tomli on older Python versions).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Changed
-----------
now have to specify test-dir in pyproject.toml when save tests in a folder other than tests/ in project root
Fixed
--------
pyproject.toml is now also located based on the current directory and the pytest-root, which solves problems when use inline-snapshot with uv-workspaces
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
| |
Changelog:
* Fix: Ability to yield fixtures (broken in 1.5.3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==============
- add 'util.random_k()'
- add 'util.sum_indices()'
- optimize 'util.xor_indices()'
- move development files from 'examples/' to 'devel/'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
Needed for python3-pydantic-core v2.37+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fails to compile with latest setuptools3
[ERROR ] [Core ] option --verbose not recognized
Kivy Usage: setup.py [KIVY OPTION...] [-- PROGRAM OPTIONS]::
Options placed after a '-- ' separator, will not be touched by kivy,
and instead passed to your program.
Set KIVY_NO_ARGS=1 in your environment or before you import Kivy to
disable Kivy's argument parser.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It does not build with regular setuptools3 class anymore
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
running build_ext
error: don't know how to compile C/C++ code on platform 'posix' with '<distutils.compilers.C.unix.Compiler object at 0xf2c796b28050>' compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
Add a patch to fix with rust 1.88+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- Fix the CI
- activate.fish: update fish major version check
- Fix: Ignore missing absolute paths for python discovery
- Discover uv-managed Python installations
- Add warning for incorrect usage of Nushell activation script
- Update index.rst, compatibility section added, other subheadings created
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- treewide:
- modernize and expand CI tests
- drop support for Python 3.8
- use importlib API to fetch resources
- snagflash:
- fastboot-uboot: support comments in command file
- correct parsing logic for "fb-size" parameter
- snagrecover:
- add support for i.MX91 platforms
- add support for Intel Keem Bay platforms
- support HABv4-closed i.MX SoCs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- Removed typing_extensions from runtime dependencies
- Live objects (including Progress) may now be nested
- Added padding property to Syntax which returns a tuple of four integers
- Fixed extraction of recursive exceptions
- Fixed padding applied to Syntax
- Fixed Panel title missing the panel background style
- Added TTY_INTERACTIVE environment variable to force interactive mode off or on
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Changelog:
===========
- Async generic netlink sockets
- Use pyproject files only
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
git shortlog of the moteus python library [1] for the corresponding release:
- For dual encoder configurations, set the output low pass filter too
- Improve hall effect performance
- Fix the encoder filter frequency to actually be the 3dB cutoff
- Set python unit tests as small size so they run by default
- Remove moteus_tool --restore-cal
- lib: python: moteus: moteus_tool: add no-verify option
[1] https://github.com/mjbots/moteus/commits/main/lib/python
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
===============
- New external() implementation with support for different data formats.
- Ability to declare custom external formats with @register_format.
- external() can now be used without snapshot(), such as assert
"long text" == external() or inside snapshots like dirty-equals.
- You now have to declare format aliases if you used outsource()
with a different suffix than .txt or .bin in the past.
- external_file() now follows the aliases defined by register_format_alias().
- Removed unnecessary uuid7 dependency introduced in 0.25.0
- improved performance by checking for "external" in the code string before
parsing the code and checking the AST
- solved incompatibility with pytest_pretty
- Fix issue terminal with is preserved
- cleanup temporary path
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Changelog:
=============
- Prepare jobs and CI/CD for python 3.14
- Make database removal safer with IF EXISTS
- Fix tests on Python 3.14 on Linux
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- A new configuration option: "[run] patch" specifies named patches
to work around some limitations in coverage measurement.
- The HTML report now dimly colors subsequent lines in multi-line statements.
They used to have no color. This gives a better indication of the amount
of code missing in the report.
- Two new exclusion patterns are part of the defaults:... is automatically
excluded as a line and if TYPE_CHECKING: is excluded as a branch.
- A new command-line option: --save-signal=USR1 specifies a signal that
coverage.py will listen for. When the signal is sent, the coverage data
will be saved. This makes it possible to save data from within long-running processes.
- A new configuration option: "[report] partial_also" is a list of regexes
to add as pragmas for partial branches. This parallels the "[report] exclude_also"
setting for adding line exclusion patterns.
- A few file path configuration settings didn't allow for tilde expansion: [json] output,
[lcov] output and [run] debug_file. This is now fixed.
- Wheels are included for 3.14 now that 3.14 rc1 is available.
- We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python wheel.
- In the very unusual situation of not having a current frame, coverage no longer
crashes when using the sysmon core.
- Fix: the exclusion for if TYPE_CHECKING: was wrong: it marked the branch as partial,
but it should have been a line exclusion so the entire clause would be excluded.
- Fix: changed where .pth files are written for patch = subprocess
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
=========
- change random.seed() test, see comments
- optimize util.random_p() by also using bitwise AND in final step
- add ability for heavy testing to example
- add DummyRanomPTests to example
- add in-place XOR test for comleteness
- add --disp option to example
- add verification tests to example
- remove duplicate tests
- add test - wording
- add links in comments
- add sanity check
- add note on limit in relation to 1/K
- update table in documentation to new example code
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
This is needed with pytest 8.4+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit 9b0015577ce8 ("python3-charset-normalizer: Switch to
PEP-517 build backends"), python3-charset-normalizer depends on
python3-mypy and has a nativesdk variant. So, python3-mypy and its
dependency python3-mypy-extensions also need the nativesdk variant.
Fixes these warnings from AB[0]:
WARNING: Nothing RPROVIDES 'nativesdk-python3-mypy' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-charset-normalizer' (but virtual:nativesdk:[...]/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb RDEPENDS on or otherwise requires it)
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
tftpy does not currently support ptests so remove it from any PTESTS_*
list to avoid AB mirroring warnings[0]:
WARNING: Nothing RPROVIDES 'tftpy-ptest' (but virtual:mcextend:tftpy:[...]/meta-openembedded/meta-python/recipes-core/images/meta-python-image-ptest.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'meta-python-image-ptest-tftpy'
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
| |
Rename PYPI_PACKAGE to reflect upstream tarball name change
Add missing dependency on python3-asyncio
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
version needs getrandom from musl libc on musl targets but
rust libc locked in for this target is older than the change
needed for this to work on newer architectures
Fixes
| error[E0425]: cannot find value `getrandom` in crate `libc`
| --> /usr/src/debug/python3-pydantic-core/2.35.2/sources/cargo_home/bitbake/getrandom-0.3.3/src/backends/linux_android_with_fallback.rs:34:39
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
| |
Fix build with pydantic-core 2.35.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new version ptest needs module typing_inspection
| ImportError while importing test module '/usr/lib/python3-pydantic-core/ptest/tests/test_misc.py'.
| Hint: make sure your test modules/packages have valid Python names.
| Traceback:
| ../../python3.13/importlib/__init__.py:88: in import_module
| return _bootstrap._gcd_import(name[level:], package, level)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| tests/test_misc.py:10: in <module>
| from typing_inspection import typing_objects
| E ModuleNotFoundError: No module named 'typing_inspection'
| ERROR: tests/test_misc.py:tests/test_misc.py
Changelog:
==========
- update to speedate 0.16
- Better document SerializationInfo
- Fix generic issues with ValidationInfo and SerializationInfo
- Do not reuse validator and serializer when unpickling
- Remove unnecessary required fields count when exclude_none is set
- Update test dependencies after 3.8 dropped support
- Mark constructor parameters of exceptions as positional-only
- fix: submodel fields with wrap validator affect smart union selection
- use pypa/gh-action-pypi-publish
- add critical sections around bytearray reads
- simplify ser-as-any mechanism
- Coerce 'time' schema constraints
- drop serde-json preserve_order feature
- Remove core schema validation
- Improve uncaught PydanticUseDefault exception message
- Add support for Python 3.14
- drop pypy3.9 support, add pypy3.11 support
- Add ensure_ascii option
- Update repr of TzInfo
- Make ValidationInfo and SerializationInfo generic for context
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- Re-improve clarity of OAuth 2.0 User Context example code
- Fix SyntaxWarning
- Install 'build'
- Docs config updates to fix build
- Fix Sphinx context injection removal by readthedocs
- Revert hoverxref upgrade for now until sphinx can be updated
- Fix build error for docs related to 'html_context' setting
- Modernize packaging configuration
- Add new publish workflow to use trusted publisher
- Add dev and test dependencies
- Update publish workflow...
- Add support for posting tweets to Communities
Change to use LICENSE file instead of PKG-INFO, and
license is MIT still
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- Create FUNDING.yml
- Fix the CI
- Wheel is not part of the default requries
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix the issue that:
| ImportError while importing test module '/usr/lib/python3-portalocker/ptest/tests/test_lock_flags.py'.
| Hint: make sure your test modules/packages have valid Python names.
| Traceback:
| ../../python3.13/importlib/__init__.py:88: in import_module
| return _bootstrap._gcd_import(name[level:], package, level)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| tests/test_lock_flags.py:7: in <module>
| from portalocker_tests.conftest import LOCKERS
| E ModuleNotFoundError: No module named 'portalocker_tests'
| ERROR: tests/test_lock_flags.py:tests/test_lock_flags.py
portalocker_tests is a dir in source, we need to keep it
python3-portalocker/3.2.0/sources/portalocker-3.2.0$ ls -l -t portalocker_tests/
total 60
-rw-r--r-- 1 userland userland 2019 Jun 14 13:20 conftest.py
Changelog:
==========
- Rewrote locking mechanism to allow for custom locking classes so both Windows and
Posix (Linux/Mac/BSD) systems have configurable locking options for both exclusive and shared locking.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- Add/fix reproducible standard repr for functions
- added llms.txt to make the documentation for llms more accessible.
- Improved the explanation of what it means when snapshots are disabled in CI runs (#226).
- Added extra information to the reported failure when snapshots are fixed or created (#240).
- fixed the representation of empty strings in sub-snapshots from triple-quotes to single-quotes assert ""==snapshot({5: ""})[5] (#258).
- fix: changed format-command default to "" (#256).
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|