Changelog:
============
-Add support for Python 3.9 through 3.12, drop support for 3.7
-Removal of dependency on six module
-Raise explicit exception when deserializing a vector with a subtype that
isn’t a constant size
-Remove outdated Python pre-3.7 references
-Remove backup(.bak) files
-Fix doc typo in add_callbacks
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-* avoid buffer being unnecessarily initialized with 0s in several
functions of the 'bitarray.util' module
-* fix '.count()' type hint in pyi-file
-* improve testing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
- Fix conversion of deprecated flag on parameters
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
Changelog:
==========
Use current master version of rapidjson
Use cibuildwheel 2.15.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
server tracer example.
sync connect missing.
simulator future problem.
Always close socket on error (reset_sock).
Revert reset_socket change.
add close_comm_on_error to example.
Test long term (HomeAsistant problem).
Update ruff to 0.0.287 (#1764)
Remove references to ModbusSerialServer.start
Readd test to get 100% coverage.
transport: Don't raise a RunTimeError in ModbusProtocol.error_received()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Avoid exception when data is an empty iterator.
- Revert "build(deps): bump codecov/codecov-action from 3 to 4"
- Build(deps): bump codecov/codecov-action from 3 to 4.
- Build(deps): bump actions/checkout from 3 to 4.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Features
---------
Add get_bq_config_path() to _cloud_sdk.py (9f52f66)
Add get_bq_config_path() to _cloud_sdk.py (#1358) (9f52f66)
Bug Fixes
----------
Expose universe domain in credentials (#1380) (8b8fce6)
Make external_account resistant to string type 'expires_in' responses from non-compliant services (#1379) (01d3770)
Missing ssj for impersonate cred (#1377) (7d453dc)
Skip checking projectid on cred if env var is set (#1349) (a4135a3)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixes in the test client to support recent changes in Socket.IO dependencies
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Replace gevent-websocket with simple-websocket when using gevent
-Catch and log all errors that occur in event handlers
-Use daemon threads for background tasks also in the threaded client
-Silence exception on websocket exit when using uWSGI #330
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-The semantics of stars in file patterns has been clarified in the docs.
A leading or trailing star matches any number of path components, like a
double star would. This is different than the behavior of a star in the
middle of a pattern.
-The API docs were missing from the last version. They are now restored.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix for the module command-line usage. Bug #290.
- Fix for when creating bitstrings from memoryview objects.
- Renamed the 'fmt' parameter for Arrays to 'dtype'.
- More Array operator coverage.
- Added operators that act on two Arrays of the same size.
- Added comparison operators for Arrays that return an Array of bools.
- Added Array.equals method as == will now return an Array (see above item).
- Added astype() method for Arrays to easily cast to a new dtype.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch
refreshed for 0.2.1
Changelog:
==========
add installing clang package for readthedocks
atexit fix
fix file system events: store fs info when marked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Implement lazy.__set_name__() which helps in cases like foo=lazy(_foo).
Update tox.ini for latest tox.
Add GitHub CI workflow.
Add .readthedocs.yaml file.
Pin sphinx and sphinx-rtd-theme versions in docs extra.
Add mypy extra which installs mypy.
Fix stray characters in keywords.
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:
===========
- change signatures for ReportAttemptingFullContext() and
ReportContextSensitivity() to be identical to all other targets
- Move GetText(), SetText(), and String() from CommonToken to BaseToken
- Restore "Obtained from string" source name.
- fix: Fix very minor code issues spotted by goreportcard.com
- Java: suppress this-escape warning introduced in JDK 21.
- Adds default targets for babel configuration
- fix dependabot warnings
- Add Antlr4Dynamic product
- Cleanup duplicate SwiftTarget code
- Fix for #4320--export additional types
License-Update: Version updated to 4.13.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The new version requires hatchling to build, so add that and remove
poetry (which isn't actually needed). Note that the changelog says it
switched to PDM from poetry.
Changelog: https://github.com/Tinche/aiofiles#history
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Shellingham is a python library to detect what shell the current
Python executable is running in. This recipe uses pypi as source:
https://pypi.org/project/shellingham
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update run-ptest script to print the output of python3-appdirs ptest results in
unified format
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Speed up answering queries (#1255) (2d3aed3)
Optimize DNSCache.get_by_details (#1254) (ce59787)
Speed up adding and removing RecordUpdateListeners (#1253) (22e4a29)
Optimize cache implementation (#1252) (8d3ec79)
No change re-release due to unrecoverable failed CI run (#1251) (730921b)
Reduce overhead to answer questions (#1250) (7cb8da0)
Cache construction of records used to answer queries from the service registry (#1243) (0890f62)
Remove useless calls in ServiceInfo (#1248) (4e40fae)
Reduce overhead to process incoming updates by avoiding the handle_response shim (#1247) (5e31f0a)
Avoid python float conversion in listener hot path (#1245) (816ad4d)
Reduce overhead to process incoming questions (#1244) (18b65d1)
Speed up RecordManager with additional cython defs (#1242) (5a76fc5)
Improve performance by adding cython pxd for RecordManager (#1241) (a7dad3d)
Build wheels for cpython 3.12 (#1239) (58bc154)
Use server_key when processing DNSService records (#1238) (cc8feb1)
Simplify code to unpack properties (#1237) (68d9998)
Context managers in ServiceBrowser and AsyncServiceBrowser (#1233) (bd8d846)
Rebuild wheels with cython 3.0.2 (#1236) (dd637fb)
Speed up question and answer history with a cython pxd (#1234) (703ecb2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Dropped Python 3.7 support
-Fixed @typechecked optimization causing compilation of instrumented code to
fail when any block was left empty by the AST transformer
(eg if or try / except blocks) (#352)
-Fixed placement of injected typeguard imports with respect to __future__
imports and module docstrings (#385)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow passing in multiple overrides using the ; character and fix , being used as splitting values
Add support for setting build backend config_settings in the configuration file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support Python 3.12.
NEW: Drop support for Python 3.7.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Optimized performance and memory usage for broadcasts
Improved documentation on horizontal scaling
Corrected user session documentation example
Improved grammar in documentation
Fix docstring typo: client/server mixup
Fix typos in the documentation
Upgrade dependencies in Django server example
Update reference JavaScript examples
Upgrade to pypy-3.9 in unit tests
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Copyright from LICENSE: xdist loadscope (test is not split). (#1708)
Changelog:
============
Async retry (#1752)
test_client: Fix test_client_protocol_execute() (#1751)
Use enums for constants (#1743)
Local Echo Broadcast with Async Clients (#1744)
Fix#1746 . Return missing result (#1748)
Document nullmodem. (#1739)
Add system health check to all tests. (#1736)
Handle partial message in ReadDeviceInformationResponse (#1738)
Broadcast with Handle Local Echo (#1737)
transport_emulator, part II. (#1710)
Added file AUTHORS, to list all Volunteers. (#1734)
Fix#1702 and #1728 (#1733)
Clear retry count when success. (#1732)
RFC: Reduce parameters for REPL server classes (#1714)
retries=1, solved. (#1731)
Impoved the example "server_updating.py" (#1720)
pylint 3.11 (#1730)
Correct retry loop. (#1729)
Fix faulty not check (#1725)
bugfix local echo handling on sync clients (#1723)
Updated copyright in LICENSE.
Correct README pre-commit.
Fix custom message parsing in RTU framer (#1716)
Request tracer (#1715)
pymodbus.server: allow strings for "-p" paramter (#1713)
New nullmodem and transport. (#1696)
xdist loadscope (test is not split). (#1708)
Add client performance example. (#1707)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Update Sharing group info from full object.
- Changes in msg-extract strip a character.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Adjust type check
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:
===========
* Add more translations from CLDR
* Get translation changes from CLDR
* Japanese: prefer anthy over kkc
* Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==============
-implement exceptions in Python PR #162 This allows to expose in a natural
manner the object relevant to the exception: constraint or edit_variable
-add missing signature of Constraint.violated for Python wrapper PR #166
-add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor resolution metadata reading for TIFF and avoid failing on missing data
Add bytes to ImageResource typehints
Update readthedocs.yaml
Deprecate Python 3.7 support
Add bytes to ImageResource typehints
Remove deprecations in CD
Fix typo in README.md
Fix several typos in the docs and source code comments
Add migration note for format kwarg
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added send_packet() method
Fixed race condition when lots of connections are ended at the same time #328
Workaround for strange memory leak in Eventlet's Thread class #328
Use daemon threads for background tasks in threading mode
Upgrade to pypy-3.9 in unit tests
Fix double close of websockets in ASGI adapter #327
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
bitarray dependency now pinned to ">=2.8.0, <3.0.0" rather than a specific version. Bug #283.
Fix for using numpy integers as integer parameters. Bug #286.
Removed ability to extend an Array with the '+' operator. Use the 'extend' method instead.
Improvements when pretty-printing the Array.
Array.count() can now count 'nan' values for floating point types.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add include_joined_str parameter to util.walk
setup.cfg shouldn't have version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Wrapped exceptions now cause dispatching.dispatch() to raise SystemExit(1)
instead of returning without error.
-Renamed arguments in add_commands() (#165 / #178):
-Can control exit status (see Backwards Incompatible Changes above) when raising
CommandError using the code keyword arg.
-Positional arguments should not lead to removal of short form of keyword argument
-Avoid depending on iocapture by using pytest's built-in feature
-chore: publishing to prod PyPI
-test: add coverage for action="count" (#127)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
[feature] [autogenerate] Added new feature to the "code formatter" function which allows standalone
executable tools to be run against code, without going through the Python
interpreter. Known as the exec runner, it complements the existing
console_scripts runner by allowing non-Python tools such as ruff to
be used.
[usecase] [autogenerate] Change the default value of
EnvironmentContext.configure.compare_type to True.
As Alembic's autogenerate for types was dramatically improved in
version 1.4 released in 2020, the type comparison feature is now much
more reliable so is now enabled by default.
[bug] [operations] Added support for op.drop_constraint() to support PostrgreSQL
ExcludeConstraint objects, as well as other constraint-like objects
that may be present in third party dialects, by resolving the type_
parameter to be None for this case. Autogenerate has also been
enhanced to exclude the type_ parameter from rendering within this
command when type_ is None.
[bug] [commmands] Fixed issue where the revision_environment directive in alembic.ini
was ignored by the alembic merge command, leading to issues when other
configurational elements depend upon env.py being invoked within the
command.
[bug] [autogenerate] Fixed issue where the ForeignKeyConstraint.match parameter would not be
rendered in autogenerated migrations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some tests in test-inotify.py assume values for watch
descriptors. This is not safe, so we retrieve the
assigned values to compare with event information generated.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
For x86/x32 it was overwriting SWIG_FEATURES, its better to append it
like for other arches, in addition it brings essential options to remove
buildpaths from .so files.
Use OPENSSL_NO_FILENAMES define instead of overrding OPENSSL_FILE for
achieving reproducibility. Takes care of line numbers too.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Build failures with older cython 0.29 series
Optimize processing of records in RecordUpdateListener subclasses
Speed up the service registry with a cython pxd
Optimizing sending answers to questions
Optimize unpacking properties in ServiceInfo
Refactor notify implementation to reduce overhead of adding and removing listeners
Add cython pxd file for _listener.py to improve incoming message processing performance
Cythonize _listener.py to improve incoming message processing performance
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Removed code referencing bdist_wininst in install_scripts.
- Promote pyproject.toml’s [tool.setuptools] out of beta.
- Automatically add files listed in Extension.depends to sdists, as long as they
are contained in the project directory
- Require Python 3.8 or later.
- Made imports in editable installs case-sensitive on case-insensitive filesystems
- Use default encoding to create .pth files with editable_wheel.
- Detects (and complain about) scripts and gui-scripts set via setup.py when
pyproject.toml does not include them in dynamic.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed Any being removed from a subscript that still contains other elements
Fixed suppress_type_checks() causing annotated variable assignments to always assign None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Change accepted environment name rule: must be made up of factors defined in
configuration or match regex (pypy|py|cython|)((\d(\.\d+(\.\d+)?)?)|\d+)?.
- --override foo+=bar appending syntax will now work correctly when foo wasn't
defined in tox.ini.
- Disallow command line environments which are not explicitly specified in the config file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog
=========
Added new helper methods for Atlas Search Index (requires MongoDB Server 7.0+).
Added Database.cursor_command to support
executing an arbitrary command that returns a cursor.
Improved bson encoding and decoding performance by up to 134%.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
-Protobuf News may include additional announcements or pre-announcements for
upcoming changes.
-Revert CopyFrom() optimization that was causing crashes back to
Serialize/Parse (protocolbuffers/upb@78e9694)
-Ruby: Fix object cache lookups on 32-bit platforms
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Add Hungarian localization
-Revise Turkish localization
-Translate "thousand" to "千" for zh_CN
-Update docs link to https://humanize.readthedocs.io
-Move logic to convert aware datetime to naive into function
-Docs: fix formatting of return value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improvements in the connection rejected flow
Better handling of Gunicorn threaded worker
shutdown() method for the Engine.IO server
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix issue with regex flags in shell completion.
Bash version detection issues a warning instead of an error.
Fix issue with completion script for Fish shell.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Added two new floating point interpretations: float8_143 and float8_152.
-Auto initialistion from ints has been removed and now raises a TypeError.
-Explicitly specifying the 'auto' parameter is now disallowed rather than discouraged.
-Deleting, replacing or inserting into a bitstring resets the bit position to 0 if the
bitstring's length has been changed.
-Only empty bitstring are now considered False in a boolean sense.
-Casting to bytes now behaves as expected, so that bytes(s) gives the same result as
s.tobytes(). Previously it created a byte per bit.
-Pretty printing with the 'bytes' format now uses characters from the 'Latin Extended-A'
unicode block for non-ASCII and unprintable characters instead of replacing them with '.'
-When using struct-like codes you can now use '=' instead of '@' to signify native-
endianness. They behave identically, but the new '=' is now preferred.
-More fixes for LSB0 mode. There are now no known issues with this feature.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Remove support for Python 3.7
Add hash dunder
Use OIDC for PyPI release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Improved autogenerate compare of expression based indexes on PostgreSQL
to produce fewer wrong detections.
-Fixed issue with NULLS NOT DISTINCT detection in postgresql that
would keep detecting changes in the index or unique constraint.
-Added encoding="locale" setting to the use of Python's
ConfigParser.read(), so that a warning is not generated when using the
recently added Python feature PYTHONWARNDEFAULTENCODING specified in
PEP 597. The encoding is passed as the "locale" string under Python
3.10 and greater, which indicates that the system-level locale should be
used, as was the case already here.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-pyroute2 is upgraded to 0.7.9.
Fixes:
=================================================
tests/test_unit/test_iproute_match/test_match.py:10: in <module>
with open('test_unit/test_iproute_match/links.dump', 'r') as f:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_iproute_match/links.dump'
with open(sample, 'r') as buf:
E FileNotFoundError: [Errno 2] No such file or directory:
'test_unit/test_nlmsg/gre_01.dump'
=================================================
root@qemux86-64:~# ptest-runner python3-pyroute2
START: ptest-runner
2023-08-22T10:31
BEGIN: /usr/lib/python3-pyroute2/ptest
============================= test session starts ==============================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /usr/lib/python3-pyroute2/ptest
collected 103 items
PASS: tests/test_unit/test_addr_pool.py::test_alloc_aligned
PASS: tests/test_unit/test_addr_pool.py::test_alloc_odd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
According to the setup.py of v4.2.2 [1] the following runtime
dependencies are currently missing. Add them.
* packaging
* setuptools
[1] https://github.com/hardbyte/python-can/blob/4.2.2/setup.py
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
At least one of the following DISTRO_FEATURES needs to be present: X11 or
Wayland. The recipe now work with pure Wayland.
Signed-off-by: Marine Vovard <m.vovard@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Feature
--------
Improve performance responding to queries (#1217) (69b33be)
Expose flag to disable strict name checking in service registration (#1215) (5df8a57)
Speed up processing incoming records (#1216) (aff625d)
Speed up unpacking text records in ServiceInfo (#1212) (99a6f98)
Add a cache to service_type_name (#1211) (53a694f)
Speed up processing incoming records (#1206) (126849c)
Fix
-------
Remove typing on reset_ttl for cython compat (#1213) (0094e26)
Revert adding typing to DNSRecord.suppressed_by (#1210) (3dba5ae)
Revert DNSIncoming cimport in _dns.pxd (#1209) (5f14b6d)
Race with InvalidStateError when async_request times out (#1208) (2233b6b)
Improve performance of ServiceInfo.async_request (#1205) (8019a73)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Python 3.11 upgrade, drop 3.7 (use old version < 1.3 if desired in Python 3.7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Bugfixes
----------
Fix the type for the optional param asking for "full transactions" when subscribing to newPendingTransactions via eth_subscribe to bool. (#3067)
Improved Documentation
-----------------------
Change docs to reflect AsyncHTTPProvider does accept ENS names now (#3070)
Features
-----------
Return structured JSON-RPC errors for missing or unimplemented eth-tester methods. (#3061)
ENS name-to-address support for eth_subscribe. (#3066)
Asynchronous iterator support for AsyncWeb3 with WebsocketProviderV2 using async for syntax. (#3067)
Internal Changes - for web3.py Contributors
--------------------------------------------
Minor fixes to type hinting in the core tests setup fixtures. (#3069)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Remove Python version specific classifiers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
--------
* --override can now take options in the form of foo+=bar which will append
bar to the end of an existing list/dict, rather than replacing it. (#3087)
* Make –hashseed default to PYTHONHASHSEED, if defined
The main motivation for this is to able to set the hash seed when building the
documentation with “tox -e docs”, and thus avoid embedding a random value in
the tox documentation for –help. This caused documentation builds to fail to
build reproducibly. (#2942)
Bugfixes
----------
* Update a regular expression in tests to match the exception message in both
Python 3.12 and older. (#3065)
Improved Documentation
------------------------
* Fix broken links
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
emoved usage of _PyBytes_Join and did a little tidying of the code that makes the result string.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Drop support for EOL python 3.6 / 3.7
Remove ContinueInFinally check (only relevant in python < 3.8)
Fix forward annotations inside a nested scope
Produce an error when a definition shadows an unused variable
Fix accessed global annotation being redefined in a local scope
Allow redefinition of functions across match arms
Fix potential None for lineno during tokenization errors
Add support for PEP 695 and python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fix a regression in joblib.Parallel introduced in 1.3.0 where explicitly
setting n_jobs=None was not interpreted as "unset".
-Fix a regression in joblib.Parallel introduced in 1.3.0 where joblib.Parallel
logging methods exposed from inheritance to joblib.Logger didn't work because
of missing logger initialization.
-Various maintenance updates to the doc, the ci and the test.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Async queries could wait forever instead of respecting the timeout if the
timeout was 0 and a packet was lost. The timeout is now respected.
- Restore HTTP/2 support which was accidentally broken during the https
refactoring done as part of 2.4.0.
- When an inception time and lifetime are specified, the signer now sets
the expiration to the inception time plus lifetime, instead of the current
time plus the lifetime.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a .Coverage.collect context manager to start and stop coverage data collection.
- Dropped support for Python 3.7.
- Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode.
Coverage.py would fail with the error Safety level may not be changed inside
a transaction. This is now avoided, closing issue 1646.
- Docs: examples of configuration files now include separate examples for the
different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
- Fix: added nosemgrep comments to our JavaScript code so that semgrep-based
SAST security checks won't raise false alarms about security problems that
aren't problems.
- Added a CITATION.cff file
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* use reconstructor function for pickling, see #207
* simplify implementation of '.reverse()'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fixed compatibility with asyncio.timeout() on Python 3.11+.
Added support for Python 3.11.
Dropped support for Python 3.6.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- [feature] [operations] Added parameters if_exists and if_not_exists for index operations.
Pull request courtesy of Max Adrian.
- [usecase] [typing] Added typing to the default script mako templates.
- [usecase] [autogenerate] Added support in autogenerate for NULLS NOT DISTINCT in
the PostgreSQL dialect.
- [bug] Fixed format string logged when running a post write hook
Pull request curtesy of Mathieu Défosse.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switched RDEPEND to python3-modules as this is a complex package that is
still under fairly heavy development by python core contributors. It's
likely that the dependency list will change from release to release and
unlikely that anyone wanting type-checking will be object to having a
full python installation.
Note for anyone attempting to backport this, you'll need to add
python3-tomli to RDEPENDS as python < 3.11 won't be in the stdlib.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer required by python3-mypy and no longer maintained upstream.
https://github.com/python/typed_ast/issues/179
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Cleanup naming from previous refactoring in ServiceInfo
Pin python-semantic-release to fix release process
No change re-release to fix wheel builds
Add missing if TYPE_CHECKING guard to generate_service_query
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for passing a tuple as expected_type to check_type(), making it
more of a drop-in replacement for isinstance()
- Fixed regression where Literal inside a Union had quotes stripped from its
contents, thus typically causing NameError to be raised when run
- Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when
typing_extensions>=4.6.0 is installed
- Fixed NameError when generated type checking code references an imported
name from a method
- Fixed docstrings disappearing from instrumented functions
- Fixed @typechecked failing to instrument functions when there are more than
one function within the same scope
- Fixed frozenset not being checked
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Make float and int hashable.
Allow users to specify encoders for custom types.
Fix the incorrect sort when building a table with dotted keys.
Complete the methods required for integer and float items.
Replace the deprecated usage of datetime.utcnow().
Minor performance improvements when iterating over the escape sequences.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix serial startup problems. (#1701)
pass source_address in tcp client. (#1700)
serial server use source_address[0]. (#1699)
Examples coverage nearly 100%. (#1694)
new async serial (#1681)
Docker is not supported (lack of maintainer). (#1693)
Forwarder write_coil --> write_coil. (#1691)
Change default source_address to (0.0.0.0, 502) (#1690)
Update ruff to 0.0.277 (#1689)
Fix dict comprehension (#1687)
Removed requests dependency from contrib/explain.py (#1688)
Fix broken test (#1685)
Fix readme badges (#1682)
Bump aiohttp from 3.8.3 to 3.8.5 (#1680)
pygments from 2.14.0 to 2.15.0 (#1677)
Handle partial local echo. (#1675)
clarify handle_local_echo. (#1674)
async_client: add retries/reconnect. (#1672)
Fix 3.11 problem. (#1673)
Add new example simulator server/client. (#1671)
examples/contrib/explain.py leveraging Rapid SCADA (#1665)
_logger missed basicConfig. (#1670)
Bug fix for #1662 (#1663)
Bug fix for #1661 (#1664)
Fix typo in config.rst (#1660)
test action_increment. (#1659)
test codeql (#1655)
mypy complaints. (#1656)
Remove self.params from async client (#1640)
Drop test of pypy with python 3.8.
repair server_async.py (#1644)
move common framer to base. (#1639)
Restrict Return diag call to bytes. (#1638)
use slave= in diag requests. (#1636)
transport listen in server. (#1628)
CI test.
Integrate transport in server. (#1617)
fix getFrameStart for ExceptionResponse (#1627)
Add min/min to simulator actions.
Change to "sync client" in forwarder example (#1625)
Remove docker (lack of maintenance). (#1623)
Clean defaults (#1618)
Reduce CI log with no debug. (#1616)
prepare server to use transport. (#1607)
Fix RemoteSlaveContext (#1599)
Combine stale and lock. (#1608)
update pytest + extensions. (#1610)
Change version follow PEP 440. (#1609)
Fix regression with REPL server not listening (#1604)
Remove handler= for server classes. (#1602)
Fix write function codes (#1598)
transport nullmodem (#1591)
move test of examples to subdirectory. (#1592)
transport as object, not base class. (#1572)
Simple examples. (#1590)
transport_connect as bool. (#1587)
Prepare dev (#1588)
Release corrections. (#1586)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Import error when using create_api outside a REPL
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Python 3.11 support
-Massive improvements in performance for Interpreter (e.g. IPython) users.
This especially affects pandas users with large datasets.
-Add jedi.settings.allow_unsafe_interpreter_executions to make it easier for
IPython users to avoid unsafe executions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Added TRUST_EXPIRED to trust_keys. Thanks to Leif Liddy for the patch.
-Fix #206: Remove deprecated --always-trust in favour of --trust-model always
-Fix #208: Add status_detail attribute to result objects which is populated when
the status is 'invalid recipient' (encryption/decryption) or 'invalid signer'
(signing).
-Add scan_keys_mem() function to scan keys in a string. Thanks to Sky Moore
for the patch.
-Fix #214: Handle multiple signatures when one of them is invalid or unverified.
-A problems attribute was added which holds problems reported by gpg
during verification.
-Fix #217: Use machine-readable interface to query the gpg version. Thanks to Justus
Winter for the patch.
-Added the ability to export keys to a file. Thanks to Leif Liddy for the patch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Prevent allow_unsafe_werkzeug option from being passed to web servers
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix typed value of ElementNode() if self.elem.text is None
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Support Cython 3.0
Stop building wheels for PyPy 3.9 and PyPy 3.10, which stopped working for some reason
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
added several missed global variables from the argparse module
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix an issue with type hints for @click.group()
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Upgraded the vendored copy of llhttp_ to v8.1.1
Added information to C parser exceptions to show which character caused the error.
Fixed a transport is :data:None error
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
align LICENSE wording with BSD-3-Clause
Copyright updated to 2023.
Changelog:
==========
Fix _is_builtin_module
minor changes from PR #554
align LICENSE wording with BSD-3-Clause
Python 3 Metaclasses [Support ABC and Enums - Part 1]
Abstract Base Classes [Support ABC and Enums - Part 2]
fix typo
Bump requests from 2.27.1 to 2.31.0 in /docs
Fixed crashed in _dill._is_builtin_module when a module's file is None
Bump pygments from 2.11.2 to 2.15.0 in /docs
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
telnetlib3 is a Telnet client and server library for python.
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not poison include paths with build system include and lib dirs
these paths get appended to cflags/ldflags when building the c extention
Fixes
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-pyaudio/0.2.13-r0/recipe-sysroot/usr/include/python3.11/pyconfig.h:23:10: fatal error: 'python3.11/pyconfig-32.h' file not found
| 23 | #include <python3.11/pyconfig-32.h>
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
- Use python_flit_core instead of setuptools3
- Modify 0001-sqlparse-change-shebang-to-python3.patch to apply on 0.4.4
- Remove CVE-2023-30608.patch since it's now upstream:
[tgamblin@megalith sqlparse]$ git tag --contains c457abd
0.4.4
Changelog (https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG):
Release 0.4.4 (Apr 18, 2023)
----------------------------
Notable Changes
* IMPORTANT: This release fixes a security vulnerability in the
parser where a regular expression vulnerable to ReDOS (Regular
Expression Denial of Service) was used. See the security advisory
for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2
The vulnerability was discovered by @erik-krogh from GitHub
Security Lab (GHSL). Thanks for reporting!
Bug Fixes
* Revert a change from 0.4.0 that changed IN to be a comparison (issue694).
The primary expectation is that IN is treated as a keyword and not as a
comparison operator. That also follows the definition of reserved keywords
for the major SQL syntax definitions.
* Fix regular expressions for string parsing.
Other
* sqlparse now uses pyproject.toml instead of setup.cfg (issue685).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Move to LICENSE.txt
Changelog:
2022-12-26 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.13
* Move pyaudio.Stream to pyaudio.PyAudio.Stream.
The pyaudio.Stream class is now pyaudio.PyAudio.Stream, nested under the
existing pyaudio.PyAudio class. This should not affect existing code, as
directly accessing the module-level pyaudio.Stream class has always been
unsupported (use PyAudio.open instead). Accessing pyaudio.Stream
directly is deprecated and will raise a DeprecationWarning.
* Deprecate PaMacCoreStreamInfo's get_channel_map() and get_flags() methods.
Use the channel_map and flags properties, respectively, instead. Also
deprecates internal method _get_host_api_stream_object. Calling
deprecated methods will raise a DeprecationWarning.
* Package PyAudio as an actual package (directory).
Previously, the library deployed a single pyaudio.py file and a C
extension module to the root of site-packages. Now, the library deploys
a Python package.
* Add default shared library path for Homebrew installations on Apple Silicon.
* Refactor and cleanup.
- Refactor C extension for better maintainability.
- Add more unit tests.
- Update and modernize examples directory.
- Improve C and python style conformance, plus many cosmetic updates.
2022-07-18 Hubert Pham <hubert@mit.edu>
PyAudio 0.2.12
- Modernize build process for Microsoft Windows, using the native toolchain.
Setuptool setup.py and INSTALL instructions are more streamlined.
Building from Cygwin/MinGW is no longer supported nor tested.
Thanks to Sean Zimmermann for the patches and general help!
- Change default frames per buffer size to paFramesPerBufferUnspecified.
Previously, pyaudio.py set a default frames per buffer size of 1024,
which can lead to dropped frames on some systems. Now, by default,
PortAudio selects the buffer size based on host and latency
requirements.
Thanks to Jason Hihn for the suggestion!
- Minor fixes and refactoring for compatibility with Python 3.7+.
Updates include:
* Remove call to deprecated PyEval_InitThreads() for Python 3.7+
* Use Py_ssize_t types in appropriate places (for Python 3.10+).
* Remove the min macro to ease compilation for Windows.
- Use the locale's preferred encoding to decode device names.
Thanks to Eiichi Takamori for the patch!
- Unit tests: add skipIf decorators to skip tests that require hardware.
Set the PYAUDIO_SKIP_HW_TESTS environment variable to disable tests that
require sound hardware, useful for (automated) test environments without
access to audio devices.
Thanks to Matěj Cepl for the suggestion and patch!
- Documentation, examples, and unit tests: various fixes.
* Add more unit tests and repair a few that test the GIL on macOS.
* Remove examples/error.py, which is redundant with tests/error_tests.py.
* Fix type documentation of return value types in docstrings.
Thanks to Vasily Zakharov for pointing out the return-value type errors!
- Modernize packaging: add LICENSE.txt, pyproject.toml, and classifiers.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Adjust target lines in setup.py for LIC_FILES_CHKSUM, since the
content of interest has moved (but not changed)
- Tweak matplotlib-disable-download.patch to apply on 3.7.2
- Remove backported patch since it's in 3.7.2:
[tgamblin@megalith matplotlib]$ git log --oneline --grep="removed RandomNumberGenerator class"
601d92a885 removed RandomNumberGenerator class, included <random>, replaced random_shuffle with shuffle and used mersenne twister engine to generate uniform random bit generator for the shuffle.
[tgamblin@megalith matplotlib]$ git tag --contains 601d92a885
v3.7.0
v3.7.0rc1
v3.7.1
v3.7.2
Changelog: https://github.com/matplotlib/matplotlib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the CVE-2020-25657 patch, as it is fixed in 0.39.0:
[tgamblin@megalith m2crypto]$ git log --oneline --grep="CVE-2020-25657"
84c5395 Mitigate the Bleichenbacher timing attacks in the RSA decryption API (CVE-2020-25657)
[tgamblin@megalith m2crypto]$ git tag --contains 84c53958def0f510e92119fca14d74f94215827a
0.39.0
Changelog (https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES?ref_type=heads):
0.39.0 - 2023-01-31
-------------------
- SUPPORT FOR PYTHON 2 HAS BEEN DEPRECATED AND IT WILL BE
COMPLETELY REMOVED IN THE NEXT RELEASE.
- Remove dependency on parameterized and use unittest.subTest
instead.
- Upgrade embedded six.py module to 1.16.0 (really tiny
inconsequential changes).
- Make tests working on MacOS again (test_bio_membuf: Use fork)
- Use OpenSSL_version_num() instead of unrealiable parsing of .h
file.
- Mitigate the Bleichenbacher timing attacks in the RSA
decryption API (CVE-2020-25657)
- Add functionality to extract EC key from public key + Update
tests
- Worked around compatibility issues with OpenSSL 3.*
- Support for Twisted has been deprecated (they have their own
SSL support anyway).
- Generate TAP while testing.
- Stop using GitHub for testing.
- Accept a small deviation from time in the testsuite (for
systems with non-standard HZ kernel parameter).
- Use the default BIO.__del__ rather tha overriding in BIO.File
(avoid a memleak).
- Resolve "X509_Name.as_der() method from X509.py -> class
X509_Name caused segmentation fault"
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update-License: Change name from COPYING to LICENSE
No changelog provided. Commit log:
0b05203 (tag: v1.33) bump version to 1.33
45cfe90 Switch to GitHub actions (#144)
33562b0 Update license text to match official 3-clause-BSD (#142)
a76f742 feat(jsondiff): Add support for preserving Unicode characters (#145)
714df3c docs: fix simple typo, raies -> raise (#135)
e0b3a9b Merge pull request #134 from Ventilateur/b/fix-invalid-remove-index
46eef55 remove unused import
db194f8 fix invalid remove index
a652648 Merge pull request #132 from JulienPalard/mdk/TypeError
c9bfb91 FIX: TypeError when one forgot to put its operation in a list.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream states that the build backend is now flit, but inheriting
python_flit_core alone still causes the following error:
| ModuleNotFoundError: No module named 'setuptools'
|
| ERROR Backend 'setuptools.build_meta' is not available.
Instead, inherit python_setuptools_build_meta, which works OK.
Changelog: https://github.com/pallets/werkzeug/blob/main/CHANGES.rst
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The udev file was updated and renamed in 1.1 to 50-snagboot.rules.
Changelog (https://github.com/bootlin/snagboot/releases/tag/v1.1):
- udev: use uaccess tags instead of group assignments
- fix and test i.MX8QM and i.MX93 supports
- homogenize i.MX firmware configuration interfaces
- don't require contributors to modify license headers
- fix README links on PyPI
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- The project uses poetry now, so inherit python_poetry_core
- Add python3-asyncio and python3-compression to RDEPENDS
Changelog (https://github.com/amoffat/sh/blob/develop/CHANGELOG.md):
2.0.4 - 5/13/22
- Allow ok_code to be used with fg #665
- Make sure new_group never creates a new session #675
2.0.2 / 2.0.3 (misversioned) - 2/13/22
- Performance regression when using a generator with _in #650
- Adding test support for python 3.11
2.0.0 - 2/9/22
- Executed commands now return a unicode string by default
- Removed magical module-like execution contexts #636
- Added basic asyncio support via _async
- Dropped support for Python < 3.8
- Bumped default tty size to more standard (24, 80)
- First argument being a RunningCommand no longer automatically passes it as stdin
- RunningCommand.__eq__ no longer has the side effect of executing the command #518
- _tee now supports both "err" and "out" #215
- Removed the builtin override cd link
- Altered process launching model to behave more expectedly #495
- Bugfix where _no_out isn't allowed with _iter="err" #638
- Allow keyword arguments to have a list of values #529
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Update to point at the proper license file with correct checksum.
Previously it was pointing at a subset of a PKG-INFO file, which was
a legacy output from distutils
- Update build backend and include python3-setuptools-scm-native in
DEPENDS
- Modify ptest installation and run-ptest script since the tests have
been moved into their own folder
Changelog: https://github.com/python-semver/python-semver/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The LICENSE file's copyright year was updated, so the checksum changed.
rdflib now uses poetry as the backend, so switch from setuptools3.
Changelog: https://github.com/RDFLib/rdflib/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pandas now requires versioneer, so add that to the DEPENDS list. The
LICENSE checksum changed but this was due to line endings and not a
difference in content.
Changelog: https://github.com/pandas-dev/pandas/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to using git and a SRCREV to make sure we can keep the ptests.
Changelog (https://github.com/r1chardj0n3s/parse/releases):
- Add support for sign specifiers in number formats. by @anntzer in #134
- Fix handling of unused alignment by @tomerha in #132
- modern packaging by @wimglenn in #151
- universal wheel by @wimglenn in #155
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This module is required by newer versions of pandas, so add it as a
recipe.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
humanize moved to hatchling as a build backend, so adjust the recipe to
match.
Changelog: https://github.com/python-humanize/humanize/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Switch to python_setuptools_build_meta.
No changelog provided Commit history:
a4643c4 (HEAD -> main, tag: v2.0.2, origin/main, origin/HEAD) Release 2.0.2
87269f0 Remove redundant wheel dep from pyproject.toml
e30d3c4 (tag: v2.0.1) Release 2.0.1
36b348a Require a current version of Python
e189f4b Revert breaking API changes
868e9d0 Format with Black
5f4f424 Strip quotes from string stats
a31ad74 Add __repr__ to Job and Client
ebbb0f2 Improve names of private parsing functions
3ff9ef1 Use phony targets in Makefile
4feaf07 Format with Black
2c9165f Add test for drain mode
5068dc2 Enable strict mode in mypy
383176c Add type hints to integration test decorator
6fb0a48 Polish documentation
e8c5f20 Fix reportUnknownVariableType Pylance warnings
e7ac1da Polish API reference
9a384a8 Remove __slots__ from Job
45c53b4 Polish error handling
4f79e7c Document and type hint Job attributes
0f576a0 Remove sphinx-autodoc-typehints dev dependency
29a5499 Always use bytes for job bodies
3dc6430 Make it clear the requirements are for development
db496d5 Add command for building HTML docs
da73ed0 Fix Sphinx import path
c93efc0 Update link after changing default branch to main
7fc7eef Add PEP 561 py.typed marker file
5174142 Switch to package directory structure
40a9149 Add python_requires
18196e2 Add project_urls
59e3f99 Avoid installing unnecessary dependencies on CI
764f5bf Stop checking code coverage by default
45de080 Remove Codecov integration
1f0baf6 Specify license with license_files
74cad3b Switch to declarative package configuration
9e6aebb Remove unused Flake8 ignore
48cecff Use variable annotation syntax
56387c8 Drop support for Python 3.5
62e4bbf Update CI to only send one coverage report
d168cff Move CI to GitHub Actions
6281716 Add 3.9 to list of supported Python versions
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
flask has migrated to using pyproject.toml, so we need
python_setuptools_build_meta instead of setuptools3.
Changelog: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
execnet requires hatchling and hatch-vcs now, instead of setuptools.
Changelog (https://github.com/pytest-dev/execnet/blob/master/CHANGELOG.rst):
2.0.2 (2023-07-09)
- Re-release without code changes, just to include tox.ini into the source distribution.
2.0.1 (2023-07-08)
- Re-release without code changes, just to include docs and tests into the source distribution.
2.0.0 (2023-07-06)
- Removed support for Python < 3.7.
- Applied pyupgrade --py37-plus.
- Minimal mypy fixes and dropped Python 2 support code.
- Migrated packaging to hatch.
- Dropped deprecated APIs of old makegateway names.
- Removed py testing dependency.
- Explicitly pass encoding when opening files in the gateway to get rid of warnings when using PYTHONWARNDEFAULTENCODING=1 (#195).
- Fixed error when loading source code files from a path containing non-ascii characters.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
blinker now needs setuptools.build_meta instead of setuptools3.
Changelog (https://github.com/pallets-eco/blinker/blob/main/CHANGES.rst):
Version 1.6.2
Released 2023-04-12
- Type annotations are not evaluated at runtime. typing-extensions is not a runtime dependency. :pr:`94`
Version 1.6.1
Released 2023-04-09
- Ensure that py.typed is present in the distributions (to enable other projects to use blinker's typing).
- Require typing-extensions > 4.2 to ensure it includes ParamSpec. :issue:`90`
Version 1.6
Released 2023-04-02
- Add a muted context manager to temporarily turn off a signal. :pr:`84`
- Allow int senders (alongside existing string senders). :pr:`83`
- Add a send_async method to the Signal to allow signals to send to coroutine receivers. :pr:`76`
- Update and modernise the project structure to match that used by the pallets projects. :pr:`77`
- Add an intial set of type hints for the project.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://github.com/scott-griffiths/bitstring/releases
The LICENSE checksum changed but this is because of a difference in line
endings; the content is the same.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The project has stopped using setuptools in favor of poetry, so inherit
python_poetry_core instead.
Changelog (https://github.com/ludeeus/awesomeversion/releases/tag/23.5.0):
- Add CI for Python 3.11 by @ludeeus in #191
- Add demo page by @ludeeus in #195
- Add better styles to demo by @ludeeus in #197
- Remove setuptools from dev-dependencies by @ludeeus in #202
- Update demo with compare by @ludeeus in #219
- Add Python 3.12 to CI by @ludeeus in #222
- Add in_range helper method by @ludeeus in #224
- Restructure README contents by @ludeeus in #225
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://docs.djangoproject.com/en/4.2/releases/4.2.3/
Django 4.2.3 fixes a security issue with severity “moderate” and several
bugs in 4.2.2.
CVE-2023-36053: Potential regular expression denial of service
vulnerability in EmailValidator/URLValidator
EmailValidator and URLValidator were subject to potential regular
expression denial of service attack via a very large number of domain
name labels of emails and URLs.
Bugfixes
- Fixed a regression in Django 4.2 that caused incorrect alignment of
timezone warnings for DateField and TimeField in the admin (#34645).
- Fixed a regression in Django 4.2 that caused incorrect highlighting of
rows in the admin changelist view when ModelAdmin.list_editable
contained a BooleanField (#34638).
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-release 20.23.1
-Fix the CI
-Quickstart guide
-Updated CLI documentation with config file name
-Exclude dependabot and pre-commit ci from release notes
-Export VIRTUAL_ENV_PROMPT in activation scripts (#2194)
-Upgrade setuptools
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Ensure tox r -e docs generates the documentation
-[pre-commit.ci] pre-commit autoupdate
-Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7
-s/setup.cfg/pyproject.toml/ in the development docs
-Fix hang and zombie process on interrupt (CTRL-C).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Fixed a bug where pymongo would raise a ConfigurationError
-Fixed a minor reference counting bug in the C extension (PYTHON-3798 2).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-unix: Optionally create the opinionated log/ in user_log_dir()
-BSD: provide a fallback for user_runtime_di
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-bpo-44185: :func:'unittest.mock.mock_open' will call the :func:'close' method
of the file handle mock when it is exiting from the context manager.
-gh-94924: :func:'unittest.mock.create_autospec' now properly returns coroutine
functions compatible with :func:'inspect.iscoroutinefunction'
-bpo-17013: Add ThreadingMock to :mod:'unittest.mock' that can be used to create
Mock objects that can wait until they are called.
-bpo-41768: :mod:'unittest.mock' speccing no longer calls class properties.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
----------
-Add preliminary support for Python 3.12, using greenlet 3.0a1.
-Update the bundled c-ares version to 1.19.1.
Bugfixes
------------
-Fix an edge case connecting a non-blocking SSLSocket that could result in an AttributeError.
-Make gevent's FileObjectThread (mostly used on Windows) implement readinto cooperatively.
-Work around an AttributeError during cyclic garbage collection when Python finalizers (__del__ and the like) attempt to use gevent APIs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Restore support for old versions of eventlet #321
Configure eventlet's websocket max frame length #319
Remove old Python 2 syntax in super() calls
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-tests-Fix-test_bytes_args.patch
removed since it's included in 8.1.5
Changelog:
==========
-Fix an issue with type hints for @click.command(), @click.option(), and other decorators. Introduce typing tests.
-Replace all typing.Dict occurrences to typing.MutableMapping for parameter hints. #2255
-Improve type hinting for decorators and give all generic types parameters. #2398
-Fix return value and type signature of shell_completion.add_completion_class function. #2421
-Bash version detection doesn’t fail on Windows. #2461
-Completion works if there is a dot (.) in the program name. #2166
-Improve type annotations for pyright type checker. #2268
-Improve responsiveness of click.clear(). #2284
-Improve command name detection when using Shiv or PEX. #2332
-Avoid showing empty lines if command help text is empty. #2368
-ZSH completion script works when loaded from fpath. #2344.
-EOFError and KeyboardInterrupt tracebacks are not suppressed when standalone_mode is disabled. #2380-@group.command does not fail if the group was created with a custom command_class. #2416
-multiple=True is allowed for flag options again and does not require setting default=(). #2246, #2292, #2295
-Make the decorators returned by @argument() and @option() reusable when the cls parameter is used. #2294
-Don’t fail when writing filenames to streams with strict errors. Replace invalid bytes with the replacement character
-Remove unnecessary attempt to detect MSYS2 environment. #2355
-Remove outdated and unnecessary detection of App Engine environment. #2554
-echo() does not fail when no streams are attached, such as with pythonw on Windows. #2415
-Argument with expose_value=False do not cause completion to fail. #2336
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Changed
---------
Typehint for function from_path no longer enforce PathLike as its first argument
Minor improvement over the global detection reliability
Added
---------
Introduce function is_binary that relies on main capabilities, and optimized to detect binaries
Propagate enable_fallback argument throughout from_bytes, from_path, and from_fp that allow a deeper control over the detection (default True)
Explicit support for Python 3.12
Fixed
-----------
Edge case detection failure where a file would contain 'very-long' camel cased word (Issue #289)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Add a common issue section and document the Bluetooth issue.
Adds support for the Mode 9 PIDS, including VIN and CVN.
Changelog:
===========
Updated pint dependency for compatibility with python >= 3.10
Support for Mode 9 PIDs
Added 1 second read-retry loop for unresponsive dongles
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0.21.1
- Output a proper error message when an invalid asyncio_mode is selected.
- Extend warning message about unclosed event loops with additional
possible cause. #531
- Previously, some tests reported "skipped" or "xfailed" as a result.
Now all tests report a "success" result.
0.21.0
- Drop compatibility with pytest 6.1. Pytest-asyncio now depends on
pytest 7.0 or newer.
- pytest-asyncio cleans up any stale event loops when setting up and
tearing down the event_loop fixture. This behavior has been deprecated
and pytest-asyncio emits a DeprecationWarning when tearing down the
event_loop fixture and current event loop has not been closed.
0.18.2 (22-03-03)
- Fix asyncio auto mode not marking static methods. #295
- Fix a compatibility issue with Hypothesis 6.39.0. #302
0.18.1 (22-02-10)
- Fixes a regression that prevented async fixtures from working in
synchronous tests. #286
0.18.0 (22-02-07)
- Raise a warning if @pytest.mark.asyncio is applied to non-async
function. #275
- Support parametrized event_loop fixture. #278
0.17.2 (22-01-17)
- Require typing-extensions on Python<3.8 only. #269
- Fix a regression in tests collection introduced by 0.17.1, the plugin
works fine with non-python tests again. #267
0.17.1 (22-01-16)
- Fixes a bug that prevents async Hypothesis tests from working without
explicit asyncio marker when --asyncio-mode=auto is set. #258
- Fixed a bug that closes the default event loop if the loop doesn't
exist #257
- Added type annotations.
0.17.0 (22-01-13)
- [pytest-asyncio]{.title-ref} no longer alters existing event loop
policies. #168, #188
- Drop support for Python 3.6
- Fixed an issue when pytest-asyncio was used in combination with
[flaky]{.title-ref} or inherited asynchronous Hypothesis tests. #178#231
- Added flaky to test dependencies
- Added unused_udp_port and unused_udp_port_factory fixtures (similar to
unused_tcp_port and unused_tcp_port_factory counterparts. #99
- Added the plugin modes: strict, auto, and legacy. See documentation
for details. #125
- Correctly process KeyboardInterrupt during async fixture setup phase
#219
License-Update: whitespace
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
c5590c5 Switch from GitHub to gitlab
22b0ed7 make pass all mypy type checks
abd15f8 add __weakref__ to inotify and watch
5e57e0b add slots to all classes
f907237 restore support to 3.6
5269b9d improve documentation
2512aa3 Merge branch '16-add-timeout-for-the-sync-version-of-get-sync_get' into 'master'
5beff57 add sync_timeout
c8f8653 fix readthedocs
97056b9 remove package rule
faebfa9 move test after package
a75f116 version bump
6b4921f rework docs
35716a4 rework docs
c51d603 fix test for deprecations
ddd987c switch to pyproject.toml, test against all supported python versions
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bandit wasn't imported properly without the rich module, so add it.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog: https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst
Changes for v3.1.1 (2023-06-11)
- Search through asdf shims
- Use ` as escape character in PowerShell (#434)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There are numerous changes between 1.10.4 and 1.11.1, including several
bug fixes. Changelog: https://github.com/sqlalchemy/alembic/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Currently we see ptest failures like below
testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-requests-toolbelt_qemux86-64_20230713012809
ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_all
ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_response
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_override_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_with_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_override_base
ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_with_base
These patches from a posted pull upstream fixes them
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch inherit from setuptools3 to python_flit_core
* Correct SUMMARY
* Add DESCRIPTION
* Add python3-argcomplete to RDEPENDS (found with poky/scripts/pythondeps)
https://github.com/neithere/argh/blob/v0.28.1/CHANGES
License-Update: use COPYING.LESSER, change to LGPL-3.0-or-later
NOTE: Includes COPYING which is GPL-3.0 but README clearly states LGPL-3.0-or-later
https://github.com/neithere/argh/blob/v0.28.1/README.rst#licensing
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for sending to a specific addr and port with ServiceInfo.async_request and ServiceInfo.request
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Made issue template have less whitespace
Docs link of env var subs section to set_env
Removed duplicate text in bug report template
Ensure get_requires* hook is called before prepare_metadata*
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Experimental Features
-----------------------
Support JSON.MERGE command (#2761)
Support JSON.MSET command (#2766)
New Features
-------------
Extract abstract async connection class (#2734)
Add support for WAITAOF (#2760)
Introduce OutOfMemoryError exception for Redis write command rejections due to OOM errors (#2778)
Add WITHSCORE argument to ZRANK (#2758)
Add support for sharded pubsub in sync client (#2762)
Bug Fixes
-----------
Fix dead weakref in sentinel connection causing ReferenceError (#2767) (#2771)
Fix Key Error in parse_xinfo_stream (#2788)
Remove unnecessary __del__ handlers (#2755)
Added support for missing argument to SentinelManagedConnection.read_response() (#2756)
Fixed resp3 dict parse response (#2757)
Maintenance
-------------
Fix type hint for retry_on_error in async cluster (#2804)
Clean up documents and fix some redirects (#2801)
Add unit tests for the connect method of all Redis connection classes (#2631)
Docstring formatting fix (#2796)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fixed deallocating mask images #7246
Added ImageFont.MAX_STRING_LENGTH #7244
Fix Windows build with pyproject.toml #7230
Do not close provided file handles with libtiff #7199
Convert to HSV if mode is HSV in getcolor() #7226
Added alpha_only argument to getbbox() #7123
Prioritise speed in _repr_png_ #7242
Do not use CFFI access by default on PyPy #7236
Limit size even if one dimension is zero in decompression bomb check #7235
Use --config-settings instead of deprecated --global-option #7171
Better C integer definitions #6645
Fixed finding dependencies on Cygwin #7175
Changed grabclipboard() to use PNG instead of JPG compression on macOS #7219
Added in_place argument to ImageOps.exif_transpose() #7092
Fixed calling putpalette() on L and LA images before load() #7187
Fixed saving TIFF multiframe images with LONG8 tag types #7078
Fixed combining single duration across duplicate APNG frames #7146
Remove temporary file when error is raised #7148
Do not use temporary file when grabbing clipboard on Linux #7200
If the clipboard fails to open on Windows, wait and try again #7141
Fixed saving multiple 1 mode frames to GIF #7181
Replaced absolute PIL import with relative import #7173
Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 #7192
Improved wl-paste mimetype handling in ImageGrab #7094
Added _repr_jpeg_() for IPython display_jpeg #7135
Use "/sbin/ldconfig" if ldconfig is not found #7068
Prefer screenshots using XCB over gnome-screenshot #7143
Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions #7151
Support reading signed 8-bit TIFF images #7111
Added width argument to ImageDraw regular_polygon #7132
Support I mode for ImageFilter.BuiltinFilter #7108
Raise error from stderr of Linux ImageGrab.grabclipboard() command #7112
Added unpacker from I;16B to I;16 #7125
Support float font sizes #7107
Use later value for duplicate xref entries in PdfParser #7102
Load before getting size in __getstate__ #7105
Fixed type handling for include and lib directories #7069
Remove deprecations for Pillow 10.0.0 #7059, #7080
Drop support for soon-EOL Python 3.7 #7058
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
-Fix compatibility with python 3.7 by vendor loky 3.4.1 which is compatible
with this version. #1472
-Ensure native byte order for memmap arrays in joblib.load. #1353
-Add ability to change default Parallel backend in tests by setting the
JOBLIB_TESTS_DEFAULT_PARALLEL_BACKEND environment variable. #1356
-Fix temporary folder creation in joblib.Parallel on Linux subsystems on
Windows which do have /dev/shm but don't have the os.statvfs function #1353
-Drop runtime dependency on distutils. distutils is going away in Python 3.12
and is deprecated from Python 3.10 onwards.
-A warning is raised when a pickling error occurs during caching operations.
-Avoid (module, name) collisions when caching nested functions.
-Add cache_validation_callback in :meth:'joblib.Memory.cache', to allow custom
cache invalidation based on the metadata of the function call. #1149
-Add a return_as parameter for Parallel, that enables consuming results
asynchronously. #1393, #1458
-Improve the behavior of joblib for n_jobs=1, with simplified tracebacks and
more efficient running time. #1393
-Add the parallel_config context manager to allow for more fine-grained control
over the backend configuration.
-Add items_limit and age_limit in :meth:'joblib.Memory.reduce_size' to make it
easy to limit the number of items and remove items that have not been accessed
for a long time in the cache. #1200
-Deprecate bytes_limit in Memory as this is not automatically enforced, the
limit can be directly passed to :meth:'joblib.Memory.reduce_size' which needs
to be called to actually enforce the limit. #1447
-Vendor loky 3.4.0 which includes various fixes. #1422
-Various updates to the documentation and to benchmarking tools.
-Move project metadata to pyproject.toml. #1382, #1433
-Add more tests to improve python nogil support. #1394, #1395
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
The LICENSE file now explicitly says "GPL-2.0-or-later OR Apache-2.0".
Changelog:
https://github.com/svinota/pyroute2/blob/master/CHANGELOG.rst
Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Tracing without performance (#2136)
Load tracing information from environment (#2176)
Auto-enable HTTPX integration if HTTPX installed (#2177)
Support for SOCKS proxies (#1050)
Wrap parse_url calls in capture_internal_exceptions (#2162)
Run 2.7 tests in CI again (#2181)
Crons: Do not support sub-minute cron intervals (#2172)
Profile: Add function name to profiler frame cache (#2164)
Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165)
Update changelog (#2163)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add pytest.mark.network to test cases
pyproject.toml config for black, isort, and pytest
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add SeekableZstdFile class, it's a subclass of ZstdFile, supports Zstandard Seekable Format.
Add mode argument to ZstdFile.flush() method, now it can flush a zstd frame.
Add read_size and write_size arguments to ZstdFile.__init__() method, can work with Network File Systems better.
Optimize ZstdFile performance to C language level.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Change macOS default configuration dir from ~/Library/Preferences to ~/Library/Application Support
Simplify git command, by letting exceptions go through
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added support for MongoDB 7.0.
- Added support for Python 3.11.
- Added support for passing a list containing (key, direction) pairs or keys to
create_index().
- Improved bson encoding performance (PYTHON-3717 and PYTHON-3718).
- Improved support for Pyright to improve typing support for IDEs like Visual
Studio Code or Visual Studio.
- Improved support for type-checking with MyPy "strict" mode (-strict).
- Added create_encrypted_collection(), EncryptedCollectionError,
encrypt_expression(), RangeOpts, and RANGEPREVIEW as part of the experimental
Queryable Encryption beta.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Fix RemoteSlaveContext (#1599)
Change version follow PEP 440. (#1609)
Fix regression with REPL server not listening (#1604)
Fix write function codes (#1598)
Release corrections. (#1586)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- The changelog now only explictly exists in the repository (issue #162)
- Inputs with spaces near adjascent to the extension are now sorted correctly
for os_sorted on Windows (issues #165 and #166)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New features
------------
- New out argument to read_direct_chunk() to allow passing the output buffer
- The objects from Dataset.asstr() and Dataset.astype() now implement the
__array__() method (PR 2269). This speeds up access for functions that
support it, such as np.asarray().
- Validate key types when creating groups and attributes, giving better error
messages when invalid types are used (PR 2266).
Bug fixes
----------
- Group.__contains__ and Group.get now use the default link access property
list systematically (PR 2244).
- Removed various calls to the deprecated numpy.product function
- Fix the IPython tab-completion integration in IPython 8.12
- Replacing attributes with AttributeManager.create() now deletes the old
attributes before creating the new one, rather than using a temporary name
and renaming the new attribute (PR 2274).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
From the project description:
Tox aims to automate and standardize testing in Python. It is part of a larger
vision of easing the packaging, testing and release process of Python software
(alongside pytest and devpi).
tox is a generic virtual environment management and test command line tool you
can use for:
- checking your package builds and installs correctly under different
environments (such as different Python implementations, versions or
installation dependencies),
- running your tests in each of the environments with the test tool of choice,
- acting as a frontend to continuous integration servers, greatly reducing
boilerplate and merging CI and shell-based testing.
Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-platformdirs version 3.6.0 requires hatchling build system.
Before this fix it would previously build without issue but throw error when
used in the final image.
Additionally, fixing the ptest which now requires two additional
dependencies.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Don't use PYTHON_PN, order RDEPENDS alphabetically. Replace toml with
tomllib to fix a run-time dependency issue.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This package has long been deprecated by upstream maintainers and doesn't
even work in meta-openembedded due to a run-time import error. Remove
the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
While at it: use '+=' for RDEPENDS assignment.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN and fix white spaces.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN, make indentation and line breaks consistent and
order dependencies alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
If we don't want to pull python3-unittest at run-time then we must not
install test packages. This recipe doesn't provide ptest anyway.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Stop using PYTHON_PN and make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so stop using PYTHON_PN and use python3
explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a
This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).
This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.
This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:
5 (26%) meta-xfce
6 (50%) meta-perl
15 (42%) meta-webserver
21 (36%) meta-gnome
25 (57%) meta-filesystems
26 (43%) meta-initramfs
45 (45%) meta-python
47 (55%) meta-multimedia
312 (63%) meta-networking
756 (61%) meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Reduce overhead to handle queries and responses (#1184) (81126b7)
Speed up answering incoming questions (#1186) (8f37665)
Optimize construction of outgoing dns records (#1182) (fc0341f)
Reduce overhead to enumerate ip addresses in ServiceInfo (#1181) (6a85cbf)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
bugfix: stall on some kinds of error in recv(), PR #56
bugfix: sequence number miscalculation in send(), PR #52
enhancement: callback function added for recv() method, PR #53
bugfix: receiving empty file and stall condition in recv(), PR #50
bugfix: callback is now called for some kinds of errors and some CLI fixes, 8a798e8
bugfix: remove DepreactionWarning for logging.warn(), PR #49
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Meta-schema elements and groups ignore xsi:type attributes (issue #350)
Use the meta-schemas only for validating XSD sources otherwise create dummy schemas
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
--------
Build wheel for Python 3.12 beta (built against 3.12.0b2)
Changed
--------
Drop support for Python 3.7
Fixed
--------
Include BSD-3-Clause and TCL license text
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
C++
------
Regenerate stale files (#13046) (58b6ddb)
Use the same ABI for static and shared libraries on non-Windows platforms (#12983) (efa1ec7)
Objective-C
-----------
Regenerate stale files (#13046) (58b6ddb)
UPB (Python/PHP/Ruby C-Extension)
----------------------------------
Fixed a bug in upb_Map_Delete() that caused crashes in map.delete(k) for Ruby when string-keyed maps were in use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Match ExIf orientation tag behavior to ExIf spec in pillow(#983) (953029b)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
---------
Add public API load_credentials_from_dict (#1326) (5467ad7)
Bug Fixes
---------
Expiry in compute_engine.IDTokenCredentials (#1327) (56a6159), closes#1323
Expiry in impersonated_credentials.IDTokenCredentials (#1330) (d1b887c)
Invalid dev version identifiers in setup.py (#1322) (a9b8f12), closes#1321
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Invalid dev version identifiers in setup.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
==========
Add actionable errors for GCE long running operations
Invalid dev version identifiers in setup.py
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Make a retrocompatible version of 1.4.0 change about supporting VIXIECRON bug.
Added "implement_cron_bug" flag to make the cron parser compatible with a bug in Vixie/ISC Cron
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fixed introspection for failed assert_has_calls (#365).
Updated type annotations for mocker.patch and mocker.spy (#364).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Add "Copyright (c) 2016-2026 Asif Saif Uddin & contributors." to
license file.
Changelog:
===========
Drop Python 2 support, remove six.
Uses PromptSession() class from prompt_toolkit instead of prompt() function (#63).
Added filter for hidden commands and options (#86).
Added click's autocompletion support (#88).
Added tab-completion for Path and BOOL type arguments (#95).
Added 'expand environmental variables in path' feature (#96).
Delegate command dispatching to the actual group command.
Updated completer class and tests based on new fix#92 (#102).
Python 3.11 support.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This python module adds support for a new PEP517 build backend
used by recent versions of scikit-image, scipy and others.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
- Add logic to avoid error in the case where content-length header does not exist, bug introduced in 1.5.2 (#911)
- Fix wsdump.py script typing, bug introduced in 1.5.2 (#91)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix parse_url (#2161)
Better version parsing in integrations (#2152)
Align HTTP status code as span data field http.response.status_code (#2113)
Do not encode cached value to determine size (#2143)
Fix using unittest.mock whenever available (#1926)
Fix 2.7 common tests (#2145)
Bump actions/stale from 6 to 8 (#1978)
Bump black from 22.12.0 to 23.3.0 (#1984)
Bump mypy from 1.2.0 to 1.3.0 (#2110)
Bump sphinx from 5.3.0 to 7.0.1 (#2112)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
transport fixes and 100% test coverage. (#1580)
Delay self.loop until connect(). (#1579)
Added mechanism to determine if server did not start cleanly (#1539)
Proof transport reconnect works. (#1577)
Fix non-shared block doc in config.rst. (#1573)
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 an unnecessary DBMS_LOB.SUBSTR()
wrapping in the __isnull and __exact=None lookups for TextField()/BinaryField()
on Oracle (#34544).
- Restored, following a regression in Django 4.2, get_prep_value() call in
JSONField subclasses (#34539).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.defer() when
passing a ManyToManyField or GenericForeignKey reference. While doing so is a
no-op, it was allowed in older version (#34570).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.only() when
passing a reverse OneToOneField reference (#34612).
- Fixed a bug in Django 4.2 where makemigrations --update didn't respect the
--name option (#34568).
- Fixed a performance regression in Django 4.2 when compiling queries without
ordering (#34580).
- Fixed a regression in Django 4.2 where nonexistent stylesheet was linked on a
"Congratulations!" page (#34588).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with expressions referencing other aggregates (#34551).
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate()
with aggregates referencing subqueries (#34551).
- Fixed a regression in Django 4.2 that caused a crash of querysets on SQLite
when filtering on DecimalField against values outside of the defined range (#34590).
- Fixed a regression in Django 4.2 that caused a serialization crash on a
ManyToManyField without a natural key when its Manager's base QuerySet used select_related() (#34620).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Features
---------
Add support for vector type (PYTHON-1352)
Cryptography module is now an optional dependency (PYTHON-1351)
Bug Fixes
----------
Store IV along with encrypted text when using column-level encryption (PYTHON-1350)
Create session-specific protocol handlers to contain session-specific CLE policies (PYTHON-1356)
Others
---------
Use Cython for smoke builds (PYTHON-1343)
Don't fail when inserting UDTs with prepared queries with some missing fields (PR 1151)
Convert print statement to function in docs (PR 1157)
Update comment for retry policy (DOC-3278)
Added error handling blog reference (DOC-2813)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The stopit package needs setuptools python module so add it to RDEPENDS.
This fixes:
File "/usr/lib64/python3.9/site-packages/stopit/__init__.py", line 10, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
stopit is a library to raise asynchronous exceptions in other threads, control
the timeout of blocks or callables with two context managers and two decorators.
The license isn't shipped in the pypi package, so it was extracted from the
github repo at [1].
[1] https://github.com/glenfant/stopit/blob/master/LICENSE
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for ninja-syntax - a package that allows to use all
features of python3-ninja.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2 so switch to using python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for python3-lazy - a package on which python3-msm run-time
depends but which dependency is not satisfied by meta-python.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Order run-time dependencies alphabetically and add some whitespaces for
consistency.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pull in a patch from upstream that addresses an issue with relative
imports.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2, so use python3 explicitly. While at it:
add missing spaces for consistent coding style.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2, so use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe for the package python3-pylyrics run-time depends on but
which was never provided by meta-python.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
libproj is already included in the rootfs as it's in recipe's DEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Make indentations consistent and stop using PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add the missing dependency on ctypes and drop libusb1 from RDEPENDS as
it will be already present in the rootfs thanks to being in project's
build-time dependencies.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
python3-qrcode has a run-time dependency on pypng but it's not provided
in meta-python. Add a recipe for it. It has no run-time dependencies
itself.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Don't use PYTHON_PN, order includes alphabetically and fix whitespaces.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: order dependencies alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Put RDEPENDS on separate lines, don't use PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Tornado has the testing submodule in __all__ so calling:
from tornado import *
fails if we don't include the ptest package. To fix it: put the testing
module into the main package.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Order RDEPENDS alphabetically and don't use PYTHON_PN.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Ptest package doesn't need to explicitly depend on the main package.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use 4 spaces instead of tabs and order RDEPENDS alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Drop PYTHON_PN, improve coding-style and order the dependencies
alphabetically.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
# Git issue 498: Conditional negative lookahead inside positive lookahead fails to match
Conditional node needed an additional member that points to the true branch.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Stabilize windows tests. (#1567)
Bump mypy 1.3.0 (#1568)
Transport integrated in async clients. (#1541)
Client async corrections (due to 3.1.2) (#1565)
Server_async[udp], solve 3.1.1 problem. (#1564)
Remove ModbusTcpDiagClient. (#1560)
Remove old method from Python2/3 transition (#1559)
Switch to ruff's version of bandit (#1557)
Allow reading/writing address 0 in the simulator (#1552)
Remove references to "defer_start". (#1548)
Client more robust against faulty response. (#1547)
Fix missing package_data directives for simulator web (#1544)
Fix installation instructions (#1543)
Solve pytest timeout problem. (#1540)
DiagnosticStatus encode missing tuple check. (#1533)
test SparseDataStore. (#1532)
BinaryPayloadBuilder.to_string to BinaryPayloadBuilder.encode (#1526)
Adding flake8-pytest-style` to ruff (#1520)
Simplify version management. (#1522)
pylint and pre-commit autoupdate (#1519)
Add type hint (#1512)
Add action to lock issues/PR. (#1508)
New common transport layer. (#1492)
Solve serial close raise problem.
Remove old config values (#1503)
Document pymodbus.simulator. (#1502)
Refactor REPL server to reduce complexity (#1499)
Don't catch KeyboardInterrupt twice for REPL server (#1498)
Refactor REPL client to reduce complexity (#1489)
pymodbus.server: listen on ID 1 by default (#1496)
Clean framer/__init__.py (#1494)
Duplicate transactions in UDP. (#1486)
clean ProcessIncommingPacket. (#1491)
Enable pyupgrade (U) rules in ruff (#1484)
clean_workflow.yaml solve parameter problem.
Correct wrong import in test. (#1483)
Implement pyflakes-simplify (#1480)
Test case for UDP duplicate msg issue (#1470)
Test of write_coil. (#1479)
Test reuse of client object. (#1475)
Comment about addressing when shared=false (#1474)
Remove old aliases to OSError (#1473)
pymodbus.simulator fixes (#1463)
Fix wrong error message with pymodbus console (#1456)
update modbusrtuframer (#1435)
Server multidrop test.: (#1451)
mypy problem ModbusResponse.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix#292: disuse HTTPResponse.strict
fix: double reading error on urllib3 2.0
Packaging the tests, or not
Add type annotations
Use Python's unittest mock
feat: remove compat module
tests: Support python 3.11
fix: use pytest native method name
Remove use of utcnow
Release 0.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Small speed up to fetch dns addresses from ServiceInfo (#1176) (4deaa6e)
Speed up the service registry (#1174) (360ceb2)
Improve dns cache performance (#1172) (bb496a1)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Drop Python 3.8 compatability following NEP-29.
- Drop NumPy < 1.21 following NEP-29.
- Improved typing experience.
- Migrated fully to pyproject.toml.
- Migrated to ruff.
- In order to make static typing possible as required by mypy
and similar tools, the way to subclass the registry has been
changed.
- Allow non-quantity atol parameters for isclose and allclose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-lru-Use-PyCFunction-instead-of-PyCFunctionWithKeywor.patch
removed since it's included in 1.2.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=============
Use latest skeleton
Update license list to latest ScanCode and SPDX 3.20
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
SPE plugin: Support new SDT-control metadata (#989) (c93536c)
Remove standard images from built package (#988) (6288f19)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix
-------
Fix#60: return a correctly dedented docstring when long docstring are using the D212 or D213 format.
Other
--------
Add support for Python 3.11.
Drop support for Python older than 3.7 in build systems like pytest and tox, while ensuring the library remains production-compatible.
Update GitHub workflow to run in recent Python versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
- Fix: reverted a change from 6.4.3 that helped Cython, but also increased the
size of data files when using dynamic contexts, as described in the now-fixed
issue 1586. The problem is now avoided due to a recent change (issue 1538).
- Wheels are now provided for CPython 3.12.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* The type annotations for SyncToAsync and AsyncToSync have been changed to
more accurately reflect the kind of callables they return.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add a recipe that builds snagrecover and snagflash. These tools are
useful for yocto-based distros used to control DUTs in board farms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- The logging info under windows made it look like it looked up the registry
info even when you had a TZ environment, but it doesn't actually do that.
- Improved the handling of loggers.
- Fixed a bug in the new assert_tz_offset method.
- Change how the system offset is calculated to deal with non-DST
temporary changes, such as Ramadan time in Morocco.
- Change the default to only warn when the timezone offset and system
offset disagree (but still not even warn if TZ is set)
- Add the assert_tz_offset() method to the top level for those who want
to explicitly check and fail.
- Removed the deprecation shim.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New: Celery Beat exclude tasks option
New: Add support for ExceptionGroups
Prefer importlib.metadata over pkg_resources if available
Work with a copy of request, vars in the event
Pinned version of dependency that broke the build
Disable Django Cache spans by default.
New: Add loguru integration
Do not truncate request body if request_bodies is "always"
Fixed Celery headers for Beat auto-instrumentation
Add db.operation to Redis and MongoDB spans
Make sure we're importing redis the library
Add include_source_context option
Import Markup from markupsafe
Fix __qualname__ missing attribute in asyncio integration
Remove relay extension from AWS Layer
Add a note about pip freeze to the bug template
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Revert "Moves supported python runtimes from version 3.8 to 3.10"
* Moves supported python runtimes from version 3.8 to 3.10
* Update master for stable/2023.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* Add support for new Excel dynamic functions added in 2023.
* Added support for adding a color to the 'invert_if_negative' chart option.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
========
-#907: Avoid remote calls during startup as execnet by default does not ensure
remote affinity with the main thread and might accidentally schedule the
pytest worker into a non-main thread, which breaks numerous frameworks, for
example asyncio, anyio, PyQt/PySide, etc.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Self signed jwt token should be string type
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Migrate module to package.
Migrate documentation to Sphinx.
Improve types and formatting in docstrings.
Add type stubs.
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes:
===========
The ASCWriter now logs the correct channel for error frames (#1578, #1583).
Fix PCAN library detection (#1579, #1580).
On Windows, the first two periodic frames were sent without delay (#1590).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* On Python 3.10 and below, the version of the "typing_extensions" package
is now constrained to be at least version 4 (as we depend on functionality
in that version and above)
* Contextvars are now required for the implementation of Local as Python 3.6
is now no longer a supported version.
* sync_to_async and async_to_sync now pass-through
* Debug and Lifespan State extensions have resulted in a typing change for some
request and response types. This change should be backwards-compatible.
* "asgiref" frames will now be hidden in Django tracebacks by default.
* Raw performance and garbage collection improvements in Local, SyncToAsync,
and AsyncToSync.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the lcov command could raise an IndexError exception if a file is
translated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes issue 1553.
- Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
- Fix: the coverage debug sys command includes some environment variables in its
output. This could have included sensitive data. Those values are now hidden
with asterisks, closing issue 1628.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Issues fixed
------------
antlr4 jar doubled in size in 4.9.3 (unicode, comp:performance)
Go: exponentially bad/absymal performance as of ... (type:bug, target:go)
Go runtime panic (type:bug, target:go)
Improvements, features
------------------------
Update LexerATNSimulator.cs with virtual Consume (type:improvement, target:csharp)
Feature/fixembedding (type:improvement, target:go, comp:performance)
Provide Javascript port of TokenStreamRewriter (type:feature, target:javascript, target:typescript)
License-Update:
Version updated to 4.13.0
"Home-page" changed to "Project-URL: Homepage,"
"Eric Vergnaud" removed from Author
Author-email changed to "Eric Vergnaud <eric.vergnaud@wanadoo.fr>"
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix incorrect context handling when a tag is used 2+ levels deeper than it was created.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched since 2018 and doesn't appear to have
any real dependents.
If something similar to pydbus is needed, then a maintained alternative
would be https://github.com/rhinstaller/dasbus (recipe available in
meta-anaconda).
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This project has been untouched upstream for six years and doesn't appear
to be considered "finished".
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of pygobject needs to support gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Any user of python-gstreamer (and so, pygobject) needs to support
gobject-introspection.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is one test in the pylint suite involving pickling non-pickleable
plugins that fails on target (but not host). Disable this test for
ptest runs.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This upgrade fixes most of the ptest errors that have been seen with
pylint, which were caused by a tomlkit issue. Changelog (see also
https://github.com/pylint-dev/pylint/releases/tag/v2.17.4):
False Positives Fixed
- Fix a false positive for bad-dunder-name when there is a
user-defined __index__ method. Closes#8613
Other Bug Fixes
- pyreverse: added escaping of vertical bar character in annotation
labels produced by DOT printer to ensure it is not treated as field
separator of record-based nodes. Closes#8603
- Fixed a crash when generating a configuration file:
tomlkit.exceptions.TOMLKitError: Can't add a table to a dotted key
caused by tomlkit v0.11.8. Closes#8632
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed the threading implementation of servers on Windows.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
#555: Improved progress output when collecting nodes to be less verbose.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
New Features
--------------
Add support for CLIENT NO-TOUCH (#2745)
Add support for CLUSTER MYSHARDID (#2704)
Add "address_remap" feature to RedisCluster (#2726)
Add WITHSCORES argument to ZREVRANK command (#2725)
Improve error output for master discovery (#2720)
Bug Fixes
----------
Fix XADD: allow non negative maxlen (#2739)
Fix create single connection client from url (#2752)
Optionally disable disconnects in read_response (#2695)
Fix SLOWLOG GET return value (#2732)
Fix potential race condition during disconnection (#2719)
Return response in case of KeyError (#2628)
Fix incorrect usage of once flag in async Sentinel (#2718)
Fix memory leak caused by hiredis in asyncio case (#2694)
Really do not use asyncio's timeout lib before 3.11.2 (#2699)
Maintenance
-----------
Clean PytestUnraisableExceptionWarning from asycio client (#2731)
Add RedisCluster.remap_host_port, Update tests for CWE 404 (#2706)
Updated AWS Elasticache IAM connection example (#2702)
Update CONTRIBUTING guidelines (#2736)
Fix ClusterCommandProtocol type (#2729)
Fix TOPK list example. (#2724)
Improving vector similarity search example (#2661)
Update example of Redisearch creating index (#2703)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Add classifier for Python 3.11
Add Algorithm.compute_hash_digest and use it to implement at_hash validation example
fix: use datetime.datetime.timestamp function to have a milliseconds
[pre-commit.ci] pre-commit autoupdate
Custom header configuration in jwk client
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Add PyJWT._{de,en}code_payload hooks
Add sort_headers parameter to api_jwt.encode
Make mypy configuration stricter and improve typing
Bump actions/stale from 6 to 7
[pre-commit.ci] pre-commit autoupdate
Add more types
Differentiate between two errors
Fix _validate_iat validation
Improve error messages when cryptography isn't installed
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
[pre-commit.ci] pre-commit autoupdate
Make Algorithm an abstract base class
docs: correct mistake in the changelog about verify param
[pre-commit.ci] pre-commit autoupdate
Bump actions/stale from 7 to 8
[pre-commit.ci] pre-commit autoupdate
Add a timeout for PyJWKClient requests
Add client connection error exception
Add complete types to take all allowed keys into account
[pre-commit.ci] pre-commit autoupdate
Build and upload PyPI package
Fix for issue #862 - ignore invalid keys in a jwks.
Add as_dict option to Algorithm.to_jwk
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add 3.12 support
Add tox.ini to sdist
removing Windows versions
Better handling for UNIX support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Software Identification (SWID) tags provide an extensible XML-based structure
to identify and describe individual software components, patches, and
installation bundles.
CoSWID supports a similar set of semantics and features as SWID tags, as well
as new semantics that allow us to describe additional types of information,
all in a more memory efficient format.
python3-uswid is used to generate the CoSWID data blob. For example, fwupd
project requires CoSWID data to be embedded into firmware binary to hold the
version information.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed Google App Engine support to allow using urllib3 2.0
Ensured the test suite no longer reaches the Internet
Added explicit support for Python 3.11
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improve performance of ServiceBrowser outgoing query scheduler (#1170) (963d022)
Speed up parsing NSEC records (#1169) (06fa94d)
Speed up processing incoming data (#1167) (fbaaf7b)
Speed up decoding dns questions when processing incoming data (#1168) (f927190)
Re-release to rebuild failed wheels (#1165) (4986271)
Reduce cast calls in service browser (#1164) (c0d65ae)
Speed up incoming parser (#1163) (4626399)
Speed up incoming data parser (#1161) (cb4c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
New Features / Improvements
------------------------------
Add constants for potential model object fields (f3f73bc)
DIRECT_MESSAGE_EVENT_FIELDS
DM_EVENT_FIELDS
LIST_FIELDS
MEDIA_FIELDS
PLACE_FIELDS
POLL_FIELDS
PUBLIC_SPACE_FIELDS
SPACE_FIELDS
PUBLIC_TWEET_FIELDS
TWEET_FIELDS
USER_FIELDS
Add creator_id field for Space (a13726a)
Twitter API Backwards-Incompatible Changes
-------------------------------------------
Remove support for streaming with Twitter API v1.1 status/filter endpoint (c8a02eb)
Stream
AsyncStream
Remove support for deprecated Premium v1.1 Search APIs (a955f30)
API.search_30_day
API.search_full_archive
Misc
------
Overhaul Getting Started documentation (addb9f7)
Remove no longer valid Twitter API version badges in README (880e7bf)
Update and improve various documentation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add no_color and force_color parameters to override env vars
Add support for Python 3.12
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix: Handle a list of keys (not just a single key) in Django cache spans (#2082)
Add cache.hit and cache.item_size to Django (#2057)
Use http.method instead of method (#2054)
Handle non-int exc.status_code in Starlette (#2075)
Handle SQLAlchemy engine.name being bytes (#2074)
Fix KeyError in capture_checkin if SDK is not initialized (#2073)
Use functools.wrap for ThreadingIntegration patches to fix attributes (#2080)
Pin urllib3 to <2.0.0 for now (#2069)
Do not send monitor_config when unset (#2058)
Add db.system span data (#2040, #2042)
Fix memory leak in profiling (#2049)
Fix crash loop when returning none in before_send (#2045)
Better handling of redis span/breadcrumb data (#2033)
Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037)
Upgraded linting tooling (#2026)
Made code more resilient. (#2031)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Removed semicolon after 'else' in 'munge_name'.
Fixed pyproject.toml and setup.py.
pyproject.toml was missing.
Added pyproject.toml.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Closed issues:
----------------
GeventConnection may now work on Windows #1407
ExchangeType should be from str type #1409
Merged pull requests:
---------------------
Attempt to re-enable GeventConnection on Windows #1417
fix typo #1414
Fix exchange type enum type #1410
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Add PEP621/631 support.
- Exposed matplotlib unit formatter (PR #1703)
- Fix error when when re-registering a formatter.
- Add new SI prefixes: ronna-, ronto-, quetta-, quecto-.
- Fix unit check with 'atol' using 'np.allclose' & 'np.isclose'.
- Implementation for numpy.positive added for Quantity.
- Changed frequency to angular frequency in the docs.
- Remove deprecated 'alen' numpy function
- Updated URLs for log and offset unit errors.
- Patched TYPE_CHECKING import regression.
- Parse '°' along with previous text, rather than adding a space,
allowing as a unit.
- Improved escaping of special characters for LaTeX format
- Avoid addition of spurious trailing zeros when converting units and non-int-type is
Decimal (PR #1625).
- Implementation for numpy.delete added for Quantity.
- Fixed Quantity type returned from '__dask_postcompute__'.
- Added Townsend unit
- Fix get_compatible_units() in dynamically added units.
- Fix pint-convert script
- Honor non_int_type when dividing.
- Fix 'trapz', 'dot', and 'cross' to work properly with non-multiplicative units
- Support percent and ppm units. Support the '%' symbol.
- Fix error when parsing subtraction operator followed by white space.
- Removed Td as an alias for denier (within the Textile group)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Get translation changes from CLDR
Add more translations from CLDR
Add Norwegian keyboard layout to keyboards.xml (Resolves: #16)
Add Hang script to Southern Aymara
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
========
Fix
-----
Avoid exception when n_frames is not set by Pillow
Forward get_reader/get_writer kwargs to read/write (#979)
Allow incremental write in pillow (#978)
Add writeable_output=True to pillow plugin to ensure data is writable by default (#976)
Other
-----
Refactor invoke in no-internet CI (#986)
Fixed typo in CI script (#985)
Fix typo in PyPI link tooltip (#980)
Generate images in temporary folders (#977)
Feature
--------
Expose v3 plugins via v2 API (#824)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: html_report() could fail with an AttributeError on isatty if run in an
unusual environment where sys.stdout had been replaced.
- Fix: with relative_files = true, specifying a specific file to include or
omit wouldn't work correctly (issue 1604).
- Fix: the XML report would have an incorrect <source> element when using
relative files and the source option ended with a slash (issue 1541).
- When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser.
- Docs: a new :ref:'Migrating page <migrating>' with details about how to
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Test suite shell wrapper: Accept OSError on exit
- Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420,
#424)
- Note completers can return iterables of strings, not just lists
(#422)
- Documentation and test improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add visitor function for TryStar to AsStringVisitor and add TryStar to astroid.nodes.ALL_NODE_CLASSES.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Add support for client-side encryption (PYTHON-1341)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
feature
----------
Added support for autogenerate comparison of indexes on PostgreSQL which
include SQL sort option, such as ASC or NULLS FIRST.
bug
---------
Fixed issue where using a directive such as op.create_foreign_key() to
create a self-referential constraint on a single table where the same
column were present on both sides (e.g. within a composite foreign key)
would produce an error under SQLAlchemy 2.0 and a warning under SQLAlchemy 1.4
indicating that a duplicate column were being added to a table.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fix regression with truediv and absolute URLs with empty paths causing the raw path to lack the leading /.
License-Update:Update the LICENSE file to contain the license used (Apache-2.0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete more code from __init__.py as we'll never be running from inside
a build tree.
Replace the use of skbuild.setup() with setuptools.setup(): the same
Python module is built and the only value-add is the potential build of
ninja, which we don't want and delete anyway.
This means we can remove most of the DEPENDS and RDEPENDS.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Fixed a deadlock in the threading implementation when closing a connection without reading all messages.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Re-use pre-built wheels in CI for upgrade tests in #702
Make security permissions explicit in GHA template #704
Fix GITHUB_TOKEN variable in GHA template #715
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Send all events to /envelope endpoint when tracing is enabled
Note: If you’re self-hosting Sentry 9, you need to stay in the previous version of the SDK or update your self-hosted to at least 20.6.0
Profiling: Remove profile context from SDK
Profiling: Additionl performance improvements to the profiler
Fix: Celery Beat monitoring without restarting the Beat process
Fix: Using the Codecov uploader instead of deprecated python package
Fix: Support for Quart
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>