summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python: submit CC to cc_basename patch upstreamAlexander Kanavin2022-09-021-1/+1
| | | | | | | | (From OE-Core rev: db9ad0553bc253bd7faaecf0026b2a945a125815) 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-urllib3: upgrade 1.26.11 -> 1.26.12wangmy2022-09-011-1/+1
| | | | | | | | (From OE-Core rev: cb05578af3ace6e3983f93e16d9ad1ac2a65fbe2) 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-hatchling: upgrade 1.8.0 -> 1.8.1wangmy2022-09-011-1/+1
| | | | | | | | (From OE-Core rev: 9b4ad57d4fa0bf7938bdeb4e7eae8927312737b8) 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-pygments: upgrade 2.12.0 -> 2.13.0wangmy2022-08-301-1/+1
| | | | | | | | (From OE-Core rev: 084615ce0547b49ee96931cef2915125ca0ff893) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-requests: add python3-compression dependencyChen Qi2022-08-251-0/+1
| | | | | | | | | | | | python3-requests makes use of 'zipfile' module, so we need to add python3-compression as a dependency, otherwise 'import requests' errors out. (From OE-Core rev: 6cfe2ed2234a76a3f9da194097781e8d6ce1353b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: disable user site-pkg for native targetKonrad Weihmann2022-08-251-0/+3
| | | | | | | | | | | | by setting the ENABLE_USER_SITE flag globally. This is the recommended way according to https://peps.python.org/pep-0370/#implementation (From OE-Core rev: 71bf8e9e418af6213de17903f54502b5b1055872) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: revert back to 6.46.11Chen Qi2022-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package was broken since it was upgraded to 6.48, because it started using 'exceptiongroup' since then, which is missing in any meta layer. On target, when importing hypothesis, we meet the following error: Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/hypothesis/internal/compat.py", line 18, in <module> BaseExceptionGroup = BaseExceptionGroup NameError: name 'BaseExceptionGroup' is not defined. Did you mean: 'BaseException'? ModuleNotFoundError: No module named 'exceptiongroup' The related codes as below: try: BaseExceptionGroup = BaseExceptionGroup ExceptionGroup = ExceptionGroup # pragma: no cover except NameError: from exceptiongroup import ( BaseExceptionGroup as BaseExceptionGroup, ExceptionGroup as ExceptionGroup, ) We can see that it tries to use ExceptionGroup and falls back to use an import from exceptiongroup module. Looking at the https://github.com/agronholm/exceptiongroup, it says: """ This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11. """ So instead of adding a new recipe for exception group, it might be better to revert to a working version and wait for python 3.11 to release. (From OE-Core rev: 37c5b171d7de25b131e77b80d37f8481308bd6fe) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update 63.4.1 -> 65.0.2Alexander Kanavin2022-08-212-2/+2
| | | | | | | | (From OE-Core rev: 1647f6a6123f544a67aa3fb7accce82ba0d21420) 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-hatchling: update 1.6.0 -> 1.8.0Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: d9066ca0012c171bd9b7c697aa109ebc1dd85374) 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-pytz: upgrade 2022.1 -> 2022.2.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: eff1c2ecae7eb7672ec9000b8a3f3cd9632be291) 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-pyelftools: upgrade 0.28 -> 0.29Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: c87f97a8f49c05e03cd4ed9736b1c6c699fbd020) 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-pbr: upgrade 5.9.0 -> 5.10.0Alexander Kanavin2022-08-212-4/+4
| | | | | | | | (From OE-Core rev: ab94a8f171c9caecdce20452b6e39056525bf7f4) 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: upgrade 1.23.1 -> 1.23.2Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 627d7b9c9d010ccf3125f929a6d584ced9804e13) 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-more-itertools: upgrade 8.13.0 -> 8.14.0Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 38e0d7e2f5d4e76ffd9211dd1dfc531aed70e4bb) 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 -> 2022.8.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 885f36688fe6de524b50b54bee4c1ca92d198f50) 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-rust: update 1.4.1 -> 1.5.1Alexander Kanavin2022-08-212-224/+4
| | | | | | | | | | Drop upstreamed patch. (From OE-Core rev: a6e441f2ee9252730a5e27b12513e3eb062588d6) 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-cython: Remove debug linesJacob Kroon2022-08-211-2/+0
| | | | | | | | | | Fixes: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8 ("python3-cython: Update code to match debug path changes") (From OE-Core rev: 4fc076cac2c0277164cb33b2cef38c503a0ea630) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: Update code to match debug path changesRichard Purdie2022-08-171-9/+11
| | | | | | | | Match the changes to debug prefixes in bitbake.conf. (From OE-Core rev: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-urllib3: upgrade 1.26.10 -> 1.26.11Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: dbe07ff87e2cb1a8276e69a43c7cdbb9ae6e5493) 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-sphinx: upgrade 5.0.2 -> 5.1.1Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: a6ad111a54deeb3d75fde9ba5881c8e803d8859a) 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 63.3.0 -> 63.4.1Alexander Kanavin2022-08-102-2/+2
| | | | | | | | (From OE-Core rev: e87449dba18f14b8596fd99762070f96f395c401) 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-markdown: upgrade 3.3.7 -> 3.4.1Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: 4df29b0e8cb8dfc11a096ebae9fa1affddfc6625) 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-jsonschema: upgrade 4.9.0 -> 4.9.1Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: 2756642e3d381babc7a8db2c80d1d655832422a0) 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-hypothesis: upgrade 6.50.1 -> 6.54.1Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: d552aae12ef88e860c19619139cfea5d1771f2f3) 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.7 -> 2022.8Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: bba47263174a7efba90a710e8ff2d1ae2b8f9bc2) 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: upgrade 3.10.5 -> 3.10.6Alexander Kanavin2022-08-106-10/+10
| | | | | | | | (From OE-Core rev: 7779cc998bea2aab2a66b874cd849b3a0b6e7721) 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: update 22.2.1 -> 22.2.2Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: 2e9f2bf42bfc52a112775b548d600cde8c2f7645) 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.1.2 -> 22.2.1wangmy2022-08-043-151/+43
| | | | | | | | | | | | | | | | | | | reproducible.patch refreshed for new version. 0001-change-shebang-to-python3.patch removed as not needed since upstream has removed the shebang lines. License-Update: src/pip/_vendor/html5lib/LICENSE: removed since it's not it new version src/pip/_vendor/chardet/LICENSE: file format modified, change St to Street src/pip/_vendor/pygments/LICENSE: Copyright year updated to 2022 (From OE-Core rev: d69f360bb48001a4ec9220c8f935bb5fe43b4f7a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.42.1 -> 3.42.2wangmy2022-08-041-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========= Error out instead of crashing when marshaling unsupported fundamental types in some cases !180 Add a workaround for a PyPy 3.9+ bug when threads are used !200 Fix crashes when marshaling zero terminated arrays for certain item types !191 Fix a crash/refcounting error in case marshaling a hash table fails !191 Make the test suite pass again with PyPy !191 tests: support running tests with (MSVC) CPython 3.8+ on Windows !206 interface: Fix leak when overriding GInterfaceInfo !204 setup.py: look up pycairo headers without importing the module (helps with building on Windows and MSVC CPython 3.8+) !205 (From OE-Core rev: 14c442bfe4886e6180bd58f5e69928efd54e9c3c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 63.2.0 -> 63.3.0wangmy2022-08-041-1/+1
| | | | | | | | | | | Merge with pypa/distutils@129480b, including substantial delinting and cleanup, some refactoring around compiler logic, better messaging in cygwincompiler (pypa/distutils#161). (From OE-Core rev: bc488be5a8d260a0bdc69c37173a7168706f9be3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade 4.3.0 -> 4.4.0wangmy2022-08-041-1/+1
| | | | | | | | (From OE-Core rev: 86b22e0ea282b466e1d6107284f468ffe39b76fc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: upgrade 4.7.2 -> 4.9.0wangmy2022-08-041-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: =========== -Fix relative $ref resolution when the base URI is a URN or other scheme (#544). -pkgutil.resolve_name is now used to retrieve validators provided on the command line. This function is only available on 3.9+, so 3.7 and 3.8 (which are still supported) now rely on the pkgutil_resolve_name backport package. Note however that the CLI itself is due to be deprecated shortly in favor of check-jsonschema. -best_match no longer traverses into anyOf and oneOf when all of the errors within them seem equally applicable. This should lead to clearer error messages in some cases where no branches were matched. (From OE-Core rev: 203dc71c2b2a712a88f41fc6a5b9894d36d0d3c0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.5.0 -> 1.6.0wangmy2022-08-041-1/+1
| | | | | | | | (From OE-Core rev: 7a23323ce828d24e85f42773c7e5ac5e11b11f45) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbusmock: upgrade 0.28.1 -> 0.28.4wangmy2022-08-041-1/+1
| | | | | | | | | | | | | | Changelog: ========== setup.py: Fix ModuleNotFoundError ofono template: Fix conversion to f-strings (Debian #1015286) Ship FMF tests in release tarballs (From OE-Core rev: cf179414293289c1a15f9187c192a540558c1e84) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: upgrade 0.29.30 -> 0.29.32wangmy2022-08-042-1/+1
| | | | | | | | (From OE-Core rev: 19ce533f3712c5b67b637b939fd91516a2cc802b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: upgrade 21.4.0 -> 22.1.0wangmy2022-08-041-2/+2
| | | | | | | | | | License-Update: add "and the attrs contributors" to Copyright (From OE-Core rev: 35a6c10b77b8f400d63a81d02cf0fa0ebb4048df) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: move patch from 'files' to 'python3-setuptools'Martin Jansa2022-07-251-0/+0
| | | | | | | | | | | * it's not used by any other recipe AFAIK * meta-python2 has own copy for python-setuptools there in: meta-python2/recipes-devtools/python/python-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch (From OE-Core rev: 3a5898861337eb4934360ef6ae448896ec061e26) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: upgrade 3.8.0 -> 3.8.1Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: 9505ba463690c0c6ac232c145043d1615943fb04) 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 62.6.0 -> 63.2.0Alexander Kanavin2022-07-232-2/+2
| | | | | | | | (From OE-Core rev: 71f5c4a83c7acaa13e839908e3a68b52ca50ce10) 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-scm: upgrade 7.0.3 -> 7.0.5Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: 3a96cf94664e5e118fcc16263abcc3241d9fd378) 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-rust: upgrade 1.3.0 -> 1.4.1Alexander Kanavin2022-07-232-2/+224
| | | | | | | | (From OE-Core rev: fbb468411d9d67b32b6e7e66f8d591cbf20098f9) 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-hypothesis: upgrade 6.48.2 -> 6.50.1Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: 525420a90d9c136f379cb85e9e0898fc40e4805f) 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.5 -> 2022.7Alexander Kanavin2022-07-231-1/+1
| | | | | | | | (From OE-Core rev: 3cda7d2737383325fe72a3e666e0f95fc177833b) 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-jsonschema: 4.7.1 -> 4.7.2 + fixed the rdependsJan Vermaete2022-07-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | And spitted the files for the tests into a -test package buildhistory: images/raspberrypi4_64/glibc/core-image-base: IMAGESIZE changed from 208024 to 183660 (-12%) Changes to images/raspberrypi4_64/glibc/core-image-base (installed-package-names.txt): python3-pyparsing was removed python3-pip was removed python3-setuptools-scm was removed python3-packaging was removed python3-typing-extensions was removed python3-pkg-resources was removed python3-tomli was removed python3-setuptools was removed (From OE-Core rev: d744882251236800412870922b30ddbc70d214e5) Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-docutils: upgrade 0.18.1 -> 0.19wangmy2022-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: year updated to 2022 URLs of documentation and repositories changed URLs of license text changed List of files covered by the BSD 2-Clause License changed Changelog: =========== - Drop support for Python 2.7, 3.5, and 3.6. - Output changes: HTML5: Wrap groups of footnotes in an <aside> for easier styling. The CSS rule .footnote-list { display: contents; } can be used to restore the behaviour of custom CSS styles. - After package installation, the CLI commands python -m docutils and docutils start the generic command line front end tool. - Support parsing "Markdown" input with 3rd party parsers myst, pycmark, or recommonmark. - The default values for the "pep-references", "rfc-base-url", and "python-home" configuration settings now use the "https:" scheme. The PEP-writer template's header is updated to fix links and resemble the header of official PEPs. - Various bugfixes and improvements (see HISTORY). (From OE-Core rev: 91ffa2d80b959018cb8d531a2ec897dda1b2f691) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-picobuild: upgrade to 0.2Ross Burton2022-07-181-1/+1
| | | | | | | | | | | Major features since 0.1: - Implement support for legacy source trees - Add option to loosen dependency checking (From OE-Core rev: 5260d81dab757120114e103135dfb4c98443afa3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: remove PEP517_BUILD_APIRoss Burton2022-07-141-4/+0
| | | | | | | | | Now that we're using picobuild, hatchling can bootstrap itself. (From OE-Core rev: 995d65b2f87a3a4dff3771f049d67ac3fa0397cd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python_pep517: use picobuild instead of manually calling the APIRoss Burton2022-07-143-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling the PEP-517 API directly mostly works, but sometimes doesn't. For example we don't verify build dependencies, which led to the cbor2 ugprade silently failing to actually package anything. The standard frontend is pypa/build, but for source-based distributions that can be annoying to build as it depends on the following packages: - tomli - pep517 - packaging - pyparsing Manually bootstrapping those recipes is possible, but tedious. Picobuild is another frontend (written by myself) which is designed explicitly to be used programatically by source-based distributions: it doesn't support builds inside virtual environments as we're building distribution packages, and it vendors the dependencies for bootstrapping if they're not available. Over time more packages are expected to move to using Flit to build which makes the bootstrapping process slightly easier, and tomli will be integrated into Python 3.11, so it's possible that in the future we drop picobuild and switch to build. This change means the PEP517_BUILD_API variable is obsolete, so remove it. (From OE-Core rev: 35104958181d18fd67b73943b9310c813d62b14d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-picobuild: add new recipeRoss Burton2022-07-141-0/+21
| | | | | | | | | | | Picobuild is a pico-scale Python PEP517 build frontend, designed to have minimal dependencies (via vendoring) to be well suited for building source-based distributions, such as OpenEmbedded. (From OE-Core rev: cf85bddc2d1ce840fc6f4899b6280e1f39e62e7d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-installer: bootstrap by installing installer with installerRoss Burton2022-07-141-3/+5
| | | | | | | | | | | | | The installer can install itself by simply adding src/ to PYTHONPATH. As this previously used unzip, we need to disable bytecode as otherwise the newly packaged .pyc files conflict with the any generated .pyc files in the sysroot. (From OE-Core rev: 825176ea8130a50cce221678f6fcba25ac956950) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>