summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-native: further tweak to sysconfig.py to find python includes correctlyAlexander Kanavin2022-12-261-8/+9
| | | | | | | | | | | | Without this, sysconfig would report the target location, which is not what we want in cross-builds. This is used in particular by latest autoconf-archive m4 macros, which have migrated from (removed in py 3.12) distutils to setuptools. (From OE-Core rev: df8303ab2f0ca4b694b845016c8d7e0279a48fe7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: Fix determinism issue breaking reproducibilityRichard Purdie2022-12-232-0/+25
| | | | | | | | | | | | Fix failing builds due to a reproducibility issue by adding a patch to sort globbing, submitted upstream. [YCOTO #14993] [YCOTO #14994] (From OE-Core rev: ad6cc43ca99d8629365fcff790becbc7103da9ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependenciesCarlos Alberto Lopez Perez2022-12-213-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit development [1] and I need the tools below to be extended with the class nativesdk. They work fine on the SDK after this change. The needs are because: 1) gperf and unifdef are required by the WebKit build system at build time. 2) gi-docgen is required by the WebKit build system when CMake option 'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on the following python modules that also need to enable nativesdk: python3-markdown, python3-smartypants and python3-typogrify [1] See: - https://github.com/Igalia/meta-webkit/pull/436 - https://bugs.webkit.org/show_bug.cgi?id=249604 (From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: allow to build nativeMarkus Volk2022-12-211-0/+2
| | | | | | | | | | This is e.g. needed by xdg-desktop-portal (From OE-Core rev: 68c391f50a753a51c99a10fdffd6f35c516f2873) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: update 0.28.4 -> 0.28.6Alexander Kanavin2022-12-181-2/+3
| | | | | | | | | | Convert to python_setuptools_build_meta. (From OE-Core rev: d881cdba1271e8be24ec08b8b4488513a42e446d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: update 1.3.2 -> 1.4.0Alexander Kanavin2022-12-181-3/+5
| | | | | | | | | | | | | Upstream has changed the tarball and the dir inside it to poetry_core (with underscore). License-Update: formatting, copyright years. (From OE-Core rev: b4a078944614b0e9f806486f33a3a71a01e8294c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: fix upstream version checkAlexander Kanavin2022-12-181-0/+1
| | | | | | | | | | Default regex is also considering numpy release candidates. (From OE-Core rev: e2f81a955457fc50107ec9f0e2aea3641ed8a048) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: remove python3-tomli RDEPENDSRoss Burton2022-12-091-1/+0
| | | | | | | | | | The test suite doesn't use tomli, so remove it. (From OE-Core rev: 60c3c875e2547d636e55abd115c0c7fb23488379) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: remove python3-tomli DEPENDSRoss Burton2022-12-091-1/+1
| | | | | | | | | | | Now that we have Python 3.11, hatchling will use the internal tomllib instead of tomli. (From OE-Core rev: f33168a18ddc9929c8e302937051fb6430047990) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade to 22.0Ross Burton2022-12-091-4/+2
| | | | | | | | | | | This has been ported from setuptools to flit_core, and now contains a hand-written parser instead of using pyparsing. (From OE-Core rev: cf4c11fe2e13ec63c08ded790e4d7b64ce94e4f2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3targetconfig.bbclass: use PYTHONPATH to point to the target configAlexander Kanavin2022-12-072-29/+0
| | | | | | | | | | | There is no need to patch native python so that it looks in the target sysroot; the same can be achieved with just an environment variable. (From OE-Core rev: c9617c03bceee54dc540318cada392799b137bd5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: use the standard shell version of python3-configAlexander Kanavin2022-12-074-101/+22
| | | | | | | | | | | | | | | There is really no reason why we can't: it only needs to be available in two versions (native/target), and the correct one can be picked via PATH priority order. This eliminates two un-upstreamable patches, one of which relies on soon to be removed distutils. (From OE-Core rev: d0145ead0f80ba4bde8e24617a8725f38eda8339) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix tests on x86 (32 bit)Alexander Kanavin2022-12-052-0/+28
| | | | | | | | (From OE-Core rev: 8de9d28a57cae405dd76aa2bca7a81507718817d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: make tkinter available when enabledMingli Yu2022-11-222-0/+2
| | | | | | | | | | | | | | | After Python upgrade to 3.11, it requires pkg-config to detect tcl and tk when configure tkinter, so add tcl depends to fix below error. | The necessary bits to build these optional modules were not found: | _tkinter (From OE-Core rev: 163966765d57fe38e13d0b6659795a13bc702e2d) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix CVE-2022-37460Joe Slater2022-11-222-0/+96
| | | | | | | | | | Apply patch created after the release of 3.11.0. (From OE-Core rev: 1a8836ed324f3f9abb2eabe357ffe2e05124857e) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.56.4 -> 6.57.1Tim Orling2022-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | 6.57.1 - 2022-11-14 This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting. 6.57.0 - 2022-11-14 Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just adding explicit validation to catch cases like this StackOverflow question. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1 (From OE-Core rev: 8a4a1fbc7c882a5768d9d5c48edcd92867f7fab4) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.38.0 -> 0.38.4Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: =========== -Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values in METADATA -Fixed install failure when used with --no-binary, reported on Ubuntu 20.04, by removing setup_requires from setup.cfg -Fixed regression introduced in v0.38.1 which broke parsing of wheel file names with multiple platform tags -Removed install dependency on setuptools -The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was faulty. Fixed so that future changes in the SOABI will not change the tag. (From OE-Core rev: 85479f94c85d6928d6fd893bb28b86b2e769a07c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-subunit: upgrade 1.4.0 -> 1.4.1Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= IMPROVEMENTS ------------- * Add support for Python 3.9 * Add support for Python 3.10 * Drop support for Python 2.7, 3.4, and 3.5 * Convert python scripts to entry_points. * Migrate CI from travis to GitHub actions. * Add options to output filter to set timestamps. * Remove dependency on unittest2. BUGFIXES ---------- * Fix tests with testtools >= 2.5.0. * Mark rawstrings as such, fixing warnings. (From OE-Core rev: 8841a4c49ff57bc03f68408883a73ec3a4a75e99) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | Changelog: Fixes wrapping bug on cross references (#1368) (From OE-Core rev: 9d88f8da0764ed0e005c8f22a9a439b1ea88019d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 65.5.0 -> 65.5.1Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | | | Changelog: ----- #3638: Drop a test dependency on the mock package, always use unittest.mock #3659: Fixed REDoS vector in package_index. (From OE-Core rev: f508081b34c297321b6a15e81d593cebc5efaee6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: upgrade 5.9.3 -> 5.9.4Wang Mingyu2022-11-141-1/+1
| | | | | | | | (From OE-Core rev: c2aef4590c7733e21081a0a4969516c9d43cba86) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: update 22.3 -> 22.3.1Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | | | Bug Fixes ----------- Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to correctly account for multi-digit Python version segments (e.g. the "11" part of 3.11). (#11547) (From OE-Core rev: 015eb64e2781e03248c6a11b109253a3f12e96dc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-flit-core: upgrade 3.7.1 -> 3.8.0Wang Mingyu2022-11-141-1/+1
| | | | | | | | (From OE-Core rev: 8965912fdedcdbefd2d1068ebf229a3c4627102a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2022.9 -> 2022.11Wang Mingyu2022-11-141-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ============ - Rework exception handling to better handle Ctrl-C exits - Various updates to README.md including examples on running different commands - Allow using schemas for validation which fail meta-schema checks. This will allow using schemas which have failures due to new meta-schema checks. (From OE-Core rev: ce68658c5471223933239d553abdd2cc5e3520ff) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: correctly adjust include paths in sysconfigdataAlexander Kanavin2022-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | This was replacing /usr/include regardless of whether it was at the beginning of the full path (correct, when building target python3), or in the middle of it (not correct, when building native or nativesdk python). Through various reasons we haven't been bitten by this until now, but latest setuptools does expose the problem with for example nativesdk-python3-cffi and nativesdk-python3-cryptography which both fail without this fix. I am not aware of anything using INCLDIRSTOMAKE, and it is harder to adjust correctly due to the value being a list; if something is using it, we can look at it specifically. (From OE-Core rev: 4055dd6cc89af16b3723e38b63d4d81efb0e2286) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.37.1 -> 0.38.0Alexander Kanavin2022-11-081-1/+1
| | | | | | | | (From OE-Core rev: 0b9461cb486c3135d57876a5f68878b8d668d5e0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 65.0.2 -> 65.5.0Alexander Kanavin2022-11-082-2/+2
| | | | | | | | (From OE-Core rev: 5dc5d7a8fc657ae34631ad6b48069fc5002d39b0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2022.8.3 -> 2022.9Alexander Kanavin2022-11-081-1/+1
| | | | | | | | (From OE-Core rev: a0cd4f04e858dcc643fa43215be578573e10c74a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.28 -> 3.1.29Alexander Kanavin2022-11-081-1/+1
| | | | | | | | (From OE-Core rev: ded3f8082234f1c05f31769cd0e4353b78181a52) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 22.2.2 -> 22.3Alexander Kanavin2022-11-082-62/+61
| | | | | | | | | | License-Update: copyright years, formatting (From OE-Core rev: 805f0471fff17a9d9a7aa91fda2e04d2ea6ba59f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest.json: Fix re in coreLeon Anavi2022-11-071-30/+44
| | | | | | | | | | | | | | | | | Following the update from 3.10.6 to 3.11.0, the source code of module re for regular expression operations has been moved to Lib/re/. File python3-manifest.json has been modified according to the new path. According to the instructions the new python3-manifest.json version was created by running bitbake python3 -c create_manifest. Because of this it also updated other files and rdepends in it. (From OE-Core rev: 830393e7aa0150566d871acd877908e08fa06964) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.10.0 -> 5.11.0zhengruoqin2022-11-072-4/+4
| | | | | | | | | | | | | Changelog: ========= * Fix symbol identification in multiline message * Replace deprecated readfp method with read\_file (From OE-Core rev: b4a809ba1758d8fa8d370da49b978d8a82e36e40) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.1.0zhengruoqin2022-11-071-1/+1
| | | | | | | | | | | Changelog: https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html (From OE-Core rev: 414abb4abe53f809ae7711fbf8d95afa6ad2989f) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.23.3 -> 1.23.4zhengruoqin2022-11-071-1/+1
| | | | | | | | | | | Changelog: https://github.com/numpy/numpy/releases/tag/v1.23.4 (From OE-Core rev: a76036f29c845d357b37da7ebf8af7d447b96bec) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyrsistent: upgrade 0.18.1 -> 0.19.2zhengruoqin2022-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== * Fix #263, pmap regression in 0.19.1. Element access sometimes unreliable after insert. * Fix #159 (through PR #243). Pmap keys/values/items now behave more like the corresponding Python 3 methods on dicts. Previously they returned a materialized PVector holding the items, now they return views instead. This is a slight backwards incompatibility compared to previous behaviour, hence stepping version to 0.19. * Fix #244, type for argument to PVector.delete missing. * Fix #249, rename perf test directory to avoid tripping up automatic discovery in more recent setuptools versions * Fix #247, performance bug when setting elements in maps and adding elements to sets * Fix #248, build pure Python wheels. This is used by some installers. * Fix #254, #258, support manylinux_2014_aarch64 wheels. (From OE-Core rev: 87ecac07d9be3fc25b579344082048a9dbe76501) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: upgrade 4.16.0 -> 4.17.0zhengruoqin2022-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * The "check_schema" method on "jsonschema.protocols.Validator" instances now *enables* format validation by default when run. This can catch some additional invalid schemas (e.g. containing invalid regular expressions) where the issue is indeed uncovered by validating against the metaschema with format validation enabled as an assertion. * The "jsonschema" CLI (along with "jsonschema.cli" the module) are now deprecated. Use "check-jsonschema" instead, which can be installed via "pip install check-jsonschema" and found 'here <https://github.com/python-jsonschema/check-jsonschema>'_. * Make "ErrorTree" have a more grammatically correct "repr". (From OE-Core rev: b8cece422c789816a8140af519e13a977065c8d6) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling upgrade: 1.11.0 -> 1.11.1Wang Mingyu2022-11-071-1/+1
| | | | | | | | | | | Changelog: Fix default file selection behavior of the wheel target when there is a single top-level module (From OE-Core rev: 645ee26f993bce4e5fca19cabcc40c575b85fbb5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0Wang Mingyu2022-11-071-1/+1
| | | | | | | | | | | | | | Added ========= Added start-at in addition to start-after that preserves the string that is looked for. This often removes the need for adding markers because you can define the starting point using a heading that becomes part of the fragment. (From OE-Core rev: ce2aa0bf0177533c4e168a942b7d0560e137f4c1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-babel: upgrade 2.10.3 -> 2.11.0Wang Mingyu2022-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: "the author" changed to "the copyright holder nor the names of its contributors" "THE AUTHOR" changed to "THE COPYRIGHT HOLDERS AND CONTRIBUTORS" Changelog: =========== Improvements ------------ * Support for hex escapes in JavaScript string literals :gh:'#877' * Add support for formatting decimals in compact form :gh:'#909' * Adapt parse_date to handle ISO dates in ASCII format :gh:'#842' * Use 'ast' instead of 'eval' for Python string extraction :gh:'#915' * This also enables extraction from static f-strings. F-strings with expressions are silently ignored (but won't raise an error as they used to). Infrastructure --------------- * Tests: Use regular asserts and "pytest.raises()" :gh:'#875' * Wheels are now built in GitHub Actions :gh:'#888' * Small improvements to the CLDR downloader script :gh:'#894' * Remove antiquated '__nonzero__' methods :gh:'#896' * Remove superfluous '__unicode__' declarations :gh:'#905' * Mark package compatible with Python 3.11 :gh:'#913' * Quiesce pytest warnings :gh:'#916' Bugfixes ----------- * Use email.Message for pofile header parsing instead of the deprecated "cgi.parse_header" function. :gh:'#876' * Remove determining time zone via systemsetup on macOS :gh:'#914' Documentation -------------- * Update Python versions in documentation :gh:'#898' * Align BSD-3 license with OSI template :gh:'#912' (From OE-Core rev: cac67727058415ecd491c85bcf1b62610849950f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-typing-extensions: upgrade 4.3.0 -> 4.4.0Tim Orling2022-11-072-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add SUMMARY, DESCRIPTION, BUGTRACKER and SECTION * Update HOMEPAGE to agree with PyPi https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-440-october-6-2022 Release 4.4.0 (October 6, 2022) * Add typing_extensions.Any a backport of python 3.11's Any class which is subclassable at runtime. (backport from python/cpython#31841, by Shantanu and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234). * Add initial support for TypeVarLike default parameter, PEP 696. Patch by Marc Mueller (@cdce8p). * Runtime support for PEP 698, adding typing_extensions.override. Patch by Jelle Zijlstra. * Add the infer_variance parameter to TypeVar, as specified in PEP 695. Patch by Jelle Zijlstra. License-Update: update copyright years; align with CPython LICENSE See https://github.com/python/typing_extensions/pull/63 (From OE-Core rev: 15ca091ae01ae298c013e8cf82ee6af382259ed8) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* get_module_deps3.py: Check attribute '__file__'Leon Anavi2022-11-071-1/+1
| | | | | | | | | | | | | Check if the module object has attribute '__file__' to fix and avoid errors like: AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'? (From OE-Core rev: 8acce12c1a4cf37ac312c92d62a6ae93a349dddf) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx: upgrade 5.2.3 -> 5.3.0Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://www.sphinx-doc.org/en/master/changes.html#release-5-3-0-released-oct-16-2022 Release 5.3.0 (released Oct 16, 2022) * #10759: LaTeX: add latex_table_style and support the 'booktabs', 'borderless', and 'colorrows' styles. (thanks to Stefan Wiehler for initial pull requests #6666, #6671) * #10840: One can cross-reference including an option value like `--module=foobar`, `--module[=foobar]` or `--module foobar`. Patch by Martin Liska. * #10881: autosectionlabel: Record the generated section label to the debug log. * #10268: Correctly URI-escape image filenames. * #10887: domains: Allow sections in all the content of all object description directives (e.g. py:function). Patch by Adam Turner (From OE-Core rev: 35d65248c2a46f4966ded2e95e530f25a2869ce9) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.9.0 -> 3.10.0Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3100 v3.10.0 * zipp is now a package. https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v391 v3.9.1 * Removed 'print' expression in test_pickle. * bpo-43651: Apply io.text_encoding on Python 3.10 and later. (From OE-Core rev: c28d3f1ccdc074805cf0d9e673bfbe999f8fcf71) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: upgrade 2022.4 -> 2022.6Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | https://launchpad.net/pytz/+announcement/30743 pytz 2022.6, containing the 2022f IANA database, has been released. There are no code changes. https://launchpad.net/pytz/+announcement/30736 pytz 2022.5 has been released containing the IANA 2022e database release. There are no code changes. (From OE-Core rev: b78ce30f0fcd5702f79a14bbc0c33f6492d81ecd) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 8.14.0 -> 9.0.0Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst#900 9.0.0 * Potentially breaking changes - `grouper` no longer accepts an integer as its first argument. Previously this raised a DeprecationWarning. - `collate` has been removed. Use the built-in `heapq.merge` instead. - `windowed` now yields nothing when its iterable is empty. * This library now advertises support for Python 3.7+. * New functions - `constrained_batches` - `batched` (from the Python itertools docs) - `polynomial_from_roots` (from the Python itertools docs) -`sieve` (from the Python itertools docs) * Other changes - Some documentation issues were fixed (thanks to nanouasyn) (From OE-Core rev: f31ea2784428114acae33522a80208aa35d133bc) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.56.1 -> 6.56.4Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-4 6.56.4 - 2022-10-28 * This patch updates some docs, and depends on exceptiongroup 1.0.0 final to avoid a bug in the previous version. 6.56.3 - 2022-10-17 * This patch teaches text() to rewrite a few more filter predicates (issue #3134). You’re unlikely to notice any change. 6.56.2 - 2022-10-10 * This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy, and fixes some incorrect examples in the docs for mutually_broadcastable_shapes(). (From OE-Core rev: 1071b68375819d9faa607ae1179720500157d932) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest-subtests: upgrade 0.8.0 -> 0.9.0Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#090-2022-10-28 0.9.0 (2022-10-28) * Python 3.11 is officially supported. * Dropped support for Python 3.6. (From OE-Core rev: 30f77f222f4929a7bf1eac34d4b3912167db4316) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.1.3 -> 7.2.0Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23 Excerpt from upstream release notes: Deprecations * #10012: Update pytest.PytestUnhandledCoroutineWarning to a deprecation; it will raise an error in pytest 8. * #10396: pytest no longer depends on the py library. pytest provides a vendored copy of py.error and py.path modules but will use the py library if it is installed. If you need other py.* modules, continue to install the deprecated py library separately, otherwise it can usually be removed as a dependency. * #4562: Deprecate configuring hook specs/impls using attributes/marks. Instead use pytest.hookimpl() and pytest.hookspec(). For more details, see the docs. * #9886: The functionality for running tests written for nose has been officially deprecated. This includes: Plain setup and teardown functions and methods: this might catch users by surprise, as setup() and teardown() are not pytest idioms, but part of the nose support. Setup/teardown using the @with_setup decorator. For more details, consult the deprecation docs. (From OE-Core rev: 8ae3b896b0e1a77bcbd5b98b4b983e4f34746a94) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: upgrade 5.9.2 -> 5.9.3Tim Orling2022-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#593 2022-10-18 Enhancements * 2040, [macOS]: provide wheels for arm64 architecture. (patch by Matthieu Darbois) Bug fixes * 2116, [macOS], [critical]: `psutil.net_connections`_ fails with RuntimeError. * 2135, [macOS]: Process.environ() may contain garbage data. Fix out-of-bounds read around sysctl_procargs. (patch by Bernhard Urban-Forster) * 2138, [Linux], [critical]: can't compile psutil on Android due to undefined ethtool_cmd_speed symbol. * 2142, [POSIX]: net_if_stats() 's flags on Python 2 returned unicode instead of str. (patch by Matthieu Darbois) * 2147, [macOS] Fix disk usage report on macOS 12+. (patch by Matthieu Darbois) * 2150, [Linux] Process.threads() may raise NoSuchProcess. Fix race condition. (patch by Daniel Li) * 2153, [macOS] Fix race condition in test_posix.TestProcess.test_cmdline. (patch by Matthieu Darbois) (From OE-Core rev: 893fc6a99f1ad3417fec43eb9b7fdb641e7d1e6d) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography{-vectors}: 38.0.1 -> 38.0.3Tim Orling2022-11-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 38.0.3 - 2022-11-01 * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786. 38.0.2 - 2022-10-11 (YANKED) Attention! This release was subsequently yanked from PyPI due to a regression in OpenSSL. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.6. https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3803---2022-11-01 (From OE-Core rev: 3c0c03312724de85e3209e6e5a5aa20c094eae45) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>