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>
Changelog:
============
* The default ignore list now contains the 'queue'-package
* Added a missing 'move_to'-function when calling 'freeze_time(tick=True)'
* Fixes a rounding error in 'time.time_ns()'
* Fixed a bug where the default ignore list could not be empty ('configure(default_ignore_list=[])')
* All 'tick()' methods now return the new datetime (instead of None)
* Type improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-UPdate:
format of LICENSE updated to "ASCII text, with CRLF line terminators"
Changelog:
==========
- Module crashes on import with 32-bit Python.
- Lists of integers not converted to bytes when using the bytes constructor.
- Empty comma separated tokens not handled correctly.
- Crash on import when docstrings not present due to optimize flag.
- Dropped support for Python 3.7. Minimum version is now 3.8.
- For tokens that use a non-numeric length, a ':' is now compulsory rather than
recommended. For example use 'uint:foo' instead of 'uintfoo'.
- The previous e4m3float and e5m2float formats have become the slightly modified
p4binary8 and p3binary8 formats.
- Some parameters are now enforced as positional only, such as auto in constructors.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fixed "Unclosed client session" when initialization of
:py:class:~aiohttp.ClientSession fails -- by :user:NewGlad.
- Fixed regression (from :pr:8280) with adding Content-Disposition to the form-data
part after appending to writer -- by :user:Dreamsorcerer/:user:Olegt0rr.
- Added default Content-Disposition in multipart/form-data responses to avoid broken
form-data responses -- by :user:Dreamsorcerer.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The flow module was removed in Twisted 9.0.0 a long time
and currently does not install anything. Let's remove it
to cleanup the recipe.
This commit also removes python3-twisted-news package because
the source files were removed in Twisted 21.2.0. All other
files which no longer exist in the source are also removed from FILES.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It looks like python3-six was dropped as a dependency between
version 3.17.0 and 3.18.0. Looking at the PyPi downloads indicates
this coincides with when Python 2 support was dropped.
I couldn't find any release notes so this patch is based on looking
at the source code downloaded from PyPi.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- build backend is hatchling.build
- python3-six is not a runtime dependency, it's not imported anywhere in the source
- add python3-asyncio to RDEPENDS
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-six is no longer a dependency and Python 2 support has already been dropped.
Change python3-twisted to python3-twisted-core such that only required modules
are installed.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Correct way to convert bytes to string if orjson exists.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add preliminary support for Python 3.13 as of 3.13a6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add feedback survey banner to docs
-Fix eth_createAccessList docs to reflect the correct behavior.
-Add request formatter for maxFeePerBlobGas when sending blob transactions. Add
formatters for blobGasPrice and blobGasUsed for eth_getTransactionReceipt.
-Add formatters to ensure that the result of a eth_createAccessList response
can be plugged directly into an accessList in a transaction.
-Add Cancun support to EthereumTesterProvider; update Cancun-related fields in
some internal types.
-Use pre-commit for linting the v6 branch
-Add an upperpin at eth-typing<4.2.0 due to removal of EthPM types in that lib
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-patch: moves country_code module to country module
moves base58 and base64 into encoding
adds encoding tests and docs
supported extended latin in username
-feat: adds indian aadhar and pan validator
adds finance validator
adds consider_tld parameter to domain, hostname and url modules
lays foundation for URI validation
adds private parameter to ip_address, hostname & url
adds base58 and base64 validators
adds basic cron validator
-fix: regex ignore-case uses only a-z
domain validation is now more consistent across rfcs
-maint: adds quick start docs
updated dev dependencies, doc links; bump version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Allow to upsert monitors
-Add Django signals_denylist to filter signals that are attached to by signals_spans
-increment for metrics
-Add value, unit to before_emit_metric
-Remove experimental metric summary options
-New normalization rules for metric keys, names, units, tags
-Change data_category from statsd to metric_bucket
-Accessing __mro__ might throw a ValueError
-Suppress prompt spawned by subprocess when using pythonw
-Handle None in GraphQL query
-Do not send "quiet" Sanic exceptions to Sentry
-Implement metric_bucket rate limits
-Fix type hints for monitor decorator
-Remove deprecated typing imports in crons
-Make monitor_config a TypedDict
-Add devenv-requirements.txt and update env setup instructions
-Bump types-protobuf from 4.24.0.20240311 to 4.24.0.20240408
-Disable Codecov check run annotations
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:
===========
-Support unrar-free >= 0.2.0.
-Add RarFile.is_solid to check if archive uses solid compression.
-Support old multi-volume archives better where ENDARC does not contain NEXTVOL.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add lock to async requests, correct logging and length calc.
-test_simulator: use unused_tcp_port fixture
-streamline imports in Factory.py
-Secure testing is done with pymodbus in PR.
-Fix link to github in README
-Wildcard exception catch from pyserial.
-Problem with stale CI.
-Add connection exception to list of exceptions catpured in retries
-Move on_reconnect to client level
-Bump github stale.
-update package_test_tool (add 4 test scenarios)
-Bump dependencies.
-Cancel send if no connection.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Revert the package cache introduced in 2.13. Don't cache the decompressed
contents of wheels unless being told so.
-Fix inconsistent logging when pdm use a different python interpreter
-Fix PDM unable to find Python interpreters when PDM_IGNORE_ACTIVE_VENV is set
-Check verify_ssl when trusting each source.
-Fix name check for project itself in pdm outdated
-Fix a regression that proxy env vars are not respected.
-Fix an issue that venv provider can't be found when providers are explicitly
configured.
-Fix a bug that [tool.pdm.options] are ignored if -c/--config CONFIG is given.
-Make --without respect groups in dev-dependencies
-Per-source configuration for ca-certs and client-cert.
-Remove all caches by removing individual cache types one by one.
-Use the default HTTP client when downloading the pythons, to use the
certificates settings.
-Fix a race condition where pth files take effect when multiple packages are
installed in parallel.
-Refuse to run recursive composite scripts.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add .symlink_to and .hardlink_to.
-Add .cwd method and deprecated .getcwd.
-Create 'absolute' method and deprecate 'abspath'.
-In readlink, prefer the display path to the substitute path.
-Restore functionality in .isdir and .isfile.
-Added .is_dir and .is_file for parity with pathlib. Deprecates .isdir and .isfile.
-Inlined some types.
-Fix iterdir - it also accepts match.
-Add type annotation for iterdir.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Added support for java.lang.Class arrays
-Fixed marshalling of JavaByteArrays
-Tests ran with pytest manually on Python 2.7, 3.6-3.12
License-Update:
type of LICENSE changed to "ASCII text, with CRLF line terminators"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix small typo: imput -> input
-Add a matplotlib optional target dependency
-Disable scheduled CI runs on forks
-add __repr__ to MagicsDisplay
-correct ci message
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed regression in 2.1.0 where the strconfig argument to load/loads is ignored
-Added main_thread_only execmodel which is derived from the thread execmodel and
only executes remote_exec calls in the main thread.
-The library is now typed and the typing is exposed to type-checkers.
-Re-exported Gateway, Channel, DumpError and LoadError from execnet. The constructors are private.
-Fixed GatewayBase.join() timeout argument getting ignored.
-Removed support for Python 3.7.
-Added official support for Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Update documentation to include blob transaction signing example.
-Import cytoolz methods via eth_utils instead of cytoolz directly
-Add encode_typed_data to list of functions that return a SignableMessage
-Add support for type 3, BlobTransaction, introduced by the Cancun network upgrade.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Upgrade parsimonious from 0.9 to 0.10, which is 15% faster
-Add python 3.12 support, add all-format docs tests and nightly CI runs, reorg
tests file structure to match CI grouping
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.full_clean()" on
fields with expressions in "db_default". As a consequence,
"Model.full_clean()" no longer validates for empty values in fields with
"db_default"
* Fixed a regression in Django 5.0 where the "AdminFileWidget" could be
rendered with two "id" attributes on the "Clear" checkbox
* Fixed a bug in Django 5.0 that caused a migration crash on PostgreSQL 15+
when adding a partial "UniqueConstraint" with "nulls_distinct"
* Fixed a crash in Django 5.0 when performing queries involving table aliases
and lookups on a "GeneratedField" of the aliased table
* Fixed a bug in Django 5.0 that caused a migration crash when adding a
"GeneratedField" relying on the "__contains" or "__icontains"
lookups or using a "Value" containing a ""%""
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed decoding of epoch-based dates being affected by the local time zone in the C extension
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Update test_query_ptr test to use address with PTR record
-Added a missing py.typed file for wheel
-Add Winloop as a valid EventLoop
-Add support for getaddrinfo
-Add support for getnameinfo
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:
- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changes are made to prepare upgrading Twisted to a newer version
in a later commit.
Summary of changes:
Remove python3-twisted-bin since there is no FILES defined for bin
Use PYTHON_SITEPACKAGES_DIR when refering to the site-packages directory
Remove ALOT of files from FILES list which no longer exist. Many of these
files were deprecated and removed a long time ago.
Removed redundant :append to FILES packages, they can simply be in the
first definition of it.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New API:
------------
to_ssh in VerifyingKey and SigningKey, supports Ed25519 keys only (Pablo Mazzini)
New features:
------------
Support for twisted Brainpool curves
Doc fix:
------------
Fix curve equation in glossary
Documentation for signature encoding and signature decoding functions
Maintenance:
------------
Dropped official support for 3.3 and 3.4 (because of problems running them
in CI, not because it's actually incompatible; support for 2.6 and 2.7 is
unaffected)
Fixes around hypothesis parameters
Officially support Python 3.11 and 3.12
Small updates to test suite to make it work with 3.11 and 3.12 and new
releases of test dependencies
Dropped the internal _rwlock module as it's unused
Added mutation testing to CI, lots of speed-ups to the test suite
to make it happen
Removal of unnecessary six.b literals (Alexandre Detiste)
Deprecations:
------------
int_to_string, string_to_int, and digest_integer from ecdsa.ecdsa
module are now considered deprecated, they will be removed in a future
release
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python package has enabled to option to build it via python_setuptools_build_meta. Therefore the recipe is updated accordingly.
Also cleaned up the list of runtime dependencies which according to the package should no longer be needed.
The difference between v2 and v3 is the addition of the upstream status in the included patch.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Packages such as aiooui need charset-normalizer as a DEPENDS instead of RDEPENDS. Therefore a the charset-normalizer recipe is extended.
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Updated copyright year and clean up authors, contributors
* 0001-explicitly-set-compile-options.patch dropped because setup.cfg moved to pyproject.toml -> (https://github.com/python-pillow/Pillow/pull/7484)
Also, we can give the build option parameters as described in the documentation -> https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options
Added build options to pass to build with using the variable PEP517_BUILD_OPTS so no need to create patch again.
* "python setup.py" and the use of "setup.py" as a command line tool are deprecated and upstream added a custom build backend to translate -C feature=disable style flags to the old --disable-feature style flags by prepending the build command (typically bdist_wheel) with a build_ext --disable-feature command which builds the extension modules before being added to a wheel. That backend uses the build_meta module of setuptools. The _CustomBuildMetaBackend class is a subclass of this module, adding custom behaviors and enabling settings specific to a particular project.
https://github.com/python-pillow/Pillow/blob/10.3.0/_custom_build/backend.py
* Ptest tested on qemux86-64 and qemuarm64 with x11.
* Since no ptest error was encountered, python3-pillow has been moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON.
Tests with SKIP are related to packages with explicitly disabled build options.
qemux86-64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 904
END: /usr/lib/python3-pillow/ptest
2024-04-06T15:56
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 4502
PASS: 4152
SKIP: 347
XFAIL: 2
FAIL: 0
XPASS: 1
ERROR: 0
DURATION: 674
END: /usr/lib/python3-pillow/ptest
2024-04-06T16:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.htmlhttps://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add missing dependency on tornado, its also flagged by some ptests
{'python3-pyzmq': ['tests/test_ioloop.py:test_ioloop',
'tests/test_ioloop.py:test_ioloop_install']}
Skip ptests which cause zeromq errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove python3-pbr from DEPENDS: when looking at the source code
it looks like pbr is used in the CI process when building for
Python 2.6 only. Python 2 is no longer supported in the Yocto
project so it can be safely removed.
Remove python3-pip from DEPENDS: pip is not a build time
dependency.
Changes were tested on Kirkstone. The requirements for
python3-ecdsa v0.18 are exactly the same.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Catch all types of "eth-abi" "DecodingError" in "EthereumTesterProvider->_make_request()"
-Fix/update methods and decorators in "web3/_utils/abi.py" to address issues
raised by "mypy"
-Fix "process_log()" when parsing logs for events with indexed and non-indexed
inputs. "get_event_data()" now compares log topics and event ABIs as hex values.
-Fix "process_log" for "HexStr" inputs. Explicit type coercion of entry "topics"
and "data" values.
-Fix typing for json data argument to "eth_signTypedData".
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add provision arguments to ToxParser to fix crash when provisioning new tox
environment without list-dependencies
-Removed unused line from the 'fresh_subprocess' documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-ref: Define types at runtime
-Explicit reexport of types
-feat(profiling): Add thread data to spans
-Add optional keep_alive
-Add support for Celery Redbeat cron tasks
-The SDK now supports the Redbeat scheduler in addition to the default Celery
Beat scheduler for auto instrumenting crons.
-aws_event can be an empty list
-Re-export Event in types.py
-Small API docs improvement
-Fixed OpenAI tests
-Bump checkouts/data-schemas from ed078ed to 8232f17
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Merge pull request #534 from iliakur/patch-1
-Drop py2 support from the wheel
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: add contributors to Copyright
Changelog:
==========
-Fix SeekableZstdFile class can't open new file in appending mode.
-Support sub-interpreter on CPython 3.12+, can utilize per-interpreter GIL.
-On CPython(3.5~3.12)+Linux, use another output buffer code that can utilize the
mremap mechanism.
-Change repository URL and maintainer following the deletion of the GitHub
account of the original author, Ma Lin (animalize)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Removed support for xdist rsync (now deprecated)
-Switched docs theme to Furo.
-Various legacy Python cleanup and CI improvements.
-Added a pyproject.toml example in the docs.
-Modernized project's pre-commit hooks to use ruff.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-tests(test_zoneinfo_as_timezone): skip if tzinfo is not available on windows
-fix(strftime): treat %% as an escape sequence
-chore(jalai.py): cleanup the code
-fix(strftime): also escape %% before c, x, and X
-fix(date, datetime): return NotImplemented for unknown type operations
-docs(README.rst): use jdatetime.FA_LOCALE instead if fa_IR
-Update python versions
-update jalali license
-update licences
-Use jalali core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright updated to 2024
Changelog:
===========
-Revert improvements to the internal tools.deprecate_positional_args() decorator
that caused false positive PendingDeprecationWarning: The signature of ... will
be reduced warnings that have been misinterpreted in the 0.20.2 release process.
-Drop Python 3.7 support (end of life 27 Jun 2023).
-Tag Python 3.11 and 3.12 support.
-Add caveat about labe escaping/quoting to .node() and .render() API docs.
-Document that doctest_skip_exe() lines in doctest should be ignored.
-Improve internal tools.deprecate_positional_args() decorator and fix incorect test assertion.
-Update GitHub actions.
-Pin pytest test dependency to <8.1 as a workaround for import file mismatch
error related to conftest.py files, in pytest 8.1.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Adds support for custom suppliers in AWS and Identity Pool credentials
-Refactor tech debt in aws and identity pool credentials
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix File field when it receives an empty value
-Fix validate.FileSize to handle SpooledTemporaryFile
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Make singleton class instance dict unique per subclass
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
*eventlet.websocket is not always used from eventlet.wsgi, so do not assume
eventlet.set_idle exists
*Make sure asyncio hub doesn't use greendns for asyncio DNS APIs
*Make asyncio.to_thread work with the same semantics as normal asyncio
*Refactor congruence checks based on assert at runtime
*Run tests on macOS in CI, and some fixes to get it in reasonable state
*Fix wsgi.server shutdown for in-flight requests
*Add debug convenience helpers - asyncio, threads
*Handle errors better.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Bump to hexbytes>=1.2.0 and add blocklint to linting
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix SearchFilter handling of quoted and comma separated strings, when
.get_search_terms is being called into by a custom class.
-Revert number of 3.15.0 issues which included unintended side-effects.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
-cassandra-driver for Python 3.12 Linux is compiled without libev support
-Consider moving to native wheel builds for OS X and removing universal2 wheels
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* Fixes a regression in 3.8.0 affecting nested task cancellation inside
sync_to_async.
* Adds support for Python 3.12.
* Drops support for (end-of-life) Python 3.7.
* Fixes task cancellation propagation to subtasks when using synchronous Django
middleware.
* Allows nesting "sync_to_async" via "asyncio.wait_for".
* Corrects WSGI adapter handling of root path.
* Handles case where `"client"` is "None" in WsgiToAsgi adapter.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-pbr is not a runtime dependency or a buildtime dependency.
The reason for this change is not only to clean up the RDEPENDS list.
But also because python3-pbr adds pip as a runtime dependency which
is not always desireable.
Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python2 is long unsupported, so we no longer need this variable. It was used to handle Python2/3 compatibility.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Rename LICENSE to LICENSE.txt and update copyright year
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
qemux86-64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 19
END: /usr/lib/python3-validators/ptest
2024-03-30T05:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 599
PASS: 599
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-validators/ptest
2024-03-30T05:10
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Changelog:
0.24.0
===========
Features
feat: conditionally raises ValidationError; bump version by @yozachar in #343
Maintenance
patch: domain & url modules by @yozachar in #339
fix: domain name not confirming to rfc_2782 by @yozachar in #341
maint: update dev dependencies; adds favicon to docs by @yozachar in #342
0.23.2
===========
Maintenance
maint: rectifies changelog by @yozachar in #336
fix: packaging as well as rST & md document generation by @yozachar in #337
0.23.1
===========
Maintenance
maint: fix between & length validators by @yozachar in #334
fix: manual nav reference for mkdocs; bumps version by @yozachar in #335
0.23.0
===========
Features
feat: add french i18n validation by @imperosol in #308
Maintenance
fix: Valid URLs failing validation - query and fragment parts by @danherbriley in #297
fix: bug in between module by @yozachar in #301
chore: update dependencies, improve packaging by @yozachar in #304
Fix fragment check by @darkdragon-001 in #305
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #310
fix: allow pct-encoded entities in fragments by @conitrade-as in #317
chore: update dev dependencies by @yozachar in #318
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #321
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #322
chore: monthly updates for Jan'24 by @yozachar in #324
maint: adds versiond docs; update copyright year by @yozachar in #329
chore: update dev dependencies by @yozachar in #330
build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in #331
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in #332
build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in #319
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
CVE-2024-27351: Potential regular expression denial-of-service in
django.utils.text.Truncator.words()
Fixed a regression in Django 4.2.10 where intcomma template filter could
return a leading comma for string representation of floats.
https://code.djangoproject.com/ticket/35172
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 5.3.3:
- Documentation improvements
- Update CI environment
License-Update: Update copyright years to 2024
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.2.1:
- Fixed missing typing_extensions dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
- Added support for specifying options for the pytest plugin via
pytest config files
- Avoid creating reference cycles when type checking unions
- Fixed Optional[...] being removed from the AST if it was located
within a subscript
- Fixed TypedDict from typing_extensions not being recognized as one
- Fixed typing types (dict[str, int], List[str], etc.) not passing
checks against type or Type
- Fixed detection of optional fields (NotRequired[...]) in
TypedDict when using forward references
- Fixed mapping checks against Django's MultiValueDict
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.0:
- **BREAKING** Added callback_api_version. This break *ALL* users
of paho-mqtt Client class. See migrations.md for details on how
to upgrade. tl; dr; add CallbackAPIVersion.VERSION1 to first
argument of Client()
- **BREAKING** Drop support for Python 2.7, Python 3.5 and Python
3.6. Minimum tested version is Python 3.7. Python version up to
Python 3.12 are tested.
- **BREAKING** connect_srv changed it signature to take an
additional bind_port parameter. This is a breaking change, but in
previous version connect_srv was broken anyway.
- **BREAKING** Remove some deprecated argument and method:
* ``max_packets`` argument in loop(), loop_write() and
loop_forever() is removed
* ``force`` argument in loop_stop() is removed
* method ``message_retry_set()`` is removed
- **BREAKING** Remove the base62, WebsocketWrapper and
ConnectionState, as user shouldn't directly use them.
- Possible breaking change: Add properties to access most Client
attribute. Since this add new properties like `logger`, if a
sub-class defined `logger`, the two `logger` will conflict.
- Add version 2 of user-callback which allow to access MQTTv5
reason code & properties that were missing from on_publish
callback. Also it's more consistent in parameter order or between
MQTTv3 and MQTTv5.
- Add types to Client class, which caused few change which should
be compatible. Known risk of breaking changes:
- Use enum for returned error code (like MQTT_ERR_SUCCESS). It
use an IntEnum which should be a drop-in replacement. Excepted
if someone is doing "rc is 0" instead of "rc == 0".
- reason in on_connect callback when using MQTTv5 is now always
a ReasonCode object. It used to possibly be an integer with the
value 132.
- MQTTMessage field "dup" and "retain" used to be integer with
value 0 and 1. They are now boolean.
- Add support for ALPN protocols on TLS connection.
- Add on_pre_connect() callback, which is called immediately before
a connection attempt is made.
- Fix subscribe.simple with MQTTv5.
- Use better name for thread started by loop_start.
- Fix possible bug during disconnection where self._sock is
unexpectedly None.
- Fix loading too weak TLS CA file but setting allowed ciphers
before loading CA.
- Allow to manually ack QoS > 0 messages.
- Improve tests & linters. Modernize build (drop setup.py, use
pyproject.toml)
- Fix is_connected property to correctly return False when
connection is lost and loop_start/loop_forever isn't used.
- Fix wait_for_publish that could hang with QoS == 0 message on
reconnection or publish during connection.
- Correctly mark connection as broken on SSL error and don't crash
loop_forever.
- Fix handling of MQTT v5.0 PUBREL messages with remaining length
not equal to 2.
- Raise error on ``subscribe()`` when `topic` is an empty list.
- Raise error on `publish.multiple()` when ``msgs`` is an empty
list.
- Don't add port to Host: header for websockets connections when
the port if the default port.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.3:
- Add match_range function
- Fix leap year (29 days in February)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 6.0.5:
- Upgraded the C-API macros that have been deprecated in Python 3.9
and later removed in 3.13
- Reverted to using the public argument parsing API
PyArg_ParseTupleAndKeywords() under Python 3.12.
- The effect is that this change prevents build failures with clang
16.9.6 and gcc-14. It also fixes a segmentation fault crash
caused by passing keyword arguments to MultiDict.getall().
- Fixed a SystemError: null argument to internal routine error on a
MultiDict.items().isdisjoint() call when using C Extensions.
- On the Contributing docs age, a link to the Towncrier philosophy
has been fixed.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* attrs is in install_requires of setup.cfg in 3.9 branch
* python3-misc is required to include netrc which is imported in
aiohttp.helpers
Signed-off-by: Sam Van Den Berge <sam.van.den.berge@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.27.0:
- The app=... shortcut has been deprecated. Use the explicit style
of transport=httpx.WSGITransport() or transport=httpx.ASGITransport()
instead.
- Respect the http1 argument while configuring proxy transports.
- Fix RFC 2069 mode digest authentication.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.3.0:
- Added support for the Python 3.12 walk_up keyword argument in
anyio.Path.relative_to() (PR by Colin Taylor)
- Fixed passing total_tokens to anyio.CapacityLimiter() as a
keyword argument not working on the trio backend (#515)
- Fixed Process.aclose() not performing the minimum level of
necessary cleanup when cancelled. Previously:
- Cancellation of Process.aclose() could leak an orphan process
- Cancellation of run_process() could very briefly leak an orphan
process.
- Cancellation of Process.aclose() or run_process() on Trio could
leave standard streams unclosed
- Fixed Process.stdin.aclose(), Process.stdout.aclose(), and
Process.stderr.aclose() not including a checkpoint on asyncio
- Fixed documentation on how to provide your own typed attributes
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python3-dbus package was removed in (dac933e). While the upstream
project isn't active, other distributions (e.g. Fedora, Debian, etc)
continue to offer the package and apply patches to resolve reported issues.
While other packages offer similar functionality (e.g. dasbus), they are not
drop in replacements and the general dbus functionality works out of the box.
The python package has accomplished it's goal of providing useful functionality,
and the proposal is to continue to have it available in meta-python for use.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-python-dateutil: respect inheritance on relativedelta.rsub
-Bump python-dateutil to 2.9.*
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-add settable info property
-Use PEP 570 syntax in third party stubs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix crash with fresh subprocess, if the build backend is setuptools
automatically enable fresh subprocesses for build backend calls
-Support enabling fresh subprocess for packaging build backends via fresh_subprocess
-Allow plugins attaching additional information to --version via
tox_append_version_info method in the plugin module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Discard open OpenTelemetry spans after 10 minutes
-Propagate sentry-trace and baggage headers to Huey tasks
-Added Event type
-Improve scrub_dict typing
-Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311
-Allow to configure merge target for releases
-Allow empty character in metric tags values
-Replace invalid tag values with an empty string instead of _
-Add documentation comment to scrub_list
-Fixed regex to parse version in lambda package file
-xfail broken AWS Lambda tests for now
-Removed print statements because it messes with the tests
-Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302
-Bump checkouts/data-schemas from eb941c2 to ed078ed]
-New integration: OpenAI integration
-Add recursive scrubbing to EventScrubber
-Expose socket_options
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-OAuth2Session now correctly uses the self.verify value if verify is not overridden in fetch_token and refresh_token.
-OAuth2Session constructor now uses its client.scope when a client is provided and scope is not overridden.
-Add refresh_token_request and access_token_request compliance hooks
-Add PKCE support and Auth0 example
-Add support for Python 3.8-3.12
-Remove support of Python 2.x, <3.7
-Migrated to Github Action
-Updated dependencies
-Cleanup some docs and examples
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix mem_max_rss measurement on macOS
-gh-174: Support free-threading CPython by disabling psutil related
features
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Solve transport close() as not inherited method.
-enable mypy --check-untyped-defs
-Add get_expected_response_length to transaction.
-Remove control encode in framersRemove control encode in framers.
-Bump codeql in CI to v3.
-Improve server types
-Remove pointless try/except
-Improve transport types
-Use explicit ValueError when called with incorrect function code
-update message tests (incorporate all old tests).
-Improve simulator type hints
-Cleanup dead resetFrame code
-integrate message.encode() into framer.buildPacket.
-Repair client close() (intern= is needed for ModbusProtocol).
-Updated Message_Parser example
-Fix #2069 use released repl from pypi
-Fix field encoding of Read File Record Response
-Improve simulator types
-Bump actions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix usage of AliasGenerator with computed_field decorator
-Fix nested discriminated union schema gen, pt 2
-Fix bug with no_strict_optional=True caused by API deferral
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix missing type store for overloads
-Fix 'WriteToConn' object has no attribute 'flush'
-Improve TypeAlias error messages
-Support narrowing unions that include type[None]
-Support TypedDict functional syntax as class base type
-Accept multiline quoted annotations
-Allow unary + in Literal
-Substitute type variables in return type of static methods
-Consider TypeVarTuple to be invariant
-Add alias support to field() in attrs plugin
-Improve attrs hashability detection
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reexport arg_split on emscripten.
-back to dev
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Enable affinity_session_drain_test for cpp
-rm invalid assert
-Make C++ xDS Interop Client and Server Responsive to SIGTERM
-Fix readme
-Backport #35973: Make Bazel requirements installable directly via pip
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add api_version field to ServiceOptions in google/api/client.proto
-Add LOCATION_POLICY_VIOLATED enum to ErrorReason in google/api/error_reason.proto
-Add rest_reference_documentation_uri field to ServiceOptions in google/api/client.proto
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Regression from #438: check g.x_arg exists before accessing it
-Accept -x options for all db commands
-Add --purge flag to the stamp command
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Bump hexbytes dependency to >=1.0.0
-Add Python 3.12 support
-Add windows-wheel CI job for py312, set both py311 and py312 to use latest patch version
-Add py.typed file, move misplaced newsfragment, correct py version pins for typing-extensions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-During decoding, verify all pointers in arrays and tuples point to a valid location in the payload
-Fix memory leak warning in NodeVisitor and ABIRegistry
-Clear mypy misc-type errors and add top-level py.typed file back
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improve stand-alone XPath functions builder
-Update tokens and parsers __repr__
-Fix static typing protocols to work with etree and XSD elements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed a regression in Django 5.0.2 where intcomma template filter could
return a leading comma for string representation of floats
-Fixed a bug in Django 5.0 that caused a crash of Signal.asend() and
asend_robust() when all receivers were asynchronous functions
-Fixed a regression in Django 5.0.1 where ModelAdmin.lookup_allowed() would
prevent filtering against foreign keys using lookups like __isnull when the
field was not included in ModelAdmin.list_filter
-Fixed a regression in Django 5.0 that caused a crash of @sensitive_variables
and @sensitive_post_parameters decorators on functions loaded from .pyc files
-Fixed a regression in Django 5.0 that caused a crash when reloading a test
database and a base queryset for a base manager used prefetch_related()
-Fixed a bug in Django 5.0 where facet filters in the admin would crash on a
SimpleListFilter using a queryset without primary keys
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Incorrect tag naming in readme
-Utilize PyPI's trusted publishing
-Bump sigstore/cosign-installer from 3.3.0 to 3.4.0
-Add 1.7.7 to versions of bug template
-Use datetime to avoid updating copyright year
-filter data is safe for tarfile extractall
-Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
-[B605] Add functions that are vulnerable to shell injection
-Add a SARIF output formatter
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Allow register-python-argcomplete output to be used as lazy-loaded zsh completion module
-Move debug_stream initialization to helper method to allow fd 9 behavior to be overridden in subclasses
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Reuse the File, Config field, and file-related validators from flask-marshmallow
-Add support for a --quiet option to the flask spec command
-Fix the flask spec command for validators operating on complex data types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fix issue with send_queue in WSGIResponder
-Remove unused imports and unnecessary code in WSGIResponder class
-Update dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE
is set correctly.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* add Pending to .patch files where it was accidentally droped
with upgrades or modifications in:
f88e5b146e postgresql: upgrade 15.5 -> 16.2
c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4
or new patches where the author didn't notice/care:
2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
f5cc9f272a yasm: improve reproducibility
39028d0d9d python3-pybind11: Restore strip prevention patch
authors of these added to CC, please be more careful with removing
or not adding these or enable patch-status in ERROR_QA for your
builds, see:
https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113
* added with:
for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q ^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p; grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" $p; done
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Due to the way we install ptests, some imports switch from
first party to third party. Update test expectations
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
PyLint needs to be comapatible with Astroid. It was recently updated
to version 3.1.0, so follow suit with pylint.
Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package is a pure-Python implementation of a WebSocket protocol stack. It’s written from the ground up to be embeddable in whatever program you choose to use, ensuring that you can communicate via WebSockets, as defined in RFC6455, regardless of your programming paradigm.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
=============
qemux86-64:
Testsuite summary
TOTAL: 230
PASS: 230
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 18
END: /usr/lib/python3-wsproto/ptest
2024-03-08T19:45
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 230
PASS: 230
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-wsproto/ptest
2024-03-08T19:40
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pure Python and only depend on the standard library.
Compared with other converters, the advantage is that a2wsgi will not accumulate the requested content or response content in the memory, so you don't have to worry about the memory limit caused by a2wsgi. This problem exists in converters implemented by uvicorn/startlette or hypercorn.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 15
PASS: 15
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 22
END: /usr/lib/python3-a2wsgi/ptest
2024-03-08T18:58
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 15
PASS: 15
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 22
END: /usr/lib/python3-a2wsgi/ptest
2024-03-08T19:05
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A utility library for mocking out the requests Python library.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tomli-W is the write-only counterpart of Tomli, providing dump and dumps functions.
* When we fetch the package via PyPI there are missing files such as tests directory. So, we set PYPI_SRC_URI and fetch it from the github url.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 265
PASS: 263
SKIP: 0
XFAIL: 2
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-tomli-w/ptest
2024-03-07T17:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 265
PASS: 263
SKIP: 0
XFAIL: 2
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 15
END: /usr/lib/python3-tomli-w/ptest
2024-03-07T17:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0
XFAIL: tests/test_valid.py:test_valid[qa-array-inline-nested-1000] XFAIL reason: This much recursion is not supported
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Invoke is a Python library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks. It draws inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a powerful & clean feature set.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
icecream (ic) package offers a more concise and readable way to debug code by replacing print statements with simple function calls.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix compatibility with greenlet/gevent
-Fix query source relative filepath
-Support clickhouse-driver==0.2.7
-Bump checkouts/data-schemas from 6121fd3 to eb941c2
-Deprecate last_event_id().
-Warn if uWSGI is set up without proper thread support
-uWSGI has to be run in threaded mode for the SDK to run properly. If this is
not the case, the consequences could range from features not working
unexpectedly to uWSGI workers crashing.
Please make sure to run uWSGI with both --enable-threads and --py-call-uwsgi-fork-hooks.
-parsed_url can be None
-Python 3.7 is not supported anymore by Lambda, so removed it and added 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-py-scrypt-remove-the-hard-coded-include-paths.patch
refreshed for 0.8.24
Changelog:
==========
-Remove travis and appveyor
-Support building on MSYS2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Use env PDM_NO_EDITABLE as the default value for --no-editable option.
-Reset project.environment when importing from setup.py, to fix resolution error.
-Do not fetch package hashes when --frozen-lockfile is passed.
-Make sure non-venv interpreters are used by venv creator.
-Don't cause a hard failure if the local directory doesn't exist.
-Fix the default value for negative CLI flags.
-Auto-gen configuration reference documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- More compatibility with emscripten :ghpull:'14316', :ghpull:'14318',
- Test more downstream project to avoid breakage :ghpull:'14317'
- Fix recently introduced bug with the "store" magic.
- Fix issues with multiple call to "matplotlib.pyplot.switch_backend"
- Fix crashing IPython when some tracebacks encounter dynamically evaluated
code.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Add support for coloured logging.
-Add support for TOML configuration format.
-Add support for Clover XML output format.
-Add decision to JSON summary report if option --decisions is used.
-Add support for files with more than 9999 lines.
-Do not suppress gcov errors if exception occur.
-Add nox session to generate the screenshots from the HTML files.
-Improve Dockerfile for faster rebuilds by using cache.
-Fix deprecation warnings from GitHub actions.
-Add pipeline job to apply tag if new version is bumped.
-Improve test coverage and generate coverage report if executed in local environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver
from failing over to TCP and causing the query to timeout [#1053].
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Fixed __hash__() of the C version of the CBORTag type crashing when there's a
recursive reference cycle
-Fixed type annotation for the file object in cbor2.dump(), cbor2.load(),
CBOREncoder and CBORDecoder to be IO[bytes] instead of BytesIO
-Worked around a CPython bug that caused a SystemError to be raised, or even a
buffer overflow to occur when decoding a long text string that contained only
ASCII characters
-Changed the return type annotations of cbor2.load() and cbor2.load() to return
Any instead of object so as not to force users to make type casts
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(),
allowing checkers to visit them.
-Add __main__ as a possible inferred value for __name__ to improve
control flow inference around if __name__ == "__main__": guards.
-Following a deprecation period, the names arg to the Import constructor and
the op arg to the BoolOp constructor are now required, and the doc args
to the PartialFunction and Property constructors have been removed (call
postinit(doc_node=...) instead.)
-Following a deprecation announced in astroid 1.5.0, the alias
AstroidBuildingException is removed in favor of AstroidBuildingError.
-Include modname in AST warnings. Useful for invalid escape sequence warnings
with Python 3.12.
-RecursionError is now trapped and logged out as UserWarning during astroid node
transformations with instructions about raising the system recursion limit.
Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend instead of setuptools.
* Updated runtime dependencies.
* Ptest and library example tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_SLOW_META_PYTHON
* Upstream, excluded test/mypy_test_cases in the pyproject.toml file. More descriptively,
norecursedirs tells pytest where not to look and tests/mypy_test_cases already defined in it so has been removed from runtime.
df23ad0048/pyproject.toml (L89C61-L89C76)
License-Update: Removed license year
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 1228
PASS: 1228
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 56
END: /usr/lib/python3-marshmallow/ptest
2024-03-06T05:33
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 1228
PASS: 1228
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 51
END: /usr/lib/python3-marshmallow/ptest
2024-03-06T05:28
STOP: ptest-runner
TOTAL: 1 FAIL: 0
=============
Changelog:
3.21.1 (2024-03-04)
Bug fixes:
Fix error message when field is declared as a class and not an instance (#2245). Thanks @travnick for reporting.
3.21.0 (2024-02-26)
Bug fixes:
Fix validation of URL fields to allow missing user field, per NWG RFC 3986 (#2232). Thanks @ddennerline3 for reporting and @deckar01 for the PR.
Other changes:
Backwards-incompatible: __version__, __parsed_version__, and __version_info__ attributes are deprecated (#2227). Use feature detection or importlib.metadata.version("marshmallow") instead.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a PEP 561 type stub package for the python-dateutil package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses python-dateutil.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Data updates
Updated tzdata version to 2024a.
Features
Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil.
tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier.
Bugfixes
Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12.
Documentation changes
Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This typo resulted in the following error,
"ERROR: Nothing RPROVIDES 'nativesdk-python3-aiohappyeyeballs'"
Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Ptest result:
Testsuite summary
TOTAL: 340
PASS: 339
SKIP: 1
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 28
* Tested on qemux86_64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON items
==============
Switch to the python_setuptools_build_meta backend
License-Update: License check file changed from LICENSE to LICENSE.rst
Changelog:
Release: 1.2.1
===============
Fixed:
Fix bad version 1.2.0 upload to PyPI – now yanked. No changes to the package.
Release: 1.2.0
===============
Added:
Add CLI tool subcommand to display Network information.
Changed:
Support running Interactive shell without IPython installed.
Fixed:
Explicitly raise TypeError is a non-string value is passed to valid_ipv4() or valid_ipv6().
Release: 1.1.0
===============
Added:
Add the required Python version to the package metadata (GH #365).
Add expand_partial_ipv4_address() to the public API.
Fixed:
Fix IPNetwork(...) in IPRange(...) false negatives (GH #157).
Fix a few IPNetwork slicing edge cases (GH #214).
Fix support for partial IP addresses accidentally left in IPNetwork in 1.0.0.
When I removed the implicit_prefix switch I missed the fact that there was some partial IPv4 address expansion triggered unconditionally.
If you need the old behavior use expand_partial_ipv4_address().
Related GH issue: #110.
Fixed an incorrect license classifier in the package metadata.
Release: 1.0.0
===============
Removed:
Drop support for Python versions lower than 3.7.
Remove the flag shorthands: N, P and Z. Use NOHOST, INET_PTON and ZEROFILL instead.
Remove abbreviated CIDR format support in IPNetwork (implicit_prefix=True), use cidr_abbrev_to_verbose() if you need this behavior.
Remove the IPAddress.is_private method.
There are more precise replacements for subset of the addresses that used to handled by is_private:
IPAddress.is_link_local()
IPAddress.is_ipv4_private_use()
IPAddress.is_ipv6_unique_local()
IPAddress.is_global()
The following address blocks used to be handled by is_private have no dedicated convenience methods and you’ll have to handle them manually or request a method addition:
100.64.0.0/10 – Shared Address Space
192.0.0.0/24 – IETF Protocol Assignments (watch out – there are exceptions in there)
198.18.0.0/15 – Benchmarking
239.0.0.0-239.255.255.255 – 240.0.0.0/4 is Reserved, 239.0.0.0/8 – unclear
Changed:
Stop accepting leading zeros when parsing IPv4 addresses in INET_PTON mode (it’s been allowed on some platforms).
If you need to allow and discard leading zeros use the ZEROFILL flag.
This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly.
Stop parsing IPv4 addresses permissively (inet_aton()-like) by default.
INET_PTON is the default mode.
If you need to be permissive and parse using inet_aton() semantics use the INET_ATON flag.
This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly.
Apply the two changes above to valid_ipv4() as well.
Update the address databases to the 2024-02-10 versions.
Fixed:
Return False instead of raising AddrFormatError when an empty string is passed to valid_ipv4() or valid_ipv6().
Fix handling of dialect provided to EUI during copy-construction.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bug Fixes:
Typo when setting the state for the pickle deserializer
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
ImportError while importing test module '/usr/lib/python3-pyzmq/ptest/tests/test_ssh.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_ssh.py:1: in <module>
from zmq.ssh.tunnel import select_random_ports
../../python3.12/site-packages/zmq/ssh/__init__.py:1: in <module>
from zmq.ssh.tunnel import *
../../python3.12/site-packages/zmq/ssh/tunnel.py:18: in <module>
from getpass import getpass, getuser
E ModuleNotFoundError: No module named 'getpass'
ERROR: tests/test_ssh.py:tests/test_ssh.py
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch which removed the pybind11_strip() call from provisioned
pybind11*Tools.cmake files was dropped in commit
5c455804ae ("python3-pybind11: Upgrade
to 2.10.3").
However this change delegated the requirement to set CMAKE_BUILD_TYPE
as 'Debug' or 'RelWithDebInfo' (or as unset) to the cmake utilizing
packages which have build time dependency on python3-pybind11, failure
to do which causes following kind of BitBake failure with Yocto:
ERROR: foobar-1.0.0-r0 do_package: QA Issue: File '/usr/lib/python3.11/site-packages/foobar.so' from foobar was already stripped, this will prevent future debugging! [already-stripped]
Restore the patch so that the stripping is delegated to Yocto once
more, allowing depending cmake packages to work out of the box also
when they use 'Release' or 'MinSizeRel' as CMAKE_BUILD_TYPE by
default.
Signed-off-by: Joonas Salonpää <joonas.salonpaa@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch from setuptools3.bbclass to python_setuptools_build_meta.bblass
which reflects
https://github.com/pybind/pybind11/blob/v2.11.1/pyproject.toml#L3 and
mitigates following warning during do_compile:
.../python3-pybind11/2.11.1/recipe-sysroot-native/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
Here we also fix remaining minor style issue in task declarations
(use four space indentation instead of three).
Reported-by: Tim Orling <ticotimo@gmail.com>
Closes: https://lists.openembedded.org/g/openembedded-devel/message/108748
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Drop Python3.7 support
-Drop Python 3.7, and PyPy 3.7 and 3.8
-Use positional-only self in BaseModel constructor, so no field name can ever
conflict with it
-Make @validate_call return a function instead of a custom descriptor - fixes
binding issue with inheritance and adds self/cls argument to validation errors
-Exclude BaseModel docstring from JSON schema description
-Introducing classproperty decorator for model_computed_fields
-Explicitly raise an error if field names clashes with types
-Use stricter serializer for unions of simple types
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The updated of python-3-pydantic requires python3-pydantic-core to be updated to version 2.16.1 or later.
Update the denpendencies for current python3-pydantic:
======================================================
Version up:
Bump ahash from 0.8.6 to 0.8.7
Bump base64 from 0.21.5 to 0.21.7
Bump form_urlencoded from 1.2.0 to 1.2.1
Bump allocator-api2 from 0.2.16 to
Bump hashbrown from 0.14.0 to 0.14.3
Bump idna from 0.4.0 to 0.5.0
Bump jiter from 0.0.4 to 0.0.6
Bump percent-encoding from 2.3.0 to 2.3.1
Bump proc-macro2 from 1.0.69 to 1.0.76
Bump pyo3 from 0.20.0 to 0.20.2
Bump pyo3-build-config from 0.20.0 to 0.20.2
Bump pyo3-ffi from 0.20.0 to 0.20.2
Bump pyo3-macros from 0.20.0 to 0.20.2
Bump pyo3-macros-backend from 0.20.0 to 0.20.2
Bump quote from 1.0.29 to 1.0.35
Bump serde from 1.0.190 to 1.0.195
Bump serde_derive from 1.0.190 to 1.0.195
Bump serde_json from 1.0.108 to 1.0.109
Bump smallvec from 1.11.1 to 1.11.2
Bump syn from 2.0.38 to 2.0.48
Bump url from 2.4.1 to 2.5.0
Bump uuid from 1.5.0 to 1.6.1
Bump zerocopy from 0.7.20 to 0.7.32
Bump zerocopy-derive from 0.7.20 to 0.7.32
New dependency:
allocator-api2
Changelog:
https://github.com/pydantic/pydantic-core/releases
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Only start metrics flusher thread on demand
-Bump checkouts/data-schemas from aa7058c to 6121fd3
-Turn off metrics for uWSGI
-Minor improvements
-test: Fix pytest error (#2712)
-build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129
-Fix uWSGI workers hanging
-Make metrics work with gevent
-Guard against engine.url being None
-Fix performance regression in sentry_sdk.utils._generate_installed_modules
-Guard against Sentry initialization mid SQLAlchemy cursor
-Fix yaml generation script
-Fix AWS Lambda workflow
-Bump codecov/codecov-action from 3 to 4
-Bump actions/cache from 3 to 4
-Bump actions/checkout from 3.1.0 to 4.1.1
-Bump github/codeql-action from 2 to 3
-Bump actions/setup-python from 4 to 5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Connection retry option in the client
-use Socket.IO sid in transport
-Add support for Python 3.12 and drop 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add preliminary support for Python 3.13 as of 3.13a3.
-Add support to use the pipe (|) syntax for typing.Union.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Drop support for Python 3.7.
-Add support for Python 3.12.
-Add typing to dirsnapshot (#1012)
-Added DirectorySnapshotDiff.ContextManager (#1011)
-FileSystemEvent, and subclasses, are now dataclass"es, and their "repr() has changed
-WinAPINativeEvent is now a dataclass, and its repr() has changed
-Log FileOpenedEvent, and FileClosedEvent, events in LoggingEventHandler
-Improve FileSystemEvent coverage
-Log all events in LoggerTrick
-The observers.read_directory_changes.WATCHDOG_TRAVERSE_MOVED_DIR_DELAY hack was removed.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>