summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-google-auth-oauthlib: add ptestalperak2024-03-082-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 37 PASS: 37 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 15 END: /usr/lib/python3-google-auth-oauthlib/ptest 2024-03-07T15:48 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 37 PASS: 37 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 15 END: /usr/lib/python3-google-auth-oauthlib/ptest 2024-03-07T15:54 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-traitlets: add ptest and update runtime dependenciesalperak2024-03-082-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upstream provides a pyproject.toml and updated runtime dependencies accordingly to it. * Ptest tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_SLOW_META_PYTHON Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 567 PASS: 567 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 48 END: /usr/lib/python3-traitlets/ptest 2024-03-07T12:37 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 567 PASS: 567 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 41 END: /usr/lib/python3-traitlets/ptest 2024-03-07T12:41 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-invoke: add recipealperak2024-03-081-0/+18
| | | | | | | Invoke is a Python library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks. It draws inspiration from various sources (make/rake, Fabric 1.x, etc) to arrive at a powerful & clean feature set. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-icecream: add recipealperak2024-03-081-0/+17
| | | | | | | icecream (ic) package offers a more concise and readable way to debug code by replacing print statements with simple function calls. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sentry-sdk: upgrade 1.40.4 -> 1.40.6Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ============ -Fix compatibility with greenlet/gevent -Fix query source relative filepath -Support clickhouse-driver==0.2.7 -Bump checkouts/data-schemas from 6121fd3 to eb941c2 -Deprecate last_event_id(). -Warn if uWSGI is set up without proper thread support -uWSGI has to be run in threaded mode for the SDK to run properly. If this is not the case, the consequences could range from features not working unexpectedly to uWSGI workers crashing. Please make sure to run uWSGI with both --enable-threads and --py-call-uwsgi-fork-hooks. -parsed_url can be None -Python 3.7 is not supported anymore by Lambda, so removed it and added 3.12 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-scrypt: upgrade 0.8.20 -> 0.8.24Wang Mingyu2024-03-082-10/+8
| | | | | | | | | | | | | 0001-py-scrypt-remove-the-hard-coded-include-paths.patch refreshed for 0.8.24 Changelog: ========== -Remove travis and appveyor -Support building on MSYS2 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pymisp: upgrade 2.4.185 -> 2.4.186Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | Changelog: ========== - Correct FileObject import. - Disable WL when calling the disable method, not toggle. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pdm: upgrade 2.12.3 -> 2.12.4Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | Changelog: =========== -Use env PDM_NO_EDITABLE as the default value for --no-editable option. -Reset project.environment when importing from setup.py, to fix resolution error. -Do not fetch package hashes when --frozen-lockfile is passed. -Make sure non-venv interpreters are used by venv creator. -Don't cause a hard failure if the local directory doesn't exist. -Fix the default value for negative CLI flags. -Auto-gen configuration reference documentation. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ipython: upgrade 8.21.0 -> 8.22.1Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | Changelog: ============ - More compatibility with emscripten :ghpull:'14316', :ghpull:'14318', - Test more downstream project to avoid breakage :ghpull:'14317' - Fix recently introduced bug with the "store" magic. - Fix issues with multiple call to "matplotlib.pyplot.switch_backend" - Fix crashing IPython when some tracebacks encounter dynamically evaluated code. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio(-tools): upgrade 1.60.1 -> 1.62.0Wang Mingyu2024-03-084-12/+10
| | | | | | | | | | | | | | | 0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch abseil-ppc-fixes.patch refreshed for 1.62.0 Changelog: ========== -[metadata] Allow non application/grpc content-type values. -[BoringSSL] Update third_party/boringssl-with-bazel. -[GPR] Removed GPR_BACKWARDS_COMPATIBILITY_MODE. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-api-python-client: upgrade 2.118.0 -> 2.120.0Wang Mingyu2024-03-081-1/+1
| | | | | | | | Changelog: https://github.com/googleapis/google-api-python-client/releases/tag/v2.120.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-api-core: upgrade 2.16.2 -> 2.17.1Wang Mingyu2024-03-081-1/+1
| | | | | | | | Changelog: Resolve issue handling protobuf responses in rest streaming Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gcovr: upgrade 7.0 -> 7.2Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============ -Add support for coloured logging. -Add support for TOML configuration format. -Add support for Clover XML output format. -Add decision to JSON summary report if option --decisions is used. -Add support for files with more than 9999 lines. -Do not suppress gcov errors if exception occur. -Add nox session to generate the screenshots from the HTML files. -Improve Dockerfile for faster rebuilds by using cache. -Fix deprecation warnings from GitHub actions. -Add pipeline job to apply tag if new version is bumped. -Improve test coverage and generate coverage report if executed in local environment. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-eventlet: upgrade 0.35.1 -> 0.35.2Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | Changelog: =========== * [fix] Fix tool.setuptools/packages list * [security] Dnspython 2.6.1 - Address DoS via the Tudoor mechanism (CVE-2023-29483) * [doc] add asyncio into the doc hub page * [clean] clean obsolete python 2 code from the ssl module * [fix] Add get_server_info to db_pool.py * [fix] wsgi: Handle Timeouts from applications * [fix] shrinks window before connecting Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dnspython: upgrade 2.6.0 -> 2.6.1Wang Mingyu2024-03-081-1/+1
| | | | | | | | | Changelog: -The Tudoor fix ate legitimate Truncated exceptions, preventing the resolver from failing over to TCP and causing the query to timeout [#1053]. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cbor2: upgrade 5.6.1 -> 5.6.2Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== -Fixed __hash__() of the C version of the CBORTag type crashing when there's a recursive reference cycle -Fixed type annotation for the file object in cbor2.dump(), cbor2.load(), CBOREncoder and CBORDecoder to be IO[bytes] instead of BytesIO -Worked around a CPython bug that caused a SystemError to be raised, or even a buffer overflow to occur when decoding a long text string that contained only ASCII characters -Changed the return type annotations of cbor2.load() and cbor2.load() to return Any instead of object so as not to force users to make type casts Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-astroid: upgrade 3.0.3 -> 3.1.0Wang Mingyu2024-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Include PEP 695 (Python 3.12) generic type syntax nodes in get_children(), allowing checkers to visit them. -Add __main__ as a possible inferred value for __name__ to improve control flow inference around if __name__ == "__main__": guards. -Following a deprecation period, the names arg to the Import constructor and the op arg to the BoolOp constructor are now required, and the doc args to the PartialFunction and Property constructors have been removed (call postinit(doc_node=...) instead.) -Following a deprecation announced in astroid 1.5.0, the alias AstroidBuildingException is removed in favor of AstroidBuildingError. -Include modname in AST warnings. Useful for invalid escape sequence warnings with Python 3.12. -RecursionError is now trapped and logged out as UserWarning during astroid node transformations with instructions about raising the system recursion limit. Suppress SyntaxWarning for invalid escape sequences on Python 3.12 when parsing modules. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-eth-utils: remove unused patchesMaxin John2024-03-081-39/+0
| | | | | | | 0001-setup-don-t-use-setuptools-markdown.patch is no longer used here. Remove it as part of cleanup. Signed-off-by: Maxin John <maxin.john@gmail.com>
* python3-marshmallow: upgrade 3.20.2 -> 3.21.1 and add ptestalperak2024-03-053-23/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend instead of setuptools. * Updated runtime dependencies. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_SLOW_META_PYTHON * Upstream, excluded test/mypy_test_cases in the pyproject.toml file. More descriptively, norecursedirs tells pytest where not to look and tests/mypy_test_cases already defined in it so has been removed from runtime. https://github.com/marshmallow-code/marshmallow/blob/df23ad0048b5443346fe47810cda052641558257/pyproject.toml#L89C61-L89C76 License-Update: Removed license year Ptest result: ============== qemux86-64: Testsuite summary TOTAL: 1228 PASS: 1228 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 56 END: /usr/lib/python3-marshmallow/ptest 2024-03-06T05:33 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 1228 PASS: 1228 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 51 END: /usr/lib/python3-marshmallow/ptest 2024-03-06T05:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 ============= Changelog: 3.21.1 (2024-03-04) Bug fixes: Fix error message when field is declared as a class and not an instance (#2245). Thanks @travnick for reporting. 3.21.0 (2024-02-26) Bug fixes: Fix validation of URL fields to allow missing user field, per NWG RFC 3986 (#2232). Thanks @ddennerline3 for reporting and @deckar01 for the PR. Other changes: Backwards-incompatible: __version__, __parsed_version__, and __version_info__ attributes are deprecated (#2227). Use feature detection or importlib.metadata.version("marshmallow") instead. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-arrow: add ptest, update backend and runtime dependenciesalperak2024-03-052-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upstream provides a pyproject.toml which declares a flit_core.buildapi build backend instead of setuptools. * Updated runtime dependencies. * Ptest and library example tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_SLOW_META_PYTHON Ptest result: ============= qemux86-64: Testsuite summary TOTAL: 1839 PASS: 1836 SKIP: 1 XFAIL: 1 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 146 END: /usr/lib/python3-arrow/ptest 2024-03-05T12:57 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 1839 PASS: 1836 SKIP: 1 XFAIL: 1 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 130 END: /usr/lib/python3-arrow/ptest 2024-03-05T12:51 STOP: ptest-runner TOTAL: 1 FAIL: 0 XFAIL AND XPASS known issue with humanize month limits Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-types-python-dateutil: add recipealperak2024-03-051-0/+8
| | | | | | | This is a PEP 561 type stub package for the python-dateutil package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses python-dateutil. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dateutil: upgrade 2.8.2 -> 2.9.0alperak2024-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: Data updates Updated tzdata version to 2024a. Features Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil. tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier. Bugfixes Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12. Documentation changes Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-freezegun: add recipe and add ptestalperak2024-03-052-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module. * Tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: ============= qemuarm64: Testsuite summary TOTAL: 127 PASS: 121 SKIP: 6 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 20 END: /usr/lib/python3-freezegun/ptest 2024-03-05T06:53 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemux86-64: Testsuite summary TOTAL: 127 PASS: 121 SKIP: 6 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 21 END: /usr/lib/python3-freezegun/ptest 2024-03-05T06:57 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-aiohappyeyeballs: Correct the typo of BBCLASSEXTENDKrupal Ka Patel2024-03-041-1/+1
| | | | | | | | This typo resulted in the following error, "ERROR: Nothing RPROVIDES 'nativesdk-python3-aiohappyeyeballs'" Signed-off-by: Krupal Ka Patel <krkapate@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-wrapt: add ptestalperak2024-03-042-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tested on qemux86_64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: qemux86-64: Testsuite summary TOTAL: 438 PASS: 438 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 17 END: /usr/lib/python3-wrapt/ptest 2024-03-04T16:09 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 438 PASS: 438 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 17 END: /usr/lib/python3-wrapt/ptest 2024-03-04T16:18 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-netaddr: upgrade 0.10.1 -> 1.2.1 and add ptestalperak2024-03-043-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ptest result: Testsuite summary TOTAL: 340 PASS: 339 SKIP: 1 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 28 * Tested on qemux86_64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON items ============== Switch to the python_setuptools_build_meta backend License-Update: License check file changed from LICENSE to LICENSE.rst Changelog: Release: 1.2.1 =============== Fixed: Fix bad version 1.2.0 upload to PyPI – now yanked. No changes to the package. Release: 1.2.0 =============== Added: Add CLI tool subcommand to display Network information. Changed: Support running Interactive shell without IPython installed. Fixed: Explicitly raise TypeError is a non-string value is passed to valid_ipv4() or valid_ipv6(). Release: 1.1.0 =============== Added: Add the required Python version to the package metadata (GH #365). Add expand_partial_ipv4_address() to the public API. Fixed: Fix IPNetwork(...) in IPRange(...) false negatives (GH #157). Fix a few IPNetwork slicing edge cases (GH #214). Fix support for partial IP addresses accidentally left in IPNetwork in 1.0.0. When I removed the implicit_prefix switch I missed the fact that there was some partial IPv4 address expansion triggered unconditionally. If you need the old behavior use expand_partial_ipv4_address(). Related GH issue: #110. Fixed an incorrect license classifier in the package metadata. Release: 1.0.0 =============== Removed: Drop support for Python versions lower than 3.7. Remove the flag shorthands: N, P and Z. Use NOHOST, INET_PTON and ZEROFILL instead. Remove abbreviated CIDR format support in IPNetwork (implicit_prefix=True), use cidr_abbrev_to_verbose() if you need this behavior. Remove the IPAddress.is_private method. There are more precise replacements for subset of the addresses that used to handled by is_private: IPAddress.is_link_local() IPAddress.is_ipv4_private_use() IPAddress.is_ipv6_unique_local() IPAddress.is_global() The following address blocks used to be handled by is_private have no dedicated convenience methods and you’ll have to handle them manually or request a method addition: 100.64.0.0/10 – Shared Address Space 192.0.0.0/24 – IETF Protocol Assignments (watch out – there are exceptions in there) 198.18.0.0/15 – Benchmarking 239.0.0.0-239.255.255.255 – 240.0.0.0/4 is Reserved, 239.0.0.0/8 – unclear Changed: Stop accepting leading zeros when parsing IPv4 addresses in INET_PTON mode (it’s been allowed on some platforms). If you need to allow and discard leading zeros use the ZEROFILL flag. This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly. Stop parsing IPv4 addresses permissively (inet_aton()-like) by default. INET_PTON is the default mode. If you need to be permissive and parse using inet_aton() semantics use the INET_ATON flag. This change will affect implicit conversions from str in all relevant contexts. If you need to control the IPv4 parsing mode construct IPAddress objects explicitly. Apply the two changes above to valid_ipv4() as well. Update the address databases to the 2024-02-10 versions. Fixed: Return False instead of raising AddrFormatError when an empty string is passed to valid_ipv4() or valid_ipv6(). Fix handling of dialect provided to EUI during copy-construction. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-auth: upgrade 2.28.0 -> 2.28.1alperak2024-03-031-1/+1
| | | | | | | | | | Changelog: ========== Bug Fixes: Typo when setting the state for the pickle deserializer Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-betamax: Upgrade to 0.9.0Khem Raj2024-02-292-19/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyzmq: Add missing dep on python3-unixadmin for ptestsKhem Raj2024-02-291-0/+1
| | | | | | | | | | | | | | | | | | | Fixes ImportError while importing test module '/usr/lib/python3-pyzmq/ptest/tests/test_ssh.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: ../../python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_ssh.py:1: in <module> from zmq.ssh.tunnel import select_random_ports ../../python3.12/site-packages/zmq/ssh/__init__.py:1: in <module> from zmq.ssh.tunnel import * ../../python3.12/site-packages/zmq/ssh/tunnel.py:18: in <module> from getpass import getpass, getuser E ModuleNotFoundError: No module named 'getpass' ERROR: tests/test_ssh.py:tests/test_ssh.py Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gpiod: Tests rely on configfs support in kernelKhem Raj2024-02-291-0/+1
| | | | | | Add a recommendation on configfs kernel module. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastjsonschema: Add missing ptest depsKhem Raj2024-02-291-0/+1
| | | | | | | | | Fixes INTERNALERROR> File "/usr/lib/python3.12/site-packages/pytest_benchmark/stats.py", line 5, in <module> INTERNALERROR> import statistics INTERNALERROR> ModuleNotFoundError: No module named 'statistics' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: Fix build for arches without 64bit atomicsKhem Raj2024-02-273-10/+139
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core,python3-pydantic: Update to 2.16.3 and 2.6.3 respectivelyKhem Raj2024-02-272-2/+2
| | | | | | | | | | | [1] [2] [3] [3] are the ChangeLogs [1] https://github.com/pydantic/pydantic-core/releases/tag/v2.16.3 [2] https://github.com/pydantic/pydantic/releases/tag/v2.6.3 [3] https://github.com/pydantic/pydantic/releases/tag/v2.6.2 [4] https://github.com/pydantic/pydantic/releases/tag/v2.6.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Restore strip prevention patchNiko Mauno2024-02-262-1/+56
| | | | | | | | | | | | | | | | | | | | | | | The patch which removed the pybind11_strip() call from provisioned pybind11*Tools.cmake files was dropped in commit 5c455804aede17e0ea0cbb7ab55f8580f912e664 ("python3-pybind11: Upgrade to 2.10.3"). However this change delegated the requirement to set CMAKE_BUILD_TYPE as 'Debug' or 'RelWithDebInfo' (or as unset) to the cmake utilizing packages which have build time dependency on python3-pybind11, failure to do which causes following kind of BitBake failure with Yocto: ERROR: foobar-1.0.0-r0 do_package: QA Issue: File '/usr/lib/python3.11/site-packages/foobar.so' from foobar was already stripped, this will prevent future debugging! [already-stripped] Restore the patch so that the stripping is delegated to Yocto once more, allowing depending cmake packages to work out of the box also when they use 'Release' or 'MinSizeRel' as CMAKE_BUILD_TYPE by default. Signed-off-by: Joonas Salonpää <joonas.salonpaa@vaisala.com> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Migrate to python_setuptools_build_metaNiko Mauno2024-02-261-12/+11
| | | | | | | | | | | | | | | | | Switch from setuptools3.bbclass to python_setuptools_build_meta.bblass which reflects https://github.com/pybind/pybind11/blob/v2.11.1/pyproject.toml#L3 and mitigates following warning during do_compile: .../python3-pybind11/2.11.1/recipe-sysroot-native/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. Here we also fix remaining minor style issue in task declarations (use four space indentation instead of three). Reported-by: Tim Orling <ticotimo@gmail.com> Closes: https://lists.openembedded.org/g/openembedded-devel/message/108748 Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pynacl: allow -native buildAndreas Mützel2024-02-261-0/+2
| | | | | | Make this recipe available in native and SDK builds. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-service-identity: add missing ptest dependencies and re-enable ↵Derek Straka2024-02-261-0/+1
| | | | | | | functional tests Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-typeguard: update ptest dependencies and re-enable functional testsDerek Straka2024-02-261-0/+1
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gevent: adding missing dependency to python3-zopeeventJoerg Hofrichter2024-02-261-0/+2
| | | | | | | and python3-zopeinterface Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ordered-set: Use automake formatter for ptest outputKhem Raj2024-02-222-1/+2
| | | | | | Move the test to PTESTS_FAST_META_PYTHON Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-jsmin: Fix ptests to run with python 3.12+Khem Raj2024-02-223-2/+84
| | | | | | Remove it from problematic tests list ot fast list as it runs ok now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: upgrade 2.5.3 -> 2.6.0Wang Mingyu2024-02-211-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ============ -Drop Python3.7 support -Drop Python 3.7, and PyPy 3.7 and 3.8 -Use positional-only self in BaseModel constructor, so no field name can ever conflict with it -Make @validate_call return a function instead of a custom descriptor - fixes binding issue with inheritance and adds self/cls argument to validation errors -Exclude BaseModel docstring from JSON schema description -Introducing classproperty decorator for model_computed_fields -Explicitly raise an error if field names clashes with types -Use stricter serializer for unions of simple types Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: upgrade 2.14.6 -> 2.16.1Wang Mingyu2024-02-212-47/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The updated of python-3-pydantic requires python3-pydantic-core to be updated to version 2.16.1 or later. Update the denpendencies for current python3-pydantic: ====================================================== Version up: Bump ahash from 0.8.6 to 0.8.7 Bump base64 from 0.21.5 to 0.21.7 Bump form_urlencoded from 1.2.0 to 1.2.1 Bump allocator-api2 from 0.2.16 to Bump hashbrown from 0.14.0 to 0.14.3 Bump idna from 0.4.0 to 0.5.0 Bump jiter from 0.0.4 to 0.0.6 Bump percent-encoding from 2.3.0 to 2.3.1 Bump proc-macro2 from 1.0.69 to 1.0.76 Bump pyo3 from 0.20.0 to 0.20.2 Bump pyo3-build-config from 0.20.0 to 0.20.2 Bump pyo3-ffi from 0.20.0 to 0.20.2 Bump pyo3-macros from 0.20.0 to 0.20.2 Bump pyo3-macros-backend from 0.20.0 to 0.20.2 Bump quote from 1.0.29 to 1.0.35 Bump serde from 1.0.190 to 1.0.195 Bump serde_derive from 1.0.190 to 1.0.195 Bump serde_json from 1.0.108 to 1.0.109 Bump smallvec from 1.11.1 to 1.11.2 Bump syn from 2.0.38 to 2.0.48 Bump url from 2.4.1 to 2.5.0 Bump uuid from 1.5.0 to 1.6.1 Bump zerocopy from 0.7.20 to 0.7.32 Bump zerocopy-derive from 0.7.20 to 0.7.32 New dependency: allocator-api2 Changelog: https://github.com/pydantic/pydantic-core/releases Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parse: re-add functional ptestsDerek Straka2024-02-212-1/+3
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-parse -c testimage Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-msgpack: re-add functional ptestsDerek Straka2024-02-212-1/+2
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-msgpack -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-jdcal: re-add functional ptestsDerek Straka2024-02-212-1/+2
| | | | | | | | Verified tests pass with via the test image execution (bitbake meta-python-image-ptest-python3-jdcal -c testimage) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sentry-sdk: upgrade 1.40.0 -> 1.40.4Wang Mingyu2024-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== -Only start metrics flusher thread on demand -Bump checkouts/data-schemas from aa7058c to 6121fd3 -Turn off metrics for uWSGI -Minor improvements -test: Fix pytest error (#2712) -build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 -Fix uWSGI workers hanging -Make metrics work with gevent -Guard against engine.url being None -Fix performance regression in sentry_sdk.utils._generate_installed_modules -Guard against Sentry initialization mid SQLAlchemy cursor -Fix yaml generation script -Fix AWS Lambda workflow -Bump codecov/codecov-action from 3 to 4 -Bump actions/cache from 3 to 4 -Bump actions/checkout from 3.1.0 to 4.1.1 -Bump github/codeql-action from 2 to 3 -Bump actions/setup-python from 4 to 5 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-socketio: upgrade 5.11.0 -> 5.11.1Wang Mingyu2024-02-211-1/+1
| | | | | | | | | | | Changelog: ========= -Connection retry option in the client -use Socket.IO sid in transport -Add support for Python 3.12 and drop 3.7 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-google-auth: upgrade 2.27.0 -> 2.28.0Wang Mingyu2024-02-211-1/+1
| | | | | | | | | | | Changelog: ========== -Adding universe domain support for downscroped credentials -Change log level to debug for return_none_for_not_found_error -Make requests import conditional for gce universe domain Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-zopeinterface: upgrade 6.1 -> 6.2Wang Mingyu2024-02-201-1/+1
| | | | | | | | | | Changelog: =========== -Add preliminary support for Python 3.13 as of 3.13a3. -Add support to use the pipe (|) syntax for typing.Union. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>