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>
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>
* 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>
Changelog:
==========
- Added lexers:
* Arturo (#2259)
* GAP session (#2211)
* Fift (#2249)
* func (#2232)
* Jsonnet (#2239)
* Minecraft schema (#2276)
* MIPS (#2228)
* Phix (#2222)
* Portugol (#2300)
* TL-b (#2247)
* World of Warcraft TOC format (#2244, #2245)
* Wren (#2271)
- Updated lexers:
* Abap: Update keywords (#2281)
* Alloy: Update for Alloy 6 (#1963)
* C family (C, C++ and many others):
- Fix an issue where a chunk would be wrongly recognized as a function
definition due to braces in comments (#2210)
- Improve parantheses handling for function definitions (#2207, #2208)
* C#: Fix number and operator recognition (#2256, #2257)
* CSound: Updated builtins (#2268)
* F#: Add ".fsx" file extension (#2282)
* gas (GNU assembler): recognize braces as punctuation (#2230)
* HTTP: Add 'CONNECT' keyword (#2242)
* Inform 6: Fix lexing of properties and doubles (#2214)
* INI: Allow comments that are not their own line (#2217, #2161)
* Java properties: Fix issue with whitespace-delimited keys, support
comments starting with '!' and escapes, no longer support undocumented
';' and '//' comments (#2241)
* LilyPond: Improve heuristics, add "\maxima" duration (#2283)
* LLVM: Add opaque pointer type (#2269)
* Macaulay2: Update keywords (#2305)
* Minecraft-related lexers (SNB and Minecraft function) moved to
"pygments.lexers.minecraft" (#2276)
* Nim: General improvements (#1970)
* Nix: Fix single quotes inside indented strings (#2289)
* Objective J: Fix catastrophic backtracking (#2225)
* NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel'
and 'abs' address operators (#2212)
* Powershell:
- Add "local:" keyword (#2254)
- Allow continuations without markers (#2262, #2263)
* Solidity: Add boolean operators (#2292)
* Spice: Add "enum" keyword and fix a bug regarding binary,
hexadecimal and octal number tokens (#2227)
* YAML: Accept colons in key names (#2277)
- Fix 'make mapfiles' when Pygments is not installed in editable mode
(#2223)
- Support more filetypes and compression types in 'autopygmentize' (#2219)
- Merge consecutive tokens in Autohotkey, Clay (#2248)
- Add ".nasm" as a recognized file type for NASM (#2280)
- Add "*Spec.hs" as a recognized file type for "HSpec" (#2308)
- Add "*.pyi" (for typing stub files) as a recognized file type for
Python (#2331)
- The HTML lexer no longer emits empty spans for whitespace (#2304)
- Fix "IRCFormatter" inserting linenumbers incorrectly (#2270)
(From OE-Core rev: 5ef9d667776b8078169f8b940da8cd1da1df9f22)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog
=========
* Run PBR integration on Ubuntu Focal too
* Remove numpy dependencies
* Tie recursion calls to Dist object, not module
* Update tox.ini to work with tox 4
(From OE-Core rev: bcea96e95cb483710647fe9b604d320aca470ad5)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Allow "extra" to be None in the marker environment (:issue:'650')
Refactor tags._generic_api to use EXT_SUFFIX (:issue:'607')
Correctly handle trailing whitespace on URL requirements (:issue:'642')
Fix typing for specifiers.BaseSpecifier.filter() (:issue:'643')
Use stable Python 3.11 in tests (:issue:'641')
Correctly handle non-normalised specifiers in requirements (:issue:'634')
Move to src/ layout (:issue:'626')
Remove __about__ file, in favour of keeping constants in __init__ (:issue:'626')
(From OE-Core rev: 9f34a926ef1bfb17119d71a0229e475a58a33df7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
* #419: Declared "Distribution" as an abstract class, enforcing
definition of abstract methods in instantiated subclasses. It's no
longer possible to instantiate a "Distribution" or any subclasses
unless they define the abstract methods.
(From OE-Core rev: 864fd15f05f3e9e795d272239be30db4a19c9ceb)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
we now support @example(...).xfail(), with the same (optional) condition, reason, and raises arguments as pytest.mark.xfail().
(From OE-Core rev: 31c0a609e2af33a7734337ebb9e2377556506fdc)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Add macos-max-compat option to the wheel target that is enabled by default to
support the latest version 22.0 of the packaging library
(From OE-Core rev: bbd64ef85cae2440de4d0554c2cb4115a2fbfc14)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
blue5-obex template: Fix OBEX PullAll
power_profiles template: Fix Actions property type
README: Explain container tests and how to debug them
(From OE-Core rev: 44165fb25e83be6c7952de25c2b07b1442727088)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
==========
Features added
--------------
* The "cythonize" and "cython" commands have a new option "-M" / "--depfile"
to generate ".dep" dependency files for the compilation unit. This can be used
by external build tools to track these dependencies.
The "cythonize" option was already available in Cython :ref:'0.29.27'.
Bugs fixed
----------
* "const" fused types could not be used with memory views.
Patch by Thomas Vincent. (Github issue :issue:'1772')
* "wstr" usage was removed in Python 3.12 and later (PEP-623).
(Github issue :issue:'5145')
* A type check assertion for Cython functions failed in debug Python builds.
(Github issue :issue:'5031')
* Fixed various compiler warnings.
Patches by Lisandro Dalcin et al. (Github issues :issue:'4948', :issue:'5086')
* Fixed error when calculating complex powers of negative numbers.
(Github issue :issue:'5014')
* Corrected a small mis-formatting of exception messages on Python 2.
(Github issue :issue:'5018')
* The "PyUnicode_AsUTF8AndSize()" C-API function was missing from the CPython declarations.
(Github issue :issue:'5163')
* A performance problem in the compiler was resolved when nesting conditional expressions.
(Github issue :issue:'5197')
* Test suite problems with recent NumPy and CPython versions were resolved.
(Github issues :issue:'5183', :issue:'5190')
Other changes
-------------
* The undocumented, untested and apparently useless syntax
"from somemodule cimport class/struct/union somename" was deprecated
in anticipation of its removal in Cython 3. The type
modifier is not needed here and a plain "cimport" of the name will do.
(Github issue :issue:'4905')
* Properly disable generation of descriptor docstrings on PyPy since they cause crashes.
It was previously disabled, but only accidentally via a typo.
Patch by Matti Picus. (Github issue :issue:'5083')
* The "cpow" directive of Cython 3.0 is available as a no-op.
(Github issue :issue:'5016')
(From OE-Core rev: 4c5b05d92d691447d493ce87f32f4af907410c39)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
=========
* #3594: Added "htmlcov" to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:'demianbrecht'
* #3667: Added a human-readable error description when ".egg-info" directory is not writeable -- by :user:'droodev'
* #3713: Fixed incomplete "getattr" statement that caused problems when accessing
undefined attribute.
(From OE-Core rev: 1f3602a771c4f68dc5d052a9099d20f5741414d2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the bootstrap sequence for pypa/build is just
python3-packaging, and python3-pyproject-hooks, we can use build instead
of picobuild.
The only change visible outside of this class is that the variable
PEP517_PICOBUILD_OPTS is now PEP517_BUILD_OPTS, but I'm only aware of one
recipe that used that variable.
(From OE-Core rev: 202c2e3c9481a8841af2556862a76e27d703246d)
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>