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>
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>
Changelog:
===========
- Added tag 0.3.9 for changeset 2f9280e89d42
- Bump version.
- Locate with extras.
- Make the type of finder needed in register_finder explicit (#236)
- Add 3.13 to CI.
- Tweak test which is unsuitable for Windows on Python >= 3.13.
- Fix#238: Add build tag to wheel metadata if specified.
- Exclude Python 3.7 from ubuntu-latest in CI.
- Remove macos-12 from CI.
- Update `test_wheel.WheelTestCase.test_abi` for freethreading (#244)
- Support subdirectories in .dist-info (fixes#246) (#247)
- Skip no-longer-relevant test.
- Normalize archive paths in dist-info (#248)
- Temporarily exclude 3.13t on windows-latest.
- docs: update coverage results link (#250)
- Guard script wrapper entrypoint import with if __main__ (#242)
- Changes for 0.4.0.
- Update change log, widen exception catching in test.
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.2:
- Make UploadFile check for future rollover
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.3:
- feat: numba is now available on python 3.13
- fix: upper pin 3.14 for numba
- fix: uniform type checks in constructors + more tests
- fix: replace nan_to_num with where for CuPy
- docs: update CITATION.cff and add JOSS badge
- docs: move and update contributing guide
- docs: fix rendering of awkward reprs
- docs: update papers and citation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.8.0:
- Added :cpp:class:`nb::fallback <fallback>` wrapper type, which is
a :cpp:class:`nb::handle <handle>` that always requires implicit
conversion during casting. This is convenient when adding
catch-all overloads that must handle arbitrary Python objects,
without interfering with implicit conversion of arguments in
other overloads.
- The nanobind::literals namespace now includes _s to create a
Python string from source code literals.
- Added :cpp:func:`nb::dict::empty() <dict::empty>`,
:cpp:func:`nb::list::empty() <list::empty>`,
:cpp:func:`nb::set::empty() <set::empty>`,
and :cpp:func:`nb::tuple::empty() <tuple::empty>` convenience
methods.
- Added a :cpp:func:`nb::dict::get() <dict::get>` function to
perform dictionary lookups with a fallback value in case of
failures.
- Nanobind now uses multi-phase (as opposed to single-phase)
initialization API when registering modules. However,
multi-interpreter extensions remain unsupported.
- Added :cpp:class:`nb::frozenset` that wraps the Python frozenset
type.
- Miscellaneous fixes and improvements.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apply a patch to update the requirements on mypy to permit the
latest version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.17.0:
- Mypy can now optionally generate an error if a match statement
does not match exhaustively, without having to use
assert_never(...). Enable this by using --enable-error-code
exhaustive-match.
- Handle corner case: protocol/class variable/descriptor
- Fix a few inconsistencies in protocol/type object interactions
- Refactor/unify access to static attributes
- Remove inconsistencies in operator handling
- Make protocol subtyping more consistent
- Fix nondeterministic type checking by making join with explicit
Protocol and type promotion commute
- Fix nondeterministic type checking caused by nonassociative of
None joins
- Fix nondeterministic type checking caused by nonassociativity of
joins
- Fix nondeterministic type checking by making join between type
and TypeVar commute
- Mypy only supports Python 3.9+. The --force-uppercase-builtins
flag is now deprecated as unnecessary, and a no-op. It will be
removed in a future version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* BREAKING: Renamed pyais/main.py to pyais/ais_decode.py
direct imports from pyais.main will fail
* added ais-encode as installable CLI tool via pip install
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fix compatibility with pytest 8.4.0 when using fixtures
* Add (back) class-decorator overload to guarantee Pytype understands it
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
fix: add ability to disable escape and force ${var} usage.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Fix a crash when parsing an empty arbitrary expression with extract_node (extract_node("__()")).
- Fix a crash when parsing a slice called in a decorator on a function that is
also decorated with a known six decorator.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Added new pyproject_async template, combining the new pyproject template with the async template.
- Add "module" post-write hook.
- Fixed the rendering of server_default=FetchedValue() to ensure it is preceded
by the sa. prefix in the migration script. Pull request courtesy david-fed.
- Fixed autogenerate rendering bug which failed to render foreign key
constraints local to a CreateTableOp object if it did not refer to a MetaData
collection via a private constructor argument that would not ordinarily be
passed in user-defined rewriter recipes, including ones in the Alembic cookbook
section of the docs.
- Fixed issue in new pyproject.toml support where boolean values, such as those
used for the recursive_version_locations and sourceless configuration parameters, would not be accepted.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.13.7:
- Fix issues with the json schema generation for Pydantic models
(SignedSetCodeAuthorization) and simplify the serialization by
moving a misplaced @field_validator decorator above @classmethod
(not below it).
- Update and clarify documentation for authorization signing.
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 1.8.6:
- Bump sigstore/cosign-installer from 3.8.2 to 3.9.0
- Bump docker/setup-buildx-action from 3.10.0 to 3.11.1
- Added hint to FreeBSD package in doc/source/integrations.rst
- Bump sigstore/cosign-installer from 3.9.0 to 3.9.1
- Huggingface revision pinning
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add support for the python3 crc library to calculate CRC checksums,
verify CRC checksum using predefined CRC configurations or custom
CRC configurations.
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add support for the python3 vector library. Vector is a Python
library for 2D and 3D spatial vectors, as well as 4D space-time
vectors. It is especially intended for performing geometric
calculations on arrays of vectors, rather than one vector at a time
in a Python for loop.
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update PYPI_PACKAGE as the package naming has changed
Drop obsolete RDEPENDS
Update LIC_FILES_CHECKSUM: license type is unchanged.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added additional runtime dependency on python3-pluggy.
Update PYPI_PACKAGE as the package naming has changed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.9.1:
- Fixed deletion of Local values affecting other contexts
- Skip CPython specific garbage collection test on pypy
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.12.14:
- Fixed file uploads failing with HTTP 422 errors when encountering
307/308 redirects, and 301/302 redirects for non-POST methods, by
preserving the request body when appropriate per
:rfc:9110#section-15.4.3-3.1
- Fixed :py:meth:ClientSession.close() <aiohttp.ClientSession.close>
hanging indefinitely when using HTTPS requests through HTTP
proxies
- Bumped minimum version of aiosignal to 1.4+ to resolve typing
issues
- Added initial trailer parsing logic to Python HTTP parser
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The posix_ipc module was being built without message queue support due to
missing linkage with the real-time library (librt) during cross-compilation.
This caused the MessageQueue class to be unavailable at runtime.
Add LDFLAGS += -lrt to ensure proper linking and enable full POSIX IPC
functionality including message queues.
Fixes: #916
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch
refreshed for 0.11.5
Changelog:
===============
- Improve .gitignore iteration speed
- Warn on 3.13.4 on Windows
- Add debug logging explaining why a file is included/excluded
- Fix a typo in a column-name of the platform-machine table
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* apply fix from https://gitlab.com/holado_framework/python
* pyais now handles type 16 messages shorter than 96 bit correctly
* breaking: added two classes for type 16 - 'isinstance(msg, MessageType16)' checks will need updating
* apply fixes from https://gitlab.com/holado_framework/python
* closes: https://github.com/M0r13n/pyais/issues/183
* renamed custom 'JSONEncoder' to 'AISJSONEncoder' to avoid confusion with 'json.JSONEncoder'
* refactored main.py ('ais-decode') for better error handling
* added examples/ais-encode
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===============
Fix for XPath 1.0 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: complex conditionals within a line might cause a KeyError when using sys.monitoring
- Fix: we can now measure coverage for code in Python archive (.par) files.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* Adds support for Python 3.13.
* Drops support for (end-of-life) Python 3.8.
* Fixes an error with conflicting kwargs between AsyncToSync and the wrapped
function.
* Fixes Local isolation between asyncio Tasks.
* Fixes a reference cycle in Local
* Fixes a deadlock in CurrentThreadExecutor with nested async_to_sync -> sync_to_async -> async_to_sync -> create_task calls.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===============
- Added decorator functionality to Signal as a convenient way to add a callback
- Improved type safety by allowing callback parameters to be type checked
(typing-extensions is now required for Python <3.13). Parameters for a Signal
callback should now be defined like Signal[int, str]
- Removed the sphinxcontrib-asyncio documentation dependency.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 25.6.1:
- new: announcement of upcoming (but not yet effective) new AI
policy clarifying matter with respect to AI assisted
contributions
- fix: update license file to include contributors (#188)
- fix: remove obsolete dependency on six (#186)
- fix: update pypy version in CI workflow (#187)
- fix: setupcfg.py:508: SetuptoolsDeprecationWarning: The
license_file parameter is deprecated, use license_files instead.
- Copyrights transferred from Crossbar.io Technologies GmbH (Germany)
to typedef int GmbH (Germany)
License-Update: Update license file to include contributors
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.3.2:
- Embedded arguments matching only after replacing variables do not
work with Run Keyword or setup/teardown
- French Etant donne, Et and Mais BDD prefixes don't work with
keyword names starting with que or qu'
- Messages and keywords by listener end_test method override
original body when using JSON outputs if test has teardown
- --flattenkeywords doesn't work with JSON outputs
- --flattenkeywords doesn't remove GROUP, VAR or RETURN
- ExecutionResult ignores include_keywords argument with JSON outputs
- Suite teardown failures are not handled properly with JSON outputs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update python3-moteus to the latest release.
Since no formal changelog is available, here's the git shortlog of the
moteus python library [1] for the corresponding release:
Josh Pieper (2):
Add some more register definitions
Add --version options to moteus_tool and tview
[1] https://github.com/mjbots/moteus/commits/main/lib/python
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 1.7.1:
- Fix TypeError on nightly builds (Python 3.14.0a7+) due to new
HelpFormatter arguments. The console parameter is now keyword-only.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.6.1:
- Migrate setup.py to pyproject.toml
Fixes:
WARNING: python3-progress-1.6.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Hardcoded path works only when target is x86_64, but fails for other
architectures, loosen the search path regexp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.5:
- Changed: Improved printing for variables of type str.
- Fixed issues that affected the output of multiline strings and
strings containing special characters such as escaped newlines
and tabs.
- Strings are now printed exactly as they are, faithfully
representing their actual value.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.3:
- minor updates to documentation
C-level:
- simplify and speedup `extend_unicode01()`
- customize `resize_lite()` - avoid unused code
- use `PyTypeObject` for bitarray type object in `_util.c` to be
consistent with `_bitarray.c`
- add and improve comments to implementation of sparse bitarray
compression
- simplify `sc_count()`
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.2:
- Added explicit support for free-threaded versions of Python,
starting with version 3.14
- Restored code to set a parser's prog value in the with_argparser
decorator. This is to preserve backward compatibility in the cmd2
2.0 family. This functionality will be removed in cmd2 3.0.0.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
protobuf was upgraded from 5.29.5 to 6.31.1. Upgrade python3-protobuf
to match, otherwise a fatal mismatch error occurs.
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-can 4.4.y requires msgpack~=1.0.0, but openembedded-core
versions newer than scarthgap provide msgpack 1.1.0 [1], causing
"pip check" to fail with the following error:
python-can 4.4.2 has requirement msgpack~=1.0.0; platform_system != "Windows", but you have msgpack 1.1.0.
This patch resolves the issue by updating python3-can to 4.5.0.
[1] https://layers.openembedded.org/layerindex/recipe/66997/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-moteus <= 0.3.87 requires numpy<2 [1], but openembedded-core
versions newer than styhead provide numpy 2.x [2], causing "pip check" to
fail with the following error:
moteus 0.3.87 has requirement numpy<2, but you have numpy 2.3.0.
This patch resolves the issue by updating python3-moteus to 0.3.88.
[1] https://github.com/mjbots/moteus/issues/89
[2] https://layers.openembedded.org/layerindex/recipe/51338/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.0.0.20250601:
- Add missing __dir__ method to psutil.Popen
- Replace Incomplete | None = None in third party stubs
- Update psutil to 7.0.*
License-Update: Use LICENSE file
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.5.1:
- Fixed a bug in C implementation when multidict is resized and it
has deleted slots.
- A pair of code formatters for Python and C have been configured
in the pre-commit tool.
- Shorted fixture parametrization ids.
- The :file:reusable-cibuildwheel.yml workflow has been refactored
to be more generic and :file:ci-cd.yml now holds all the
configuration toggles
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Dropped support for Python 3.6 and 3.7 because they are out of
service and to simplify development dependencies.
- Dev: Changed 'make install' to no longer perform an editable
install, but a standalone install, since pip will remove support
for editable installs.
- Dev: Removed support for the env.var TEST_INSTALLED that used the
installed package for testing, for simplicity. Now, the local
package in the repository main directory is always used for
testing.
- Addressed safety issues up to 2025-04-27.
- Dev: Added missing dependencies for development.
- Test: Fixed the issue that coveralls was not found in the test
workflow on MacOS with Python 3.9-3.11, by running it without
login shell. Added Python 3.11 on MacOS to the normal tests.
- Fixed new issues of Pylint 3.3.
- Added support for Python 3.13. This required increasing the
minimum version of several packages needed for development.
- Added '__version_tuple__' with the integer versions.
- Dev: Changed from setup.py to using pyproject.toml.
Fixes:
WARNING: python3-nocaselist-2.1.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add python3-fcntl and python3-unixadmin to RDEPENDS as these are
required runtime dependencies for supervisor functionality.
Also reorder RDEPENDS alphabetically for better maintainability.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
protobuf is upgraded from 5.29.4 to 5.29.5. Upgrade python3-protobuf
to sync.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Feat: include free_threaded flag in result-json
- Add security policy
- Fix dependency-group name normalization
- Log environment variables sorted by key while redacting values of unsafe ones
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed a bug where AsyncMongoClient would block the event loop while creating
new connections,
- Fixed a bug that resulted in confusing error messages after hostname
verification errors when using PyOpenSSL.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed:
- Updated pyparsing to '>=3.1.0'. Required for pydot to function correctly.
- Parser: Fixed 'strict' handling.
The parser wasn't capturing the 'strict' keyword when parsing dot data. Now it does.
- Parser: Support backslash continuation in quoted IDs.
- Parser: Support +-concatenated quoted strings.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add support for python 3.14.
- Fix false positive for TypeVar defaults with more than one argument.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Create dependabot configuration
- build(deps): bump pypa/cibuildwheel from 2.22.0 to 2.23.3
- Pin Python version to 3.13.3 to avoid Windows build error
- Fix shutdown race
- Add support for windows arm64
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
- Removed year from license
- Refresh wording of license to not confuse tools between BSD-3 & BSD
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Update Cython to 3.1.1 and cibuildwheel to 2.23.3.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- The "no-ctracer" warning is not issued for Python pre-release versions.
Coverage doesn't ship compiled wheels for those versions, so this was far too noisy.
- On Python 3.14+, the "sysmon" core is now the default if it's supported for
your configuration. Plugins and dynamic contexts are still not supported with it.
- Added a [run] core configuration setting to specify the measurement core,
which was previously only available through the COVERAGE_CORE environment variable.
- Fixed incorrect rendering of f-strings with doubled braces
- If the C tracer core can't be imported, a warning ("no-ctracer") is issued with the reason.
- The C tracer core extension module now conforms to PEP 489
- Fixed a "ValueError: min() arg is an empty sequence" error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix the rendering of the CI/CD doc
- Fix for publish to PyPI failure
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed issue where dialect-specific keyword arguments in dialect_kwargs were
not rendered when rendering the Operations.create_foreign_key() operation.
- Fixed rendering of pyproject.toml to include two newlines when appending
content to an existing file.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.4.4:
- Fixed IndexError when using @typechecked on more than one
function with the same name under certain circumstances
- Fixed TypeError during type checking when the value to check
is a parametrized generic class
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.1.0:
- Improve LFUCache insertion performance by switching to an
implementation based on the cacheing library.
- Update CI environment.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.7.0:
- Added deepcopy support to FrozenList
- Fixed an issue where frozenlist binary wheels would be built with
debugging symbols and line tracing enabled, which significantly
impacted performance. Line tracing is now disabled by default and
can only be enabled explicitly
- Enabled PIP_CONSTRAINT environment variable in the build
configuration to ensure the pinned Cython version from
requirements/cython.txt is used during wheel builds.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.0:
- Dropped support for Python 3.6 and 3.7 because they are out of
service and to simplify development dependencies.
- Dev: Changed 'make install' to no longer perform an editable
install, but a standalone install, since pip will remove support
for editable installs.
- Dev: Removed support for the env.var TEST_INSTALLED that used the
installed package for testing, for simplicity. Now, the local
package in the repository main directory is always used for
testing.
- Test: Python 3.13 was pinned to 3.13.0 to work around a pylint
issue on Python 3.13.1.
- Addressed safety issues up to 2025-04-27.
- Dev: Added missing dependencies for development.
- Test: Fixed the issue that coveralls was not found in the test
workflow on MacOS with Python 3.9-3.11, by running it without
login shell. Added Python 3.11 on MacOS to the normal tests.
- Added support for Python 3.13. This required increasing the
minimum version of several packages needed for development.
- Added '__version_tuple__' with the integer versions.
- Dev: Changed from setup.py to using pyproject.toml.
- Dev: Split safety policy files into one for installation
dependencies and one for development dependencies.
- Dev: Split minimum-constraints.txt file into one for installation
dependencies and one for development dependencies.
- Dev: Cleanup in the Makefile.
- Docs: Changed versions shown for the documentation to be master
and the latest fix version of each minor version. Changed
documentation links in README file to reference the master
version.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.20.1:
- Started raising a :exc:ValueError exception raised for corrupted
IPv6 URL values.
- Updated to use Cython 3.1 universally across the build path
- Made Cython line tracing opt-in via the with-cython-tracing build
config setting
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.5.0:
- Replace internal implementation from an array of items to hash
table. algorithmic complexity for lookups is switched from O(N)
to O(1).
- Builds have been added for arm64 Windows wheels and the
reusable-build-wheel.yml template has been modified to allow for
an os value (windows-11-arm) which does not end with the -latest
postfix.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.0.13:
- QTBUG-129592: Throw error in case of invalid yaml format in
annotations
- CI: Improve coverage and enable the flow again
- CI: Inherit secrets from toplevel
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Moved to oe-core since pytest needs it. Also remove it from the
meta-python packagegroup.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The current include file that stores the known non-reproducible packages
is layer dependent and that forces the user of the layers to maintain
the list of the files (for example, see AB config[0]).
By moving the exclude list to each layer.conf and extending the common
OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES variable, the known non-reproducible
packages will be automatically excluded for each layer used in the
reproducibility test without any special knowledge in the test
environment.
NB: the empty list for meta-initramfs was just removed not moved.
[0]: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json?id=7d8933e75bdf7fb821a25617cb2dcabf1f3f8700#n322
Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Co-Developed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.0.51:
- Use pyproject.toml instead of setup.py.
- Fix edge case in formatted_text.split_lines when the input starts
with a line ending.
Fixes:
WARNING: python3-prompt-toolkit-3.0.51-r0 do_check_backend:
QA Issue: inherits setuptools3 but has pyproject.toml with
setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2025.4.15:
- Fix CI for Python 3.12
- ci: publish wheels to pypi
- Upgrade Build Tools to Latest
- Support tri-backquote style code block and fix ordered list indent
- Fix invalid character reference parsing
- Fix a typo in docs/usage.md
- Modernization of wheel building process
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Add XPath selectors: ElementSelector and ElementPathSelectors
- Add selector argument to XMLResource and iterparse filters
- Fix element substitution
- Restore v3.4.5 builder methods as helpers
- Add overall_min_occurs and overall_max_occurs helpers to XsdElement
- Extend error message for XML syntax errors
- Fix query/fragment like for filenames
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed @typechecked unable to find the target function or method if it or the
containing class had PEP 695 type parameters on them
- Fixed handling of union types on Python 3.14
- Fixed __type_params__ getting lost when a function is instrumented
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- Fixed a bug in ''multipart/form-data'' parsing that could incorrectly reject
filenames containing characters above U+00FF
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- fix: register encoder's doc incorrectly mentions TypeError
- [pre-commit.ci] pre-commit autoupdate
- chore(deps-dev): bump virtualenv from 20.26.1 to 20.26.6
- chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs
- [pre-commit.ci] pre-commit autoupdate
- chore(deps-dev): bump jinja2 from 3.1.4 to 3.1.5
- [pre-commit.ci] pre-commit autoupdate
- feat: add .item() method to retrieve the item object
- Fix: Inconsistent newlines on Windows
- Replace pytest's legacy tmpdir fixture with tmp_path
- Update README.md
- Prevent repeated whitespace items in arrays
- Aot setitem not implemented fix
- [pre-commit.ci] pre-commit autoupdate
- Fix removal of items from Arrays
- Fix: reject single keys that aren't strings
- [pre-commit.ci] pre-commit autoupdate
- fix: Invalid serialization when overwriting out-of-order table key
- fix: Dumping a subelement of a parsed toml fails starting on 4rd level of nesting
- chore(deps-dev): bump jinja2 from 3.1.5 to 3.1.6
- fix: ensure unique table indices when adding items to out-of-order tables
- fix: add newline indentation after existing items in Container class
- fix: Missing newline at end of file with multiple array of tables can corrupt during dumping
- chore: update version to 0.13.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Fixes:
- Typo in license-files
- Fix dynamic-metadata iteration (only affected GraalPy)
- Better abiflags implementation, uses ABIFLAGS on 3.14+, supports GraalPy
- File API commandFragments is optional
- Add python -m scikit_build_core printout and a few CLI issues
- Add some platform info to logging
Internal:
- Explicit mypy ignores
- Adjust typing to be ready for next mypy release
Documentation:
- Refactor the documentation to use single-line summaries
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix non-deterministic test function names due to usage of sets
- Fix duplicate parametrization error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* better error handling of invalid fragment counts
* add support for variant of message type 8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix backend hints causing errors when no multiprocessing is present
- Vendor loky3.5.5 fixing the resource_tracker clean up with earlier Python versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed
- The readline module doesn't have to be installed on non-windows systems.
- command line flags work again in CI
Changed
- changed how the Snapshot[T] type is implemented.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Make greenlet build and run on Python 3.14 beta 2 on Windows amd64.
- Potentially fix build on NetBSD/sparc64.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Auth fetch token from default endpoint
- Remove unnecessary call to mds service
- Retry 504 errors
- Remove sync response logs in AuthorizedSession
- Update test to consider new error message from cryptography
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Enhancements
- file system for GitHub gists
- add rm in github
- cachingFS performance, don't ls every time
- pyscript: protocol and optional entrypoint
Other
- doc fixes
- add "gs" at mention of gcsfs in docs
- lint style
- glob docstring to reflect reality
Fixes
- improve cp in generic
- fix ls in dbfs
- fix parquet tests for pyarrow 20
- fix crosslink for local tempfile
- keep permissions in local transaction
- signature compatibility in local cp()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Correctly use cimport for including PyBool_FromLong
- Exclude _frozenlist.cpp from bdists/wheels
- Updated to use Cython 3.1 universally across the build path
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changgelog:
=============
- Require Python 3.9 or later
- Remove MRUCache and the @func.mru_cache decorator
- Add an optional condition parameter to the @cached and @cachedmethod
decorators, which, when used with a threading.Condition instance, should
improve cache stampede issues in massively parallel environments.
- Convert the cachetools.func decorators to use a threading.Condition instance
to deal with cache stampede issues. Note that this may result in a noticable
performance degradation, depending on your actual use case.
- Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator.
- Improve documentation.
- Update CI environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* extend documentation of
[compression of sparse bitarrays](sparse_compression.rst)
* 'util.sc_decode()' and 'util.vl_decode()' now raise 'StopIteration'
instead of 'ValueError' when unexpected end of stream is encountered
* add debug mode tests for 'read_n()', 'write_n()' and 'count_from_word()'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.2.0:
- Drop support for Python 3.8
- Fix bug where already url-encoded values were further escaped
and encoded
- Refactor uritemplate/variable.py to enable fixing the
aforementioned bug
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.47.0:
- Add support for ASGI pathsend extension
- Add partitioned attribute to Response.set_cookie
- Change methods parameter type from list[str] to Collection[str]
- Replace import typing by from typing import ... in the whole
codebase
- Mark ExceptionMiddleware.http_exception as async to prevent
thread creation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.1:
- Fixed bug that prevented cmd2 from working with from
__future__ import annotations
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
LIC_FILES_CHKSUM is updated. The year in the copyright header was changed for 2025.
Added a PACKAGECONFIG for a new optional runtime dependency python3-wsproto which
is required for the new twisted.web.websockets module.
Changes:
https://github.com/twisted/twisted/compare/twisted-24.11.0...twisted-25.5.0
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to release_notes.rst of 3.12.0 [1], it requires the `vfat-resize`
tool for FAT filesystem resize support. In Yocto, package libblockdev-bin
provides vfat-resize
[1] ce03a4869d (diff-b99febf52a7481dd33d7896edaaad85373851e76d8f01303491713e723b905ddR21-R25)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.8.2:
- Wheels are provided for Windows ARM64 on Python 3.11, 3.12, and
3.13
- A number of EncodingWarnings were fixed that could appear if
you've enabled PYTHONWARNDEFAULTENCODING
- Fixed a race condition when using sys.monitoring with
free-threading Python
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.0:
- cmd2 2.6 supports Python 3.9+ (removed support for Python 3.8)
- Added support for Python 3.14
- Added new Cmd.ppretty() method for pretty printing arbitrary
Python data structures
- Clarified help text for -t/--transcript argument to the history
command
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.5.2:
- Remove support for Python 3.7
- Explicitly marks support for Python 3.13
- Improved project documentation
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 25.5.0:
- Add testing for Python 3.13
- Remove support for EOL Python 3.8
- Break after first hit with find_first_match
- Use cached_property for the prefix property
- Use cached_property for the major property
- Use cached_property for the minor property
- Use cached_property for the simple property
- Use cached_property for the strategy property
- Set full tag names in actions
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrades
Add compatibility with Click 8.2. PR #1222 by @tiangolo.
When using the CliRunner with Click < 8.2,
to be able to access the stderr output, you needed to set the mix_stderr
parameter to True. Since Click 8.2 (and Typer 0.160 this release
supporting it) this is no longer necessary, so this parameter has been
removed.
Refactors
Refactor tests for compatibility with Click 8.2. PR #1230 by @tiangolo.
Internal
Remove Google Analytics. PR #1229 by @tiangolo.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.4.2:
- Addressed the DeprecationWarning in our CLI regarding
argparse.FileType by backporting the target class into the package.
- Improved the overall reliability of the detector with CJK Ideographs.
- Optional mypyc compilation upgraded to version 1.15 for Python >= 3.8
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6.1:
- A __version__ attribute relying on importlib.metadata.
- A uv.lock lock-file for reproducible builds.
- Drop official support for Python 3.8.
- Switch from black to ruff for code style.
- Fully migrate to a pyproject.toml-based project.
- Ensure code style consistency (see selected rules in pyproject.toml).
- Extra dependencies are part of the dev dependency group (PEP 735).
- Switch from setuptools to hatchling for building portion.
- Switch from coverage to pytest-cov for test coverage.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
Fix:
WARNING: python3-bitarray-3.4.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
distutils is no longer in Python as of 3.12. Nothing seems to be using
these classes in the layer, so remove them.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport two patches to fix the pyproject.toml versions around
setuptools. Once the next version of pychromecast is out, these should
be removable.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Move from meta-python to meta-multimedia which depends on layer
meta-python. This way the recipe will reside in the layer where
its main dependency libheif is.
This work was sponsored by GOVCERT.LU.
Suggested-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Reintroduce the --wheel CLI option, even though it has no effect on Python > 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add a missing quote in a TOML example @ config.rst
- Add colour to GitHub Actions CI logs
- Fix using deprecated virtualenv option --wheel
- Fix custom HelpFormatter for Python 3.14
- Drop support for EOL Python 3.8
- Test with Python 3.14
- Fix for tox4 regression issue with setenv file and substitutions
- Feat: free-threaded python support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>