Changelog:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.
Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.
(From OE-Core rev: e11c8fe22ed3683d032b4a1d3c46f607c36edbf2)
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:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.
Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.
(From OE-Core rev: 74ab9f3f90ca56fbef06b3f075b0120da052b379)
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:
==========
A total of 17 pull requests were merged for this release.
#23206: BUG: fix for f2py string scalars (#23194)
#23207: BUG: datetime64/timedelta64 comparisons return NotImplemented
#23208: MAINT: Pin matplotlib to version 3.6.3 for refguide checks
#23221: DOC: Fix matplotlib error in documentation
#23226: CI: Ensure submodules are initialized in gitpod.
#23341: TYP: Replace duplicate reduce in ufunc type signature with reduceat.
#23342: TYP: Remove duplicate CLIP/WRAP/RAISE in __init__.pyi.
#23343: TYP: Mark d argument to fftfreq and rfftfreq as optional...
#23344: TYP: Add type annotations for comparison operators to MaskedArray.
#23345: TYP: Remove some stray type-check-only imports of msort
#23370: BUG: Ensure like is only stripped for like= dispatched functions
#23543: BUG: fix loading and storing big arrays on s390x
#23544: MAINT: Bump larsoner/circleci-artifacts-redirector-action
#23634: BUG: Ignore invalid and overflow warnings in masked setitem
#23635: BUG: Fix masked array raveling when order="A" or order="K"
#23636: MAINT: Update conftest for newer hypothesis versions
#23637: BUG: Fix bug in parsing F77 style string arrays.
(From OE-Core rev: 38192c432204ec498cbdd1005ec2577f84e36018)
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:
==========
* A garbage collection enabled subtype of a non-GC extension type could call into the
deallocation function of the super type with GC tracking enabled. This could lead
to crashes during deallocation if GC was triggered on the type at the same time.
(Github issue :issue:'5432')
* Some C compile failures and crashes in CPython 3.12 were resolved.
* "except + nogil" was syntactically not allowed.
"except +nogil" (i.e. defining a C++ exception handling function called "nogil")
is now disallowed to prevent typos.
(Github issue :issue:'5430')
* A C compile failure in PyPy 3.10 was resolved.
Patch by Matti Picus. (Github issue :issue:'5408')
* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
Original patch by Matti Picus. (Github issue :issue:'5413')
* API header files generated by different Cython versions can now be included in the
same C file.
(Github issue :issue:'5383')
* Function signatures containing a type like 'tuple[()]' could not be printed.
Patch by Lisandro Dalcin. (Github issue :issue:'5355')
(From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332)
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: Remove smartypants from LICENSE
Changelog:
===========
#11411: Support Docutils 0.20.
#11418: Clean up remaining references to sphinx.setup_command following the removal of support for setuptools.
(From OE-Core rev: c823432d3941c85ca936a99da69be35220f01bd9)
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 tag.setter on 'ScalarEvent' and on 'Node', that takes either
a 'Tag' instance, or a str
- fix issue 467, caused by Tag instances not being hashable
- changed the internals of the tag property from a string to a class which allows
for preservation of the original handle and suffix. This should
result in better results using documents with %TAG directives, as well
as preserving URI escapes in tag suffixes.
- fix for issue 464: documents ending with document end marker without final newline
fail to load
- fix issue with inline mappings as value for merge keys
- fix for 468, error inserting after accessing merge attribute on "CommentedMap"
- fix for issue 461 pop + insert on same 'CommentedMap' key throwing error
- Fix for error on edge cage for issue 459
- fix for regression while dumping wrapped strings with too many backslashes removed
- rewrite of "CommentedMap.insert()". If you have a merge key in
the YAML document for the mapping you insert to, the position value should
be the one as you look at the YAML input.
This fixes issue 453 where other
keys of a merged in mapping would show up after an insert
It
also fixes a call to '.insert()' resulting into the merge key to move
to be the first key if it wasn't already and it is also now possible
to insert a key before a merge key (even if the fist key in the mapping).
- fix (in the pure Python implementation including default) for issue 447.
also brought up by brent on
'StackOverflow <https://stackoverflow.com/q/40072485/1307905>'__)
- fix 458, error on plain scalars starting with word longer than width.
- fix for ".update()" no longer correctly handling keyword arguments
- fix issue 454: high Unicode (emojis) in quoted strings always
escaped
- fix issue with emitter conservatively inserting extra backslashes in wrapped
quoted strings
- fix issue 449 where the second exclamation marks got URL encoded
and fixing PR
- fix issue with indent != 2 and literal scalars with empty first line
- updated __repr__ of CommentedMap, now that Python's dict is ordered -> no more
ordereddict(list-of-tuples)
- merge MR 4, handling OctalInt in YAML 1.1
- fix loading of '!!float 42'
- line numbers are now set on 'CommentedKeySeq' and 'CommentedKeyMap' (which
are created if you have a sequence resp. mapping as the key in a mapping)
- plain scalars: put single words longer than width on a line of their own, instead
of after the previous line
- fix for folded scalar part of 421: comments after ">" on first line of folded
scalars are now preserved (as were those in the same position on literal scalars).
- added stacklevel to warnings
- typing changed from Py2 compatible comments to Py3, removed various Py2-isms
License-Update: Copyright year updated to 2023
(From OE-Core rev: a83a1f21c1c1637017d4046b32fc5e558f342add)
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:
-Copyright changed from "(C) 2016 Jason R Coombs <jaraco@jaraco.com>"
to "Jason R. Coombs"
-The wrapping position has been adjusted
Changelog:
===========
- Upgrade setuptools to 67.7.2
- Revert #11487, as it causes issues with virtualenvs created by the Windows
Store distribution of Python. (#11987)
- Fix grammar by changing "A new release of pip available:" to "A new release
of pip is available:" in the notice used for indicating that. (#11529)
- Normalize paths before checking if installed scripts are on PATH. (#11719)
- Correct the way to decide if keyring is available. (#11774)
- More consistent resolution backtracking by removing legacy hack related to
setuptools resolution (#11837)
- Include AUTHORS.txt in pip's wheels. (#11882)
- The uninstall and install --force-reinstall commands no longer call
normalize_path() repeatedly on the same paths. Instead, these results are
cached for the duration of an uninstall operation, resulting in improved
performance, particularly on Windows. (#11889)
- Fix and improve the parsing of hashes embedded in URL fragments. (#11936)
- When package A depends on package B provided as a direct URL dependency
including a hash embedded in the link, the --require-hashes option did not
warn when user supplied hashes were missing for package B. (#11938)
- Correctly report requested_extras in the installation report when extras
are specified for a local directory installation. (#11946)
- When installing an archive from a direct URL or local file, populate
download_info.info.hashes in the installation report, in addition to the
legacy download_info.info.hash key. (#11948)
(From OE-Core rev: d859e35c533976d05bc7e74e05c3fc111654670f)
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 reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db.
This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012.
This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c.
The dependencies should not be a -native in the target case. Revert
these whilst the proper patch is worked out.
(From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
crypt.h is otherwise taken from the host machine
(From OE-Core rev: c6198e1b1c3e3a3413b6ff9f014b40114f1850db)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is part of the same project as GitPython, but hasn't been used by
gitdb (the sole user) since 2014.
(From OE-Core rev: 22a4aba5c2799cb09e1cdff075f9fe92426ea438)
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>
The dependency on the async module was removed back in 0.6.0 (November
2014).
Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only
support Python 3.
(From OE-Core rev: 5fc09287ec8ca4332614eaa6b0dd5aabf10f6a31)
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>
Extend the manifest with definitions for the turtle package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.
(From OE-Core rev: 09476b2be0c8a155dc6494442cc3caca97782595)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend the manifest with definitions for the zipapp package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.
(From OE-Core rev: 30186af3a3c46d9349940d952a0d8d1826b0dd4a)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend the manifest with definitions for the cgitb package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.
(From OE-Core rev: b9428ccad6238e33dc7bb344e06f4f8cf73b2ef8)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cargo and rustc can now be built for the target architecture. There's no
reason to limit the setuptools rust extensions to native build only so
make the RDEPENDS global. Also: add the missing ones.
(From OE-Core rev: aa8001e9bff9f9dd92a4a1ce435f1ae452e104c9)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The nativesdk and target RDEPENDS are the same and there's nothing that
prohibits this package from build built for the native sysroot either.
Use the global RDEPENDS instead of per-class assignments.
While at it: order the dependencies alphabetically.
(From OE-Core rev: aaaeffe8fca578abcbc19bbb306ff4a8b21bb59e)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
calver is "a setuptools extension for automatically defining your Python
package version as a calendar version." It is required for
python3-trove-classifiers (another new recipe), which in turn is
required for the upgrade of python3-hatchling from 1.13.0 to work.
(From OE-Core rev: 79ed4fcad6bd49c269ada3ab99ca4548aaf34e99)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade depends on python3-calver and python3-trove-classifiers,
which have new recipes being submitted.
(From OE-Core rev: 1cdec71577c19d9b1592e9521d6a653eb91dfb18)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-trove-classifiers is "Canonical source for classifiers on
PyPI.". It is required to update python3-hatchling from the current
version (1.13.0) in oe-core, and depends on python3-calver (another new
recipe). Also add ptests.
(From OE-Core rev: 1b417898c296b5732eac14465ba459411ebe4902)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of statically linking to an integrated expat which may not be
updated to fix security issues, dynamically link to the system expat.
(From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67)
(From OE-Core rev: 2621924191fa516c66eb42295ec4c68820c0ed17)
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's no need to define the PACKAGECONFIG for each class when they're
all identical (as native DISTRO_FEATURES are pruned before use).
Also add a disabled case to the LTO configuration to be explicit.
(From OE-Core rev: 00471d196768fcb4acaf1e2439fd90936d93fd98)
(From OE-Core rev: 52232f8a6afef20ff4ef70367ecce74043210a46)
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>
libedit has feature parity with readline but is more permissively
licensed (BSD verses GPLv3), so switch to libedit by default.
(From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986)
(From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0)
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>
The source code of bcrypt extension doesn't define any tests
but it is to show the ptest-cargo usage
Below is the updated test suite output for the recipe (cut):
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError]
PASS: tests/test_bcrypt.py:test_2a_wraparound_bug
============================================================================
Testsuite summary
running 0 tests
test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
root@qemux86-64:/usr/lib/python3-bcrypt/ptest#
(From OE-Core rev: 7388fec005b94d8e3827afcdf0de1e5b05ea1346)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing warnings like:
WARNING: Nothing RPROVIDES 'nativesdk-procps' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil-dev' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
which means this likely has never been working in the first place. Drop it
until it is needed and fixed to work.
(From OE-Core rev: e1c9cbe8b14c259c30df375d3f8c1bd9b3a818fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pytest can call tomllib (for example, when running the
python3-cryptography tests), so add it as a RDEPENDS.
(From OE-Core rev: 2bc8c7135045cea2d95990df7df96f271a609758)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
===========
Parse raw metadata
Import underlying parser functions as an underscored variable
Improve error for local version label with unsupported operators
Add dedicated error for specifiers with incorrect .* suffix
Replace spaces in platform names with underscores
Relax typing of _key on _BaseVersion
Handle prefix match with zeros at end of prefix correctly
(From OE-Core rev: ecd541b4290932d2b547376e8dc04863634f11a7)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>