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 build backend since they use a pyproject.toml file now.
- Add python3-io to RDEPENDS so that the module can be imported.
Changelog (https://github.com/arsenetar/send2trash/releases):
1.8.2
- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, #41, #63)
- win/legacy: tiny logic simplification by @BoboTiG in #77
- TravisCI is not used anymore by @sobolevn in #73
- fix(ci): Update to latest actions, fix python versions by @arsenetar in #78
1.8.1b0
- Add fallback to HOMETRASH when cross device errors happen in plat_other (#26, #41, #63)
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>
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>
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>
The native package has the same dependencies. Even if normally they are
satisfied by python3-native, we should still use a global RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
None of these are required at build-time. Remove them.
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>
The READMEs are often viewed from websites markdown format which is
much as readable as text and yet friendlier in browsers.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a new PEP517 compatible build class for python modules
that use pyproject.toml and this:
[build-system]
build-backend = 'mesonpy'
The new class uses python3-meson-python-native.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.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>
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>
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>
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>
Add the missing run-time dependency on python3-json. As a result we no
longer need to pull python3 native and can drop other *DEPENDS.
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:
============
Fixed typing extensions import in markdown #2979
Added support for tables in Markdown #2977
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
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>
Changelog:
==========
gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added.
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:
FIX: Attribute syntax for case insensitive flag optionally allows a space, it does not require one.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fix realtime timestamp reporting for line events in gpio-cdev v2 implementation.
Avoid writing direction and inverted on open to retain existing state with sysfs GPIOs
Add support for gpio-cdev v2 ABI.
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>
Bug Fixes
=========
Add useEmailAzp claim for id token iam flow
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Simplify type annotations for XSD datatypes
Full test coverage of sequence type functions with bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add check for range begin/end
restore py2 compat
Do not expose i into global namespace
Fix DOW hash parsing
better error handling on py3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-pandas-1.5.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/1.5.3-r0/pandas/_libs/hashing.c in package python3-pandas-src contains reference to TMPDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-h5py-3.8.0-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/_conv.c in package python3-h5py-src contains reference to TMPDIR
File /usr/src/debug/python3-h5py/3.8.0-r0/h5py/h5fd.c in package python3-h5py-src contains reference to TMPDIR [buildpaths]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python bindings to libgpiod are now available on pypi. The source
package is a limited subset of the original repository. As such the
ptest package now requires the libgpiod-ptest to be available at
run-time (for libgpiosim.so against which the test C extension is
linked).
The problem with installing the C extensions for tests is now fixed so
drop the do_install:append(). We no longer have to pass any additional
CFLAGS to setup.py either.
We update the version of the recipe but the changes only apply to
building and packaging, there are no functional changes to the code.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The gpiod package needs some standard python modules so add them to
RDEPENDS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use the provided PV variable when referring to project's version.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Make auto monitoring beat update support Celery 4 and 5
New: Celery Beat auto monitoring
New: gRPC integration
New: gRPC integration
Fix: Do not trim span descriptions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* This release contains security hardening measures based on recommendations
by a security audit sponsored by OSTIF and conducted by X41 D-Sec GmbH.
Several of these measures include changing defaults to be more strict,
by default simplejson will now only consume and produce compliant JSON,
but the flags still exist for any backwards compatibility needs.
No high priority issues were discovered, the reference count
leak is thought to be unreachable since the digits of the float are
checked before PyOS_string_to_double is called.
A link to the public version of this report will be included in a
future release of simplejson. The following fixes were implemented in
one PR: https://github.com/simplejson/simplejson/pull/313
* Fix invalid handling of unicode escape sequences in the pure Python
implementation of the decoder (SJ-PT-23-01)
* Fix missing reference count decrease if PyOS_string_to_double raises
an exception in Python 2.x; was probably unreachable (SJ-PT-23-02)
* Backport the integer string length limitation from Python 3.11 to
limit quadratic number parsing (SJ-PT-23-03)
* Fix inconsistencies with error messages between the C and Python
implementations (SJ-PT-23-100)
* Remove unused unichr import from encoder (SJ-PT-23-101)
* Remove unused namedtuple_as_object and tuple_as_array arguments from
simplejson.load (SJ-PT-23-102)
* Remove vestigial _one_shot code from iterencode (SJ-PT-23-103)
* Change default of allow_nan from True to False and add allow_nan
to decoder (SJ-PT-23-107)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Wait longer when attempting to play media
Bump black from 23.1.0 to 23.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
==========
Do not create new JWT credentials if they make the same claims as the existing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Fix: the :ref:`config_run_sigterm` setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always.
- Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller.
- Development dependencies no longer use hashed pins, closing issue 1592.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
* Support more possible usages of "attrs" decorators.
Closespylint-dev/pylint#7884
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[bug] [typing] Fixed various typing issues observed with pyright, including issues
involving the combination of Function and
MigrationContext.begin_transaction().
[bug] [autogenerate] Fixed error raised by alembic when running autogenerate after removing
a function based index.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Use standard licence text and SPDX identifier.
Changelog:
==========
Bug fixes
----------
Restored the C extension in the source distribution.
Backwards-incompatible changes
-------------------------------
The Sans-I/O implementation was moved.
Sans-I/O protocol constructors now use keyword-only arguments.
Closing a connection without an empty close frame is OK.
serve() times out on the opening handshake after 10 seconds by default.
New features
-------------
websockets 10.0 introduces a implementation on top of threading.
Added open_timeout to serve().
Made it possible to close a server without closing existing connections.
Added select_subprotocol to customize negotiation of subprotocols in the Sans-I/O layer.
Improvements
--------------
Added platform-independent wheels.
Improved error handling in broadcast().
Set server_hostname automatically on TLS connections when providing a sock argument to connect().
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update:
Alex Clark -> Jeffrey A. Clark (Alex)
Update HPND wording in LICENSE file
Changelog:
==========
Added ImageSourceData to TAGS_V2 #7053
Clear PPM half token after use #7052
Removed absolute path to ldconfig #7044
Support custom comments and PLT markers when saving JPEG2000 images #6903
Load before getting size in __array_interface__ #7034
Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 #7010
Consider transparency when applying APNG blend mask #7018
Round duration when saving animated WebP images #6996
Added reading of JPEG2000 comments #6909
Decrement reference count #7003
Allow libtiff_support_custom_tags to be missing #7020
Improved I;16N support #6834
Added QOI reading #6852
Added saving RGBA images as PDFs #6925
Do not raise an error if os.environ does not contain PATH #6935
Close OleFileIO instance when closing or exiting FPX or MIC #7005
Added __int__ to IFDRational for Python >= 3.11 #6998
Added memoryview support to Dib.frombytes() #6988
Close file pointer copy in the libtiff encoder if still open #6986
Raise an error if ImageDraw co-ordinates are incorrectly ordered #6978
Added "corners" argument to ImageDraw rounded_rectangle() #6954
Added memoryview support to frombytes() #6974
Allow comments in FITS images #6973
Support saving PDF with different X and Y resolutions #6961
Fixed writing int as UNDEFINED tag #6950
Raise an error if EXIF data is too long when saving JPEG #6939
Handle more than one directory returned by pkg-config #6896
Do not retry past formats when loading all formats for the first time #6902
Do not retry specified formats if they failed when opening #6893
Do not unintentionally load TIFF format at first #6892
Stop reading when EPS line becomes too long #6897
Allow writing IFDRational to BYTE tag #6890
Raise ValueError for BoxBlur filter with negative radius #6874
Support arbitrary number of loaded modules on Windows #6761
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Correct "startline=" to "beginline=" in LIC_FILES_CHKSUM so that the
correct lines from crc32c_adler.c are used.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Drop support for Python 3.6.
watchdog is now PEP 561 compatible, and tested with mypy
Fix missing > in FileSystemEvent.__repr__() (#980)
[ci] Lots of improvements
[inotify] Return from InotifyEmitter.queue_events() if not launched when thread is inactive (#963)
[tests] Stability improvements
[utils] Remove handling of threading.Event.isSet spelling (#962)
[watchmedo] Fixed tricks YAML generation (#965)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Updated denylist to include other widely used cookies/headers (#1972)
Forward all sentry- baggage items (#1970)
Update OSS licensing (#1973)
Profiling: Handle non frame types in profiler (#1965)
Tests: Bad arq dependency in tests (#1966)
Better naming (#1962)
New: Implement EventScrubber (#1943)
New: Added new functions_to_trace option for central way of performance instrumentation (#1960)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Improved warnings by ensuring that they target user code and not Typeguard internal code
Fixed warn_on_error() not showing where the type violation actually occurred
Fixed local assignment to *args or **kwargs being type checked incorrectly
Fixed TypeError on check_type(..., None)
Fixed unpacking assignment not working with a starred variable (x, *y = ...) in the target tuple
Fixed variable multi-assignment (a = b = c = ...) being type checked incorrectly
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Disabled repeat guards. They keep causing issues, and it's just simpler to rely on timeouts.
Re-enabled modified repeat guards due to regression in speed caused by excessive backtracking.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Upgrade urgency: SECURITY, contains fixes to security issues.
--------------------------------------------------------------
(CVE-2023-28859) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
(CVE-2023-28858) - Cancelling an async future does not, properly trigger, leading to a potential data leak in specific cases.
Bug Fixes
-------------
Fixing cancelled async futures (#2666)
Fix: do not use asyncio's timeout lib before 3.11.2 (#2659)
Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor argument (#2630)
Maintenance
--------------
Minor fixes for #2666 and enhanced async test (#2673)
Fix issue 2660: PytestUnraisableExceptionWarning from asycio client (#2669)
Removing accidentally checked in files (#2642)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix creating schema from model using ConstrainedStr with regex as dict key
Address bug in mypy plugin caused by explicit_package_bases=True
Add implicit defaults in the mypy plugin for Field with no default argument
Fix schema generated for Enum values used as Literals in discriminated unions
Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes
Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Print out reauth plugin error and raise if challenge output is None (#1265) (08d22fe)
Experimental service account iam endpoint flow for id token (#1258) (8ff0de5)
Python: Remove aws url validation (#1254) (20a966b)
Read both applicationId and relyingPartyId. (#1246) (e125dfe)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
https: disable_ssl_certificate_validation caused ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled
build(deps): bump cryptography from 37.0.4 to 38.0.3
Reason from cryptography changelog: Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Features
----------
Add overrides_by_request_protocol to BackendRule in google/api/backend.proto (77376dd)
Add proto_reference_documentation_uri to Publishing in google/api/client.proto (77376dd)
Add SERVICE_NOT_VISIBLE and GCP_SUSPENDED to ErrorReason in google/api/error_reason.proto (77376dd)
Documentation
--------------
Use rst syntax in readme (77376dd)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Refactor XPath function call (context=None only as keyword argument)
Add external function support (issue #60)
Some fixes to string representation and source property of tokens
Extend documentation and tests
Clean XSD datatypes hierarchy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improvements:
==============
Improved date parsing for Chinese (#1148)
Improved date parsing for Czech (#1151)
Reorder language by popularity (#1152)
Fix leak of memory in cache (#1140)
Add support for "\d units later" (#1154)
Move modification in CLDR data to yaml (#1153)
Add support to use timezone via settings to get PREFER_DATES_FROM result (#1155)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Restore behavior of setting a Call as a base for classes created using six.with_metaclass(),
and harden support for using enums as metaclasses in this case.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Features
--------
Add support for execution profiles in execute_concurrent (PR 1122)
Bug Fixes
----------
Handle empty non-final result pages (PR 1110)
Do not re-use stream IDs for in-flight requests (PR 1114)
Asyncore race condition cause logging exception on shutdown (PYTHON-1266)
Others
---------
Fix deprecation warning in query tracing (PR 1103)
Remove mutable default values from some tests (PR 1116)
Remove dependency on unittest2 (PYTHON-1289)
Fix deprecation warnings for asyncio.coroutine annotation in asyncioreactor (PYTTHON-1290)
Fix typos in source files (PR 1126)
HostFilterPolicyInitTest fix for Python 3.11 (PR 1131)
Fix for DontPrepareOnIgnoredHostsTest (PYTHON-1287)
tests.integration.simulacron.test_connection failures (PYTHON-1304)
tests.integration.standard.test_single_interface.py appears to be failing for C* 4.0 (PYTHON-1329)
Authentication tests appear to be failing fraudulently (PYTHON-1328)
PreparedStatementTests.test_fail_if_different_query_id_on_reprepare() failing unexpectedly (PTYHON-1327)
Refactor deprecated unittest aliases for Python 3.11 compatibility (PR 1112)
Deprecations
------------
This release removes support for Python 2.7.x as well as Python 3.5.x and 3.6.x
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Call _default as fallback in zsh global completion hook
Begin support for mapping-emitting completers
activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
Add NOTICE file
Establish long term name for split_line as argcomplete.lexers.split_line
Re-add split_line to API (#419)
Fix zsh default completion issues
Fix zsh autoload issues
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:
============
DEP: Minimum PROJ version 9.0 (issue #1223)
WHL: PROJ 9.2 in wheels (pull #1243)
ENH: Add return_back_azimuth: bool to allow compatibility between the azimuth output of the following functions (issue #1163):
fwd and fwd_intermediate, inv and inv_intermediate
ENH: Added only_best kwarg to Transformer.from_crs() (issue #1228)
PERF: Optimize point transformations (pull #1204)
REF: Raise error when CRS.to_wkt(), CRS.to_json(), or CRS.to_proj4() returns None (issue #1036)
CLN: Remove AzumuthalEquidistantConversion & LambertAzumuthalEqualAreaConversion.
AzimuthalEquidistantConversion & LambertAzimuthalEqualAreaConversion should be used instead (pull #1219)
BUG: Fix Derived Projected CRS support (issue #1182)
BUG: Add horizontal_datum_name for geographic CRS in CRS.to_cf() (issue #1251)
BUG: Add datum ensemble support to GeographicCRS (pull #1255)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ptest RDEPENDS on pytest
* Use python3-unittest-automake-output instead of using sed to reformat
the output use this new module.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"
Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.
* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s
This allows parallel execution of the tests.
The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.
A useful advantage is that the dependencies of each ptest package are
checked/tested individually.
Add to local.conf:
IMAGE_CLASSES += "testimage"
All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image
Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image
You will likely want to limit the number of parallel image tests:
BB_NUMBER_THREADS = "4"
based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.
Results can be summarized with:
$ resulttool report tmp/log/oeqa/testresults.json
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)
* Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests
or other issues with ptest package
The initial list was taken from:
meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
--layer meta-python --inherits ptest --bare | tr '\n' ' ' | \
pcregrep -o1 '^NOTE:.+===(.+)$')
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
In betamax fixtures and recorde_modes ptest are failing due to
the deprecation of fixture usage and the httpbin.org service.
Drop these ptests in meta-oe, until there is a suitable solution
to fix this failure.
Validation:
Enable ptest and add python3-betamax into IMAGE_INSTALL
$runqemu ...
$cd /usr/[lib/lib64]/python3-betamax/ptest
$./run-ptest
ALL ptests PASS.
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
import stack_data
ModuleNotFoundError: No module named 'stack_data'
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Build Linux binary wheels for Python 3.11.
Drop support for Python 2.7, 3.5, 3.6.
Fix test deprecation warning on Python 3.11.
Add preliminary support for Python 3.12 as of 3.12a5.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Correct duplicate record entries in windows wheels by updating poetry-core
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improved the documentation
Fixed assignment unpacking (a, b = ...) being checked incorrectly
Fixed @typechecked attempting to instrument wrapper decorators such as @contextmanager when applied to a class
Fixed py.typed missing from the wheel when not building from a git checkout
BACKWARD INCOMPATIBLE Dropped the argname, memo, globals and locals arguments from check_type()
BACKWARD INCOMPATIBLE Removed the check_argument_types() and check_return_type() functions (use @typechecked instead)
BACKWARD INCOMPATIBLE Moved install_import_hook to be directly importable from the typeguard module
BACKWARD INCOMPATIBLE Changed the checking of collections (list, set, dict, sequence, mapping) to only check the first item by default.
BACKWARD INCOMPATIBLE Type checking failures now raise typeguard.TypeCheckError instead of TypeError
Dropped Python 3.5 and 3.6 support
Dropped the deprecated profiler hook (TypeChecker)
Added a configuration system
Added support for custom type checking functions
Added support for PEP 604 union types (X | Y) on all Python versions
Added support for generic built-in collection types (list[int] et al) on all Python versions
Added support for checking arbitrary Mapping types
Added support for the Self type
Added support for typing.Never (and typing_extensions.Never)
Added support for Never and NoReturn in argument annotations
Added support for LiteralString
Added support for TypeGuard
Added support for the subclassable Any on Python 3.11 and typing_extensions
Added the possibility to have the import hook instrument all packages
Added the suppress_type_checks() context manager function for temporarily disabling type checks
Much improved error messages showing where the type check failed
Made it possible to apply @typechecked on top of @classmethod / @staticmethod (PR by jacobpbrugh)
Changed check_type() to return the passed value, so it can be used (to an extent) in place of typing.cast(), but with run-time type checking
Replaced custom implementation of is_typeddict() with the implementation from typing_extensions v4.1.0
Emit InstrumentationWarning instead of raising RuntimeError from the pytest plugin if modules in the target package have already been imported
Fixed TypeError when checking against TypedDict when the value has mixed types among the extra keys (PR by biolds)
Fixed incompatibility with typing_extensions v4.1+ on Python 3.10 (PR by David C.)
Fixed checking of Tuple[()] on Python 3.11 and tuple[()] on Python 3.9+
Fixed integers 0 and 1 passing for Literal[False] and Literal[True], respectively
Fixed type checking of annotated variable positional and keyword arguments (*args and **kwargs)
Fixed checks against unittest.Mock and derivatives being done in the wrong place
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Improved the error message when the ZoneInfo cannot be found
- Don't error out because we find multiple possible timezones for
a symlink.
- More stable on Android/Termux with proot
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Made kombu client manager more robust and efficient
Made aio_pika client manager more robust and efficient
Correctly handle emits to multiple rooms in the async server
Expose the ignore_queue option in namespaces
Do not automatically import zmq
TLS/SSL client documentation
Removed incorrect reference to multiple callback invocations in documentation
Fix documentation typos
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Use current master version of rapidjson
Produce ppc64le wheels, thanks to mgiessing (PR #170)
Use cibuildwheel 2.21.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Changes
--------
- Bump version.
- Include event reports by default in feed.
- Bump deps.
- Add greynoise-ip object.
Fix
----
- Use proper parameter to trigger the request in search_galaxy_clusters.
- Use POST in search galaxy cluster.
Other
------
- Rename include_event_reports kwarg to with_event_reports, in-line with
other kwarg naming.
- Add kwarg to allow the inclusion of event reports into to_feed(),
honour with_distribution and valid_distributions kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
displaymode: Update description to describe behavior
network: Move new options to Fedora 39
Add conflict test between ostree sources
Fix missing seen check for output generation
Add new ostreecontainer command
Check the conflicting commands automatically
Fix tests for conflicting commands
Add conflicting commands support
Fix handling of package section arguments in older versions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Allow configuring underlying websocket connection with custom options
Cancel all running tasks in async SIGINT handler
Handle unexpected WebSocket close frames sent by server
Close aiohttp session after a failed connection
Catch IOErrors from uWSGI and explicitly close the driver
Recommend ASGI integration for Sanic in Documentation
Fix documentation for max_http_buffer_size
Add Python 3.11 to builds
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Bugs Fixed:
* Migrate to use the explicitly-maintained 'packaging' library.
The package bundled in 'setuptools.extern.packaging' is to help make that
package self-contained, but is not a supported API.
* Declare dependency on Setuptools >= 62.4.0.
This is necessary for establishing the version information via Setuptools. We
use 'setuptools.command.build', 'introduced in Setuptools version 62.4.0
* Refactor calculation of file descriptor ranges to close.
Added:
* Document a 'ServiceRunner' class as an example of using 'DaemonContext'.
* PyPA recommended Project URLs for the distribution.
Changed:
* Raise a TypeError if any 'exclude' values are not valid file descriptors.
* Migrate package version handling to use Setuptools API.
Removed:
* Remove redundant 'wheel' from the requirements specification.
* Remove Setuptools 'test' command support.
* Remove Setuptools 'register' and 'upload' command support.
* Remove the obsolete 'runner' module.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
- Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect,
but has now been fixed: only the specified packages will be measured.
- Fix: the coverage lcov command could create a .lcov file with incorrect
LF (lines found) and LH (lines hit) totals.
- Fix: the coverage xml command on Windows could create a .xml file with
duplicate <package> elements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Fully support zsh. Argcomplete now supports completion descriptions and global completion in zsh.
Clean up top level namespace.
Documentation and test improvements.
Test infrastructure improvements
Indicate that there is no support commitment for fish and tcsh shells
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Update library name in license
Changelog:
==========
Add Support for Python 3.11.x minor revisions
Support for Python versions 3.7-3.11 (Python 2 no longer supported)
Primary development branch renamed from master to main
Handle all real numbers as coordinates
Default precision improvements
CI improvements
utf-8 support added to geojson.dumps()
Polygons now constrained to bounding box
Better GeometryCollection handling in util.coords()
Improved point validation
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: delete empty line at the end of the file.
Changelog:
==========
add missing server.start(). (#1443)
Don't publish univeral (Python2 / Python 3) wheels (#1423)
Remove unneccesary custom LOG_LEVEL check (#1424)
Include py.typed in package (#1422)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ptest fails after python3-requests-toolbelt is upgraded
to 0.10.1.
=======================================================
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../python3.11/importlib/{}init{}.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_x509_adapter.py:20: in <module>
import trustme
E ModuleNotFoundError: No module named 'trustme'
=======================================================
The commit b93b4067ea "Fix x509 tests by using trustme" of
python3-requests-toolbelt introduces the trustme in test_x509_adapter.py.
Introducing python3-trustme to fix ptest error of python3-requests-toolbelt,
also introducing python3-service-identity, which is requested by python3-trustme's
ptest.
The ptest passes of all the three packages.
Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Python3 click-repl package requires prompt-toolkit to be installed.
Add the missing RDEPENDS to the recipe.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Add value <-> registers converter helpers. (#1413)
Add pre-commit config (#1406)
Make baud rate configurable for examples (#1410)
Clean __init_ and update log module. (#1411)
Simulator add calls functionality. (#1390)
Add note about not being thread safe. (#1404)
Update docker-publish.yml
Forward retry_on_empty and retries by calling transaction (#1401)
serial sync recv interval (#1389)
Add tests for writing multiple writes with a single value (#1402)
Enable mypy in CI (#1388)
Limit use of Singleton. (#1397)
Cleanup interfaces (#1396)
Add request names. (#1391)
Simulator, register look and feel. (#1387)
Fix enum for REPL server (#1384)
Remove unneeded attribute (#1383)
Fix mypy errors in reactive server (#1381)
remove nosec (#1379)
Fix type hints for http_server (#1369)
Merge pull request #1380 from pymodbus-dev/requirements
remove second client instance in async mode. (#1367)
Pin setuptools to prevent breakage with Version including "X" (#1373)
Lint and type hints for REPL (#1364)
Clean mixin execute (#1366)
Remove unused setup_commands.py. (#1362)
Run black on top-level files and /doc (#1361)
repl config path (#1359)
Fix NoReponse -> NoResponse (#1358)
Make whole main async. (#1355)
Fix more typing issues (#1351)
Test sync task (#1341)
Fixed text in ModbusClientMixin's writes (#1352)
lint /doc (#1345)
Remove unused linters (#1344)
Allow log level as string or integer. (#1343)
Sync serial, clean recv. (#1340)
Test server task, async completed (#1318)
main() should be sync (#1339)
Bug: Fixed caused by passing wrong arg (#1336)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Implement logic to support creating validators from non standard callables by
using defaults to identify them and unwrapping functools.partial and
functools.partialmethod when checking the signature
- Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses
- Raise ValidationError, not ConfigError, when a discriminator value is unhashable
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-[Feature] #2173: Accept single tabs as field separators (in addition to single
spaces) in <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
OpenSSH’s KnownHosts parser.
-[Feature] #2013: (solving #2009, plus others) Add an explicit channel_timeout
keyword argument to paramiko.client.SSHClient.connect, allowing users to
configure the previously-hardcoded default value of 3600 seconds.
-[Support] #2178: Apply codespell to the codebase, which found a lot of very old
minor spelling mistakes in docstrings. Also modernize many instances of
*largs vs *args and **kwarg vs **kwargs.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Added
------
An AbstractDiscreteInterval class to ease the creation of specialized discrete intervals (experimental).
A create_api function to generate an API similar to the one of portion but configured to use a given subclass of Interval (experimental, see Specialize & customize intervals).
Changed
-------
Speed up repr and to_string for Interval instances (see #76, adm271828).
Some internal changes to ease subclassing:
from_string and from_data accepts a klass parameter to specify which class should be used to create Interval instances (default is Interval).
Add a klass parameter for open, closed, openclosed, closedopen, singleton and empty (default is Interval).
Add a _klass class attribute in IntervalDict to specify how to create Interval instances (default is Interval).
IntervalDict uses self.__class__ to preserve subclasses when creating new instances.
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:
==========
Breaking changes:
------------------
Remove not allowed attributes function-rate, functions-covered and functions-valid from cobertura report. (:issue:'671')
Remove "noncode" entries in JSON reports. (:issue:'663')
New :option:'--exclude-noncode-lines' to exclude noncode lines. Noncode lines are not excluded by default anymore. (:issue:'704', :issue:'705')
Changed :option:'--gcov-ignore-parse-errors' to accept list of errors to ignore. (:issue:'701')
The default filename for :option:'--cobertura' is changed from coverage.xml to cobertura.xml (:issue:'721')
Handling of gcov errors:
Do not ignore return code of gcov. (:issue:'653')
New :option:'--gcov-ignore-errors' to ignore gcov errors. Old behavior was to print a warning and continue. (:issue:'718')
Revert changes from :issue:'623' and add documentation entry :ref:'support keil uvision format'. (:issue:'727')
New features and notable changes:
---------------------------------
New :option:'--html-nested' for reports that summarize subdirectories with aggregated statistics per directory. (:issue:'687')
Accept NAN % which is used in GCOV 7.5.0 instead of an invalid value. (:issue:'651')
New :option:'--json-base' to define a base bath used in JSON reports. (:issue:'656')
New :option:'--calls' to report call coverage: function calls invoked/total (:issue:'666')
New nox session to generate a portable application with pyinstaller, see :ref:'standalone application'. (:issue:'661')
Print a warning if root directory contains symlinks. (:issue:'652')
Change :option:'--keep' when calling gcov internaly. (:issue:'703')
Allow annotations for never executed branches. (:issue:'711')
Add function merge mode for same function defined in different lines. (:issue:'700')
Update link to gcovr documentation in HTML report to point to the documentation of the used version. (:issue:'723')
Add environment SOURCE_DATE_EPOCH to set default for :option:'--timestamp'. (:issue:'729')
Bug fixes and small improvements:
--------------------------------
Fix :option:'--html-tab-size' feature. (:issue:'650')
Fix alphabetical sort of html report, for when there are symlinks. (:issue:'685')
Handle :option:'--version' before parsing the configuration file. (:issue:'696')
Fix reports of excluded coverage. (:issue:'409', :issue:'503', :issue:'663')
Fix handling for nonexistent source code for HTML-details and Coveralls reports. (:issue:'663')
Exclude functions with :ref:'Exclusion markers'. (:issue:'713')
Fix problem in decision parser if open block brace is on same line. (:issue:'681')
Add Python 3.11 to test matrix. (:issue:'717')
Fix casing of files if filesystem is case insensitive. (:issue:'694')
Fix deadlock if :option:'-j' is used and there are errors from gcov execution. (:issue:'719')
Fix problem in decision parser if case is not on a single line with the break statement. (:issue:'738')
Do not use realpath for DirectoryPrefixFilter to support symlinks in root directory. (:issue:'712')
Documentation:
-------------
Add detailed reference for the JSON output format. (:issue:'663')
Internal changes:
-----------------
Select the :option:'--html-theme' using CSS classes. (:issue:'650')
Change and extend cmake tests. (:issue:'676')
Detect gcc version for running tests. (:issue:'686')
Use scrubbed data for --update_reference option. (:issue:'698')
Install ninja with package manager instead of GitHub action. (:issue:'699')
Rename the reference files coverage.xml to cobertura.xml and the test from xml to cobertura (:issue:'721')
Add support for clang-14 in our test suite and improve startup performance of docker image. (:issue:'731')
Compare files by extension in test suite. (:issue:'733')
Split HTML templates into one file for each part of the page. (:issue:'735')
Change docker image to be able to use it like the nox command itself. (:issue:'734')
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import cmake".
Only build and ship the python parts, and don't download and
build cmake from sources. Use the already built cmake instead.
The CMakeLists.txt file is a crippled copy from this cmake
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so cmake is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Some python modules rely on "import ninja".
Only build and ship the python parts, and don't download and
build ninja from sources. Use the already built ninja instead.
The CMakeLists.txt file is a crippled copy from this ninja
python module's sources, removing almost everything, and
adding a dummy install target, so do_install() doesn't fail.
The python code is patched so ninja is used from PATH.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Documentation and test improvements
Remove scripts for contrib-supported shells from global namespace
setup.py: exclude test.* subpackages from find_packages (#406)
Support PowerShell (#405)
CI updates
Revert "Support powershell (#392)"
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Fix interrupted release (v2.0.1)
Support powershell (#392)
Update importlib-metadata dependency to include versions 5.x (#389)
Test and documentation improvements
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Added
-----
Argument should_rename_legacy for legacy function detect and disregard any new arguments without errors (PR #262)
Removed
-------
Support for Python 3.6 (PR #260)
Changed
-------
Optional speedup provided by mypy/c 1.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-pyproject.toml-Replace-with.patch
removed since it's included in 2.15.0
Changelog:
==========
* astroid now supports "TryStar" nodes from python 3.11 and should be fully compatible with python 3.11.
* "Formattedvalue.postinit" is now keyword only. This is to allow correct typing of the
"Formattedvalue" class.
* "Astroid" now supports custom import hooks.
* "astroid" now infers return values from match cases.
* "AstroidManager.clear_cache" now also clears the inference context cache.
* "Astroid" now retrieves the default values of keyword only arguments and sets them on
"Arguments.kw_defaults".
* "Uninferable" now has the type "UninferableBase". This is to facilitate correctly type annotating
code that uses this singleton.
* Deprecate "modutils.is_standard_module()". It will be removed in the next minor release.
Functionality has been replaced by two new functions,
"modutils.is_stdlib_module()" and "modutils.module_in_path()".
* Fix "are_exclusive" function when a walrus operator is used inside "IfExp.test" field.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
bugfix:
=======
[bug] [ops] Fixed regression where Alembic would not run with older SQLAlchemy 1.3
versions prior to 1.3.24 due to a missing symbol. Workarounds have been
applied for older 1.3 versions.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright year updated to 2022.
Changelog:
===========
Security issues:
----------------
* Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063)
Features:
----------
* Added quadsubdiv() for numerical integration with adaptive path splitting
* Added the Cohen algorithm for inverse Laplace transforms
* Some speedup of matrix multiplication
* Optimizations to Carlson elliptic integrals
* Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle()
sigmoidw())
Bug fixes:
----------
* Correct mpf initialization from tuple for finf and fninf
* Support QR decomposition for matrices of width 0 and 1
* Fixed some cases where elliprj() gave inaccurate results
* Fixed cases where digamma() hangs for complex input
* Fixed cases of polylog() with integer-valued parameter with complex type
* Fixed fp.nsum() with Euler-Maclaurin algorithm
Maintenance:
------------
* Dropped support for Python 3.4
* Documentation cleanup
* Removed obsolete files
* Added options to runtests.py to skip tests and exit on failure
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Rich is a Python library for rich text and beautiful formatting in the
terminal.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
New
-----
- [doc] added the Jupyter notebook used in a.7-rest-api-extensive-
restsearch.
Fix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Run black on the entire source code
Bundle the requirements-tests.txt file in the source distribution (#939)
[watchmedo] Exclude FileOpenedEvent events from AutoRestartTrick, and ShellCommandTrick, to restore watchdog < 2.3.0 behavior. A better solution should be found in the future. (#949)
[watchmedo] Log FileOpenedEvent, and FileClosedEvent, events in LoggerTrick
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fix incorrect behaviour of __or__ and __ior__, see #8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixed
=======
Broken test on FreeBSD due to a broken locale.strxfrm. This change has no effect outside fixing tests (issue #161)
Added
=========
The PRESORT option to the ns enum to attain consistent sort order in certain corner cases (issue #149)
Logic to ensure None and NaN are sorted in a consistent order (issue #149)
Explict Python 3.11 support
Changed
========
Only convert to str if necessary in os_sorted (@Dobatymo, issues #157 and #158)
Attempt to use new fastnumbers functionality if available
Move non-API documentation to the GitHub wiki
Removed
========
Support for EOL Python 3.6
License-Update: Copyright year updated to 2023.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Feature
=========
Collection of small improvements to pyav (#939) (b0dc210)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bug Fixes
=========
Call gcloud config get project to get project for user cred (#1243) (c078a13)
Do not use hardcoded string 'python', when you mean sys.executable. (#1233) (91ac8e6)
Don't retry if error or error_description is not string (#1241) (e2d263a)
Improve ADC related errors and warnings (#1237) (2dfa213)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Performance improvements, especially with the haversine_vector function #65 by jobh
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Added
--------
Added the map option to all try_* functions to enable very fast conversions of lists or other iterables (issues #61, #63 and #67)
Added try_array to enable very fast conversions directly to numpy arrays (issues #62 and #65)
Changed
---------
Move to a model where the return code is a value or error instead of a model where one has to check the error state after getting a value (issue #66)
Significantly simplified the type annotations (by 4000+ lines!)
Fixed
-------
Increased code coverage and fixed missing headers in codecov reaport (issue #64)
Add back missing key option in type hints for deprecated fast_* functions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Add missing LONG_PRESS enum member for button events (#190)
Mark auto_dynamic attribute optional on scene resource (#189)
Fixes for some small schema parse errors (#188)
Make active_timeslot optional in smart_scene model (#177)
Add util methods for backwards compatibility in Scenes controller (#176)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Raise KeyError when key is not found in ini repositories
Fix infinite recursion on Windows
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix: the PyPI page had broken links to documentation pages, but no longer does, closing issue 1566.
Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing issue 1564.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The final libgpiod v2.0 release is out so update the recipe.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Remove deprecated 'setuptools-markdown' dependency
(https://github.com/ethereum/eth-keyfile/pull/37)
- Use twine to upload package to pypi
0001-setup-don-t-use-setuptools-markdown.patch
removed since it's not available in 0.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Added a new setting "[report] exclude_also" to let you add more exclusions
without overwriting the defaults. Thanks, 'Alpha Chen <pull 1557_>'_,
closing 'issue 1391_'.
- Added a :meth:'.CoverageData.purge_files' method to remove recorded data for
a particular file. Contributed by 'Stephan Deibel <pull 1547_>'_.
- Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
- Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the "data_file" and "config_file" arguments to
the Coverage constructor and the "basename" argument to CoverageData.
Closes 'issue 1552'_.
- Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
'Russell Keith-Magee <pull 1543_>'_, closing 'issue 1542'_.
- Added a "py.typed" file to announce our type-hintedness. Thanks,
'KotlinIsland <pull 1550_>'_.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfix:
Hold a strong reference to the query sender start task (#1128) (808c3b2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- Ensure that URL rules using path converters will redirect with strict slashes
when the trailing slash is missing. #2533
- Type signature for get_json specifies that return type is not optional when
silent=False. #2508
- parse_content_range_header returns None for a value like bytes */-1 where the
length is invalid, instead of raising an AssertionError. #2531
- Address remaining ResourceWarning related to the socket used by run_simple.
Remove prepare_socket, which now happens when creating the server. #2421
- Update pre-existing headers for multipart/form-data requests with the test
client. #2549
- Fix handling of header extended parameters such that they are no longer
quoted. #2529
- LimitedStream.read works correctly when wrapping a stream that may not return
the requested size in one read call. #2558
- A cookie header that starts with = is treated as an empty key and discarded,
rather than stripping the leading ==.
- Specify a maximum number of multipart parts, default 1000, after which a
RequestEntityTooLarge exception is raised on parsing. This mitigates a DoS
attack where a larger number of form/file parts would result in
disproportionate resource use.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
[inotify] Add support for IN_OPEN events: a FileOpenedEvent event will be fired
[watchmedo] Add optional event debouncing for auto-restart, only restarting once
if many events happen in quick succession (--debounce-interval) (#940)
[watchmedo] Exit gracefully on KeyboardInterrupt exception (Ctrl+C) (#945)
[watchmedo] Add option to not auto-restart the command after it exits
(--no-restart-on-command-exit) (#946)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
Better handling of empty strings passed as input.
Fix the shift safe number issue from 0.9.12
More minor pylint / etc fixes / cleanups (general code quality)
separate .parse from #115
Allow setting up completely empty {} operators / functions ( #75 via #123 )
Add extra bit-ops from #87
Add @daxamin to contributors ?
Version bump stuff.
other readme tweaks
star expressions, eg x = {"a": 1, "b": 2, **c}
no-build.patch
removed since it's included in 0.9.13
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
NEW: Update to support changes related to :lang() in the official CSS spec. :lang("") should match unspecified
languages, e.g. lang="", but not lang=und.
NEW: Only :is() and :where() should allow forgiving selector lists according to latest CSS (as far as Soup
Sieve supports "forgiving" which is limited to empty selectors).
NEW: Formally drop Python 3.6.
NEW: Formally declare support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Improved Documentation
----------------------
- #863: Document limitations for debugging due to standard I/O of workers not
being forwarded. Also, mention remote debugging as a possible workaround.
Features
----------
- #855: Users can now configure load scheduling precision using --maxschedchunk
command line option.
- #858: New worksteal scheduler, based on the idea of work stealing. It's
similar to load scheduler, but it should handle tests with significantly
differing duration better, and, at the same time, it should provide similar
or better reuse of fixtures.
Trivial Changes
---------------
- #870: Make the tests pass even when $PYTEST_XDIST_AUTO_NUM_WORKERS is set.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Relaxed dependency requirements (#77).
Dropped support for Python 3.6.
Added official support for Python 3.11.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
Fix broken parametrized bases handling with GenericModels with complex sets of models
Invalidate mypy cache if plugin config changes
Fix RecursionError when deep-copying dataclass types wrapped by pydantic
Fix X | Y union syntax breaking GenericModel
Switch coverage badge to show coverage for this branch/release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
=========
Remove the auth and authconfig commands
The parse method is expected to return a value
tests: unittest isn't used in handle_unicode anymore
Add RHEL 9 handler
Resolves: rhbz#1966730
Add RHEL 9 version for commands that had a RHEL version in the past
Add RHEL 9 version for BTRFS related commands
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bugfixes
========
#1881 DocumentProperties times set by module import only
#1947 Worksheet-specific definitions are missing
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Fix
----
Format hint test doesn't need to establish a connection (#941) (b7a0f35)
Other
------
Don't build pdfs on RTD (#944) (d200673)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
Improves propagation of errors in task results and includes fix for newer versions of pip.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
-Autoescape is enabled by default for ".svg" template files. :issue:'4831'
-Fix the type of "template_folder" to accept "pathlib.Path". :issue:'4892'
-Add "--debug" option to the "flask run" command. :issue:'4777'
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
fixes a security issue with severity "moderate" (CVE-2023-24580)
Fixed a bug in Django 4.1 that caused a crash of model validation on ValidationError with no code (#34319).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>