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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
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>
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>
* Refresh python3-bcrypt-crates.inc
Upstream release notes[1]:
* We now build PyPy manylinux wheels.
* Fixed a bug where passing an invalid salt to checkpw could result in
a pyo3_runtime.PanicException. It now correctly raises a ValueError.
[1] https://github.com/pyca/bcrypt/#401
(From OE-Core rev: 509a684b748af92e0b657433da85550de72ecbe0)
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>
Released: Thu Sep 22 2022
* bug
- [bug] [lexer]
* Fixed issue in lexer in the same category as that of #366 where the regexp
used to match an end tag didn’t correctly organize for matching characters
surrounded by whitespace, leading to high memory / interpreter hang if a
closing tag incorrectly had a large amount of unterminated space in it.
Credit to Sebastian Chnelik for locating the issue.
As Mako templates inherently render and directly invoke arbitrary Python
code from the template source, it is never appropriate to create templates
that contain untrusted input.
References: #367
[1] https://docs.makotemplates.org/en/latest/changelog.html#change-1.2.3
[2] https://github.com/sqlalchemy/mako/issues/366
[3] https://github.com/sqlalchemy/mako/issues/367
(From OE-Core rev: 49ad6f031458e1f48f24547dc88e41abc4ec41a6)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows semi-automated updates to the list of crates, which
is far too awkward to maintain by hand, particularly on version updates.
(From OE-Core rev: 1071e2fdd23271bf5df60712263838fe70276c67)
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>
The component has been reimplemented in rust, and comes
with a large list of dependencies in Cargo.toml/Cargo.lock.
Rather than list them by hand, use a file generated with
cargo-update-recipe-crates class.
(From OE-Core rev: f1ebc71d9c35ba3ff58851efe2fae4e193f481f1)
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>
The semaphore fix has landed and is available from 3.11 onwards:
1ee0f94d16
Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.
(From OE-Core rev: f10cdc155e47af5627ee999c57e1d083f9382a91)
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>