Changelog:
============
- Build wheels for Python 3.13
- Deprecate support for Python version before 3.9 and stop building wheels for them
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Refactor operations to fully work on AArch64.
- Fix the max_mem_rss measurement
- Allow setting the amount of warmup values in Runner
- Add hooks for calling arbitrary code around each benchmark
- Use KiB and MiB as units instead of kB and MB.
- Fix Spelling Error
- Make hooks work in bench_command subprocesses
- Fix deprecated method in bench_time_func example
- Separate subprocess writing/parsing into their own functions
- Fix "std dev" link
- Implement --timeout when running benchmarks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed a bug where pymongo.results.UpdateResult.did_upsert would raise a TypeError.
- Fixed Binary BSON subtype (9) support on big-endian operating systems (such as zSeries).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes
~~~~~~~
- misp_instance_version_master now uses the 2.5 branch.
- Make mypy happy.
- Only include the changelog in the sdist package.
- [data] describeTypes.json updated.
- Openioc.py is not a script, but had exec bit.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Make it possible to log heartbeat ping pong
- Move HeartbeatController to a separate module
- Simplify socket timeout
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support installing free-threaded Python interpreters with the t suffix.
- use_uv fails to lock when there are non-ascii characters in pyproject.toml on
Windows.
- Fix the pre_install and post_install signals receiving an exhausted generator,
instead of a list of packages.
- Create backup file with random filename to avoid conflicts.
- Fix the logic error in the uv format marker matching.
- pdm lock --check on a lockfile generated with older PDM version has a 0 exit
code when there's a change in pyproject.toml.
- Fixed Bash Completion suggestion so it doesn't require root privileges
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix documentation build issue.
- If a internal generated function is excluded the lines, if present, are
excluded as well.
- Fix exclusion of internal functions.
- Only print info on the first undefined block number in data model.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
- preload script wrappers on Windows to assist with a pip issue
- Remove duplicated newline in shebang of windows launcher
- Add handling for cross-compilation environments
- Do not use the absolute path to cache wheel extensions
- Support mounting wheels that use extensions without an EXTENSIONS file
- Add support for wheel compatibility with the limited API
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Test fixes for Python 3.13
- Drop Python 3.7
- Bump cibuildwheel in CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Dropped support for Python 3.8 and PyPy 3.8.
- Fix: a final wildcard match/case clause assigning to a name (case _ as
value) was incorrectly marked as a missing branch.
- Fewer things are considered branches now. Lambdas, comprehensions, and
generator expressions are no longer marked as missing branches if they
don't complete execution.
- Fix: the HTML report didn't properly show multi-line f-strings that end with a
backslash continuation. This is now fixed
- Fix: the LCOV report now has correct line numbers and better branch
descriptions for BRDA records. There are other changes to lcov also, including
a new configuration option :ref:`line_checksums <config_lcov_line_checksums>`
to control whether line checksums are included in the lcov report.
The default is false. To keep checksums set it to true.
- Fixed the docs for multi-line regex exclusions, closing issue 1863.
- Fixed a potential crash in the C tracer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Modify the default version to be an empty string
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* add official Python 3.13 support
* update cibuildwheel to 2.21.3
* minor simplifications
* fix some typos
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed error messages from :py:class:~aiohttp.resolver.AsyncResolver being
swallowed
- Added :exc:aiohttp.ClientConnectorDNSError for differentiating DNS resolution
errors from other connector errors
- Simplified DNS resolution throttling code to reduce chance of race conditions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not overwerite implicit dependencies, otherwise
ptests stop depending upon the correcpoding python module
resulting in runtime failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Tested on qemux86-64.
- The PyPi package name defaults to PN without the python3- prefix, so there is no need to set PYPI_PACKAGE as pint, it is by default.
- xfailed tests are known failures upstream.
Ptest result:
=============
qemux86-64:
Testsuite summary
TOTAL: 2784
PASS: 2094
SKIP: 676
XFAIL: 12
FAIL: 0
XPASS: 2
ERROR: 0
DURATION: 1611
END: /usr/lib/python3-pint/ptest
2024-10-11T14:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 8.6.0:
- Fix the handling of invalid JSON bodies in the bottle parser to
support bottle versions >=0.13
- MultiDictProxy now inherits from MutableMapping rather than
Mapping
Switch inherit from setuptools3 to python_flit_core.
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 2.7.0:
- dns.query.https() and dns.asyncquery.https() now support HTTP/3
and the http_version parameter may be used to specify which
version to use.
- If the cryptography module is installed, then dnspython will now
create deterministic ECDSA signatures by default. Cryptography,
if installed, must be at least version 43. Thanks to Jakob
Schlyter for adding the feature.
- The RESINFO and WALLET RdataTypes are now supported.
- The COOKIE and Report-Channel EDNS0 options are now supported.
- All supported RdataTypes can now be imported at a single time
rather than lazily on first use by calling
dns.rdata.load_all_types().
- The SVCB and HTTPS records now support the ohttp parameter.
- xfr() and inbound_xfr() now share a common implementation.
- Tokens are now supported for QUIC and HTTP/3.
- dns.message.from_wire() now saves the input wire format in the
Message's "wire" attribute. Likewise,
dns.message.Message.to_wire() now records the generated wire
format in that attribute.
- The dns.message.Message object now has a get_options() helper to
retrieve EDNS0 options of a specified type, and an
extended_errors() helper to retrieve the list of EDE options in a
message (if any).
- dns.message.make_response() now has a copy mode which controls
how sections are copied. By default, a copy mode appropriate for
the opcode is used. This is currently
dns.message.CopyMode.QUESTION for all opcodes.
- If an IP address is used as the hostname in a URL, the https
query code now passes the sni_hostname to httpx as this is
required to get httpx to validate the certificate and check for
an IP subject alternative name.
- The minimum supported aioquic version is now 1.0.0.
- The minimum supported Python version is now 3.9.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Fixed return type for Redis Set commands to be Set instead of List
- Fixed bug with partial Hiredis availability
- Fixed bug with async pipeline and cluster fails with some commands
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for release 0.2.0:
- Fixed loading the C-extensions on Python 3.8
- Improved typing for the :func:`propcache.api.under_cached_property`
decorator
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.
- Unnecessary dependencies dropped.
Fix:
WARNING: python3-pastedeploy-3.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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
WARNING: python3-spidev-3.6-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: alperak <alperyasinak1@gmail.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.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as inflate64, it is by default.
- Added missing dependency python3-setuptools-scm-native.
Fix:
WARNING: python3-inflate64-1.0.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: alperak <alperyasinak1@gmail.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.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as alembic, it is by default.
WARNING: python3-alembic-1.13.3-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.2.1:
- Bug fix: use C int instead of C char for some internal code
- Bug fix: add xmpz.bit_count method
Drop 0001-src-fix-python-3.12-builds.patch because a similar
change has been implemented upstream and the patch is not needed.
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-gmpy2-2.2.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>
Upgrade to release 3.10.9:
- Fixed proxy headers being used in the ConnectionKey hash when a
proxy was not being used
- Widened the type of the trace_request_ctx parameter of
:meth:`ClientSession.request()
- Fixed failure to try next host after single-host connection
timeout
- Improved performance of resolving hosts with Python 3.12+
- Reduced memory required for timer objects created during the
client request lifecycle
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.0.0:
- Test fixes for changes in recent upstream Python
- Drop Python 3.7
- Test against Python 3.13
- Update docs
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.7.3:
- 100% test coverage of framers
- Framer, final touches
- Readme file renamed
- Remove old framers
- frameProcessIncomingPacket removed
- Cleanup framers (reduce old_framers)
- Run CI on PR targeted at wait_next_api
- Sync client, allow unknown recv msg size
- integrate old rtu framer in new framer
- Update README.rst
- Client.close should not allow reconnect=
- Remove async client.idle_time()
- Client doc, add common methods (base)
- Reset receive buffer with send()
- Remove unused protocol_id from pdu
- CI run on demand on non-protected branches
- Server listener and client connections have is_server set
- Reopen listener in server if disconnected
- Regroup test
- Improve docs around sync clients and reconnection
- transport 100% test coverage (again)
- Update actions to new node.js
- Bump 3rd party
- Documentation on_connect_callback
- Fixes the unexpected implementation of the
ModbusSerialClient.connected property
- Forward error responses instead of timing out
- Add stacklevel=2 to logging functions
- Fix encoding & decoding of ReadFileRecordResponse
- Improvements for example/contib/solar
- Update solar.py
- Remove double conversion in int
- fixed type hints for write_register and write_registers
- Remove _header from framers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.14.0:
- Switched to using the :mod:`propcache <propcache.api>` package
for property caching
- Started testing with Hypothesis
- Improved performance of :py:meth:`~yarl.URL.is_default_port` when
no explicit port is set
- Improved performance of converting :class:`~yarl.URL` to a string
when no explicit port is set
- Improved performance of the :py:meth:`~yarl.URL.origin` method
- Improved performance of encoding hosts
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.5:
- Control setting local nodes outside of the supposed local's
constructor
- Fix Python 3.13 compatibility re: collections.abc
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 5.3.0:
- reno: Update master for unmaintained/zed
- Remove old excludes
- Update master for stable/2024.1
- reno: Update master for unmaintained/xena
- reno: Update master for unmaintained/wallaby
- reno: Update master for unmaintained/victoria
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pyyaml-include already supports native and nativesdk builds.
Starting from version 2.0, fsspec was introduced as a dependency for
pyyaml-include.
This commit adds support for native and nativesdk builds in the fsspec recipe.
Signed-off-by: Peng Zhang <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Starting from version 2.0, fsspec was introduced in pyyaml-include,
allowing the inclusion of files from various sources such as HTTP,
SFTP, and S3. As a result, pyyaml-include now depends on fsspec for
both local and remote file inclusion, making it a required runtime
dependency.
Signed-off-by: Peng Zhang <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.11.0:
- Add natural_list
- filesize: support the ronna and quetta prefixes
- Update French translations for numbers
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 8.0:
- Changes related to added support of gcov JSON intermediate format
- Detect suspicious counter values in gcov output
- Add --html-single-page to create a single page report (static or
with Javascript)
- Upload standalone applications as release artifacts
- Add support for gcov JSON intermediate format
- Add Exclusion markers to exclude a while function
- Change sort order in JSON output files
- Add source exclusion markers to exclude source branch from target
line
- Implement consistent sorting of files with no lines, or one line
with zero coverage
- Use replacement value of 0 for function call count NAN %
- Fix erroneous deprecation warning
- Fix display filename in HTML report
- Fix bundle of standalone executable with Python 3.12
- Fix merging of function coverage data
- Fix inefficient regular expression
- Fix missing output of gcov if execution fails
- Move tests to directory in the root
- Add MacOs to the GitHub test workflow
- Remove test exclusions for MacOs and adapt tests and reference
data
- Link correct documentation version in copyright header
- Move tag creation before publish the distribution because tag
from pipeline doesn't trigger additional runs
- Fix scrubber for date in HTML test data
- Add test with Python 3.12
- Add gcc-14 to the test suite
- Skip coverage upload if executed in a fork
- Only execute pipeline if pushed on main and add button to execute
workflow manual
- Check spelling in test pipeline
- Merge the test and deploy workflow to a single CI workflow
- Add Codacy to CI workflow for tracking coverage and code quality
- Add bandit to the linters
- Remove Codecov upload from pipeline
- Add test with bazel tests
License-Update: Adapt to new format, remains BSD 3-Clause License
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.1.0:
- Covered the unreachable code path in
multidict._multidict_base._abc_itemsview_register() with typing
- Added support for Python 3.13
- Removed Python 3.7 support
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Added :attr:~yarl.URL.path_safe to be able to fetch the path without %2F and %25 decoded
-Restore decoding %2F (/) in URL.path
-Improved performance of processing paths
-Added :attr:~yarl.URL.host_subcomponent which returns the :rfc:3986#section-3.2.2 host subcomponent
-Started rejecting ASCII hostnames with invalid characters. For host strings that
-look like authority strings, the exception message includes advice on what to do instead
-Fixed IPv6 addresses missing brackets when the :class:~yarl.URL was converted to a string
-Improved performance of calling :py:meth:~yarl.URL.build with authority
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix other failing URL normalization tests
- Avoid the use of sys.version_info for checking results, better to extend the check to more values.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Handle matrices of zero columns correctly in the Matrix constructor.
- NumPy numbers can be used with clebsch_gordan.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Client-side caching
- Timeseries insertion filters for close samples
- Enhanced classes string representation
- Partial clean up of Python 3.7 compatibility
- Handle RESP3 sets as Python lists
- Prevent async ClusterPipeline instances from becoming "false-y"
- Add hostname field to _parse_node_line
- Delete the first-defined (and thus "duplicate") Script class
- Catch a known DeprecationWarning when calling .close()
- Add missed redismod at test_commands.py
- Update README.md - mentioning redis 7.4 support
- Update PyPy 3.8 to 3.10 in CI
- Updated commands from docker-compose to docker compose
- Added version restrictions for pytest-asyncio
- Documentation examples
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Improve performance, especially in data with many CR-LF
- Handle invalid CRLF in header name
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for MongoDB 8.0 and Python 3.13.
- A new asynchronous API 19 with full asyncio support.
- Added support for In-Use Encryption range queries with MongoDB 8.0.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Typing improvements:
* Add '@overload' to 'contrib.regular_languages.compiler.Variables.get'.
* Use 'Sequence' instead of 'list' for 'words' argument in completers.
- Improve 'ModalCursorShapeConfig':
* Display an "underscore" cursor in Vi's "replace single" mode, like
"replace" mode.
* Display an "beam" cursor in Emacs (insert) mode.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update license file so it is recognized by GH
Changelog:
==========
- The combine method of an IntervalDict accepts a missing parameter to fill
values for non-overlapping keys
- A recipe to combine more than two IntervalDict
- Drop official support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Prevent bad task serialization in schedule from causing a batch of tasks to be lost
- Ensure we catch ResultTimeout which may occur when used with Sentinel
- Remove junk SQS implementation I was testing out.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix#117: Add WKD (Web Key Directory) support for auto-locating keys. Thanks to Myzel394 for the patch.
- Fix#237: Ensure local variable is initialized even when an exception occurs.
- Fix#239: Remove logging of decryption result.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- further skip BufferedRandomType if does not exist
- remove stray import of dbm in objects
- Add UnpicklingError import for dill.load_session() to fix#648
- Bump idna from 3.4 to 3.7 in /docs
- Bump jinja2 from 3.1.3 to 3.1.4 in /docs
- Bump requests from 2.31.0 to 2.32.0 in /docs
- Bump tornado from 6.3.3 to 6.4.1 in /docs
- update docs requirements to rtfd 10.27.0
- Bump certifi from 2024.2.2 to 2024.7.4 in /docs
- fix fencepost error when getting source inside decorator in interpreter (fixes#603)
- type check for Integral, bool by value
- diff USE_NUMPY imports numpy.ma
- adjust testing to account for frame.f_locals as a proxy in 3.13
- better handle import strings of numpy scalars
- handle a ThreadHandleType
- more extensive testing for dill.source
- add formal support for python 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Drop extra '2014' in LICENSE file.
Changelog:
===========
- Address CVE-2023-26112 ReDoS
- Drop Python 2 support and compatibility code
- Extra 2014
- setup.py: fix license tag
- Update minimum python to 3.7 everywhere, and add 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Enable cache via env variable and improve cache key
- Add test and type annotations for LongNamesConverter
- monitor: case insensitive filtering
- fix ruff linter errors
- Skip dumping KCD version if unset
- Update ruff config
- fix errors raised by recent versions of ruff
- Fix bug in DBC short names conversion
- monitor: fix crash while decoding message with bad length
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Bump docker/build-push-action from 5.4.0 to 6.0.0
- Suggested small refactors in assignments
- Performance improvement in blacklist function
- Add test for usage of FTP_TLS
- New check: B113: TrojanSource - Bidirectional control characters
- Bump docker/build-push-action from 6.0.0 to 6.1.0
- feat(plugins): add support for httpx in B113
- Nit: remove unused variable
- Add recent releases to version choice in bug report
- Bump docker/build-push-action from 6.1.0 to 6.2.0
- Bump docker/build-push-action from 6.2.0 to 6.3.0
- Bump docker/setup-buildx-action from 3.3.0 to 3.4.0
- Bump docker/setup-buildx-action from 3.4.0 to 3.5.0
- Bump docker/login-action from 3.2.0 to 3.3.0
- Bump docker/build-push-action from 6.3.0 to 6.5.0
- Bump docker/setup-buildx-action from 3.5.0 to 3.6.1
- Bump docker/build-push-action from 6.5.0 to 6.6.1
- Bump sigstore/cosign-installer from 3.5.0 to 3.6.0
- Bump docker/build-push-action from 6.6.1 to 6.7.0
- Use consistent file naming of docs
- Pytorch Load / Save Plugin
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix regression with f-string inference.
- Fix bug with manager.clear_cache() not fully clearing cache
- Fix a crash from inferring empty format specs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Dropped support for Python 3.8
- Fixed 100% CPU use on asyncio while waiting for an exiting task group to
finish while said task group is within a cancelled cancel scope
- Fixed cancel scopes on asyncio not propagating CancelledError on exit when
the enclosing cancel scope has been effectively cancelled
- Fixed asyncio task groups not yielding control to the event loop at exit if
there were no child tasks to wait on
- Fixed inconsistent task uncancellation with asyncio cancel scopes belonging
to a task group when said task group has child tasks running
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Render if_exists and if_not_exists parameters in CreateTableOp, CreateIndexOp,
DropTableOp and DropIndexOp in an autogenerate context.
- Enhance version_locations parsing to handle paths containing newlines.
- Added support for Operations.create_table.if_not_exists and
Operations.drop_table.if_exists, adding similar functionality to render
IF [NOT] EXISTS for table operations in a similar way as with indexes.
- The pin for setuptools<69.3 in pyproject.toml has been removed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Copy staggered from standard lib for python 3.12+
- Avoid passing loop to staggered.staggered_race
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is needed for fixing
Failed ptests:
{'python3-sqlparse': ['tests/test_cli.py:test_encoding_stdout[encoding_gbk.sql-gbk]',
'tests/test_cli.py:test_encoding_output_file[encoding_gbk.sql-gbk]',
'tests/test_cli.py:test_encoding_stdin[encoding_gbk.sql-gbk]']}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Switch to fetching from pypi
- Use automake format for pytests
- Fix ptests, by adding missing runtime deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Allowed scheme replacement for relative URLs if the scheme does not require a host
- Allowed empty host for URL schemes other than the special schemes listed in the WHATWG URL spec
- Loosened restriction on integers as query string values to allow classes that implement __int__
- Improved performance of normalizing paths
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix failing URL normalization tests
- Disable protocols checking with elementpath v4.5.0
- Extended ModelVisitor to make it usable as an helper class for generating content
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
Updated to Unicode 16.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Bump changelog.
- Bump deps, version.
- Only include the changelog in the sdist package.
- [data] describeTypes.json updated.
- Openioc.py is not a script, but had exec bit.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix readme download target
- Split build and publish for release
- Use upstream setup-uv with uv python
- Bump astral-sh/setup-uv from 2 to 3
- [pre-commit.ci] pre-commit autoupdate
- don't include outdated changelog in docs
- Fix multi-path returned from _path methods on MacOS
- Use uv as installer
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Adds support for Python 3.13.
- Greatly reduce the chances for crashes during interpreter shutdown.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* [fix] os.read/write waits until file descriptor is ready.
* [fix] Upgrade RLocks as last thing we do
* [security] drop header keys with underscores
* [doc] Various doc updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix and clean node trees iteration methods
- Fix missing raw string for '[^rn]'
- Full and more specific type annotations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop the patch to disable strip instead set the env variable.
set UJSON_BUILD_NO_STRIP=1 and get rid of one pending patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.
CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.
CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.
CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.
CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.
CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.
CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.
CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.
CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.
CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.
CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.
CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.
CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.
CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.
CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.
CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.
CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.
CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.
Fixed a crash in Django 4.2 when validating email max line lengths with content
decoded using the surrogateescape error handling scheme (#35361)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Improve performance when IP addresses change frequently
- Improve helpfulness of ServiceInfo.request assertions
- Improve performance of ip address caching
- Enable building of arm64 macOS builds
- Add classifier for python 3.13
- Python 3.13 support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed joining a path when the existing path was empty
- Added :meth:URL.without_query_params() <yarl.URL.without_query_params> method,
to drop some parameters from query string
- The previously protected types _SimpleQuery, _QueryVariable, and _Query are
now available for use externally as SimpleQuery, QueryVariable, and Query
- Replaced all :class:~typing.Optional with :class:~typing.Union
- Significantly improved performance of parsing the network location
- Added internal types to the cache to prevent future refactoring errors
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Enable OS specific Mypy checks
- [watchmedo] Fix tricks argument type of schedule_tricks()
- [kqueue] Fix TypeError: kqueue.control() only accepts positional parameters
- Drop support for Python 3.8
- [core] Enforced usage of proper keyword-arguments
- [core] Renamed the BaseObserverSubclassCallable class to ObserverType
- [inotify] Renamed the inotify_event_struct class to InotifyEventStruct
- [inotify] Renamed the UnsupportedLibc exception to UnsupportedLibcError
- [inotify] Removed the InotifyConstants.IN_CLOSE constant
- [watchmedo] Renamed the LogLevelException exception to LogLevelError
- [watchmedo] Renamed the WatchdogShutdown exception to WatchdogShutdownError
- [windows] Renamed the FILE_NOTIFY_INFORMATION class to FileNotifyInformation
- [windows] Removed the unused WATCHDOG_TRAVERSE_MOVED_DIR_DELAY constant
- [core] Enable disallow_untyped_calls Mypy rule
- [core] Enable disallow_untyped_defs Mypy rule
- [core] Improve typing references for events
- [inotify] Add support for IN_CLOSE_NOWRITE events.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support for setuptools 74
- iOS and Android support
- Fix for distutils change
- Remove test directives
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Speed up Hatch installation
- Test with Python 3.13
- Test with latest PyPy
- Use include-hidden-files: true to upload coverage artifacts
- Ensure PlatformDirs is valid superclass type for mypy AND not an abstract class for other checkers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- UPDATE: parse_type/parse.py
- Copy structured test suite to "tests/parse_tests/"
- Copy structured test suite to "tests/parse_tests_with_parse_type"
- REMOVE: tests/test_parse.py
- README: Fix compact display of BADGES (was using multi-line)
- CI: Add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- fix the build infrastructure
- drop support for Python 3.7
- add support for Python 3.13
- update linking strategy on Windows when building wheels
License-Update: Copyright year updated to 1.4.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- autocall was beeing call getitem
- Only copy files in startup dir if we just created it.
- Fix some tests on Python 3.13 RC1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Reintroduced supposedly-private URLTypes shortcut.
- Support for zstd content decoding using the python zstandard package is added.
Installable using httpx[zstd].
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Test Python 3.13
- Add 3.13 to CI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- add 3.13 to setup.cfg classifiers
- test: optimized test preformance by moving deadcode check to the end (#89)
- Catch exception if node is in unexpected statement (#84)
- Merge pull request #80 from alexmojaki/3.13
- doc: review changes
- fix: removed unused verification
- fix: handle __firstlineno__
- refactor: review changes
- test: skip module tests for now
- test(3.13): added sample_results
- fix: skip files with raise an recursion error in 3.13, because the recursion limit has no effect
- fix: allow to LOAD_FAST variables for TypeVars
- test: fixed tests for 3.13.0b1
- test(3.13): handle optimization of not not x
- fix(3.13): a type variable can also have nonlocal variables
- fix(3.13): COMPARE_OP maps always to ast.Compare
- fix(3.13): a async function can also have nonlocal variables
- fix(3.13): a lambda can also have nonlocal variables
- fix(3.13): handle CALL_KW like method calls which are only located by the end position
- fix(3.13): loading of __class__ is mapped to the last element of the class
- fix(3.13): handle STORE_FAST_STORE_FAST and similar instructions as known issues
- fix(3.13): fixed typing errors
- build(3.13): added 3.13 to ci workflow
- fix(3.13): added new rules to the verification
- fix(3.13): show_caches is deprecated
- fix: backward compatibility fix for changed source positions in 3.12.5 (#82) (#83)
- Add many_calls tests to EXECUTING_SLOW_TESTS (#78)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix:
=======
- Ensure build uses cython3
- Add missing cython version pin to the build system
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A vulnerability in corydolphin/flask-cors version 4.0.1 allows the
`Access-Control-Allow-Private-Network` CORS header to be set to true
by default, without any configuration option. This behavior can expose
private network resources to unauthorized external access, leading to
significant security risks such as data breaches, unauthorized access
to sensitive information, and potential network intrusions.
References:
https://nvd.nist.gov/vuln/detail/CVE-2024-6221
Upsteam-Patch:
7ae310c56a
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Update incorrect or incomplete constants in distutils
- Use Generator instead of Iterator for 3rd-party context managers
- Bump mypy to 1.11.1
License-Update:
License changed from "Apache-2.0 license" to "Apache-2.0"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- An inconsistency in Float/Rational comparisons was fixed. SymPy 1.13 made it
so that Rational(n) != Float(n) but this was inconsistent in the case of
Rational(0) == Float(0) and Float(0) == Rational(0) which gave different
results.
- Fixed a bug that caused LambertW to hang on specific inputs.
- A regression introduced in SymPy 1.13 in the heurisch integration routine was
fixed. The regression prevented some integrals from being evaluated.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Updated test & build matrix to include Python 3.13.
- Dropped wheel support for Python 2.7 on macOS.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Properly preserve escaped '{' and '}' in fstrings in logical lines in 3.12+.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix a 64-bit-ism in the test suite so the tests don't encounter a false
negative on 32-bit systems.
- Modify a test-harness skiptest check to work with newer versions of
Cryptography.
- Massage our import of the TripleDES cipher to support Cryptography >=43;
this should prevent CryptographyDeprecationWarning from appearing upon import.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add many Meta option to Schema so it expects a collection by default
- Refactor hooks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Deferred import of inspect for import performance.
- Disallow passing of 'dist' to EntryPoints.select.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- minor docs fixes
- worker_class parameter accepts a class
- fix deadlock if request terminated during chunked parsing
- permit receiving Transfer-Encodings: compress, deflate, gzip
- permit Transfer-Encoding headers specifying multiple encodings. note: no parameters, still
- sdist generation now explicitly excludes sphinx build folder
- decode bytes-typed status (as can be passed by gevent) as utf-8 instead of raising TypeError
- raise correct Exception when encounting invalid chunked requests
- the SCRIPT_NAME and PATH_INFO headers, when received from allowed forwarders, are no longer restricted for containing an underscore
- include IPv6 loopback address [::1] in default for forwarded_allow_ips and proxy_allow_ips
- refuse requests where the uri field is empty
- refuse requests with invalid CR/LR/NUL in heade field values
- remove temporary --tolerate-dangerous-framing switch from 22.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Chaneglog:
============
- Run mypy locally via pre-commit hook, bump to mypy==1.10.0
- Updates to the latest eth-typing to use new ABI types for improved type
checking in existing ABI utility functions.
- Contract Application Binary Interface (ABI) utilities to obtain type and
value information for functions and events.
- Merge template to use bump-my-version and update release Make commands.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Use dbus-run-session to drop X11 dependency
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixed :meth:aiohttp.ClientResponse.json() not setting status
when :exc:aiohttp.ContentTypeError is raised
- Improved performance of the WebSocket reader
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add support for python 3.13
- Fix a trivial typo in readme.md
- Correct classifier for license python-2.0.1
- Adjust license to python-2.0.1
- Remove upper bound on python requirement
- Preserve errno if all exceptions have the same errno
- Adjust license classifier to better reflect license terms
- Add link to happy eyeballs explanation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing COPYING file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the MIT license containing LICENSE file in the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change the reference to the Apache-2.0 license containing LICENSE file
in the downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apply some changes to recipe content ordering and indentation style
from oe-stylize.py.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Apply suggestions to recipe content ordering and indentation style from
oe-stylize.py and also remove the duplicate DEPENDS line for
python3-setuptools-scm-native.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Both project pypi page: https://pypi.org/project/cbor2/ as well as
https://github.com/agronholm/cbor2/blob/5.6.4/LICENSE.txt state that it
is subject to MIT rather than Apache-2.0 license. Also update
LIC_FILES_CHKSUM value to reference the LICENSE.txt file from the
downloaded archive.
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
_mask.c is generated by cython and encodes sourcepaths into
comments which are absolute. Edit them out.
Fixes buildpaths QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pandas 2.2.2 is the first version compatible with numpy 2.0.x.
The package now uses meson as the build backend, so change the recipe to
inherit that.
Its pyproject.toml pins required versions for Cython and meson, but
newer upstream pandas releases are using different versions and
compatibility strings, so just add an OE-specific patch to relax the
requirements a bit for us.
Changelog: https://pandas.pydata.org/pandas-docs/version/2.2.2/whatsnew/v2.2.2.html
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is no changelog but there are few improvements relevant for the build:
- python3-six and python3-attrs are no longer dependencies
- We can start using python_setuptools_build_meta
- PYPI_PACKAGE doesn't need to be overridden since the default is now the correct ('automat' instead of 'Automat')
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the following issue:
python3[677]: Traceback (most recent call last):
python3[677]: File "/usr/lib/python3.12/site-packages/myownscript.py", line 9, in <module>
python3[677]: from twisted.internet import defer
python3[677]: File "/usr/lib/python3.12/site-packages/twisted/internet/defer.py", line 44, in <module>
python3[677]: import attr
python3[677]: ModuleNotFoundError: No module named 'attr'
Currently python3-attrs is provided indirectly by python3-automat. But when
python3-automat is updated to >= 24.8.1, python3-attrs is no longer indirectly
provided. The twisted recipe must declare the dependency on python3-attrs.
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cython does not provide a direct option to disable or customize
the metadata written in the generated C files. The metadata
includes information like the Cython version and absolute paths to
the original Cython files, which can be problematic for doing
reproducible builds
Therefore edit out these comments from the cython generated C files
they are nicely tucked between two known tags at the top of file.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.3.2:
- Restore support for soft-deprecated members of the typing module
with python 3.13.
- Fix a crash introduced in 3.3.0 involving invalid format strings.
- Add support for Python 3.13.
- Remove support for Python 3.8 (and constants PY38, PY39_PLUS,
and PYPY_7_3_11_PLUS).
- Add the __annotations__ attribute to the ClassDef object model.
- Implement inference for JoinedStr and FormattedValue
- Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.8.0:
- set requires-python to 3.8
- use zoneinfo instead of pytz where possible
- No need to call datetime.replace for utc_now
- Patch pprint to make pytest diffs nicer for big objects
- uprev test, lint and docs dependencies
- Support Python 3.13
- Uprev version
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.20.0. Added validations at compile time:
- required must have unique items
- checking if schema is not allowing required items (item is
required, but is not listed in properties)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.6:
- Add official support for Python 3.13.
- Add support for & as scoping root per the CSS Nesting Module,
Level 1. When & is used outside the context of nesting, it is
treated as the scoping root (equivalent to :scope).
- Improve error message when an unrecognized pseudo-class is used.
License-Update: Update years.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.0.2:
- Add support for Python 3.13
- [core] Run ruff, apply several fixes
- [core] Remove execution rights from events.py
- [documentation] Update PatternMatchingEventHandler docstrings
- [documentation] Simplify the quickstart example
- [fsevents] Add missing event_filter keyword-argument to
FSEventsObserver.schedule()
- [utils] Fix a possible race condition in AutoRestartTrick
- [watchmedo] Remove execution rights from watchmedo.py
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.10.3:
- Fixed multipart reading when stream buffer splits the boundary
over several read() calls
- Fixed :py:class:aiohttp.TCPConnector doing blocking I/O in the
event loop to create the SSLContext
- Improved performance of :py:meth:~aiohttp.ClientWebSocketResponse.receive
and :py:meth:~aiohttp.web.WebSocketResponse.receive when there
is no timeout
- Improved performance of starting request handlers with Python 3.12+
- Improved performance of HTTP keep-alive checks
- Improved performance of generating random WebSocket mask
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.35.0:
- Ensure video stream is closed when closing the pyAV plugin
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 6.6.1:
- Add IP fields to DEFAULT_FIELD_MAPPING (:pr:`892) to document
format
- MarshmallowPlugin: Fix handling of Nested fields with
allow_none=True
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-apispec-6.6.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with
flit_core.buildapi, use the correct class [pep517-backend]
License-Update: Remove years from LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.9.2:
- Bug: Decorate models appropriately when HierarchicalMachine is
passed to add_state
- Bug: Let may_<trigger> check all parallel states in processing
order
- Bug: HSM.is_state works with parallel states now
- Feature: Add may_trigger to models to check whether transitions
can be conducted by trigger name
- Feature: Add Mermaid diagram backend that returns a mermaid
diagram as a string. use_pygraphviz is deprecated in favour for
graph_engine which may be pygraphviz (default), graphviz or
mermaid
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.11.0:
- Attest build provenance of artifacts
- Add field selection to CSV and JSON outputs
- Add options to disable escaping HTML tables
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
More specifically drop python3-twisted-core from RDEPENDS:incremental-scripts
This is a change made in incremental 24.7.0
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Twisted 24.7.0 (2024-08-08)
===========================
24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (#12279)
No other changes since 24.7.0.rc2
Security Advisories
-------------------
- twisted.web.util.redirectTo now HTML-escapes the provided URL in the fallback response body it returns (GHSA-cf56-g6w6-pqq2, CVE-2024-41810). (#9839)
- The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure (CVE-2024-41671/GHSA-c8m8-j448-xjx7) (#12248)
Features
--------
- twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (#9645)
- twisted.internet.defer.inlineCallbacks can now yield a coroutine. (#9972)
- twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (#12065)
- twisted.web.wsgi request environment now contains the peer port number as `REMOTE_PORT`. (#12096)
- twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. (#12122)
- Added two new methods, twisted.logger.Logger.failuresHandled and twisted.logger.Logger.failureHandler, which allow for more concise and convenient handling of exceptions when dispatching out to application code. The former can arbitrarily customize failure handling at the call site, and the latter can be used for performance-sensitive cases where no additional information needs to be logged. (#12188)
- twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (#12223)
- twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (#12227)
Bugfixes
--------
- twisted.internet.ssl.Certificate.__repr__ can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (#5851)
- Type annotations have been added to twisted.conch.interfaces.IKnownHostEntry and its implementations, twisted.conch.client.knownhosts.PlainHost and twisted.conch.client.knownhosts.HashedHost, correcting a variety of type confusion issues throughout the conch client code. (#9713)
- twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (#12112)
- twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive `conch` command-line no longer will either. (#12141)
Improved Documentation
----------------------
- The IRC server example found in the documentation was updated for readability. (#12097)
- Remove contextvars from list of optional dependencies. (#12128)
- The documentation for installing Twisted was moved into a single page. (#12145)
- The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (#12167)
- Updated imap4client.py example, it no longer references Python 2. (#12252)
Deprecations and Removals
-------------------------
- twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard `return` statement. (#9930)
- The `twisted-iocpsupport` is no longer a hard dependency on Windows.
The IOCP support is now installed together with the other Windows soft
dependencies via `twisted[windows-platform]`. (#11893)
- twisted.python.deprecate helper function will now always strip whitespaces from the docstrings.
This is done to have the same behaviour as with Python 3.13. (#12063)
- twisted.conch.manhole.ManholeInterpreter.write, twisted.conch.manhole.ManholeInterpreter.addOutput, twisted.mail.imap4.IMAP4Server.sendUntaggedResponse `async` argument, deprecated since 18.9.0, has been removed. (#12130)
- twisted.web.soap was removed.
The SOAP support was already broken, for at least the last 4 years.
The SOAP support in Twisted has no active maintainer. (#12146)
Misc
----
- #11744, #11771, #12113, #12154, #12169, #12179, #12193, #12195, #12197, #12215, #12221, #12243, #12249, #12254, #12259, #12669
Conch
-----
Bugfixes
~~~~~~~~
- twisted.conch.insults.window.Widget.functionKeyReceived now dispatches functional key events to corresponding `func_KEYNAME` methods, where `KEYNAME` can be `F1`, `F2`, `HOME`, `UP_ARROW` etc. This is a regression introduced with #8214 in Twisted 16.5.0, where events changed from `const` objects to bytestrings in square brackets like `[F1]`. (#12046)
Web
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-gevent-24.2.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: alperak <alperyasinak1@gmail.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.
- python3-greenlet was supposed to be native because of the python3-gevent build. It's python3-gevent's dependency.
Fix:
WARNING: python3-greenlet-3.0.3-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: alperak <alperyasinak1@gmail.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-django-5.0.6-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: alperak <alperyasinak1@gmail.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-py-cpuinfo-9.0.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: alperak <alperyasinak1@gmail.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-pyasn1-modules-0.4.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: alperak <alperyasinak1@gmail.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-pyjwt-2.8.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: alperak <alperyasinak1@gmail.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-pyroute2-0.7.12-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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-metadata, it is by default.
Fix:
WARNING: python3-pytest-metadata-2.0.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.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.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-timeout, it is by default.
Fix:
WARNING: python3-pytest-timeout-2.3.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: alperak <alperyasinak1@gmail.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-regex-2024.7.24-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: alperak <alperyasinak1@gmail.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-parse-type-0.6.2-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: alperak <alperyasinak1@gmail.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-service-identity-21.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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.5.0:
- Use project.scripts instead of setuptools scripts
- Test infrastructure improvements
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.
Fixes:
WARNING: python3-argcomplete-3.4.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>
Upgrade to release 2.0.11:
- More pathlib related fixes
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.
Fixes:
WARNING: python3-sniffio-1.3.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>
Upgrade to release 2.2.0:
- Drop support for Python 3.7
- Use modern packaging metadata with pyproject.toml instead of
setup.cfg
- Use flit_core instead of setuptools as build backend
- Deprecate the __version__ attribute. Use feature detection, or
importlib.metadata.version("itsdangerous"), instead.
- Serializer and the return type of dumps is generic for type
checking. By default it is Serializer[str] and dumps returns a
str. If a different serializer argument is given, it will try to
infer the return type of its dumps method.
- The default hashlib.sha1 may not be available in FIPS builds.
Don't access it at import time so the developer has time to
change the default.
License-Update: Renamed from LICENSE.rst to LICENSE.txt
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We've seen TMPDIR [build-paths] contamination in the
built pydantic_core/_pydantic_core.cpython-*-*-linux-gnu.so
See discussion upstream in:
https://github.com/pydantic/pydantic-core/issues/1365
Backport fix from:
e07c41b3ba
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add to ptest-packagelists-meta-python.inc META_PYTHON_PTESTS_FAST
Install ${S}/VERSION to PTEST_PATH for test_version
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python package providing IANA time zone data
This is a Python package containing zic-compiled binaries for the IANA time
zone database. It is intended to be a fallback for systems that do not have
system time zone data installed (or don't have it installed in a standard
location), as a part of PEP 615
https://tzdata.readthedocs.io/en/latest/
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is being removed from oe-core, so add to meta-python.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 4.8.0:
- The handshake metadata for "os.name" on Windows has been
simplified to "Windows" to improve import time.
- The repr of bson.binary.Binary is now redacted when the subtype
is SENSITIVE_SUBTYPE(8).
- Secure Software Development Life Cycle automation for release
process.
- GitHub Releases now include a Software Bill of Materials, and
signature files corresponding to the distribution files released
on PyPI.
- Fixed a bug in change streams where both startAtOperationTime and
resumeToken could be added to a retry attempt, which caused the
retry to fail.
- Fallback to stdlib ssl module when pyopenssl import fails with
AttributeError.
- Improved performance of MongoClient operations, especially when
many operations are being run concurrently.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a hatchling plugin to read project dependencies from
requirements.txt, release 0.4.1.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 3.10.1:
- Fixed WebSocket server heartbeat timeout logic to terminate
:py:meth:~aiohttp.ClientWebSocketResponse.receive and return
:py:class:~aiohttp.ServerTimeoutError
- Fixed url dispatcher index not matching when a variable is
preceded by a fixed string after a slash
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 7.6.1:
- Fix: coverage used to fail when measuring code using
runpy.run_path <python:runpy.run_path> with a Path
<python:pathlib.Path> argument. This is now fixed.
- Fix: backslashes preceding a multi-line backslashed string could
confuse the HTML report. This is now fixed.
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.
Fixes:
WARNING: python3-coverage-7.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>
Update to the latest upstream released version.
Add a PYPI_PACKAGE entry to the recipe. Otherwise, during final image
assembly, an error similar to the following would occur due to the fact
the yocto package name (which includes dashes) differs from the download
filename (which includes underscores). NOTE: this would happen with all
package types, not just ipk:
ERROR: core-image-base-1.0-r0 do_rootfs: Unable to install packages. Command '/scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/opkg.conf -t /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/temp/ipktemp/ -o /scratch/trevor/oe/builds/jupyter/jupyter-rockchip/scarthgap/build/tmp-glibc/work/rock_5a-oe-linux/core-image-base/1.0/rootfs --force_postinstall --prefer-arch-to-version <package list including python3-matplotlib-inline...> returned 255:
* opkg_solver_install: No candidates to install python3-matplotlib-inline (null)!
Add additional devtool-discovered information:
- update the build mechanism to include python_setuptools_build_meta
- add the RDEPENDS
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as aioserial, it is by default.
- The upstream pyproject.toml says it needs to be built with the Poetry frontend, but that's deprecated behaviour and it should use the Poetry Core API instead.
Signed-off-by: alperak <alperyasinak1@gmail.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-lazy-object-proxy-1.10.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: alperak <alperyasinak1@gmail.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-portion-2.4.2-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: alperak <alperyasinak1@gmail.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.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as ipython, it is by default.
Fix:
WARNING: python3-ipython-8.26.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with _build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.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.
- There is no need to set SRC_URI with PYPI_SRC_URI, it is already used by default in the pypi class.
Fix:
WARNING: python3-lru-dict-1.3.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: alperak <alperyasinak1@gmail.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.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as xmlschema, it is by default.
- install_requires is a keyword that should be used to specify what a project minimally needs to run correctly. Elementpath is not needed for the project to build, but it is needed to run, so it has been removed from DEPENDS.
Fix:
WARNING: python3-xmlschema-3.3.2-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: alperak <alperyasinak1@gmail.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-pyudev-0.24.3-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: alperak <alperyasinak1@gmail.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-luma-oled-3.13.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: alperak <alperyasinak1@gmail.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.
Also, there is no need to set PYPI_PACKAGE_EXT as tar.gz because tar.gz is used by default.
Fix:
WARNING: python3-dill-0.3.8-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: alperak <alperyasinak1@gmail.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-joblib-1.4.2-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: alperak <alperyasinak1@gmail.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-file-magic-0.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: alperak <alperyasinak1@gmail.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-pyproj-3.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: alperak <alperyasinak1@gmail.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-qrcode-7.4.2-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: alperak <alperyasinak1@gmail.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-evdev-1.7.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: alperak <alperyasinak1@gmail.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-click-repl-0.3.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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-screeninfo-0.8.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.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-term-2.5-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: alperak <alperyasinak1@gmail.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-pyaudio-0.2.14-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: alperak <alperyasinak1@gmail.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-can-4.2.2-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: alperak <alperyasinak1@gmail.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-pymongo-4.7.3-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: alperak <alperyasinak1@gmail.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-brotli-1.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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-dbus-fast-2.22.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.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-bitstruct-8.19.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: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the hatchling.build PEP-517 backend.
Fix:
WARNING: python3-eventlet-0.36.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with hatchling.build, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend.
Fix:
WARNING: python3-classes-0.4.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.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.
Fixes:
WARNING: python3-lazy-1.6-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: alperak <alperyasinak1@gmail.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.
Fixes:
WARNING: python3-multidict-6.0.5+git-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>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-pycares-4.4.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>
The project has a proper pyproject.toml which declares the
setuptools.build.meta PEP-517 backend.
Fixes:
WARNING: python3-aiosignal-1.3.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>
Upgrade to version 3.10.0:
- Fixed server response headers for Content-Type and Content-Encoding
for static compressed files
- Fixed duplicate cookie expiration calls in the CookieJar
implementation
- Adjusted FileResponse to check file existence and access when
preparing the response
- Fixed AsyncResolver to match ThreadedResolver behavior
- Fixed ws_connect not respecting receive_timeout` on WS(S)
connection
- Removed blocking I/O in the event loop for static resources and
refactored exception handling
- Added a Request.wait_for_disconnection() method, as means of
allowing request handlers to be notified of premature client
disconnections
- Added a feature to retry closed connections automatically for
idempotent methods
- Added server capability to check for static files with Brotli
compression via a .br extension
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug fixes:
- fix requesting lines by name with multiple entries
- fix a use-after-free bug in python bindings
- fix passing the event clock property to line requests in python bindings
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
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.
Fixes:
WARNING: python3-configobj-5.0.8-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: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The recipe for pydantic currently is at version 2.7.2. This
project specifies in its pyproject.toml that it depends on
pydantic-core version 2.18.4. Because an older 2.16.3 version
of pydantic-core was used now, a simple bit of code will break.
from enum import Enum
from pydantic import BaseModel
class Color(str, Enum):
RED = "RED"
BLUE = "BLUE"
class Car(BaseModel):
color: Color
print(Car(color=Color.RED))
This will upgrade the python3-pydantic-core recipe to make it
compatible with python3-pydantic, so that the above snippet of
code will no longer fail.
Two patches are removed, these backports are now included in the
upstream code. A new patch is added to set the required rust
compiler from 1.76 to 1.75. Version 1.76 is not actually needed.
File python3-pydantic-core-crates.inc is regenerated by running
'bitbake -c update_crates python3-pydantic-core'.
The recipes RDEPENDS now includes python3-compression. The pydantic
schema validator imports 'importlib.metadata' which wants to import
'zipfile'.
The buildpaths QA check is skipped. This should be fixed at some
point, but it was already failing before this change.
Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Our python3-protobuf is installed in standard site-packages location,
there's no need for an extra .pth file. So this .pth is useless.
What's worse, this .pth file is problematic for python 3.12 ptest. It will
cause the following test case to hang forever:
test.test__xxsubinterpreters.CreateTests.test_in_thread
I've filed an issue[1] for cpython. Until the problem is resolved there,
we should avoid packaging this .pth file.
In fact, Debian also removes this file in the rules file, though their reason
for removal is likely that the file is useless.
rules: find $(CURDIR)/debian/python3-protobuf -name 'protobuf-*-nspkg.pth' -delete
Some more information below, just for better tracking:
1. That .pth file is way too complicated according to .pth design[2].
2. The subinterpreter is not offically part of python, at least for 3.12. The PEP[3][4]
has not been accepted. The test__xxsubinterpreter is a preparation for it.
[1] https://github.com/python/cpython/issues/122220
[2] https://docs.python.org/3/library/site.html
[3] https://peps.python.org/pep-0554/
[4] https://peps.python.org/pep-0554/
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Following errors already fixed in 3.11.0, refer[1][2], so remove the
unneeded CFLAGS:
h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types]
[1] 387a22b8c1
[2] 704e13ac83
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Summary of changes:
1. Create a new package: python3-incremental-tests
2. Create a new package: python3-incremental-scripts. This is an optional
package used to update Twisted locally on the command line. The package
requires python3-click. Most, if not all, users don't need this package.
3. There is no longer a circular dependency between python3-twisted and
python3-incremental at build time.
5. python3-incremental ipk package shrinks from 167 KiB to 32 KiB
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Support for loading distutils from the standard library is now deprecated,
including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils
before importing setuptools.
- Bugfix for building Cython extension on Windows
- Updated distutils including significant changes to support Cygwin and mingw compilers.
- Fix distribution name normalisation (PEP 625) for valid versions that are not canonical (e.g. 1.0-2).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- fix: Test failures with Python 3.13.0a4: test_dates_behave_like_dates and test_times_behave_like_times
- [pre-commit.ci] pre-commit autoupdate
- fix: Revert "fix: Construction of OutOfOrderTableProxy can cause newlines to be inserted (#347)"
- Update tests action
- fix: tomlkit 0.12.5 : Encoder contract interferes with external TypeErrors raised in encoders
- chore(deps-dev): bump certifi from 2024.2.2 to 2024.7.4
- chore(deps-dev): bump urllib3 from 2.0.7 to 2.2.2
- chore(deps-dev): bump requests from 2.31.0 to 2.32.2
- chore(deps-dev): bump zipp from 3.15.0 to 3.19.1
- fix: keep the nested out of order table
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Treat zero byte stream as a file.
- feat: check targets argument type for read and extract method
- feat: Add recursive sudirectories and files extraction.
- feat: ensure unpack_7zarchive closes the archive
- docs: Use same format for unpack_archive example as for make_archive
- fix bug in function is_64bit()
- feat: make unpack_7zarchive raise ReadError for invalid files
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix typo in README.md
- Change how size of headers are calculated to fix ColorTable with title
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-support-cross-compiling.patch
refreshed for 10.4.0
Changelog:
===========
- Raise FileNotFoundError if show_file() path does not exist
- Improved reading 16-bit TGA images with colour
- Deprecate non-image ImageCms modes
- Fixed processing multiple JPEG EXIF markers
- Do not preserve EXIFIFD tag by default when saving TIFF images
- Added ImageFont.load_default_imagefont()
- Added Image.WARN_POSSIBLE_FORMATS
- Remove zero-byte end padding when parsing any XMP data
- Do not detect Ultra HDR images as MPO
- Raise SyntaxError specific to JP2
- Do not use first frame duration for other frames when saving APNG images
- Consider I;16 pixel size when using a 1 mode mask
- When saving multiple PNG frames, convert to mode rather than raw mode
- Added byte support to FreeTypeFont
- Allow float center for rotate operations
- Do not read layers immediately when opening PSD images
- Restore original thread state
- Read IM and TIFF images as RGB, rather than RGBX
- Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
- Clarify ImageDraw2 error message when size is missing
- Support unpacking more rawmodes to RGBA palettes
- Removed support for Qt 5
- Improve ImageFont.freetype support for XDG directories on Linux
- Improved consistency of XMP handling
- Use pkg-config to help find libwebp and raqm
- Accept 't' suffix for libtiff version #8126,
- Deprecate ImageDraw.getdraw hints parameter
- Added ImageDraw circle()
- Add mypy target to Makefile
- Added more modes to Image.MODES
- Deprecate BGR;15, BGR;16 and BGR;24 modes
- Fix ImagingAccess for I;16N on big-endian
- Support reading P mode TIFF images with padding
- Deprecate support for libtiff < 4
- Corrected ImageShow UnixViewer command
- Use functools.cached_property in ImageStat
- Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER
- Support reading CMYK JPEG2000 images
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Detect src layout only if it exists and included by build config
- Use compatible is_relative_to for Python 3.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- fixed a bug in open_slk
- fixed a bug due to new PROJECTCOMPATVERSION record in dir stream
- oleobj: fixed SyntaxError with Python 3.12
- rtfobj: fixed SyntaxError with Python 3.12
- clsid: added CLSIDs for MSI, Zed
- ftguess: added MSI, PNG and OneNote formats
- pyxswf: fixed python 3.12 compatibility
- setup/requirements: allow pyparsing 3 to solve install issues
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Properly decode AksIM-2 warning and error bits
- Make MA732 trimming for off-axis applications actually work
- When encoders are no longer active, stop using them and trigger a fault
- Limit the commanded velocity to something physically achievable
- Fault if a non-reducing gear ratio is configured without overriding
- Default bemf_feedforward to 0.0, and fault if it is configured non-zero without acceleration limits or override
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove shebang from filesize.py
- Fix test failures on systems with 32-bit time_t
- Fix handling of negative time deltas
- Fix naturaldelta sub second precision
- Reword the French translation of very small amount of time
- Fix Arabic localization
- metric: Fix precision format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Exclusion patterns can now be multi-line
- The JSON report now includes per-function and per-class coverage information.
- Fixed an incorrect calculation of "(no class)" lines in the HTML classes report.
- Python 3.13.0b3 is supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix AssertionError when inferring a property consisting of a partial function.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix type annotation of errors in wrap_errors
- fix: exposing func arg in CLI under a different name via deco
- fix: tests were failing under Python 3.13
- Docs update in similar.rst
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The new python3-redis_5.0.7 archive "redis-5.0.7.tar.gz" may clash with
a very old redis-5.0.7 archive. It does on the autobuilder which kept
its DL_DIR from this era and triggers a mirroring error[0].
To fix this, add a "pypi-" prefix to the archive name of python3-redis.
[0]:https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/420/steps/17/logs/errors
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The recipe is missing most of the run-time dependencies for virtualenv.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Release notes page name changed from releases to release_notes
- Provide explicit __all__ exports for providers in web3/providers/__init__.py;
update web3/__init__.py to include all provider classes including base classes.
- Created ABIError type in the web3.types module and added as a valid type of ABIElement.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Resolve DeprecationWarnings when extracting twine metadata.
- Fix bug for Repository URLs with auth where the port was lost.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Expose PEP-484 typing stubs, thanks to Rodion Kosianenko and GoodWasHere
License-Update: Copyright year updated to 1.18
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove python 3.8 from CI
- Log comm retries.
- Solve serial unrequested frame.
- test convert registers with 1234....
- Fix writing to serial (rs485) on windows os.
- Remember to remove serial writer.
- Update client.rst
- Fix usage file names
- Show error if example is run without support files.
- Solve pylint error.
- Describe zero_mode in ModbusSlaveContext.init
- Datastore will not return ExceptionResponse.
- call async datastore from modbus server
- Transaction id overrun.
- Add minimal devcontainer.
- Sphinx: do not turn warnings into errors.
- Fix usage of AsyncModbusTcpClient in client docs page
- Bump actions CI.
- Request/Response: change execute to be async method
- datastore: add async_setValues/getValues methods
- fixed kwargs not being expanded for actions on bit registers, adjusted tests to catch this issue
- Clean datastore setValues.
- modbus_server: call execute in a way that those can be either coroutines or normal methods
- Streamline message class.
- Fix decode for wrong mdap len.
- SOCKET/TLS framer using message decode().
- ASCII framer using message decode()
- Add generate_ssl() to TLS client as helper.
- add _legacy_decoder to message rtu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix new interface from pbs_installer regarding build_dir and best match
auto-install strategy for pdm use (same as for pdm python install --list)
- Fix crash when pdm is used with importlib-metadata version 8.0.
- Add --no-extras to pdm export to strip extras from the requirements.
Now the default behavior is to keep extras.
- Support PEP 723: running scripts with inline metadata in standalone
environment with dependencies.
- pdm use and pdm python install now take requires-python into account
(incl. from pyproject.toml) if python version not specified and pdm use
provides auto installation by that.
- --no-isolation no longer installs build-requires nor dynamic build
dependencies, to be consistent with pip.
- Add notifiers in CLI output when global project is being used.
- Use tool.pdm.resolution table when calculating the content hash of project
file, previously only overrides table was used. This will change the hash
already stored in the lockfile, so bump the lockfile version to 4.4.2.
- Add max retries on read timeout or bad connection.
- Don't update local files if they don't change.
- Don't list python versions that don't have any installation link for the
current platform.
- Clarify the purposes of pdm outdated and --unconstrained option.
- Some clarifications on the interpreter selection and central package cache.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Test fails due to change in Numpy API
- Excel is very fussy about the version number
- Poor perfomance when reading workbooks with lots of named styles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- bugfix for call to structured_traceback
- fixed honoring custom repr for NamedTuple if assigned by partialmethod
- Convert matplotlib gui name in enable_gui
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Wheel build exclude for pp37
- Build wheels for aarch64 to allow use in embedded systems
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Remove deprecated positional arguments
- Add timeframe to warning about using find_first_match without ensure_strategy
- Split release flow into two jobs (build/publish)
- Use correct depth argument for checkout action
- Add artifacts group to dependabot config
- Extend PEP440 to include (_/-) as dev/post/pre-release separator
- Allow local version for PEP440
- Update demo to trigger on input
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Lisence-Update: Copyright year updated to 1.13.2
Changelog:
=============
- Improve computed column compare function to support multi-line expressions.
- Fixed bug in alembic command stdout where long messages were not properly
wrapping at the terminal width.
- Fixed internal issue where Alembic would call connection.execute() sending
an empty tuple to indicate "no params". In SQLAlchemy 2.1 this case will be
deprecated as "empty sequence" is ambiguous as to its intent.
- Fixes to support pytest 8.1 for the test suite.
- Fixed the detection of serial column in autogenerate with tables not under
default schema on PostgreSQL
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Import os.link conditionally to fix importing on android. #175
- Remove spurious items from aiofiles.os.__all__ when running on Windows.
- Switch to more modern async idioms: Remove types.coroutine and make AiofilesContextManager an awaitable instead a coroutine.
- Add aiofiles.os.path.abspath and aiofiles.os.getcwd. #174
- aiofiles is now tested on Python 3.13 too. #184
- Dropped Python 3.7 support. If you require it, use version 23.2.1.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop patch as this version supports python3.
Furthermore move to hatchling build system.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Support MSVC 17.10
- CMake 3.5+ requirement
- Support CPython 3.13 with windows lib finding fix
- Don't die on PermissionError during chmod
- Remove usage of deprecated distutils in cmake files
- Use first available option for vswhere output
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Fixed 'recorder' not saving and loading response headers with yaml files.
* Mulligan on 0.25.1 to run release pipeline correctly.
* Added 'matchers.body_matcher' for matching string request bodies.
* Fixed tests failures during RPM package builds.
* Fix mocked HEAD responses that have 'Content-Length' set.
* Fixed error messages when matches fail: inputs are not sorted or reformatted.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix parsing of INFO response
- Handle lists in the response of INFO
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- docs: correct Homepage URL
- Bump and fix CI for new setuptools
- Move changelog to GH releases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Reduce verbosity of "Waiting for suitable server to become available" log message
- Add Custom CodeQL Scanning
- Use deferred imports instead of lazy module loading
- Optimize find/aggregate/command by avoiding duplicate calls to _get_topology
- Improve import time on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Make a response in the tests a MISPUser obj.
- Tests failing du to missing error.
- Get the tests to pass.
- Properly load AnalystData from dict.
- More changes to get the tests to pass.
- [event-report] Make sure to generate an UUID.
- Pass kwargs to abstract.
- [analyst-data] Added initial support of analyst data concept and
functions - WiP.
- A bit more refactoring.
- Use from_dict in the mixin to initialize the objects.
- [analyst-data] Added improvements, API endpoints and tests.
- [analyst-data] Make sure to include note_type_name.
- Make mypy happy, change inheritance.
- Allow orgc context for search_galaxy_clusters.
- [analyst-data] Continued implementation of analyst-data support.
- Allow orgc context for search_galaxy_clusters.
- Add test case.
- Add attach galaxy cluster method.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* E721: Fix false positive of the form 'x.type(...) =='.
* E502: Fix false-negative with a backslash escape in a comment.
* E204: New lint forbidding whitespace after decorator '@'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
New features:
-------------
Allow passing exception classes for KeyboardInterrupt and EOFError in PromptSession.
Fixes:
----------
Compute padding parameters for Box widget lazily.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix detection of invalid conversion between offset and delta units.
- Added dBW, decibel Watts, which is used in RF high power applications
- NumPy 2.0 support
- Implement numpy roll (Related to issue #981)
- Implement numpy correlate
- Add 'dim_sort' function to _formatter_helpers.
- Add 'dim_order' and 'default_sort_func' properties to FullFormatter.
- Documented packages using pint.
- Fixed bug causing operations between arrays of quantity scalars and quantity holding
array resulting in incorrect units.
- Fix LaTeX siuntix formatting when using non_int_type=decimal.Decimal.
- Added refractive index units.
- Fix converting to offset units of higher dimension e.g. gauge pressure
- Fix unhandled TypeError when auto_reduce_dimensions=True and non_int_type=Decimal
- Improved error message in 'get_dimensionality()' when non existent units are passed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Handle unexpected hg repo when parse scm version
- Treat PDM_BUILD_SCM_VERSION empty string as unset
- Honor the current working directory when importing pdm_build.py
- Errors when using the editables backend with the includes field.
- Vendor editables
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelo:
==============
- #2189 Assigning named styles doesn't work
- #2190 Problems caused when saving workbooks created by LibreOffice
- Python 3.6 and 3.7 are no longer supported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- More makework thanks to the ass-clowns running Python. Fix issue with deprecation of datetime.utcnow() in 3.12.
- Add API for customizing the TaskWrapper implementation, suitably named get_task_wrapper_class().
- Make the revoke_all(), restore_all() and is_revoked() more robust for various input types.
- Fix bug that could occur in the event of a SIGHUP followed by a SIGINT when using thread workers.
- Added new experimental contrib module for SQS queue and S3 result storage.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Email addresses with internationalized local parts could, with rare Unicode
characters, be returned as valid but actually be invalid in their
normalized form (returned in the normalized field).
- The length check for email addresses with internationalized local parts is
now also applied to the original address string prior to Unicode NFC
normalization, which may be longer and could exceed the maximum email address
length, to protect callers who do not use the returned normalized address.
- Improved error message for IDNA domains that are too long or have invalid
characters after Unicode normalization.
- A new option to parse My Name <address@domain> strings
- Improvements to Python typing.
- Some additional tests added.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix potential XSS vulnerability in browsable API.
- Revert "Ensure CursorPagination respects nulls in the ordering field".
- Use warnings rather than logging a warning for DecimalField.
- Remove unused code.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- If you attempt to combine statement coverage data with branch coverage data,
coverage.py used to fail with the message "Can't combine arc data with line
data" or its reverse, "Can't combine line data with arc data." These messages
used internal terminology, making it hard for people to understand the problem.
They are now changed to mention "branch coverage data" and "statement coverage data."
- Fixed a minor branch coverage problem with wildcard match/case cases using names or guard clauses.
- Started testing on 3.13 free-threading (nogil) builds of Python. I'm not claiming full support yet.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- [pre-commit.ci] pre-commit autoupdate
- New logo for Bandit based on raccoon
- Start testing on Python 3.13
- Updates banner logo so it renders well in dark mode
- Add a sponsor section to README
- Ensure sarif extra is included as part of doc build
- Guard against empty call argument list
- Support configfile in .bandit file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- No stdin for python calls from bash completion functions
- Localize shell variable REPLY to avoid overwriting users' value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
File "/usr/lib/python3.12/site-packages/google/protobuf/internal/type_checkers.py", line 25, in <module>
import ctypes
ModuleNotFoundError: No module named 'ctypes'
tested on qemu86-64
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- use utime to notify workers liveness
- migrate setup to pyproject.toml
- fix numerous security vulnerabilities in HTTP parser (closing
some request smuggling vectors)
- parsing additional requests is no longer attempted past
unsupported request framing
- on HTTP versions < 1.1 support for chunked transfer is refused
(only used in exploits)
- requests conflicting configured or passed SCRIPT_NAME now
produce a verbose error
- Trailer fields are no longer inspected for headers indicating
secure scheme
- support Python 3.12
License-Update: Update license year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 5.6.4:
- Fixed compilation of C extension failing on GCC 14
- Fixed compiler warnings when building C extension
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.8:
- Wheel files that support numpy 2.0
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.9.0:
- Automatically cast the copy() argument to a string for all data
types.
- Fix _py3_executable_exists and _py2_executable_exists that had
swapped names.
- Pyperclip now "stringifies" all data types by passing it to str()
(or globals()['__builtins__'].unicode on Python 2), so passing
[1, 2, 3] would put '[1, 2, 3]' on the clipboard.
- shutil.which() replaces the custom code (except in 2.7 and below
which doesn't have shutil.which()).
- Remove waitForPaste() and waitForNewPaste() functions, these
aren't something the core library should have.
- Reordered so that xclip is chosen before xsel since xclip is more
popular.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.0:
- Make transition from 1.x to 2.x version smoother
- Fix "protocol" property
- Fix publish() a bytearray payload
- Fix some type annotations
- Fix loop_stop() not stopping thread when called from callback
- Fix some documentation errors
- Add support for Unix socket
- Fix flaky test
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.4.1:
- Parsing of the Transfer-Encoding header is now stricter.
- Handling of whitespace in headers now matches the RFC more
closely. Only space and tab characters are treated as whitespace
and stripped from the beginning and end of header values.
- tornado.curl_httpclient now prohibits carriage return and
linefeed headers in HTTP headers.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.3.71:
- Properly decode AksIM-2 warning and error bits
- Make MA732 trimming for off-axis applications actually work
- When encoders are no longer active, stop using them and
trigger a fault
- Limit the commanded velocity to something physically achievable
- Fault if a non-reducing gear ratio is configured without overriding
- Default bemf_feedforward to 0.0, and fault if it is configured
non-zero without acceleration limits or override
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
gRPC channelz is used to expose runtime statistics for administration
and debugging purposes.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
gRPC reflection allows tools like grpcurl and postman to use a service
without having the respective .proto files.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 1.2.1:
- Update docs structure, adding Contribution and Code of Conduct
sections
- Drop ``bumpversion`` for ``bump-my-version`` and add ``make
package-test`` to build and test the package before pushing to
pypi.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 3.15.3:
- Add test for virtualenv stability
- Fix TypeError: _CountedFileLock.__init__() got an unexpected
keyword argument 'timeout'
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 2.1.0:
- Correct a typo in requests_file.py
- Remove dependency on six
- Move metadata to pyproject.toml
- Correct homepage link in pyproject.toml
- Fix black formatting
- Set the request property in the returned Response object
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.1.1:
- Web3.is_address now returns True for non-checksummed addresses.
- Upgrades from the template with support for Python 3.12 and
linting with blocklint.
- Remove cached_property dependency, as it was only for <=py37
- Update networks for latest changes and testnets.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is minor release that contains some fixes and code improvements.
There are no new interfaces but line.Value can now correctly be cast to
bool and __repr__() implementations have been fixed to actually allow
using them to recreate objects.
Starting from this release pypi also provides wheels but this isn't
relevant to meta-oe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This needs to be upgraded to 2.19+ but until then
backport a fix to keep it building.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
============
- Add :func:'embed_image()' worksheet method to embed images in cells.
- Fix issue where a horizontal alignment format was ignored if indentation was
also set.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Added support for checking against static protocols
- Fixed some compatibility problems when running on Python 3.13
- Fixed test suite incompatibility with pytest 8.2
- Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just present)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Remove the extra minus sign added to the float value after calculation.
- Fix unexpected newline added after accessing the out-of-order table.
- Support | and |= operator for tables, and support + and += operator for arrays.
- Fix an index error when setting dotted keys in a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
treewide:
----------
support passing USB paths (e.g. 3-1.2) to snagboot instead of
vid:pid addresses
i.MX:
-------
Drop libhidapi dependency and add custom HID implementation
Add support for i.MX53 SoCs
AM335x:
-------
Improve POSIX compliance of setup script and make it compatible
with Fish shell
AM62x:
--------
Update recovery flow for newer versions of U-Boot
Add board template for phyBOARD-Lyra
snagflash:
----------
Handle "continue" command gracefully
Generalize handling of command parameters
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fixed async D-Bus properties not having a proper generic typing.
- Fixed build not working when systemd has a minor version suffix.
- Fixed being unable to name arguments in D-Bus introspection when
- method has no return arguments.
- Fixed serving D-Bus methods that return a single struct.
- Fixed sending extremely large D-Bus messages getting stuck.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Make it possible to customize SSL ciphers
- Fix breaking change: message in LockError is now optional
- Allow setting the minimum SSL version
- Add modules support to Async RedisCluster
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Remove custom PyYAML types definition module, use that from types-PyYAML instead.
- Add mypy hook in pre-commit
- Better type hints/annotations
- Better type hints
- Some optimizations and bugfix
- Add py.typed file, make the package PEP-561 friendly
- data-class attribute order changed in yaml_include.Constructor
- namespace changed to yaml_include
- Data class for include statement.
- autoload attribute for Constructor class, controlling if open and parse including files, or return a Data object.
- Representer class for YAML dumping.
- load and lazy_load function - recursive open and parse for Data object.
- Custom loader
- Introduce fsspec to open including files. Now we can include files from local filesystem, s3, http, sftp ...
- New parameters for the tag in YAML
- Drop python support blow 3.8
- The tag constructor class YamlIncludeConstructor renamed to Constructor
- Readers for JSON, TOML, INI ... YAML only now
- The argument relative and encoding was removed from the tag class's load method.
- Anchor (Maybe recovered in future)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Fixed a bug where PyMongo could not be used with the Nuitka compiler.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Fixed Mixer.getvolume() returning outdated value
- Fixed PCM crashing with some sample formats due to buffer size miscalculation
- Fixed PCM.read() ignoring overruns (regression in 0.10.0)
- Reverted to PCM.write() not throwing an exception on playback buffer underrun;
instead, return -EPIPE like PCM.read() does on overrun
- Added PCM.avail() and PCM.polldescriptors_revents() functions
- Added nominal_bits and physical_bits entries to PCM.info()'s return value
- Added Python type hint file, and adjusted documentation accordingly
-Improvements to the examples, in particular isine.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Speed up extraction when number of files is large
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Improve performance of 'GrammarCompleter' (faster deduplication of completions).
- Accept 'os.PathLike' in 'FileHistory' (typing fix).
- Fix memory leak in filters.
- Improve performance of progress bar formatters.
- Fix compatibility when a SIGINT handler is installed by non-Python (Rust, C).
- Limit number of completions in buffer to 10k by default (for performance).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Build wheel from sdist if available, to make sure sdist is built properly.
This behavior is consistent with pypa/build.
- Fix the issue of self-referencing extra dependencies failing to be resolved
for local packages.
- Fix an issue of max recursion depth error when parsing a poetry project with
circular dependencies on local packages.
- Fix a bug that VCS dependencies and --self don't work in the exported
requirements.txt with hashes.
- Fix a cache miss when there exist built wheels for a given link.
- Don't try to store caches when --no-cache is given.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Remove support for python 3.7 and older
- Add tag_filter as a way to pre-filter tags
- Error about dynamic project version
- ci: CI matrix on macos latest
- Use Literal type for valid target values
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Column name caches are slow and use a lot of memory
- Improved handling of duplicate named styles
- Rich-text can be saved if lxml is not installed
- Documentation for sheet views is incorrect
- Timedeltas not read properly in read-only mode
- List of formulae names contains mistakes
- Filters does not handle non-numerical filters
- Type checking increases exponentially
- Loading pivot tables can be unnecessarily slow
- Improve performance when reading files with lots of custom properties
- Setting Trendline.name attribute raises exception when saving
- Timezone and Zombie formatting cannot be combined.
- Column name generation is inefficient and slow
- File handlers not always released in read-only mode
- Workbook files not properly closed on Python >= 3.11.8 and Windows
- Pivot cache definitions using tupleCache had serialisation issues
- Add a __repr__ method for Row and Column dimension objects so you don't need to check every time.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add partial address expansion in IPNetwork via the expand_partial switch, this
enables opting into pre-1.1.0 behavior
- Fix running the test suite on musl systems
- Fix IPAddress IPv6 parsing with ZEROFILL enabled
- Fix handling of the NOHOST flag in the IPNetwork copy constructor
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- exclude C/Cython files from wheel
- Build pure Python wheel for minor architectures.
- update Cython to 3.0.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- replaces the unicode micro symbol with greek letter mu,
visually identical but should fix nfkc normalisations issues.
- introduces "intersphinx_registry" as a new dependency
which is recommended only to build documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Handle EndOfStream exception for anyio backend.
- Allow trio 0.25.* series in package dependancies.
- Add target request extension.
- Fix support for connection Upgrade and CONNECT when some data in the stream has been read.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fixes#409: IndexError on empty strong mark.
- Fix#332: Insert at most one space for multiple emphasis
- Feature #318: Make padded tables more similar to pandoc's pipe_tables.
- Add support for Python 3.9.
- Fix extra line breaks inside html link text (between '[' and ']')
- Fix#344: indent <ul> inside <ol> three spaces instead of two to comply with CommonMark, GFM, etc.
- Fix#324: unnecessary spaces around <b>, <em>, and strike tags.
- Don't wrap tables by default and add a --wrap-tables config option.
- Feature #198: Ignore <p> tags inside table rows.
- Don't wrap tables by default and add a --wrap-tables config option
- Remove support for Python <= 3.5. Now requires Python 3.6+.
- Support for Python 3.10+.
- Fix#320 padding empty tables and tables with no </tr> tags.
- Add ignore_mailto_links config option to ignore mailto: style links.
- Feature #407: Support the superscript and subscript tags.
- Fix#373: \n inside text of a Markdown link.
- Feature #406: Improve support for null atttibute values.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add to_0x_hex() method to provide a quick, explicit way to get an 0x-prefixed string
- Change the name of master branch to main
- Merge template updates, notably adding py312 support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2024.
Changelog:
==========
- Small updates to the docs
- Add SECURITY.md describing security policy
- Fix pasteurize: NameError: name 'unicode' is not defined
- Move CI to GitHub Actions
- Add setuptools to requirements for building docs
- Fix typos in docs
- Make the fix_unpacking fixer more robust
- Small improvements to shell scripts according to shellcheck
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Provide fallback value for FF_MAX_EFFECTS, which fixes the build on EL 7
- Add #ifdef guards around UI_GET_SYSNAME to improve kernel compatibility
- Wait up to two seconds for uinput devices to appear.
- Respect the CPATH/C_INCLUDE_PATH environment variables during install.
- Add the uniq address to the string representation of InputDevice.
- Improved method for finding the device node corresponding to a uinput device
- Repository TLC (reformatted with ruff, fixed linting warnings, moved
packaging metadata to pyproject.toml etc.).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Merge template updates, notably adding py312 support and testing docs build for all formats
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed typo 'marking' instead of 'marketing' in case-insensitive mailbox name list.
- When DNS-based deliverability checks fail, in some cases exceptions are now
thrown with raise ... from for better nested exception tracking.
- Fixed tests to work when no local resolver can be configured.
- This project is now licensed under the Unlicense (instead of CC0).
- Minor improvements to tests.
- Minor improvements to code style.
License-Update: Relicense under the Unlicense (instead of CC0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Performance improvements for combining data files, especially when measuring
line coverage. A few different quadratic behaviors were eliminated.
- Performance improvements for generating HTML reports, with a side benefit of
reducing memory use, closing issue 1791. Thanks to Daniel Diniz for helping to
diagnose the problem.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- Fix a regression in 0.23.0 that could defeat type inference of a bidict's key
type and value type when running in Python 3.8 or 3.9.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport upstream abseil-cpp fix[1] for SIGILL crash on RISC-V with
6.6 and newer kernels. The patch has been tweaked to apply on top
of the existing patch stack to the vendored copy of abseil-cpp.
[1]: https://github.com/abseil/abseil-cpp/commit/7335a36d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- This recipe is needed by newer versions of fwupd from meta-oe
- Add ptest support for python3-pefile
- Add python3-pefile to PTESTS_FAST_META_OE since tests take < 30s
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cython 3.0.10 generates code which causes compiler errors:
src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types]
>From discussion upstream, removing the final decorator works around this.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Renaming is no longer needed sunce the SOABI
has been fixed to reflext correct ABI depending
upon target
Therefore revert it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Version 2.13 -> 2.13.1
----------------------
- change c++11 to c++17 in setup.py as current versions of ICU require it
Version 2.12 -> 2.13
--------------------
- fixed build issues on Windows
- added wrappers for MeasureUnit(locale, width) and getUnitDisplayName()
- added wrappers for DateFormatSymbols.getEra|ZodiacNames()
- added wrappers for DateFormatSymbols.getZoneStrings()
- added wrappers for LocaleDisplayNames
- fixed bug dealloc calling wrong destructor on most types (Fredrik Roubert)
- added support for ICU 75.1
- added wrappers for LocalizedNumber|Range|Formatter.withoutLocale()
- added wrappers for UIdentifierType, Char.hasIDType(), Char.getIDTypes()
- added wrappers for UIdentifierStatus
- added wrappers for UProperty.IDENTIFIER_TYPE, UProperty.IDENTIFIER_STATUS
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default. #5448
Don't initialize the cli attribute in the sansio scaffold, but rather in the Flask concrete class. #5270
The license file was renamed from LICENSE.rst to LICENSE.txt without changing the content.
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dasbus is a DBus library written in Python 3, based on GLib
and inspired by pydbus.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Properly propagate exceptions from the message listener task to the main loop
for persistent connection providers.
- Warn of updates to WebSocketProvider in v7
- Condense the migration guides into one page
- Add py312 support by adding it to CI testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- virtualenv.pyz no longer fails when zipapp path contains a symlink
- Fix bad return code from activate.sh if hashing is disabled
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- hotfix: ensure _tld.txt is in sdist and bdist
- fix: corrects a few typo
- build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /package
- fix(ip_address): properly handle private is false
- chore(url): allow symbols and pictographs in url
- build(deps): bump requests from 2.31.0 to 2.32.0 in /package
- chore: fix typo; update dev deps; bump version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Small fix for pkg_resources StrPath
- Make shutil.rmtree.onexc parameter optional
- distutils & setuptools: Relax path related params
- Make distutils.dist.Distribution.get_command_obj not return None by default
- distutils & setuptools: Complete sub_commands ClassVar typing
- distutils: improve boolean parameters with int defaults
- Avoid using new _typeshed protocol in pkg_resources for now
- Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder
- Add precise values for enum members where possible
- Ensure that distutils and setuptools._distutils stay consistent
- Update setuptools to 69.5.*
- Add distutils as a top-level package included with types-setuptools
- setuptools&distutils: setup returns a Distribution
- setup returns a Distribution
- pkg_resources: Make _InstallerType stricter and generic
- Use strict pyright configs for pkg_resources
- pkg_resources: Updates from upstream typing merge
- pkg_resources: Remove stray Anys and use more Self & NoReturn types
- pkg_resources: Remove type-only _Importer class
- pkg_resources: Types from assignments and aliases
- Override pkg_resources.ZipProvider.loader type
- setuptools & pkg_resources: Complete VendorImporter class
- pkg_resources: don't ignore "missing symbol from stub" in stubtest
- Fix invalid noqa comments and poorly formatted type ignores
- pkg_resources: Reorder names to be closer to implementation
- Improve typing of sysconfig.get_config_var(s)
- fix: typo on setuptools
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix may_ always returning false for internal transitions
- Pass investigated transition to EventData context in 'may' check
- Improve the handling of diagrams when working with parallel states,
especially when using the show_roi option
- Exception is not broad enough and does not catch asyncio.CancelledError or
KeyboardInterrupt; use BaseException instead
- '_anchor' suffix has been removed for (py)graphviz cluster node anchors
- local testing switched from tox to nox
- Remove surrounding whitespace from docstrings
- Add on_final to Machine and NestedState constructor and final to State.
Callbacks passed to on_final will be executed when a State with final=True is
entered or all children of a parallel state are final.
- Process exceptions with Machine.on_exception in may_ as well
- Improved handling of removing transitions for GraphMachine and HiearachicalMachine
- Better handling of unset styling in GraphMachine
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Use current master__ version of rapidjson
- Generate wheels on PyPI using Python 3.13b1 release, thanks to cibuildwheel 2.18.0__
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Upgrade zstd source code from v1.5.5 to v1.5.6
- Fix pyzstd_pep517 parameter name in get_requires_for_build_wheel
- Deprecate support for Python version before 3.8 and stop building wheels for them
- Minor fixes in type hints
- Refactor README & CHANGELOG files
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix typo in example docs
- Update --table example
- Include CONFIG_ARGS in Metadata
- Fix typos discovered by codespell
- tox.ini: Replace flake8 with ruff
- Add some ruff rules for pyupgrade
- Disable TurboBoost tuning settings on non-Intel
- Fix logic in MSR availability test
- gh-187: Support environment variables PYTHON_GIL / PYTHON_CPU_COUNT
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Add CURLOPT_REQUEST_TARGET option
* Add missing 2nd parameters to METH_NOARGS functions
* Add CURLOPT_AWS_SIGV4 option
* Add consistent names for newer Curl version constants
* Only run HTTP version 3 option constant test if curl supported
* Expose COMPILE_SSL_LIB in Python and use for test filtering
* Filter tests based on *compile* libcurl version not runtime version
* Use print function in callbacks documentation
* Add missing shebang to tests/ext/test-suite.sh
* Officially declare support for Python 3.12
* Fix curl_multi_info_read flow that loses messages
* Support using environment variables for setup on Windows
* Add support for Schannel SSL backend
* Skip HTTP2 tests based on a curl support check
* Fix fake-curl tests so they work when run out of tree
* xfail test_easy_pause_unpause unconditionally
* Provide generic error strings in pycurl.error objects
* Change URLs to new curl mailing list
* Add missing HTTPS proxy options
* Add support for setting CURLOPT_SSLCERT_BLOB
* Add support for setting rest of CURLOPTTYPE_BLOB fields
* Build wheels on Linux/macOS/Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
ix android detection when python4android is present
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed pdm venv activate, to also work for windows. And added documentation on
how to authenticate to Azure Artifacts
- Don't show unsupported formats in pdm export.
- Proxy (HTTP_PROXY env vars) settings are ignored for custom indexes.
- Fix the quoting of venv activate command for powershell.
- Raise an error if the package given by pdm update does not exist in the select
dependency group but in other groups.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix bug:
Clear exception flag on disconnect future if its also sent to handlers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Some codes representing exotic float negative zero converted to positive zero.
- Auto-scaling rounding the wrong way on occasion.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Improve inference for generic classes using the PEP 695 syntax (Python 3.12).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
File "/usr/lib/python3.12/site-packages/werkzeug/routing/exceptions.py", line 3, in <module>
import difflib
ModuleNotFoundError: No module named 'difflib'
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Disable doctest in docs/web3.eth.account.rst due to eth-account deprecation
of messageHash for message_hash
- Deprecate the geth.personal namespace methods. These will be removed in web3.py v7.
- Internal Changes - for web3.py Contributors
- Increase pytest-asyncio dependency to be >=0.21.2,<0.23
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Relicense from LGPL-2.1+ to BSD-2-Clause-Patent
Changelog:
==========
- trivial: Fix make ruff
- Correctly validate missing license and compiler links
- Use the correct link rel in the compiler example
- trivial: Provide more __str__ for the IntEnum classes
- Be more forgiving when using importlib
- trivial: Fix up all the mypy and pylint warnings
- Rename identity to component
- Add initial support for VEX
- Add a validation failure for REDACTED text
- Relicense from LGPL-2.1+ to BSD-2-Clause-Patent
- trivial: Document --generate
- Use flynt to convert to f-strings
- trivial: Add a make target for ruff
- Save HEX strings as bytes to minimize coSWID size
- Allow outputting multi-document SWID XML files
- trivial: Allow saving uSWID with no compression
- trivial: post release version bump
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
<time.h> now needs to be included explicitly because Python.h no longer includes it.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Use get_runner() method to build the task runner in run command.
runner_cls attribute is deprecated.
- Expand ${PROJECT_ROOT} in source URLs.
- Fix env and other options being inherited in nested composite scripts.
- Keep the ${PROJECT_ROOT} variable in dependencies after running pdm lock
--update-reuse.
- Make direct_minimal_versions work on newly added dependencies.
- Fix a syntax error in the zsh completion script.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
=========
- Fixed incorrect formatting of package description on Pypi by setting the
correct content type in setup.py.
- Fixed safety issues up to 2024-05-04.
- Test: Removed setup.py based installs from "make installtest", since one
of them started installing a pre-release of a package on an unsupported
Python version. The recommendation has been for a while now to no longer use
- Docs: Added RTD config file .readthedocs.yaml
- In the Github Actions test workflow for Python 3.6 and 3.7, changed
macos-latest back to macos-12 because macos-latest got upgraded from macOS
12 to macOS 14 which no longer supports these Python versions.
- Test: Fixed issues resulting from removal of support for pytest.warns(None)
in pytest version 8.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
=============
- Docs: Added Python 3.12 to the supported versions in the package metadata.
- Docs: Updated the README file with the changes from the introduction section
w.r.t. Python 2 and limitations.
- Dev: Fixed flake8 issue about comparing types in test code.
- Fixed safety issues up to 2024-05-05. No changes in package dependencies.
- Test: Removed setup.py based installs from "make installtest", since one of
them started installing a pre-release of a package on an unsupported Python
version. The recommendation has been for a while now to no longer use
- Docs: Added RTD config file .readthedocs.yaml
- Test: In the Github Actions test workflow for Python 3.6 and 3.7, changed
macos-latest back to macos-12 because macos-latest got upgraded from macOS 12
to macOS 14 which no longer supports these Python versions.
- Test: Fixed issues resulting from removal of support for pytest.warns(None)
in pytest version 8.
- Docs: Converted README file from RST to MarkDown to fix badge alignment issue
- Dev: Added missing dependency to minimum-constraints.txt to several make
targets that used it with PACKAGE_LEVEL=minimum.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-lib-python-remove-self-import-from-setup.py.patch
removed since it's included in 0.3.68
Changelog:
===========
Support moteus-c1
Properly detect board hardware when DC input turn-on slew is very slow
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix syntax error in a keyboard layout name for t
- Add mdf
- Use "in(eng)" keyboard layout instead of "us" for BD to get AltGr enabled
- Get translation changes from CLDR
- Add option to include changed translations as well to the script getting translations from CLDR
- Add reference to the the PyPI package to the README.md. And add a README.html and README generated from the README.md.
- Make test outputs somewhat more verbose, even when all tests pass
- Fix Makefile twine-upload target for new authentification
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- TST add a test that ensures conservation of byte order during IPC
- DOC fix typos in CHANGES.rst
- DOC typo in docs
- FIX revert MemorizedFunc.call API change
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix the typing of the 'tick()' method, and improve it's behaviour.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
feat: blocking parameter on lock constructor with tests and docs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Fixed a bug in Django 5.0 that caused a crash of Model.save() when creating an
instance of a model with a GeneratedField and providing a primary key
- Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when
validating email max line lengths with content decoded using the
surrogateescape error handling scheme
- Fixed a bug in Django 5.0 that caused a crash when applying migrations
including alterations to GeneratedField such as setting db_index=True on SQLite
- Allowed importing aprefetch_related_objects from django.db.models
- Fixed a bug in Django 5.0 that caused a migration crash when a GeneratedField
was added before any of the referenced fields from its expression definition
- Fixed a bug in Django 5.0 that caused a migration crash when altering a
GeneratedField referencing a renamed field
- Fixed a bug in Django 5.0 where the querysets argument of GenericPrefetch was
not required
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
file type changed from "ASCII text, with CRLF line terminators" to "ASCII text"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- .pyi stub files are now preferred over .py files when resolving imports, (except for numpy).
- igetattr() returns the last same-named function in a class (instead of
the first). This avoids false positives in pylint with @overload.
- Adds module_denylist to AstroidManager for modules to be skipped during AST
generation. Modules in this list will cause an AstroidImportError to be raised
when an AST for them is requested.
- Make astroid.interpreter._import.util.is_namespace only consider modules
using a loader set to NamespaceLoader or None as namespaces.
This fixes a problem that six.moves brain was not effective if six.moves
was already imported.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crypto: use _Generic only if !defined(__cplusplus)
* fixes build with gcc-14 which has __builtin_addc and __builtin_subc
with gcc-13 it was already using the #else branch because of missing builtins
* fixes
https://github.com/grpc/grpc/issues/35945http://errors.yoctoproject.org/Errors/Details/766916/
* _Generic was introduced in boringssl with:
https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4
* but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes
this internal.h and from the .cc extension gcc will process it as C++
where _Generic isn't available, causing:
In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125:
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)':
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned'
1159 | unsigned: __builtin_addc, \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned'
1160 | unsigned long: __builtin_addcl, \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned'
1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry))
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope
1158 | (_Generic((x), \
| ^~~~~~~~
third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC'
1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
| ^~~~~~~~~~~~~~~~~~~
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes an issue where split packages were no populated since all the files
were picked up by FILES:${PN}
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Update validation errors with logging stack trace in debug mode
- Improve locations parsing and URL encoding
- Rewrite the validation of openContent using InterleavedModelVisitor and SuffixedModelVisitor
- Fix validation of XSD 1.1 'all' nested models
- Improve ModelVisitor and particle occurs checking
- Fix interleave mode with XSD 1.1 open content
- Fix for export/download of XSD sources with commented-out imports/include
- Add download_schemas() to package API
- Fix issue with facets on list types
- Add GData converter
- Fix static typing protocols usage
- Extend XSD annotations parsing
- Use XPath subtree as fragment for xs:assert
- Fix in XMLSchemaProxy definition and usage for providing a base-uri to schema nodes
- Module xpath.py splitted to a subpackage for including all the
- custom XPath 1.0/2.0 parsers and related classes to XPath
- Add support for Python 3.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Revert pin of eth-typing to utilize EthPM types.
- Add upper pin to eth-account in anticipation of breaking changes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fixed a case when template variable is WindowsPath
- Allow builtin interpreter discovery to find specific Python versions given a general spec
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add precise values for enum members where possible
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
- Add support for multiple appending override options (-x, -override) on command line
- Add support for inverting exit code success criteria using bang
- Fix issue that the leading character c was dropped from packages in constraints files
- Allow appending to deps with --override testenv.deps+=foo
- Fix non-existing branch rewrite in the documentation to main.
- Update test typing for build 1.2.0, which has an explicit Distribution type
- Fix broken input parsing for --discover flag.
- Rephrase --discover flag's description to avoid confusion between paths and executables.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add python 3.12 support, rust-backend now works with python 3.11 and 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Bump pydantic-core to v2.18.2
-Ftp and Websocket connection strings support
-Use field description for RootModel schema description when there is no docstring
-Fix validation_alias behavior with model_construct for AliasChoices and AliasPath
-Revert typing.Literal and import it outside the TYPE_CHECKING block
-Fix Secret serialization schema, applicable for unions
-Fix strict application to function-after with use_enum_values
-Address case where model_construct on a class which defines model_post_init fails with AttributeError
-Fix model_json_schema with config types
-Support multiple zeros as an int
-Fix validation of ints with leading unary plus
-Fix interaction between extra != 'ignore' and from_attributes=True
-Handle error from Enum's missing function as ValidationError
-Fix memory leak with Iterable validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Switch to ruff for formatting and use codespell and docformatter
- Use hatch over tox
- chore: various minor fixes
- chore: update dead Microsoft's known folders documentation link
- Allow working without ctypes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Disable check update in zsh completion script.
- Fixes cached packages metadata files (.referrers) collisions on sync when
using a venv with symlink cache method.
- Don't create project and virtualenv when running pdm python install.
- Clean up the python installation directory if a previous download was
unsuccessful.
- Don't cache editable installations.
- Fix a bug that installing in-project plugins with editable local paths
doesn't work.
- Don't create log directory until it's needed, to fix a PermissionError in
docker environment.
- Fix recursive script detection on multiple invocations.
- Build docs with object inventory to support cross references from Sphinx
documentation projects.
- Packages format preferences can now be defined in the project pyproject.toml
using the no-binary, only-binary and prefer-binary keys of the
tool.pdm.resolution section.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix incorrect inferred type when accessing descriptor on union type
- Fix crash when expanding invalid Unpack in a Callable alias
- Fix false positive when string formatting with string enum
- Narrow individual items when matching a tuple to a sequence pattern
- Fix false positive from type variable within TypeGuard or TypeIs
- Improve yield from inference for unions of generators
- Fix emulating hash method logic in attrs classes
- Add reverted typeshed commit that uses ParamSpec for functools.wraps
- Fix type narrowing for types.EllipsisType
- Fix single item enum match type exhaustion
- Improve type inference with empty collections
- Fix override checking for decorated property
- Fix narrowing on match with function subject
- Allow +N within Literal[...]
- Experimental: Support TypedDict within type[...]
- Experimtental: Fix issue with TypedDict with optional keys in type[...]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- pytest 8 compatibility
- typing-extension now needs 4.6 or newer. It was already the case, but not explicated.
- Attempt to speed running code under debugger in some cases.
- Multiple fixes to documentation for ipyparallel, simple_prompt and emacs
- Maintenance and cleanup of debugger
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix bug of #1068 that getattr cannot get attribute with index directly
- Update pyav.py
- Trivial typo fixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>