summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
* python3-betamax: fix ptest failture of fixture and record modesZhixiong Chi2023-03-282-0/+334
| | | | | | | | | | | | | | | | | 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>
* python3-ipython: Add missing dependencyZoltán Böszörményi2023-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* python3-stack-data: New recipeZoltán Böszörményi2023-03-281-0/+17
| | | | | | | Dependency of python3-ipython. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pure-eval: New recipeZoltán Böszörményi2023-03-281-0/+11
| | | | | | | Dependency of python3-stack-data. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-executing: New recipeZoltán Böszörményi2023-03-281-0/+9
| | | | | | | Dependency of python3-stack-data. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-zopeinterface: upgrade 5.5.2 -> 6.0Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | 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>
* python3-zeroconf: upgrade 0.47.3 -> 0.47.4Wang Mingyu2023-03-221-1/+1
| | | | | | | | 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>
* python3-web3: upgrade 5.31.4 -> 6.0.0Wang Mingyu2023-03-221-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typeguard: upgrade 2.13.3 -> 3.0.1Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-tzlocal: upgrade 4.2 -> 4.3Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | 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>
* python3-sqlalchemy: upgrade 2.0.4 -> 2.0.7Wang Mingyu2023-03-221-1/+1
| | | | | | | | Changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.7 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-socketio: upgrade 5.7.2 -> 5.8.0Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | | 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>
* python3-rapidjson: upgrade 1.9 -> 1.10Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | 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>
* python3-simplejson: upgrade 3.18.3 -> 3.18.4Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | Changelog: ========== * Test the sdist to prevent future regressions https://github.com/simplejson/simplejson/pull/311 * Enable ppc64le wheels https://github.com/simplejson/simplejson/pull/312 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pymisp: upgrade 2.4.169 -> 2.4.169.2Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-pykickstart: upgrade 3.45 -> 3.47Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | | 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>
* python3-flask-socketio: upgrade 5.3.2 -> 5.3.3Wang Mingyu2023-03-221-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-engineio: upgrade 4.3.4 -> 4.4.0Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | 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>
* python3-daemon: upgrade 2.3.2 -> 3.0.1Wang Mingyu2023-03-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-eth-typing: upgrade 3.2.0 -> 3.3.0Wang Mingyu2023-03-221-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-coverage: upgrade 7.2.1 -> 7.2.2Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | | | | 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>
* python3-cmake: upgrade 3.25.2 -> 3.26.0Wang Mingyu2023-03-221-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-argcomplete: upgrade 2.1.1 -> 3.0.0Wang Mingyu2023-03-221-1/+1
| | | | | | | | | | | | | 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>
* python3-sentry-sdk: upgrade 1.15.0 -> 1.17.0Wang Mingyu2023-03-221-3/+3
| | | | | | | | | | License-Update: Switch to MIT license Changelog: https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-geojson: upgrade 2.5.0 -> 3.0.1Wang Mingyu2023-03-221-3/+2
| | | | | | | | | | | | | | | | | | | | 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>
* python3-pymodbus: upgrade 3.2.0 -> 3.2.1Wang Mingyu2023-03-221-2/+2
| | | | | | | | | | | | | | 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>
* Introduce python3-trustme to fix ptest error of python3-requests-toolbeltYue Tao2023-03-226-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-pyproject-metadata: New recipeZoltán Böszörményi2023-03-181-0/+10
| | | | | | | Dependency of python3-meson-python. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyruvate: Add crates checksum and use cargo-update-recipes-cratesFrederic Martinsons2023-03-182-97/+194
| | | | | | | | | | | | | This is related to checksum verification introduction in bitbake crate fetcher: https://patchwork.yoctoproject.org/project/bitbake/patch/20230315131513.50635-1-frederic.martinsons@gmail.com/ Moreover, drop the usage of pypi to use git fetcher (the Cargo.lock file is not present in the package uploaded on pypi) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-click-repl: add mising prompt-toolkit runtime dependencyClément Péron2023-03-171-1/+1
| | | | | | | | | 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>
* python3-web3: upgrade 5.31.3 -> 5.31.4Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pykickstart: upgrade 3.44 -> 3.45Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-xlsxwriter: upgrade 3.0.8 -> 3.0.9Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-unidiff: upgrade 0.7.4 -> 0.7.5Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twitter: upgrade 4.12.1 -> 4.13.0Wang Mingyu2023-03-171-1/+1
| | | | | | | | Changelog: https://github.com/tweepy/tweepy/releases/tag/v4.13.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-smpplib: upgrade 2.2.1 -> 2.2.2Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | Changelog: ========== Added python 3.10 tests to CircleCI fix socket recv error being silently ignored Refactored Client.read_pdu() Refactored Client.send_pdu() increment sequence of commands as spec (fixes #214) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pymodbus: upgrade 3.1.3 -> 3.2.0Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-pytest-xdist: upgrade 3.2.0 -> 3.2.1Wang Mingyu2023-03-171-1/+1
| | | | | | | | | Bug Fixes ---------- #884: Fixed hang in worksteal scheduler. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: upgrade 1.10.5 -> 1.10.6Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | 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>
* python3-pymisp: upgrade 2.4.168.1 -> 2.4.169Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== Changes - Bump changelog. - Bump version. - Bump templates. - Bump deps. Fix - Add local key in MISPTag. - Use pytest for the tests. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-openpyxl: upgrade 3.1.1 -> 3.1.2Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | Changelog: ========== #1963 Cannot read worksheets in read-only mode with locally scoped definitions #1974 Empty custom properties cause invalid files Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-paramiko: upgrade 3.0.0 -> 3.1.0Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | | | | | 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>
* python3-portion: upgrade 2.3.1 -> 2.4.0Wang Mingyu2023-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* python3-msgpack: upgrade 1.0.4 -> 1.0.5Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-api-python-client: upgrade 2.80.0 -> 2.81.0Wang Mingyu2023-03-171-1/+1
| | | | | | | | Changelog: https://github.com/googleapis/google-api-python-client/blob/main/CHANGELOG.md Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gmqtt: upgrade 0.6.11 -> 0.6.12Wang Mingyu2023-03-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gcovr: upgrade 5.2 -> 6.0Wang Mingyu2023-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-scikit-build: New recipeZoltán Böszörményi2023-03-101-0/+21
| | | | | | | Used by python3-cmake and python3-ninja. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cmake: New recipeZoltán Böszörményi2023-03-103-0/+59
| | | | | | | | | | | | | | | | 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>
* python3-ninja: New recipeZoltán Böszörményi2023-03-103-0/+54
| | | | | | | | | | | | | | | | 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>