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>
License-Update: Copyright year updated to 2025.
Changelog:
============
- Include Python.h-including headers first
- WHL: pin cibuildwheel 3.1.1, enable cp314 wheels
- ci: update release workflow and test on 3.14
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Added inline_snapshot.extra.Transformed and inline_snapshot.extra.transformation
which can be used to transform values inside of snapshots.
- exposed @declare_unmanaged which allows you to create your own unmanaged types.
- Added explicit type hints to the outsource() function
- Improved documentation for inline_snapshot.testing.Example.
- inline-snapshot generates no longer triple quoted strings when it fixes cases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed: Pretty-printing of SymPy (and similar) objects.
- Added: Configurable line wrap length.
- Improved: The package no longer includes tests in the production installation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Various small build/test changes for less common configurations
- Fix an assertion error on debug builds of Python 3.14 when using the experimental JIT.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Handle fetching GPG version when not the first item in the configuration.
- Capture uid info in a uid_map attribute of ScanKeys/ListKeys.
- Improve handling of exceptions raised in background threads.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- InterProcessLock now catches OSError and handles BlockingIOError correctly.
- Remove support for python 3.8, python 3.9 and pypy 3.9. It should still work,
- but is no longer tested.
- Add support for python 3.12, 3.13 and pypy 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelo:
Fix default/fixed values processing of schema annotated XML data
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix: some code with NOP bytecodes could report missing branches that are actually executed.
- Fixes for patch = subprocess
- Fix: really close all SQLite databases, even in-memory ones.
- Added patch = fork for times when the built-in forking support is insufficient.
- Fix: patch = execv also inherits the entire coverage configuration now.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Added support for Python 3.14
- Dropped support for Python 3.8
- Added support for encoding indefinite containers
- Added complex number support (tag 43000)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Make Exceptions Picklable
- Add cantools.db DeprecationWarning
- Logreader: Parse more information and all CAN bus messsages + Bugfixes
- Use new python-can functions in monitor.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Added support for Pythonista iOS app backend.
- Added BleakClient.name property for getting the peripheral's name.
- Fixed BleakClient.connect() on Android when service characteristics have descriptors.
- Fixed disconnect callback not called on Windows when Bleak initiates disconnection.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* moved the recipe from meta-python/recipes/devtool to meta-python/recipes-devtools/python3-exhale
What seems to be a more common location
* added nativesdk to BBCLASSEXTEND
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* moved the recipe from meta-python/recipes/devtool to meta-python/recipes-devtools/python3-breathe
What seems to be a more common location
* added nativesdk to BBCLASSEXTEND
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove following patches, they have been fixed since 1.3.0.
0001-build_support-use-source-filename-instead-of-foo-for.patch
0002-build_support-handle-empty-max_priority-value-as-Non.patch
0003-build_support-use-does_build_succeed-in-compile_and_.patch
Backport a patch to fix dicsovery fails when CC contains flags
License-Update: update copyright statements to include contributors
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.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>
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>
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>
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>
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>
Since commit 9b0015577c ("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>
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>
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>
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>