Bug Fixes
=========
#10533: Fixed pytest.approx() handling of dictionaries containing one or more values of 0.0.
#10592: Fixed crash if --cache-show and --help are passed at the same time.
#10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage.
#10626: Fixed crash if --fixtures and --help are passed at the same time.
#10660: Fixed pytest.raises() to return a ‘ContextManager’ so that type-checkers could narrow pytest.raises(...) if ... else nullcontext() down to ‘ContextManager’ rather than ‘object’.
Improved Documentation
======================
#10690: Added CI and BUILD_NUMBER environment variables to the documentation.
#10721: Fixed entry-points declaration in the documentation example using Hatch.
#10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.
(From OE-Core rev: e99106eec6e4b0017b621844092c12791b02ca11)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed
=======
Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file (#555).
(From OE-Core rev: 8270be34afa7ccde7306f31387b2082971caa239)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
=========
#3804: Added caching for supported wheel tags.
#3846: Added pruning heuristics to PackageFinder based on exclude.
#3843: Although pkg_resources has been discouraged for use, some projects still
consider pkg_resources viable for usage. This change makes it clear that
pkg_resources should not be used, emitting a DeprecationWarning when imported.
(From OE-Core rev: 31ad28d785d199716d98550193c9d3a9877b94ef)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Fixed a bug where the content type header was not properly encoded for PKCS7
signatures when using the Text option and SMIME encoding.
(From OE-Core rev: 1fb6b8839fa7fd38595b6f3218a9b096c246b00b)
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>
https://babel.pocoo.org/en/latest/changelog.html#version-2-12-1
Version 2.12.1
* Fixes
- Version 2.12.0 was missing the py.typed marker file. Thanks to Alex
Waygood for the fix! #975
- The copyright year in all files was bumped to 2023.
License-Update: copyright years
(From OE-Core rev: abbcf19d7e46682d3ac7b4fda6e67543b9e9866f)
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-68-2
6.68.2 - 2023-02-17
This patch fixes missing imports of the re module, when ghostwriting tests
which include compiled patterns or regex flags. Thanks to Jens Heinrich for
reporting and promptly fixing this bug!
(From OE-Core rev: 9fdfc5dfa09fc97409ee9ff6fafae3fd1bb523cf)
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
89d58c2ec0
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>
Changelog:
Minor cleanup in tests, including #93.
(From OE-Core rev: 025098d6bd83e8192fea28101780c361e242bc02)
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:
=========
Added experimental support for suppressing subtest output dots in non-verbose
mode with --no-subtests-shortletter -- this allows the native pytest column
calculations to not be disrupted and minimizes unneeded output for large CI systems.
(From OE-Core rev: 486c627d6851079c49e18d56d7052d3842af3206)
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:
============
Features
--------
- Ignore PIP_REQUIRE_VIRTUALENV for "pip index"
- Implement "--break-system-packages" to permit installing packages into
"EXTERNALLY-MANAGED" Python installations.
Bug Fixes
---------
- Improve handling of isolated build environments on platforms that
customize the Python's installation schemes, such as Debian and
Homebrew.
- Do not crash in presence of misformatted hash field in "direct_url.json".
(From OE-Core rev: 2cab887da4618a23c1fc52d27e1061102857f470)
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>
Now that we have the dependencies we can set the RDEPENDS for all builds,
not just target.
(From OE-Core rev: e7980308d78e7fb8ea1568b80363c809c91c2363)
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>
* remove patch applied upstream
* FWIW: this version still fails to build with DEBUG_BUILD AND gcc-13 as
shown in:
http://errors.yoctoproject.org/Errors/Details/689841/
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:57,
from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:14:
In function '_mm512_mask_prefetch_i64scatter_pd',
inlined from 'main' at TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:23:5:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512pfintrin.h:180:3: error: 'base' may be used uninitialized [-Werror=maybe-uninitialized]
180 | __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181 | __hint);
| ~~~~~~~
<built-in>: In function 'main':
<built-in>: note: by argument 3 of type 'const void *' to '__builtin_ia32_scatterpfqpd' declared here
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:18:9: note: 'base' declared here
18 | int base[128];
| ^~~~
In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:53,
from numpy/core/src/umath/simd.inc.src:25:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h: In function 'AVX512F_square_CFLOAT':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h:314:1: error: inlining failed in call to 'always_inline' '_mm512_setzero_ps': target specific option mismatch
314 | _mm512_setzero_ps (void)
| ^~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:977:20: note: called from here
977 | @vtype@ zeros = _mm512_setzero_@vsuffix@();
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to 'always_inline' 'avx512_get_full_load_mask_ps': target specific option mismatch
596 | avx512_get_full_load_mask_ps(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
It will be probably resolved in next release from 1.25 as whole simd.inc.src was removed in:
640e85017a
but this PR https://github.com/numpy/numpy/pull/21056 wasn't backported
to maintenance/1.24.x and probably isn't worth backporting now as
neither DEBUG_BUILD is enabled by default nor gcc-13 merged in oe-core,
and the changes don't backport cleanly.
(From OE-Core rev: 8596678667797971559aed962b1c204266032186)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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/#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>
Changelog:
==========
In tests, add a fallback when func_timeout isn't available.
gh-101566: In CompleteDirs, override ZipFile.getinfo to supply a ZipInfo for implied dirs.
(From OE-Core rev: 733a0fa6ebe4eb451f3cbf60a9a866cfddab0072)
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:
==========
docutils 0.18 is supported. (#1381)
Sphinx 6 support added
Added sphinxcontrib-jquery as a dependency (#1385#1421)
Python 3.11 is officially supported and tested. (#1395)
Python 3.4 and 3.5 are officially not supported (#1395)
Automatically use sphinxcontrib-jquery in Sphinx 6+ (#1399)
Use new context vars logo_url, favicon_url and root_doc when available (#1405)
Translations updated: French, Hungarian, Croatian
Translations added: Danish, Chinese (Taiwan)
(From OE-Core rev: 5633e0cc14bab83906bc0fb6a54cea3247b97278)
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: formatting, pep517 replaced by pyproject_hooks with same license.
(From OE-Core rev: 3f17ba75954bb71f0b8a19f007ebd0344d3faf74)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since version 7.2.0 [1], pytest uses the "batteries included" tomllib
module for parsing pyproject.toml configuration files [2]. It is
therefore no longer necessary to have python3-toml in RDEPENDS.
[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23
[2] https://github.com/pytest-dev/pytest/pull/9741
(From OE-Core rev: c84214ac5a55c5256843365b0108d1392282fced)
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
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>
* inherit python_setuptools_build_meta
https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES
Release 2.0.1 (2023-01-31)
==========================
* Drop support for Python 3.7 and lower
* Fix deprecation warnings from Sphinx 6.1
(From OE-Core rev: 18dc8d7ab54b96070b38c9ed96ea5ccdbe882572)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Tarball name changed so we can drop custom PYPI_PACKAGE
* Switched back from flit to setuptools
* inherit python_setuptools_build_meta instead of python3_flit_core
https://github.com/sphinx-doc/sphinxcontrib-applehelp/commits/1.0.4
(From OE-Core rev: 9dfff4c89e75435cc08338059e89ee6e421d4513)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3120
v3.12.0
gh-101144: Honor encoding as positional parameter to Path.open() and
Path.read_text().
(From OE-Core rev: c9d4362f1bebe220615c79288404f194a444326d)
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>
* 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>