* Add support to detect the "mesonpy" build-backend for recipetool create.
* Add oe-selftest case for creating a recipe for "siphash24" from pypi.
https://pypi.org/project/siphash24/
This is by far the simplest recipe using the mesonpy build backend.
Upstream does not provide LICENSE file(s) and we do not detect the
LICENSE so don't check for that result in the test. Likewise, upstream
does not define HOMEPAGE, so skip that result.
(From OE-Core rev: 256749322671d2f4ea994db671d73c4de10e1723)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add HOMEPAGE and DESCRIPTION that were missing in
the original recipe in meta-python
(From OE-Core rev: c29a906c510627c5f4598511c34de20230bb230d)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This version deprecates "poetry.core.masonry.builder", but we detect
"poetry.core.masonry.api" in recipetool and nothing has broken our
build of wheels.
Thanks to Ross for noticing that the
"from poetry.core.masonry.builders.wheel import WheelBuilder"
is not a massive change in practice.
Changes:
1.9.0 - 2024-02-02
Added
* Add a to key in tool.poetry.packages to allow custom subpackage names (#672).
* Add support for path dependencies that do not define a build system (#675).
* Add a tool.poetry.package-mode key to support non-package mode (#661).
Changed
* Update list of supported licenses (#659, #669, #678, #694).
* Improve support for PEP 691 JSON-based Simple API (#664).
* Establish zipapp compatibility (#670).
* Rework list of files included in build artifacts (#666).
* Improve performance by treating collections in packages as immutable (#663).
* Deprecate poetry.core.masonry.builder (#682).
* Deprecate scripts that depend on extras (#690).
Fixed
* Fix an issue where insignificant errors were printed if the working
directory is not inside a git repository (#684).
* Fix an issue where the project's directory was not recognized as git
repository on Windows due to an encoding issue (#685).
Vendoring
* fastjsonschema==2.19.1
* lark==1.1.8
https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#190---2024-02-02
(From OE-Core rev: 651fc15e1403268aca19bd1453b3796d1effa559)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some time now, we have probably been susceptible to host contamination
or at least non-deterministic behavior when libyaml was available in the
build environment.
The symptom is:
ERROR: python3-pyyaml-6.0-r0 do_package_qa: QA Issue:
/usr/lib/python3.11/site-packages/yaml/_yaml.cpython-311-aarch64-linux-gnu.so
contained in package python3-pyyaml requires libyaml-0.so.2()(64bit), but no
providers found in RDEPENDS:python3-pyyaml? [file-rdeps]
>From the documentation:
"""
By default, the setup.py script checks whether LibYAML is installed and
if so, builds and installs LibYAML bindings. To skip the check and force
installation of LibYAML bindings, use the option --with-libyaml:
python setup.py --with-libyaml install
To disable the check and skip building and installing LibYAML bindings,
use --without-libyaml:
python setup.py --without-libyaml install
"""
Instead of leaving this to chance, add PACKAGECONFIG and by default build
with the faster libyaml bindings.
(From OE-Core rev: dfde9526f9183907b2bc47fde4f59ab3a5848d90)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop CheckLib.pm patch; no longer applies
* Change to CPAN_MIRROR for SRC_URI
* Drop SRC_URI[md5sum]
* Drop redundant ptest-perl/run-ptest; ptest-perl inherit does this
* Drop sed for Expat/Makefile; no longer shipped
* Inherit pkgconfig to find expat lib
* Patch Makefile.PL to not try to load host expat
License-Update: Use LICENSE file; change to Artistic-2.0
https://metacpan.org/dist/XML-Parser/changes
2.47 2023-12-28 (by Todd Rinaldo)
- #84 use $fh instead of $foo
- #85 Fix typo in documentation
- #89 Devel::CheckLib to from 0.99 -> 1.14
- Devel::CheckLibn 1.16
- #91 POD fix for verbatim text
- #97 Add a LICENSE file
- #94 Don't ship Expat/Makefile
- Various github workflow improvements. Windows is still not working.
(From OE-Core rev: 5c51810772a6611a37b2c1b0a32d9558007c4cf7)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the sdk test case, build the "guessing-game" example from
https://maturin.rs/tutorial
This test case:
* creates a python3 venv
* echoes "nameserver 8.8.8.8" to /etc/resolv.conf as we need to have
functional DNS to fetch the crates on target
* fetches crates, builds guessing-game crate and wheel
Put the following in your local.conf:
EXTRA_IMAGE_FEATURES += "tools-sdk"
SDK_INCLUDE_TOOLCHAIN = '1'
SDK_TOOLCHAIN_LANGS += 'rust'
IMAGE_INSTALL:append = " python3-maturin"
IMAGE_CLASSES += "testimage"
TEST_QEMUPARAMS ?= "-m 8192 -smp 4"
IMAGE_ROOTFS_EXTRA_SPACE = "10000000"
NOHDD="1"
NOISO="1"
TEST_SUITES = "ping ssh python maturin"
Test with:
bitbake core-image-full-cmdline
bitbake -c testimage core-image-full-cmdline
(From OE-Core rev: ca7e78c8be6aaa2780702eab54715a74fc0dac5e)
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>
'maturin develop' first checks that a virtual environment
has been created, which is a good test for our python3 SDK
environment ;)
Source for guessing-game lifted from https://www.maturin.rs/tutorial
The test case is expected to fetch any necessary crates, build a
development version of the crate and package it as a wheel
Needs at a minimum the following in e.g. local.conf:
TOOLCHAIN_HOST_TASK:append = " nativesdk-python3-maturin"
SDK_INCLUDE_TOOLCHAIN = '1'
SDK_TOOLCHAIN_LANGS += 'rust'
The output of 'maturin develop' should be something like:
...
🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8
🐍 Not using a specific python interpreter
📡 Using build options features from pyproject.toml
...
Compiling guessing-game v0.1.0 (/path/to/guessing-game)
Finished dev [unoptimized + debuginfo] target(s) in 7.14s
📦 Built wheel for abi3 Python ≥ 3.8 to /path/to/tmpdir/guessing_game-0.1.0-cp38-abi3-linux_x86_64.whl
🛠 Installed guessing-game-0.1.0
(From OE-Core rev: 5265dd0b102cd7f3c6bb2ae1b18e9f625b834b39)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We expect 'maturin' will be used in SDKs, so it makes sense to also
test it in the testsdk environment.
To run this test case, you can add the following to local.conf:
TOOLCHAIN_HOST_TASK:append = " nativesdk-python3-maturin"
And then build and test the SDK:
bitbake -c populate_sdk core-image-full-cmdline
bitbake -c testsdk core-image-full-cmdline
You can substitute a different image recipe for "core-image-full-cmdline"
(From OE-Core rev: 7ceff48625d01a0e60eb761a9a668d0c942cda89)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Basic smoke test for maturin to test the 'maturin list-python' case.
(From OE-Core rev: 47c948c3cf6e582abd12021ceeff2c20a3e81fb5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the new python_maturin PEP-517 backend
Add selftest for 'pydantic-core' pypi package.
(From OE-Core rev: 69b679380616a94a631681caa05d9bf7610f9372)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
maturin is a replacement for setuptools_rust and another "backend" for
building python wheels.
(From OE-Core rev: 1c2f9d8f18ef8154573142638ca10a8f88e43419)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /usr/bin/.debug/maturin binary ends up with the path
to the bzip-sys (bzip2-1.0.8) source in the python3-maturin-dbg package
Fix this by mapping the debug path for CARGO_HOME
to TARGET_DBGSRC_DIR/cargo_home via CFLAGS. This is
required because the bzip-sys crate is compiled using
the cc crate and we override default CFLAGS.
(From OE-Core rev: 58a4f8b3afb67e6818f544e74a7f1dd2b1a66f86)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build and publish crates with pyo3, rust-cpython, cffi and uniffi bindings
as well as rust binaries as python packages.
This project is meant as a zero configuration replacement for setuptools-rust
and milksnake. It supports building wheels for python 3.7+ on windows, linux,
mac and freebsd, can upload them to pypi and has basic pypy and graalpy support.
https://github.com/pyo3/maturin
* Referesh -crates.inc for 1.4.0
(From OE-Core rev: b92d923991e57e1e3a8e4a3bf1b7f7ec138f7723)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We would like to build python3-maturin for nativesdk use
and nativesdk-python3-setuptools-rust is a dependency.
(From OE-Core rev: 193e467cdaad9d2b0ee3dddecbe6631c7244fbbe)
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>
The pypi change:
"85a2a6f68af recipetool: create_buildsys_python: add pypi support"
deleted all the SRC_URI variables, including the SRC_URI checksums.
These are not generated by the pypi.bbclass (how could they be trusted?)
Without the checksum(s), we are vulnerable to a man-in-the-middle attack
and zero checks on the validity of the downloaded tarball from pypi.org.
Fix by only setting S and SRC_URI to None.
(From OE-Core rev: 560181a52111569f7bc57b09139b42510e0d0325)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comments in the recipe are insufficient to prevent folks from attempting
to upgrade the recipe without also upgrading python3-cryptography.
These two recipes MUST be upgraded in lock step to the exact same version.
(From OE-Core rev: 3701bc4d30526c52be1e1789afb24c90a23beab6)
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>
* Upstream download filename changed from sphinxcontrib-serializinghtml*
to sphinxcontrib_serializinghtml*
* build-backend is now flit (inherit python_flit_core)
Release 1.1.9 (2023-08-20)
==========================
* Serialise context["script_files"] and context["css_files"] as their filenames
on Sphinx 7.2.0.
Release 1.1.8 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.1.7 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.1.6 (2023-08-07)
==========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/compare/1.1.5...1.1.9
(From OE-Core rev: 38e035e1165a7d58a7de8b129b3f9e4a9faa275f)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-qthelp*
to sphinxcontrib_qthelp*
* build-backend changed to flit (inherit python_flit_core)
Release 1.0.6 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.5 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.4 (2023-08-07)
==========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-qthelp/compare/1.0.3...1.0.6
(From OE-Core rev: a38ec60aa0a3eece7060cc86f1aae161072e212e)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-htmlhelp*
to sphinxcontrib_htmlhelp*
* build-backend is now flit (inherit python_flit_core)
Release 2.0.4 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 2.0.3 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 2.0.2 (2023-08-07)
==========================
* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/compare/2.0.1...2.0.4
(From OE-Core rev: 062d5f058f6b283f612fcf745f6bb76ad51aebe2)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream download filename changed from sphinxcontrib-devhelp*
to sphinxcontrib_devhelp*
* build-backend is now flit (inherit python_flit_core)
Release 1.0.5 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.4 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.3 (2023-08-07)
=========================
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-devhelp/compare/1.0.2...1.0.5
(From OE-Core rev: 2dfca75f697faafa84e896a2aae67071b8401ce6)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream changed download file name from sphinxcontrib-applelhelp* to
sphinxcontrib_applehelp*
* build-backend is now flit (inherit python_flit_core)
Release 1.0.7 (2023-08-14)
==========================
* Use ``os.PathLike`` over ``pathlib.Path``
Release 1.0.6 (2023-08-09)
==========================
* Fix tests for Sphinx 7.1 and below
Release 1.0.5 (2023-08-07)
==========================
* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0
https://github.com/sphinx-doc/sphinxcontrib-applehelp/compare/1.0.4...1.0.7
(From OE-Core rev: a0cc690e50b83be6e9067ef81b3aefb16580acc7)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-89-0https://hypothesis.readthedocs.io/en/latest/changes.html#v6-88-4
6.89.0 - 2023-11-16
This release teaches from_type() to handle constraints implied by the
annotated-types package - as used by e.g. Pydantic. This is usually
efficient, but falls back to filtering in a few remaining cases.
Thanks to Viicos for pull request #3780!
6.88.4 - 2023-11-13
This patch adds a warning when @st.composite wraps a function annotated
as returning a SearchStrategy, since this is usually an error (issue #3786).
The function should return a value, and the decorator will convert it to a
function which returns a strategy.
(From OE-Core rev: 041e0a5ceeb55d40ab22071c5d2c358455bc8e23)
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>
* Cleanup an extraneous # at the end of the hash bang line.
* Cleanup some trailing whitespace errors.
* Fix typo inf dunfull -> dunfell.
(Bitbake rev: 3938b53f40960ff4a96a55fe5ef35b69737538a3)
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>
One of the newer PEP-517 backends to be added was python_hatchling.bbclass
but it was not included in the recent improvements.
Add selftest for 'jsonschema' pypi package.
(From OE-Core rev: d99b4883b4fee82bc588fd235ba90fedf1550cb8)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://wheel.readthedocs.io/en/stable/news.html
0.41.0 (2023-07-22)
* Added full support of the build tag syntax to wheel tags (you can now
set a build tag like 123mytag)
* Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry
Schreiner)
* Support testing on Python 3.12 betas (PR by Ewout ter Hoeven)
(From OE-Core rev: 81e7e3b9059840fd749b5b50fc75588d7c4b7593)
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://more-itertools.readthedocs.io/en/stable/versions.html
10.0.0
* Potentially breaking changes
- Python 3.7 support was dropped, since it went EOL on 2023-06-27
- batched() no longer issues a DeprecationWarning; it is now an alias
for itertools.batched for Python 3.12+
- batched() and matmul() now yield tuples instead of lists
* New functions
- combination_with_replacement_index() (thanks to Schoyen)
- nth_combination_with_replacement() (thanks to Schoyen)
- polynomial_eval() (from the Python itertools docs)
- polynomial_derivative() (from the Python itertools docs)
- sum_of_squares() (from the Python itertools docs)
* Changes to existing functions
- seekable() now has relative_seek method (thanks to karlb)
- chunked_even() was optimized (thanks to elliotwutingfeng)
- numeric_range() was optimized (thanks to eltoder)
- duplicates_justseen(), pairwise(), partial_product(), and partition()
were updated and optimized (thanks to pochmann)
- unique_in_window() had its implementation updated (thanks to
elliotwutingfeng)
- iterate() now breaks when its func argument raises StopIteration (thanks
to jrebiffe)
* Other changes
- Some documentation and testing issues were fixed (thanks to lonnen and
XuehaiPan)
(From OE-Core rev: 9351489f3fd9a01f1e74b4f209df01aeffe55c8f)
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>
Rather than inheriting the aging `setuptools3` bbclass, inherit
`python_setuptools_build_meta` which is one of the PEP 517 build
backends (for proper wheels using pyproject.toml).
Since python_setuptools_build_meta does not have a do_configure,
call the parent python_pep517_do_configure().
(From OE-Core rev: 52d33576a17574025e40526816c5f0ba72a57eea)
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/jaraco/zipp/blob/v3.16.2/NEWS.rst
v3.16.2
* Bugfixes:
- In Path.match, Windows path separators are no longer honored. The fact
that they were was incidental and never supported. (#92)
- Fixed name/suffix/suffixes/stem operations when no filename is present
and the Path is not at the root of the zipfile. (#96)
- Reworked glob utilizing the namelist directly. (#101)
v3.16.1
* Bugfixes:
- Replaced the fnmatch.translate with a fresh glob-to-regex translator
for more correct matching behavior. (#98)
v3.16.0
* Features:
- Require Python 3.8 or later.
License-Update: removed Copyright (see https://github.com/jaraco/skeleton/issues/78)
(From OE-Core rev: 8ffcbf120c7b35187f24e45fb8d35558ac1a697e)
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://cryptography.io/en/latest/changelog/#v41-0-2
41.0.2 - 2023-07-10
* Fixed bugs in creating and parsing SSH certificates where critical
options with values were handled incorrectly. Certificates are now
created correctly and parsing accepts correct values as well as the
previously generated invalid forms with a warning. In the next release,
support for parsing these invalid forms will be removed.
Refresh python3-cryptography-crates.inc:
- crate://crates.io/proc-macro2/1.0.59 \
+ crate://crates.io/proc-macro2/1.0.64 \
(From OE-Core rev: ea836919fc26af1508ccf0c40843109d52e738eb)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Require Python 3.8 or later.
34fd736 (HEAD, tag: v6.8.0) Finalize
97084d8 Remove reliance on typing-extensions, only required for Python 3.7 compatibility.
b74d2b2 Merge pull request #460 from Gryfenfer97/main
ec7bca0 Disable tests on pypy due to #463
ee4f84a Remove superfluous includes
f862e3f Merge branch '2023-handoff' of https://github.com/jaraco/skeleton
23ed6b1 Merge branch 'collapse' into 2023-handoff
c29955f Collapse skeleton history. Workaround for jaraco/skeleton#87.
cca49a4 Prefer 3.x for Python version (latest stable).
74ba8ac Leverage pytest-enabler 2.2 for the default config.
8e83c3f Expand 'finalize' to commit and tag the change.
f5a5617 Merge https://github.com/jaraco/skeleton
3b7d8a9 Require Python 3.8 or later.
07a87ea Remove tox boilerplate, no longer necessary with later versions of tox.
cd145f4 Replace workaround for actions/setup-python#508 with 'allow-prereleases'
5ca761c Merge https://github.com/jaraco/skeleton
45c03bd add typing for simple functions
74b0d39 Adopt towncrier for managing changelog. Fixesjaraco/skeleton#83.
2963377 Merge https://github.com/jaraco/skeleton
241541c Remove inclusion of python version for docs
e7cd730 Add badge for Ruff.
6f75480 Update RTD boilerplate to new issue. Ref readthedocs/readthedocs.org#10401.
(From OE-Core rev: bc820ff2f8d255783bedc28e468ee2e1d7de873b)
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/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07
* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
warning as we cannot help users facing issues with implementations other
than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)
License-Update: Removed outdated reference to CONTRIBUTORS.txt
(From OE-Core rev: 38464a98571d8c2c321b976fbf7963262531c25c)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* inherit python_setuptools_build_meta since setup.py was dropped
https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15
* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
warnings have been issued) (#86). Thanks to Andrew-Brock for providing
the solution.
* Now the msg contents of a subtest is displayed when running pytest with
-v (#6).
(From OE-Core rev: 6e2990c871043f4c94b9a7838c56a8e189ea66a1)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop CVE-2023-0464.patch (merged upstream).
* Refresh 0001-Configure-do-not-tweak-mips-cflags.patch
https://github.com/openssl/openssl/blob/openssl-3.1.1/NEWS.md
Major changes between OpenSSL 3.1.0 and OpenSSL 3.1.1 [30 May 2023]
* Mitigate for very slow OBJ_obj2txt() performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650)
* Fixed buffer overread in AES-XTS decryption on ARM 64 bit platforms (CVE-2023-1255)
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466)
* Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465)
* Limited the number of nodes created in a policy tree (CVE-2023-0464)
Security Advisory:
https://www.openssl.org/news/secadv/20230530.txt
CVE: CVE-2023-2650
CVE: CVE-2023-1255
CVE: CVE-2023-0466
CVE: CVE-2023-0465
CVE: CVE-2023-0464
(From OE-Core rev: 26ce9a5fd31c27812ce8784a398b600cc0e9aa80)
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>
* Skip t/pod_parser.t ptest since it is for testing
documentation and requires Pod::Parser for which
we do not have a recipe. Adding one does not make
much sense since Pod::Parser was dropped from
Perl > 5.31.1 in favor of Pod::Simple
https://metacpan.org/pod/Pod::Parser#DESCRIPTION
Changes:
https://metacpan.org/dist/Module-Build/changes
0.4234 - Fri 28 Apr 2023 10:46:26 CEST
- PodParser now respects =encoding directives
- Don't use libraries in t/bundled for Build.PL
- make_tarball: workaround for broken tar on Darwin
- Respect $Config{man1ext}/$Config{man3ext}
- Do not require a compiler if c_source is an empty list
(From OE-Core rev: c3b97f6d74b67706fbbc8685e8060566b815630d)
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>
After updating gen_fixtures.py for 'mickledore' 4.2,
run './gen_fixutures.py --all' to update oe-core.xml
and poky.xml.
Drop langdale as support is ending soon.
(Bitbake rev: 282a3d618b565a60b8734ca0fb710db93023b5c8)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update for 'mickledore' 4.2.0 release and bitbake 2.4 branching.
Drop 'langdale' as support will be ending soon.
Update stable branches to latest patch release.
(Bitbake rev: b01d369f6d6cccf77b23017ff343820d800d5621)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop pyproject.toml patch, merged upstream
https://wheel.readthedocs.io/en/stable/news.html#release-notes
0.40.0 (2023-03-14)
* Added a wheel tags command to modify tags on an existing wheel (PR by
Henry Schreiner)
* Updated vendored packaging to 23.0
* wheel unpack now preserves the executable attribute of extracted files
* Fixed spaces in platform names not being converted to underscores (PR
by David Tucker)
* Fixed RECORD files in generated wheels missing the regular file attribute
* Fixed DeprecationWarning about the use of the deprecated pkg_resources
API (PR by Thomas Grainger)
* Wheel now uses flit-core as a build backend (PR by Henry Schreiner)
License-Update: use LICENSE.txt for LIC_FILES_CHKSUM instead of PKG-INFO
(From OE-Core rev: d88ec936065f45851dd2a15bd8549c75e7746c75)
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>
Upstream docs currently have a typo showing the changes as 8.14.0
https://github.com/more-itertools/more-itertools/commit/89d58c2ec089f3df54ed6cc9279949b8e2bbcd29
9.1.0
-----
* New functions
- iter_index() (from the Python itertools docs)
- transpose() (from the Python itertools docs)
- matmul() (from the Python itertools docs)
- factor() (from the Python itertools docs)
- gray_product() (thanks to haukex)
* Changes to existing functions
- sieve() was updated to match the Python itertools docs
- maxsplit() was updated to fix a bug (thanks to abingham)
- sliced() had its type hint updated (thanks to ad-chaos)
* Other changes
- The batched function is marked as deprecated and will be removed in a
future major release. For Python 3.12 and above, use itertools.batched
instead. (thanks to neutrinoceros)
- The type hints now used postponed evaluation of annotations from PEP 563
(thanks to Isira-Seneviratne)
- Some documentation issues were fixed (thanks to Voskov and jdkandersson)
(From OE-Core rev: 436b92846406273fb3651f4f026e9fd3871ee71c)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://cryptography.io/en/latest/changelog/#v39-0-1
39.0.1 - 2023-02-07
* SECURITY ISSUE - Fixed a bug where Cipher.update_into accepted Python
buffer protocol objects, but allowed immutable buffers. CVE-2023-23931
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.8.
CVE: CVE-2023-23931
(From OE-Core rev: b2883bb86d8d0f7929b3c7a40f603010fbe153a4)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-450-february-14-2023
Release 4.5.0 (February 14, 2023)
* Runtime support for PEP 702, adding typing_extensions.deprecated. Patch
by Jelle Zijlstra.
* Add better default value for TypeVar default parameter, PEP 696. Enables
runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p).
* The @typing_extensions.override decorator now sets the .__override__
attribute. Patch by Steven Troxler.
* Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10.
Patch by Carl Meyer.
* Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte.
(From OE-Core rev: d3f0a9b620a930e9f48bf9f0d76f82ca6560887a)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/jquast/wcwidth#history
0.2.6 2023-01-14
* Updated tables to include Unicode Specification 14.0.0 and 15.0.0.
* Changed developer tools to use pip-compile, and to use jinja2
templates for code generation in bin/update-tables.py to prepare
for possible compiler optimization release.
(From OE-Core rev: 0c09ede1fad284b8efd3b6ff3102d8dbb7efb5f4)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://www.pyopenssl.org/en/23.0.0/changelog.html
23.0.0 (2023-01-01)
Changes:
Add OpenSSL.SSL.X509StoreFlags.PARTIAL_CHAIN constant to allow for users
to perform certificate verification on partial certificate chains. #1166
cryptography maximum version has been increased to 39.0.x.
(From OE-Core rev: 7fbe1365ad8e0562974d171a1d71e28313bc80ea)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Switch to hatchling build-backend
* inherit python_hatchling instead of python_setuptools_build_meta
* DEPENDS on python3-hatch-vcs-native instead of python3-setuptools-scm-native
2.0.0
======
* add support for Python 3.7-3.11
* drop support for Python 2.6-3.6
* add encoding argument defaulting to utf-8
* inline and clarify type annotations
* move parsing code from inline to extra file
* add typing overloads for helper methods
.. note::
major release due to the major changes in python versions supported
+ changes in packaging the api is expected to be compatible
(From OE-Core rev: 93a5c6a8a07bb8204337e6e0797bc67cf0ab6160)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-1-2023-01-13
pytest 7.2.1 (2023-01-13)
Bug Fixes
#10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in
Python 3.12.
#10457: If a test is skipped from inside a fixture, the test summary now
shows the test location instead of the fixture location.
#10506: Fix bug where sometimes pytest would use the file system root
directory as rootdir on Windows.
#10607: Fix a race condition when creating junitxml reports, which could
occur when multiple instances of pytest execute in parallel.
#10641: Fix a race condition when creating or updating the stepwise
plugin’s cache, which could occur when multiple xdist worker
nodes try to simultaneously update the stepwise plugin’s cache.
(From OE-Core rev: f5e3d3104b441d7e2586d5450390a829ef91a5a4)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0.002010 - 2023-01-22
- split main test into three separate scripts
- avoid outputting multiple plans if used with no_plan
(From OE-Core rev: 25cbcfe53fc921d856586c76b563016b8756374e)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update to latest langdale 4.1.2 and kirkstone 4.0.6
* Re-instate dunfell and update to 3.1.22
- drop comments about bitbake crash
(Bitbake rev: f90c45df5cf4640e0714fde13e311db3327f9fd4)
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-crates.inc: update for 39.0.0
* python3-cryptography-vectors: upgrade 38.0.4 -> 39.0.0
Highlights from Changelog:
https://cryptography.io/en/latest/changelog/#v39-0-0
39.0.0 - 2023-01-01
* BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.0 has been removed.
Users on older version of OpenSSL will need to upgrade.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.5. The new
minimum LibreSSL version is 3.5.0. Going forward our policy is to
support versions of LibreSSL that are available in versions of OpenBSD
that are still receiving security support.
* BACKWARDS INCOMPATIBLE: Removed the encode_point and from_encoded_point
methods on EllipticCurvePublicNumbers, which had been deprecated for
several years. public_bytes() and from_encoded_point() should be used
instead.
* BACKWARDS INCOMPATIBLE: Support for using MD5 or SHA1 in
CertificateBuilder, other X.509 builders, and PKCS7 has been removed.
* ANNOUNCEMENT: The next version of cryptography (40.0) will change the
way we link OpenSSL. This will only impact users who build cryptography
from source (i.e., not from a wheel), and specify their own version of
OpenSSL. For those users, the CFLAGS, LDFLAGS, INCLUDE, LIB, and
CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS environment variables will no longer
be respected.
(From OE-Core rev: 904574c49c51f1862c6b888a3e5889bd972df42d)
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>
liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest
* Update HOMEPAGE; fix syntax
* Add SUMMARY
* Add BUGTRACKER
* Use CPAN_MIRROR for SRC_URI
* Use actual LICENCE file for LIC_FILES_CHKSUM
* Add RDEPENDS
* Add RDEPENDS on perl-modules for ptest
- Too many hidden dependencies that fail silently, but pass
with full perl-modules
* Add self as maintainer
* Add to ptest-packagelists (fast)
(From OE-Core rev: b1582fb0ec6620312b9a26c6afc48a63984617a0)
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>