Delete upstreamed patch for off_t
Rebase the other patches on the latest version
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This allows build with python 3.12.
Signed-off-by: Ny Antra Ranaivoarison <nyantra.ranaivoarison@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove patch 0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
that was incorporated upstream and released in 4.25.1
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Updated the license file and verified terms remained the same
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
fix(wheels): link libstdc++ statically on manylinux1 by @mayeut in #159
chore(wheels): link libstdc++/libgcc statically on musllinux by @mayeut in #160
chore: add Windows ARM support by @henryiii in #169
chore: continue testing with python 2.7 by @mayeut in #199
chore: move to setuptools_scm by @henryiii in #170
chore: switch to ruff by @henryiii in #174
chore: use trusted publisher deployment by @jcfr in #191
chore: use wheel tags cli by @mayeut in #84
ci: allow setting a version by @henryiii in #171
ci: cancel on repeated pushes by @henryiii in #177
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add to ptest-packelists-meta-python.inc "FAST" under 30 s
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dependency for python3-pydantic ptests.
"""
cloudpickle makes it possible to serialize Python constructs not
supported by the default pickle module from the Python standard
library.
cloudpickle is especially useful for cluster computing where Python
code is shipped over the network to execute on remote hosts, possibly
close to the data.
"""
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Dependency for python3-pydantic-core ptests.
"""
dirty-equals is a python library that (mis)uses the __eq__ method to make
python code (generally unit tests) more declarative and therefore easier
to read and write.
dirty-equals can be used in whatever context you like, but it comes into
its own when writing unit tests for applications where you're commonly
checking the response to API calls and the contents of a database.
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Newer python3-pydantic offloaded some of its code to python3-pydantic-core
* Add python3-annotated-types to RDEPENDS.
* Add DESCRIPTION and trim SUMMARY.
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Run-time dependency for python3-pydantic
"""
PEP-593 added typing.Annotated as a way of adding context-specific
metadata to existing types, and specifies that Annotated[T, x] should
be treated as T by any tool or library without special logic for x.
This package provides metadata objects which can be used to represent
common constraints such as upper and lower bounds on scalar values and
collection sizes, a Predicate marker for runtime checks, and descriptions
of how we intend these metadata to be interpreted. In some cases, we also
note alternative representations which do not require this package.
"""
References:
https://peps.python.org/pep-0593/
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Runtime dependency for current python3-pydantic
This package provides the core functionality for pydantic validation and serialization.
Pydantic-core is currently around 17x faster than pydantic V1. See tests/benchmarks/ for details.
https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
* Avoid duplicate inference results for some uses of typing.X constructs like Tuple[Optional[int], ...].
This was causing pylint to occasionally omit messages like deprecated-typing-alias.
Closespylint-dev/pylint#9220
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.0.0:
- repr() now returns an evaluatable string, like
MyRLPObj(my_int_field=1, my_str_field="a_str")
- Convert .format strings to f-strings
- Add autoflake linting and move config to pyproject.toml
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.9.0:
- Modernize setuptools support to use pyproject.toml
- Remove brittle test
Remove fix-ptests.patch as the issue has been solved upstream.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.130.0:
- Make ServiceInfo aware of question history
- Small speed up to ServiceInfo construction
- Significantly improve efficiency of the ServiceBrowser scheduler
- Small speed up to processing incoming records
- Small performance improvement for converting time
- Small performance improvement for ServiceInfo asking questions
- Small performance improvement constructing outgoing questions
- Scheduling race with the QueryScheduler
- Ensure question history suppresses duplicates
- Microsecond precision loss in the query handler
- Ensure IPv6 scoped address construction uses the string cache
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.11.1:
- Improved interface generator handling of multiple uppercase
letters sequences.
- Improved python formatting generated by interface code generator.
- Added option --block to generate blocking interface code.
- Fixed docstrings still being present even if python was
configured with --without-doc-strings.
- Fixed interface generator crashing when a rare write-only
property is encountered.
- Fixed async interfaces iterating over all members during
initialization.
- Fixed TypeError: Dbus type '\x00' is unknown being raised when
trying to read from a message more than one time.
- Fixed missing class body when generating code for interface
without members.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 4.7.0:
- Backward compatibility fix
- Update project and CI
- Update models for updated schema and new resource types
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 0.12.1:
- Addition of type hints.
- Fixes the previous release not shipping the py.typed file.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 7.3.3:
- Fix: function definitions with multi-line signatures can now be
excluded by matching any of the lines.
- Fix: XML reports could fail with a TypeError if files had numeric
components that were duplicates except for leading zeroes, like
file1.py and file001.py.
- The coverage annotate command used to announce that it would be
removed in a future version. Enough people got in touch to say
that they use it, so it will stay. Don't expect it to keep up
with other new features though.
- Added new debug options <cmd_run_debug>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.9.4:
- Started raising :py:exc:TypeError when a string value is passed
into :py:meth:~yarl.URL.build as the port argument -- by
:user:commonism
- The leading -- has been dropped from the :pep:517 in-tree build
backend config setting names. --pure-python is now just pure-python
- A step-by-step :doc:Release Guide <contributing/release_guide>
guide has been added, describing how to release yarl
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.4.1:
- Declared Python 3.12 and PyPy 3.8-3.10 supported officially in
the distribution package metadata.
- Replaced the packaging is replaced from an old-fashioned
:file:setup.py to an in-tree :pep:517 build backend
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is needed for python 3.12 compatibility.
Drop 0001-direct_mmap-Use-off_t-on-linux.patch as
issue resolved upstream.
Other dropped patches are all due to the code being significantly refactored upstream;
if the issues persist, please write updated patches.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The source contains:
from distutils.version import LooseVersion
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's still used in source tree:
src/M2Crypto/__init__.py: from distutils.version import StrictVersion as Version
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Both homepage and downloads are gone, last release in 2016,
still relies on distutils which is no longer available in python core as of 3.12.
https://pypi.org/project/python-uinput/
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It's not mentioned anywhere in source code, and python 3.12
has removed it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There hasn't been a release in years, and python 3.12 is no longer
compatible as it has removed the smtpd module.
https://github.com/seb-m/pyinotify
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Re-expose ServiceInfo._set_properties for backwards compat
-Correct nsec record writing
-Timestamps missing double precision
-Match cython version for dev deps to build deps
-Correct handling of IPv6 addresses with scope_id in ServiceInfo
-Speed up unpacking TXT record data in ServiceInfo
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Renamed 'mask' variable in ABNF to prevent name collision with 'mask()' function
- Fixed old http import of HTTPStatus in _handshake.py
- Add 'send_text()' and 'send_bytes()' to _app.py
- Improved typehint support
- General readability improvements, made all string concatenations use f-strings
- Applied black formatting style to code
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Make downloadable versions of docs available in pdf, htmlzip, and epub formats
-Add 2023 user survey fine art banner in the docs
-Polish the community resources docs page
-Implement createAccessList RPC endpoint to create an EIP-2930 access list.
-Run flaky eth-tester tests on CI
-Pin pytest-asyncio dependency to <0.23
-Fix collision of w3 variable when initializing contract with function of the same name
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed false positive for unnecessary-lambda when the call has keyword
arguments but not the lambda.
-Fixed incorrect suggestion for shallow copy in unnecessary-comprehension
-Fix false positives for undefined-variable and unused-argument for
classes and functions using Python 3.12 generic type syntax.
-Fixed pointless-string-statement false positive for docstrings
on Python 3.12 type aliases.
-Fix false positive for invalid-exception-operation when concatenating tuples
of exception types.
-Fix a bug where pylint was unable to walk recursively through a directory if
the directory has an __init__.py file.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Added the denoise option to convert floats to int without numerical noise
-Support for Python 3.12
-The changelog now only explictly exists in the repository
License-Update: Copyright year updated to 2023
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Drop python 3.7 support
-Add python 3.11 support
-Merge updates from template, including use pre-commit for linting, and
changing the name of the master branch to main
License-Update: Copyright year updated to 2023
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Copyright year updated to 2023.
Changelog:
============
-Use correct default parameters for scrypt
-Drop python 3.7 support
-Checksum address when creating a keyfile
-Merge project template updates, including using pre-commit for linting.
Add typing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* speedup unaligned copies by always using word shifts (in combination
with builtin byte swap 64 when available) when bit-endianness and
machine byte-order are opposite
* add 'HAVE_BUILTIN_BSWAP64' to header
* avoid misaligned pointers when casting to '(uint64_t *)'
* add tests
* simplify 'copy_n()' (remove special cases), see #d2d6fd53
* add [word shift example C program](../examples/shift_r8.c),
and simplify 'shift_r8()'
* improve documentation and testing
* add [roadmap](https://github.com/ilanschnell/bitarray#roadmap)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add support for cluster clients from Redis SDK
-Improve location reporting for timer metrics
-Fix Celery TypeError with no-argument apply_async
-Fix Lambda integration with EventBridge source
-Add max tries to Spotlight
-Handle os.path.devnull access issues
-Change code.filepath frame picking logic
-Trigger AWS Lambda tests on label
-Run permissions step on pull_request_target but not push
-Hash AWS Lambda test functions based on current revision
-Update Django version in tests
-Make metrics tests non-flaky
-Various fixes & improvements
-Only add trace context to checkins and do not run event_processors for checkins
-Metric span summaries
-Add source context to code locations
-Use in-app filepath instead of absolute path
-Switch to jinja2 for generating CI yamls
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixes a bug that caused an internal pytest error when collecting .txt files
-Fixes a bug that caused an internal pytest error when using module-level skips
-This release is backwards-compatible with v0.21. Changes are non-breaking,
unless you upgrade from v0.22.
-BREAKING: The asyncio_event_loop mark has been removed. Event loops with class,
module, package, and session scopes can be requested via the scope keyword
argument to the _asyncio_ mark.
-Introduces the event_loop_policy fixture which allows testing with non-default
or multiple event loops
-Introduces pytest_asyncio.is_async_test which returns whether a test item is
managed by pytest-asyncio
-Removes and pytest-trio, mypy, and flaky from the test dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Update changelog for 4.0.0
-docs: fix Linux user_log_dir example in README
-Drop support for EOL Python 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fixed integration tests
-Fixed normalizing imports from more than one level of parent modules
-Remove optional dependencies without extras
-Cleanup deprecated extras
-Fixed #1989: settings lookup when working in stream based mode
-Fixed 80 line length for wemake linter
-Add support for Python 3.12 75
-Fixed: add newest version to pre-commit docs
-Fixed assertions in test_git_hook
-Removed check for include_trailing_comma for the Hanging Indent wrap mode
-Use the standard library tomllib on sufficiently new python
-Update pre-commit.md version number
-doc: Update black_compatibility.md
-Fixed safety sept 2023
-docs: fix black profile documentation
-Fixed typo: indended -> indented
-Docs(configuration/options.md): fix missing trailing spaces for hard linebreak
-Update pre-commit.md
-chore: move configurations to pyproject.toml
-Fixed typo in README
-Update version in pre-commit setup to avoid installation issue with poetry
-Skip .pytype directory by default.
-Fixed a tip block styling in the Config Files section
-Do not cache configuration files
-Derive settings_path from --filename
-Fixed year of version 5.12.0 in CHANGELOG.md
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Replace mktemp with mkstemp when caching to disk for legacy plugins
-Fix grammar in ImportError
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix user cred universe domain issue
-Fix vm universe_domain bug
-Add custom tls signer for ECP Provider.
-Add custom tls signer for ECP Provider.
-Add with_universe_domain
-Fixes issue where Python37DeprecationWarning cannot be filtered
-Remove broken link in Python37DeprecationWarning
-Add support for Python 3.12
-Add universe domain support for VM cred
-Modify the token refresh window
-Add missing before request to async oauth2 credentials.
-Auto create self signed jwt cred
-Migrate datetime.utcnow for python 3.12
-Update user cred doc
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add auto_populated_fields field of MethodSettings in google/api/client_pb2
-Add support for Python 3.12
-Migrate to native namespace packages
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for Python 3.12
-Add type annotations to wrapped grpc calls
-Add universe_domain argument to ClientOptions
-Introduce compatibility with native namespace packages
-Fix regression in bidi causing Thread-ConsumeBidirectionalStream caught
unexpected exception and will exit
-Replace deprecated datetime.datetime.utcnow()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Fixing werkzeug 3 deprecated version import. Import is replaced by new style version check with importlib
* Fixing flask 3.0+ compatibility of 'ModuleNotFoundError: No module named 'flask.scaffold'' Import error.
* Fix wrong status code and message on responses when handling 'HTTPExceptions'
* Add flask 2 and flask 3 to testing matrix.
* Update internally pinned pytest-flask to 1.3.0 for Flask >=3.0.0 support.
* Python 3.12 support.
* Fix wrong status code and message on responses when handling HTTPExceptions.
* Update changelog Flask version table.
* Remove temporary package version restrictions for flask < 3.0.0, werkzeug and jsonschema
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Speed up message callbacks
-Speed up run time constructed method handlers
-Speed up ServiceInterface callbacks with cython methods
-Small speed up to the aio message reader
-Reduce duplicate code in aio MessageBus
-Speed up sending messages with call on the MessageBus
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Allow explicit zsh global completion activation
-Fix and test global completion in zsh
-Add -yes option to activate-global-python-argcomplete
-Test suite improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
NOTE: License changed from MIT -> MPL-2.0 in version 4.0.3
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update license file checksum and verified the terms are the same
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The 2.5.1 release is not comptabile with python3-sqlalchemy 2.0.23 which
is currently provided by meta-openembedded. This results in the
following error:
root@host:~# python3
Python 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from flask_sqlalchemy import SQLAlchemy
>>> from flask import Flask
>>> app = Flask('foobar')
>>> app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/test.db'
>>> db = SQLAlchemy(app)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py", line 758, in __init__
_include_sqlalchemy(self, query_class)
File "/usr/lib/python3.11/site-packages/flask_sqlalchemy/__init__.py", line 112, in _include_sqlalchemy
for key in module.__all__:
^^^^^^^^^^^^^^
AttributeError: module 'sqlalchemy' has no attribute '__all__'. Did you mean: '__file__'?
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix NameError on parse_version with eventlet
-build(deps): bump checkouts/data-schemas from 68def1e to e9f7d58
-Move installed modules code to utils
-Note: We moved the internal function _get_installed_modules from
sentry_sdk.integrations.modules to sentry_sdk.utils. So if you use this
function you have to update your imports
-Add code locations for metrics
-Add query source to DB spans
-Send events to Spotlight sidecar
-Run integration tests with newest pytest
-Bring tests up to date
-Fix: Prevent global var from being discarded at shutdown
-Fix: Scope transaction source not being updated in scope.span setter
-Django: Support Django 5.0
-Django: Handling ASGI body in the right way.
-Flask: Test with Flask 3.0
-Celery: Do not create a span when task is triggered by Celery Beat
-Redis: Ensure RedisIntegration is disabled, unless redis is installed
-Quart: Fix Quart integration for Quart 0.19.4
-gRPC: Make async gRPC less noisy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
#632: --dist=loadscope now sorts scopes by number of tests to assign largest scopes early
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Bump deps.
- [misp-objects] Bumped latest version.
- Eml and msg are in sync again.
- Update calls to getStringStream to the public method.
- Avoid confusing error when an auth key is limited to an IP.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-uprev pydantic-core to 2.14.5
-Add ConfigDict.ser_json_inf_nan
-Fix validation of Literal from JSON keys when used as dict key
-Fix bug re custom_init on members of Union
-Fix JsonValue bool serialization
-Fix handling of unhashable inputs with Literal in Unions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for Python 3.12
-Clean up temporary files after UnicodeTests
-Add Python 3.5, 3.6 and 3.12.0-rc.1 to test matrix
-Set prompt correctly for zsh
-Add zsh convenience function to replwrap module
-Rework async unittests to rely on unittest.IsolatedAsyncioTestCase
-Make test_expect.py work on POSIX systems that are not Linux based
-Add support for socket, which allows sockets to be used crossplatform
-Update async to work on newer versions of python
-Remove deprecated RSAAuthentication option (SSHv1)
-Multiple CI fixes
-Use Github Actions for CI
-Remove pytest-capturelog from testing requirements
-Fix usage for Solaris
-Fix threading for new versions of python
-Fix documentation builds for use with Sphinx 3
-Use sys.executable for tests and wrapper, allowing the calling python executable to be used instead
-Update documentation about Wexpect
-Added project urls to setup.py
-Provide examples for how to use Pexpect and Pyte
-Coerce compiled regex patterns type according to spawn encoding
-Several doc updates
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Do not detect as requirements.txt if the file is a python script.
-Provide information of the original line when parsing requirement fails.
-Resolve -r requirements paths relative to the requirement file they are specified
-Updating package now overwrites the old files instead of removing before installing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Removed a couple of files that accidentally got included in the previous release.
-The 8-bit float formats have been renamed 'e4m3float' and 'e5m2float'.
-Some refactoring and performance optimizations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed importing aiohttp under PyPy on Windows.
-Fixed async concurrency safety in websocket compressor.
-Fixed ClientResponse.close() releasing the connection instead of closing.
-Fixed a regression where connection may get closed during upgrade.
-Fixed messages being reported as upgraded without an Upgrade header in Python parser.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-uprev pydantic-core to 2.14.3
-Fix package description limit
-Fix ValidateCallWrapper error when creating a model which has a
@validate_call wrapped field annotation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Create virtualenv for conda base Python. #2409
-Log the response text when pdm publish fails with HTTP error.
-Improve the error message when a specific package can't be found in the lockfile.
-prevent wrong project name (including space and illegal characters)
-Fix a bug that PDM cannot detect namespace packages correctly when creating symlinks.
-Fix template files created by pdm init being read-only when copied from a read-only PDM installation.
-Don't reset the build backend when asking for import.
-Never wrap the output of the export command.
-Forbid global project in conda base environment, since it may remove conda-managed packages.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Update pyav plugin to reflect AV changes
-Unpin Pillow and allow versions >=10.1.0
-Support for AVIF image format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with aggregates referencing expressions containing subqueries (#34798).
-Restored, following a regression in Django 4.2, creating
varchar/text_pattern_ops indexes on CharField and TextField with
deterministic collations on PostgreSQL (#34932).
-CVE-2023-46695: Potential denial of service vulnerability in UsernameField on Windows
-Fixed a regression in Django 4.2.5 where overriding the deprecated
DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings in tests caused the main
STORAGES to mutate (#34821).
-Fixed a regression in Django 4.2 that caused unnecessary casting of string
based fields (CharField, EmailField, TextField, CICharField, CIEmailField, and
CITextField) used with the __isnull lookup on PostgreSQL.
-CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-New PREFER_MONTH_OF_YEAR setting (#1146)
-Absolute years in Russian are no longer being treated as a number of years in
the past (#1129)
-Removed the use of datetime.utcnow, deprecated on Python 3.12 (#1179)
-Applied Black formatting to the code base (#1158)
-Initial integration with OSSFuzz (#1198)
-Extended test cases (#1191)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This version of python3-gpiod requires libgpiod v2.1 so fix RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-beautifulsoup4 does depend on python3-soupsieve but
python3-soupsieve does not depend on python3-beautifulsoup4.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Small speed up to writing outgoing packets
-Speed up incoming packet reader
-Small speed up to processing incoming dns records
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-When coming back through the middleware onion after a request is made, we have
the response id. Use it to match to the cached request information and process
the response accordingly.
-Adds Discord bot template repo to Resources page
-Additional contract abi documentation to make it a clear requirement for
contract instances.
-Fix type annotations for web3 constants.
-Add upper pin to deprecated dependency lru-dict whose new minor version release
introduced a typing issue with CI lint builds.
-Recompile test contracts with new Solidity version v0.8.23 to ensure compatibility.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improve the performance when parsing a table with nested dotted keys.
-Keep the newlines when replacing a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Updated gRPC integration: Asyncio interceptors and easier setup
-Python 3.12: Replace deprecated datetime functions
-Metrics: Unify datetime format
-Celery: Set correct data in check_ins
-Celery: Read timezone for Crons monitors from celery_schedule if existing
-Django: Removing redundant code in Django tests
-Django: Make reading the request body work in Django ASGI apps.
-FastAPI: Use wraps on fastapi request call wrapper
-Fix: Probe for psycopg2 and psycopg3 parameters function.
-Fix: Remove unnecessary TYPE_CHECKING alias
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Wait for workers to finish reporting when test run stops early.
-Added support for Python 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-don't overwrite day/night specific conditions
-Remove dependency on pytz
-Use ciso8601 for parsing time when already installed
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-pre-compiled wheels for Microsoft Windows (32-bit and 64-bit) are now
available for Python 3.12 on PyPI.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Fix regression regarding IPython input hook (%gui) integration.
- Improved Python 3.12 support (fixes event loop 'DeprecationWarning').
- Vi key bindings: 'control-t' and 'control-d' for indent/unindent in insert
mode.
- Insert partial suggestion when 'control+right' is pressed, similar to Fish.
- Use sphinx-nefertiti theme for the docs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
site_cache_dir: Use /var/cache again instead of /var/tmp on UNIX
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Support with_call for wrapped rpcs
-Update async client to use async retry
-Add caching to routing header calculation
-Add warning to retry target to avoid incorrect usage
-Drop usage of distutils
-Ensure exception is available when BackgroundConsumer open stream fails
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Move project metadata to pyproject.toml, modify build scripts
-pyproject.toml: include the full README.md as the readme contents
-Remove dependency on six
-Fix geojson to esrijson conversion with custom SRID
-Add explicit support for Python3.11
-docs: Simplify release process, make patch versioning more clear
-Add explicit support for Python3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-ome users were experiencing encoding issues when parsing the networks json.
Use UTF-8 explicitly.
-Fix character encoding issue
-Fix and add new test cases for invalid Network chain_id values.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add support for tuples to the marshaller
-Re-release since the previous release ran out of space on PyPI
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2023.
Changelog:
=============
-Move HexBytes prepend of 0x from hex method to __repr__ to not break hex of
parent bytes class
-Drop python 3.7 support
-Added missing build dependency.
-Add build.os config for readthedocs
-Change to using pre-commit to manage linting tools
-Merge project template updates and bump mypy to v1.5.1
-Merge template - .gitignore updates and other fixes
-Merge template updates, including additional linting, move most lint config to
pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python3targetconfig class does not setup the build config for target
in do_ptest_compile_base so we need to do this manually. While at it: use
the provided nativepython3 command instead of using the full path.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added runtime dependencies. Upgrade to release 0.13.2:
- adding coverage information
- changes tests to pystes
- adding support for pyproject.toml
- adding extra properties for unit
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 0.126.0:
- Speed up outgoing packet writer
- Speed up writing name compression for outgoing packets
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.0.1:
- Relax setuptools version number
License-Update: Copyright years changed
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to release 10.1.0:
- Added TrueType default font to allow for different sizes
- Fixed invalid argument warning
- Added ImageOps cover method
- Catch struct.error from truncated EXIF when reading JPEG DPI
- Consider default image when selecting mode for PNG save_all
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata
- Added CMYK to RGB unpacker
- Improved flexibility of XMP parsing
- Support reading 8-bit YCbCr TIFF images
- Allow saving I;16B images as PNG
- Corrected drawing I;16 points and writing I;16 text
- Set blue channel to 128 for BC5S
- Increase flexibility when reading IPTC fields
- Set C palette to be empty by default
- Added gs_binary to control Ghostscript use on all platforms
- Read bounding box information from the trailer of EPS files if
specified
- Added reading 8-bit color DDS images
- Added has_transparency_data
- Fixed bug when reading BC5S DDS images
- Prevent TIFF orientation from being applied more than once
- Use previous pixel alpha for QOI_OP_RGB
- Added BC5U reading
- Allow getpixel() to accept a list
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y
radii
- Expand JPEG buffer size when saving optimized or progressive
- Added session type check for Linux in ImageGrab.grabclipboard()
- Allow "loop=None" when saving GIF images
- Fixed transparency when saving P mode images to PDF
- Added saving LA images as PDFs
- Set SMaskInData to 1 for PDFs with alpha
- Changed Image mode property to be read-only by default
- Silence exceptions in _repr_jpeg_ and _repr_png_
- Do not use transparency when saving GIF if it has been removed
when normalizing mode
- Fix missing symbols when libtiff depends on libjpeg
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 2.8.3:
- Ensure readonly attribute is set correctly when creating new
objects
- Optimize sparse bitarray compression for raw block type
- Improve hash functions in Bloom filter example
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade to version 1.16.0:
- The patch_function_wrapper() decorator now accepts an enabled
argument which can be a literal boolean value, object that
evaluates as boolean, or a callable object which returns a
boolean.
- The import hook loader and finder objects are now implemented
as transparent object proxies so they properly proxy pass access
to attributes/functions of the wrapped loader or finder.
- Code files in the implementation have been reorganized such that
the pure Python version of the ObjectProxy class is directly
available even if the C extension variant is being used.
- Bug fix: it was not possible to update the __class__ attribute
through the transparent object proxy when relying on the C
implementation.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add file-magic version 0.4.1, a Python front end for libmagic(3).
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python bindings for libgpiod have undergone several significant
changes that make them easier to use for users of pip. The libgpiod
sources are now vendored with the python3-gpiod as the biggest complaint
by far was the fact that if the system doesn't provide the correct
version of libgpiod, the python bindings won't build.
This is however irrelevant for the meta-python recipe as we use the
provided switch to keep linking against the libgpiod provided by
meta-openembedded.
We have changed the way the tests are built, they are now generated by a
separate build script and no longer by setup.py. The package now
correctly build with the preferred pep517 method so change the inherited
classes.
We have also gained control over the gpiod module on pypi (which
previously hosted a pure python GPIO library) so the location of the
sources has changed.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Speed up incoming packet processing with a memory view
Speed up decoding labels from incoming data
Speed up ServiceBrowsers with a pxd for the signal interface
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add support for Python 3.12
CI improvements
Unit test improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
-The handling introduced in v.0.30.2 (raising an exception for clarity)
is retained for cases when no name mapping policy is specified but function
signature contains defaults in non-kwonly args and kwonly args are also
defined
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Replace `python3-isodate` with `python3-aniso8601` in the `python3-flask-restx`
recipe to meet the updated dependency requirements for Flask-RESTx.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add new python3-aniso8601 recipe for parsing ISO 8601 strings with a
BSD-3-Clause license.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-ninja is a build dependency for other python modules.
For this, python3-ninja must be built for native mode.
This partially reverts d4aa17dc43
("meta-python: Drop broken BBCLASSEXTEND variants")
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-ninja is used as a build dependency by other modules.
For that, python3-ninja and all its dependencies must be built
in native mode.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pdm, a modern Python package and dependency manager supporting
the latest PEP standards. Version 2.10.1 brings:
- Fix list index out of range when build error message is empty
- Fix find_link sources being exported as --extra--index-url
- Fix an installation failure when install.cache = true
- Fix a resolution issue that extra dependencies are not resolved
when the bare dependency has more specific version constraint
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pdm-backend, the build backend used by PDM that supports latest
packaging standards. Version 2.1.7 provides:
- Rename tag-pattern to tag_regex in the docs
- Copytree handle existing dirs
- Normalize the dist info name in the wheel
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add Wand, a ctypes-based simple MagickWand API binding for Python.
Versions 0.6.13 and 0.6.12 provide:
- Hotfix release to remove a "work-in-progress" pyproject.toml
- Fixed behavior when passing zero to Image.chop()
- Fixed libmagick yield MagickCore library on Linux
- Fixed removing mask when passing None to Image.write_mask() method
- Added new COMPOSITE_OPERATORS operators
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
${PYPI_SRC_URI} is prepended to SRC_URI by the pypi class so there is no
reason to also do it in the recipe.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add py7zr, a pure python 7-zip library. Version 0.20.7 with Python
3.12 support.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pyppmd, a PPMd compression/decompression library.
Version 1.1.0 provides:
- Add Python 3.12 support
- Minimum required python to be 3.8
- Export PPMD8_RESTORE_METHOD* constants
- Drop setup.cfg
- Drop github actions workflows
- README: Add SPDX identifier
- CI run on python 3.10, 3.11 and 3.12
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pybcj, a bcj filter library. Version 1.0.2 brings:
- Support python 3.12
- Add cibuildwheel config
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes
ImportError while importing test module '/usr/lib/python3-cbor2/ptest/tests/test_encoder.py'.
E ModuleNotFoundError: No module named 'hypothesis'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add unoconv version 0.9.0, an universal office converter - convert
between any document format supported by LibreOffice/OpenOffice.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add screeninfo, fetch location and size of physical screens.
Versions 0.8.1 and 0.8.0 changelog:
- Added typing information
- Started tracking changes
- Switched to poetry
- Added ignoring of enumerators that work, but return no valid
monitors
- Added ScreenInfoError to list of top-level symbols
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit adds the python3-zopeevent recipe, which provides a simple event
system. It is licensed under ZPL-2.1.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit introduces the python3-flask-restx recipe, which brings a fully
featured framework for fast, easy, and documented API development with Flask.
It is released under the BSD-3-Clause license.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pcodedmp, a VBA (Visual Basic for Applications; the macro
programming language used in Microsoft Office) p-code disassembler
version 1.2.6:
- Some cosmetic changes
- win_unicode_console not used when unavailable
- win_unicode_console is now used only on Windows
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add olefile, a package to parse, read and write Microsoft OLE2
files. Version 0.46 changelog:
- OleFileIO can now be used as a context manager (with...as), to
close the file automatically (see doc).
- Improved handling of malformed files.
- Fixed several bugs.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add oletools, Python tools to analyze security characteristics of
MS Office and OLE files. Version 0.60.1 changelog:
- olevba:
fixed a bug when calling XLMMacroDeobfuscator
removed keyword "sample" causing false positives
- oleid: fixed OleID init issue
- oleobj:
added simple detection of CVE-2021-40444 initial stage
added detection for customUI onLoad
improved handling of incorrect filenames in OLE package
- rtfobj: fixed code to find URLs in OLE2Link objects for Py3
- ftguess:
added PowerPoint and XPS formats
fixed issue with XPS and malformed documents
added XLSB format
- improved logging with common module log_helper
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add multivolumefile, a multi volume file wrapper library.
Version 0.2.3 changelog:
- implement readall()
- lint with black
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add pymemcache, a comprehensive, fast, pure Python memcached
client. Version 4.0.0 brings:
- Drop python support for 2.7, 3.4 and 3.5
- Use default for get ignore_exc
- Return default from hash client
- Return default from hash client when using positional argument
- Support noreply for hash flush_all
- Drop support for Python 3.6
- Add official support for Python 3.10
- Handle a blank stat value
- Small buffer pass optimization
- Expand Client with a method for sending arbitrary commands
- Add pluggable compression serde
- Start to add type hints
- Add py.typed file
- Fix key_prefix issue with stats and cache_memlimit
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a new recipe for jsbeautifier version 1.14.9, JavaScript
unobfuscator and beautifier.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add python3-inflate64, a python package to provide compression and
decompression feature with Enhanced Deflate algorithm.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add colorclass version 2.2.2, a colorful worry-free console
applications for Linux, Mac OS X, and Windows.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit includes the python3-objectpath recipe, which introduces the agile
NoSQL query language for semi-structured data. It is licensed under MIT.
Signed-off-by: Arthur Oliveira <arthur.oliveira@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Recipes python3-nacl and python3-pynacl are exactly the same reipces for
python packge "PyNaCl", so drop the latter one python3-nacl_1.5.0.bb.
And let python3-pynacl rprovides python3-nacl in case it is required by
other recipes. Ajust the order in python3-pynacl as well accord to
https://docs.yoctoproject.org/dev/contributor-guide/recipe-style-guide.html#recipe-ordering
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add rarfile, a Python module for RAR archive reading. Version 4.1
brings:
- Support 7zip/p7zip as decompression backend
- RAR5: check password before trying to read file
- Make get_rar_version a public function
- New option: part_only for RarFile, to read only single file and
allow it to be middle-part of multi-volume archive
- Add RarFile.printdir, use it in dumprar. Needed to examine
FILE_COPY or HARD_LINK entries that do not contain data
Add run-time dependencies on p7zip as it is one of the supported
backend as well as to other required Python libraries.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.
In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.
Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Build Linux binary wheels for Python 3.12.
-Add support for Python 3.12.
-Fix building of the docs for non-final versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Update cibuildwheel to build wheels on latest cython final release
-Reduce size of wheels by excluding generated .c files
-Small improvements to ServiceBrowser performance
-Small cleanups to incoming data handlers
-Reduce type checking overhead at run time
-Ensure ServiceInfo cache is cleared when adding to the registry
-Add missing python definition for addresses_by_version
-Speed up outgoing multicast queue
-Speed up responding to queries
-Improve performance of loading records from cache in ServiceInfo
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* Add support for formatting the data label in chart trendlines.
* Add the :func:'very_hidden()' method to hide a worksheet. This is similar to
the :func:'hide()' method except that the worksheet cannot be unhidden in the
the Excel user interface. The Excel worksheet "xlSheetVeryHidden" option can
only be unset programmatically via VBA.
* Added fixes for column formulas in tables that were overridden by table data
and which also didn't take future functions into account.
* Added support for chart leader lines for chart types other than Pie and Doughnut.
* Added support for adding signed VBA macros to workbooks via the via the
:func:'add_signed_vba_project' method. See 'Working with VBA Macros'_.
* Added support for enabling the Excel "Show #N/A as an empty cell" chart option
via the :func:'show_na_as_empty_cell' method.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix#952, add support for HTTP 307 and 308 redirect codes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Updates and refactoring for the WebsocketProviderV2 class and its internal
supporting classes and logic.
-Add upper pin to hexbytes dependency to due incoming breaking change
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- The Unicode data doesn't change tz names when IANA does, so what is current
in IANA is treated as an alias in Unicode data. This version handles that.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-New SimpleClient and AsyncSimpleClient classes
-Reporting to Socket.IO Admin UI
-Support entering and leaving rooms through pubsub client managers
-Async versions of enter_room and leave_room should be coroutines
-Add a shutdown() function for the server
-Message queue optimizations
-Remove unneeded arguments from super()
-Internal code restructure (no functional changes)
-Add FastAPI and Litestar server examples
-Update Socket.IO JavaScript client to version 4.7.2 in all examples
-Update ping_timeout documented default to accord with current Engine.IO behavior
-Refactor common testing helpers into a separate module
-Migrate Python package metadata to pyproject.toml
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* Updated test & build matrix to include Python 3.12 and use
GitHub Actions as a Trusted Publisher (OIDC)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
PR #418: Replace OrderedDict with dict.
PR #426: Fix replace() method to use the derived class of an instance instead of Version class.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix bug where schedule was off when using .at with timezone
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Generate wheels on PyPI using final Python 3.12 release, thanks to cibuildwheel 2.16.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Fix bug with JSON schema for sequence of discriminated union
Fix schema references in discriminated unions
Fix json schema generation for recursive models
Fix models_json_schema for generic models
Fix xfailed test for generic model signatures
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bump GitHub Actions versions and fix warnings in the process
Bump versions of used GitHub Actions
Add support for 3.12, drop EOL 3.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixes:
- Fix 'RuntimeError' when '__breakpointhook__' is called from another thread.
- Fix memory leak in filters usage.
- Ensure that key bindings are handled in the right context (when using
contextvars).
- Fix regression in filters. (Use of 'WeakValueDictionary' caused filters to
not be cached).
- Fix 'currentThread()' deprecation warning.
- Fix memory leak in filters.
- Make VERSION tuple numeric.
New features:
- Accept 'in_thread' keyword in 'prompt_toolkit.shortcuts.prompt()'.
- Support the 'NO_COLOR' environment variable.
- Use 24-bit true color now by default on Windows 10/11.
- Add '.run()' method in 'TelnetServer'. (To be used instead of
'.start()/.stop()'.
Breaking changes:
- Subclasses of 'Filter' have to call 'super()' in their '__init__'.
- Drop support for Python 3.6:
* This includes code cleanup for Python 3.6 compatibility.
* Use 'get_running_loop()' instead of 'get_event_loop()'.
* Use 'asyncio.run()' instead of 'asyncio.run_until_complete()'.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Do not run meson install to build a wheel.
-Obey the --skip-subprojects when specified for the meson install command.
-Implement support for the exclude_directories and exclude_files arguments to
Meson install_subdir() function and similar installation functions.
-Implement support for building wheels targeting the Python limited API.
-when pyproject.toml does not contain a version field and version is not
declared dynamic, raise an error instead of silently using the version
declared in meson.build.
-Fix the mtime of source files in the sdist tarball.
-Add objc and objcpp compilers to the cross file generated when the
$ARCHFLAGS is set.
-Extensive documentation improvements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise warning instead of error when using fps in pillow
Consistently load GIF frames using the same pixel format
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Check to ensure the gevent monkeypatch was applied when running the consumer
with greenlet workers, log warning if it is not.
-Explicitly clear the revoked flag on task instances after execution (#713).
-Add support for delay=, eta= in Huey's .s() and .then()
-Add support for rescheduling callback pipelines when rescheduling a task.
-Add an on_commit_task() decorator for Django extension that will enqueue the
task after any database changes have been committed.
-Allow overriding the delay and eta when raising a RetryTask exception.
-Add a very simple ResultGroup.as_completed() helper to provide a way to deal
with multiple results as they become available.
-Add an asyncio helper for resolving task results asynchronously.
-Fix bug in SIGINT and SIGTERM behavior for gevent users.
-Include lock name when a task fails due to TaskLocked exception
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Serialize signer keys on getstate for pickling
Support urllib3<2.0 versions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Dropped support for end-of-life Python 3.7. Support PyPy 3.9
Replace deprecated locked_cached_property decorator with cached_property
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Add information to docs for utilities which did not have any.
-Pull latest from template repo to fix release script, update wording in
comments and docs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add script to maintain Network constants listed in the networks module.
Add types-setuptools to support pkg_resources and __version__
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Feature
--------
Update for final cpython release (#263) (460a072)
Speed up unpacking arrays (#257) (5c8bfe5)
Speed up constructing Variant objects (#256) (0d7a665)
Speed up unmarshalling message body (#255) (5aed075)
Speed up unmarshalling Variants (#254) (dd74a84)
Speed up readers in the unmarshall path (#253) (f9b61b8)
Speed up first connection when using asyncio (#251) (0b6ba93)
Speed up unmarshaller (#250) (e4cae13)
Add cython typing for ServiceInterface.name (#248) (98c7e75)
Speed up connect and disconnect (#247) (8f39ba3)
Speed up unmarshalling by skipping unused unix_fds header (#246) (5f5a150)
Reduce overhead to reset between messages (#245) (da30b04)
Don't import backends by default (#243) (091d421)
Breaking
don't import backends by default (#243) (091d421)
Small speed up to the unmarshaller (#238) (b8d0e9b)
Build cpython 3.12 wheels (#234) (b38aa58)
Improve performance of processing incoming messages (#228) (ce61aea)
Reduce overhead to dispatch method handlers (#227) (b222552)
Speed up to processing bluez passive data (#221) (8e7432d)
Remove async_timeout dependency (#218) (7826897)
Speed up Message creation and callbacks (#217) (04d6451)
Optimize passive bluez message unmarshaller (#216) (e0e87ec)
Initial cpython 3.12 support (#207) (c755193)
Improve performance of reading from the socket during unmarshall (#200) (e5d355f)
Fix
-------------
Handling of None messages from notify callback (#236) (14f52f2)
Clean up address parsing and tests (#244) (370791d)
Handle multiple flag bits when unmarshalling (#241) (6f6f5f8)
Rebuild wheels with cython 3.0.2 (#235) (e8901a8)
Avoid cythonizing SendReply (#232) (d12266d)
Subpath bad matching (#202) (5d6f90b)
Messages could be sent out of order if they had to queue (#225) (4051cf2)
Avoid checking if a message expects a reply twice (#223) (823e85f)
Revert changes to _expects_reply from speed up to processing bluez passive data (#222) (dfa9053)
Spelling of dbus_fast.auth.AuthAnnonymous to dbus_fast.auth.AuthAnonymous (#220) (6c2412f)
More cython3 optional fixes (#219) (5b6cbc5)
Exception handler failure when exception is not DBusError (#215) (d771bcf)
Result typing in ServiceInterface._handle_signal (#214) (5bda04b)
Avoid double buffering when using asyncio reader without negotiate_unix_fd (#213) (c933be7)
Relax typing on _fn_result_to_body to allow Any (#212) (2f5fc38)
Typing on _fn_result_to_body was incorrect which was caused an exception with cython3 (#210) (c40c7bc)
Cython3 compat (#208) (43b3d48)
Reduce size of wheels by excluding generated .c files (#262) (dca4599)
Marshall multi-byte strings correctly (#261) (4de31a3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-The coverage lcov command ignored the [report] exclude_lines and [report]
exclude_also settings (issue 1684).
-Fix error that SQLite will create journal files alongside the coverage.py
database files.
-On Python 3.12+, we now disable SQLite writing journal files, which should be
a little faster.
-The new 3.12 soft keyword type is properly bolded in HTML reports.
-Removed the "fullcoverage" feature used by CPython to measure the coverage of
early-imported standard library modules. CPython stopped using it in 2021,
and it stopped working completely in Python 3.13.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
bump cmake from 3.27.5 to 3.27.6
bump pypa/cibuildwheel from 2.16.1 to 2.16.2
update pre-commit hooks
bump ninja from 1.11.1 to 1.11.1.1
update pre-commit hooks
Update to CMake 3.27.7
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
---------
-Allow to execute the CLI (e.g. normalizer) through python -m
charset_normalizer.cli or python -m charset_normalizer
-Support for 9 forgotten encoding that are supported by Python but unlisted
in encoding.aliases as they have no alias (#323)
Removed
---------
-Redundant utils.is_ascii function and unused function is_private_use_only
-charset_normalizer.assets is moved inside charset_normalizer.constant
Changed
----------
-Unicode code blocks in constants are updated using the latest v15.0.0
definition to improve detection
-Optional mypyc compilation upgraded to version 1.5.1 for Python >= 3.8
Fixed
--------
Unable to properly sort CharsetMatch when both chaos/noise and coherence were close due to an unreachable condition in __lt__ (#350)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix SyncWrapperType and AsyncWrapperType
-Fixed issue where signal.connected_to would not disconnect the receiver if
an instance of BaseException was raised.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
* update cibuildwheel to 2.16.1 in order to provide cp312 wheels on PyPI
* improve error messages for masked assignment
* simplify test collection
* added 'pytest.ini' to allow running pytest with no additional arguments,
see #208
* 'util.sc_encode()': avoid writing empty blocks at end of compressed
stream, ie. skip encoding when total population count is reached
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
-Fixed false positive for inherit-non-class for generic Protocols.
-Fix a crash when an enum class which is also decorated with a
dataclasses.dataclass decorator is defined.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Two introspection-related ptests are consistently failing. For now,
disable them so that a clean ptest run is available.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
arrow is a module that aims to provide a more user-friendly approach to
date and time in Python. It is required by git-pw which in turn is
required by patchtest, so add a recipe for it. The version is updated
1.2.2 -> 1.3.0 from the meta-patchtest layer.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are a handful of CLI-related ptests that consistently fail with an
apparent permissions issue, but making the
.../site-packages/cpuinfo/cpuinfo.py script executable does not seem to
fix the problem. Skip these tests for now, and make sure that the right
/usr/bin/env line is present in py-cpuinfo's scripts on the image.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
git-pw is a tool for integrating Git with Patchwork instances. Add it
to meta-python from meta-patchtest so that more workflows can take
advantage of it.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verify the license remains the same and update the checksum
Remove python-six runtime dependency
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The upstream package hasn't been updated since 2020 and was meant to be a short term
bridge to remote pytz. Anoted in the usage documents, "This library is intended for
temporary usage only, and should allow you to drop your dependency on pytz while
also giving your users notice that eventually you will remove support for the
pytz-specific interface."
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Accepted was replaced with Backport in gatesgarth:
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes
* as detected with oe-core/scripts/contrib/patchreview.py:
meta-openembedded $ grep -A 3 Malformed *qa-patches
meta-gnome.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-gnome.qa-patches-/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch
meta-gnome.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-gnome.qa-patches-Upstream-Status: Accepted [dc9701e187]' (/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Consolidated inc into the recipe to remove a unneeded layer of indirection
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-isodate recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-click recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-booleanpy recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-xmltodict recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-license-expression recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-rdflib recipe is moved to openembedded-core.
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verified license is still BSD and updated the checksum for spacing change
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update build to use hatchling
Add dependency for README generation
Verify the license terms and update the checksum
Note from upstream
=======
Pydantic V2 is a ground-up rewrite that offers many new features, performance improvements, and some breaking changes compared to Pydantic V1.
If you're using Pydantic V1 you may want to look at the pydantic V1.10 Documentation or, 1.10.X-fixes git branch. Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects: from pydantic import v1 as pydantic_v1.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Verified license remains the same and updated the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Added:
Add hash capabilities to OUI (#225, amitmi704)
Fixed:
Backwards incompatible: Handle RFC 6164 IPv6 addresses (don't reserve first IP
address in point-to-point subnets) ($267, Damien Claisse)
Technically backwards incompatible: Fix for is_loopback behaviour – consider
IPNetwork('::1/128') to be loopback (#222, #223, niels)
Include tutorials in source distributions (#215, Louis Sautier)
Fix a documentation typo (#242, Wouter)
Fix print syntax in the documentation to be Python 3 compatible (#221, François Magimel)
Fix the Sphinx syntax in the documentation (#220, François Magimel)
Other:
Update the databases (#266, Jakub Stasiak)
Deprecate Python 3.6 (#263, Jakub Stasiak)
Eliminate unnecessary evals (#228, KOLANICH)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
autoflake is a python library which removes unused imports and unused
variables from Python code. This recipe uses pypi as source:
https://pypi.org/project/autoflake/
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Features
accesscontextmanager: Update the api f6f6113f42 (f77ee26)
advisorynotifications: Update the api 0025b75976 (f77ee26)
aiplatform: Update the api fbcd223a51 (f77ee26)
androidmanagement: Update the api 23cd554b04 (f77ee26)
appengine: Update the api 266598f553 (f77ee26)
artifactregistry: Update the api fe34c2221c (f77ee26)
assuredworkloads: Update the api 86eaf3ff8d (f77ee26)
beyondcorp: Update the api f27ec8e0ac (f77ee26)
blockchainnodeengine: Update the api bf425463c4 (f77ee26)
checks: Update the api 3d7acfbe70 (f77ee26)
chromemanagement: Update the api 5310a182fd (f77ee26)
cloudasset: Update the api d076b1bd45 (f77ee26)
cloudfunctions: Update the api c9d14b98bf (f77ee26)
cloudtasks: Update the api fe0bcad347 (f77ee26)
composer: Update the api 4d9e24a39c (f77ee26)
connectors: Update the api 7e2e3f0687 (f77ee26)
contactcenteraiplatform: Update the api ee747d28f2 (f77ee26)
datamigration: Update the api de2aa36bbf (f77ee26)
gkeonprem: Update the api f5890d0826 (f77ee26)
gmail: Update the api 40b0348d28 (f77ee26)
integrations: Update the api ddf9afb276 (f77ee26)
monitoring: Update the api f64be2390c (f77ee26)
mybusinessverifications: Update the api fde7890f06 (f77ee26)
networkconnectivity: Update the api 0d299134e8 (f77ee26)
networkmanagement: Update the api 47352429b1 (f77ee26)
notebooks: Update the api 66dd9d0e43 (f77ee26)
paymentsresellersubscription: Update the api d0fae461de (f77ee26)
places: Update the api db06598e16 (f77ee26)
run: Update the api d10dad24fe (f77ee26)
spanner: Update the api 531ba38b88 (f77ee26)
storage: Update the api 8610476ae8 (f77ee26)
transcoder: Update the api 7d2dfac9b7 (f77ee26)
vision: Update the api 4de577bc69 (f77ee26)
Bug Fixes
smartdevicemanagement: Update the api 03ffb2b7ad (f77ee26)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Removed a patch the no longer appears to be needed and dropped support for python 3.7
Changelog
=========
0.21.1 (2023-09-08)
Changed
Changed dbus-fast dependency to include v2.x. Fixes#1412.
0.21.0 (2023-09-02)
Added
Added bleak.uuids.normalize_uuid_16() function.
Added bleak.uuids.normalize_uuid_32() function.
Added advertisement_data() async iterator method to BleakScanner. Merged #1361.
Added type hints for kwargs on BleakScanner class methods.
Added support for Python 3.12.
Changed
Improved error messages when failing to get services in WinRT backend.
Improved error messages with enum values in WinRT backend. Fixes#1284.
Scanner backends modified to allow multiple advertisement callbacks. Merged #1367.
Changed default handling of the response argument in BleakClient.write_gatt_char. Fixes#909.
Bleak recipe now automatically installs bleak from GitHub release in Kivy example.
Changed BlueZManager methods to raise BleakError when device is not in BlueZ.
Optimized BlueZ backend device watchers and condition callbacks to avoid linear searches.
Changed type hint for buffer protocol to collections.abc.Buffer.
Fixed
Fixed handling all access denied errors when enumerating characteristics on Windows. Fixes#1291.
Added support for 32bit UUIDs. Fixes#1314.
Fixed typing for BaseBleakScanner detection callback.
Fixed possible crash in _stopped_handler() in WinRT backend. Fixes#1330.
Reduced expensive logging in the BlueZ backend. Merged #1376.
Fixed race condition with "InterfaceRemoved" when getting services in BlueZ backend.
Fixed missing permissions and requirements in android Kivy example. Fixes#1184.
Fixed WinRT backend sometimes hanging forever when a device goes out of range during connection. Fixes#1359.
Removed
Dropped support for Python 3.7.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove incorrect/deprevated URI for upstream version checking
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove outdated setup tools dependency and inherit
Changelog
=========
New
Support for Python 3.10 & 3.11
The HTML documentation uses the furo theme
Fixed
*of rules are skipped for None values (#582)
Validations of mappings would raise an exception when the field's rules were provided as reference to a registry item (#599)
Improved
Various minor improvements of the documentation
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update the inherit is use the poetry
Changelog
=========
What's Changed
Make cycle_time serialisation more consistent for DBC files by @mon in #592
User f-strings instead of str.format() by @zariiii9003 in #599
Add prog option to argparse for help messages by @jack-champagne in #600
NOTE: This is a major release change with the following API changes:
The initial attribute of Signal objects now always holds the initial signal value as a scaled quantity, unifying its semantics with that of Signal.minimum and Signal.maximum. Previously, initial used raw values for databases loaded from DBC files, while using scaled ones for databases loaded from ARXML. (The loaders for other file formats do not currently set the initial attribute.)
The machinery for storing decimal numbers without rounding errors (*.decimal attributes) has been removed. In its place small rounding errors in load-store-load cycles are now accepted. To remediate this, the resulting database objects can now be compared approximately using the Database.is_similar() method.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the package override that is no longer needed
Update the inherits to use poetry
Changelog
=========
What's Changed
serialize: remove v1 and v2 formats by @woodruffw in #310
refactor: move the serialization implementation to method by @frostming in #313
feat: drop support of Python older than 3.7 by @frostming in #312
fix(typing): fix wrong types by @frostming in #314
workflows: add a release workflow by @woodruffw in #308
cachecontrol: 0.13.1 by @woodruffw in #315
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
==================
New
Support Python 3.12.
Changed
absl-py no longer supports Python 3.6. It has reached end-of-life for more
than a year now.
(logging) logging.exception can now take exc_info as argument, with
default value True. Prior to this change setting exc_info would raise
KeyError, this change fixes this behaviour.
(testing) For Python 3.11+, the calls to absltest.TestCase.enter_context
are forwarded to unittest.TestCase.enterContext (when called via instance)
or unittest.TestCase.enterClassContext (when called via class) now. As a
result, on Python 3.11+, the private _cls_exit_stack attribute is not
defined on absltest.TestCase and _exit_stack attribute is not defined on
its instances.
(testing) absltest.TestCase.assertSameStructure() now uses the test case's
equality functions (registered with TestCase.addTypeEqualityFunc()) for
comparing leaves of the structure.
(testing) abslTest.TestCase.fail() now names its arguments
(self, msg=None, user_msg=None), and not (self, msg=None, prefix=None),
better reflecting the behavior and usage of the two message arguments.
DEFINE_enum, DEFINE_multi_enum, and EnumParser now raise errors when
enum_values is provided as a single string value. Additionally,
EnumParser.enum_values is now stored as a list copy of the provided
enum_values parameter.
(testing) Updated paramaterized.CoopTestCase() to use Python 3 metaclass
idioms. Most uses of this function continued working during the Python 3
migration still worked because a Python 2 compatibility __metaclass__
variables also existed. Now pure Python 3 base classes without backwards
compatibility will work as intended.
(testing) absltest.TestCase.assertSequenceStartsWith now explicitly fail
when passed a Mapping or Set object as the whole argument.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Improve AsyncServiceBrowser performance (#1273) (0c88ecf)
Speed up question and answer internals (#1272) (d24722b)
Small speed ups to ServiceBrowser (#1271) (22c433d)
Speed up ServiceBrowsers with a cython pxd (#1270) (4837876)
Improve performance of constructing outgoing queries (#1267) (00c439a)
Speed up responding to queries (#1266) (24a0a00)
Speed up answering questions (#1265) (37bfaf2)
Speed up ServiceInfo with a cython pxd (#1264) (7ca690a)
Speed up generating answers (#1262) (50a8f06)
Avoid calling get_running_loop when resolving ServiceInfo (#1261) (33a2714)
Significantly speed up writing outgoing dns records (#1260) (bf2f366)
Speed up writing outgoing dns records (#1259) (248655f)
Small speed up to writing outgoing dns records (#1258) (1ed6bd2)
Reduce IP Address parsing overhead in ServiceInfo (#1257) (83d0b7f)
Speed up decoding incoming packets (#1256) (ac081cf)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Added support for custom total formulas to worksheet tables.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-1 public Python file has been added: setuptools/tests/test_core_metadata.py.
-0 files included in typeshed's stubs have been deleted.
-7 files included in typeshed's stubs have been modified or renamed:
setuptools/__init__.py, setuptools/command/editable_wheel.py,
setuptools/command/egg_info.py, setuptools/depends.py, setuptools/dist.py,
setuptools/monkey.py, setuptools/namespaces.py.
-Total lines of Python code added: 1051.
-Total lines of Python code deleted: 682.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Fixed Callable erroneously rejecting a callable that has the requested amount
of positional arguments but they have defaults
-Fixed a regression introduced in v4.1.4 where the elements of Literal got
quotes removed from them by the AST transformer
-Fixed AttributeError where the transformer removed elements from a PEP 604 union
-Fixed AttributeError: 'Subscript' object has no attribute 'slice' when
encountering an annotation with a subscript containing an ignored type
(imported within an if TYPE_CHECKING: block)
-Fixed type checking not being skipped when the target is a union (PEP 604 or
typing.Union) where one of the elements is an ignored type (shadowed by an
argument, variable assignment or an if TYPE_CHECKING import) (#394, #395)
-Fixed type checking of class instances created in __new__() in cases such as
enums where this method is already invoked before the class has finished initializing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>