summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-bcrypt-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-49/+49
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-bcrypt-crates.inc bitbake -c update_crates python3-bcrypt git commit (From OE-Core rev: ccef8f0b0d6e4e8b099953df3cf092b1545aca20) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-crates.inc: regenerate with updated bbclassMartin Jansa2023-04-061-66/+66
| | | | | | | | | | | | | | | * it's needed for compatibility with updated fetcher from: https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/ * easiest way to regenerate these is: echo > meta/recipes-devtools/python/python3-cryptography-crates.inc bitbake -c update_crates python3-cryptography git commit (From OE-Core rev: bf6a3cd70d13f05f0e2af2b54635214690a68a78) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: depend on gobject-introspectionPetr Kubizňák2023-04-041-1/+1
| | | | | | | | | | When g-i feature is disabled, the gobject-introspection package dependency is not pulled in but pygobject has a hard dependency on it. (From OE-Core rev: 7fae697c6889e17dd47415808a7173670b507047) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib ↵Wentao Zhang2023-04-032-0/+40
| | | | | | | | | | | | | | | | | | | | | | | by updating test_sysconfig for posix_user purelib Steps to trigger the failed test: Edit local.conf to add something as follows: BASELIB = "lib64" IMAGE_INSTALL:append = " python3-tests". bitbake core-image-sato runqemu qemux86-64 nographic slirp Reproducer: $python3 -m test test_sysconfig sysconfig.py use platlibdir for purelib. Update test_sysconfig.test_user_similar() for the posix_user scheme: "purelib" doesn't use sys.platlibdir. (From OE-Core rev: 755321362e994a6a37a0f554b1aea56823de924e) Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: add crates checksumsFrederic Martinsons2023-03-301-0/+67
| | | | | | | | (From OE-Core rev: 37e5ec204396f59ab5e796ea4a815eaecd12f9b1) 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>
* python3-bcrypt: add crates checksumsFrederic Martinsons2023-03-301-49/+100
| | | | | | | | (From OE-Core rev: 086bdc7c4eab5f026c0c5adf446cb6d1657f086b) 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>
* python3-scons: upgrade to v4.5.2Martin Jansa2023-03-261-1/+1
| | | | | | | | | | | | * fixes: https://github.com/SCons/scons/issues/4321 which caused e.g. iotifity to fail in do_compile (From OE-Core rev: 5b022730053cdf62db57f497014ed85e2f7057b6) 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>
* python3-jsonpointer: rewrite testingRoss Burton2023-03-213-2/+68
| | | | | | | | | | | | | | | The tests installed by jsonpointer use unittest not pytest, so update the dependencies. Use the unittest runner in python3-unittest-automake-output to get the correct output. Apply a patch so the test suite doesn't run twice. (From OE-Core rev: 595086756c6f24762e08cde9f9ed3e1056976d98) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-webcolors: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 88b320cfb38b69b2d9035d2300359ff3d0dbd598) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wcwidth: use python3-unittest-automake-outputRoss Burton2023-03-212-2/+3
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 7da8728e0b566bb326092b88140c2d8207893738) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 6be840f36c7ac06527714f7f083162eda4c14adf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: : use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: d83b60647bcbd32f57796085ed5f8e19c30e576a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: adfaaba9389e1e8459e58a3cab0f2bebc623c4f5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+3
| | | | | | | | | | Instead of using sed to reformat the output use this new module. The tests also need the statistics module so add this missing dependency. (From OE-Core rev: 68cc7d5343ee3617fd708954f55f0f2fc29390b3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: use python3-unittest-automake-outputRoss Burton2023-03-212-3/+3
| | | | | | | (From OE-Core rev: 721b5a81b176dd0f2aafb2fe3587d28df383eb7b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: use python3-unittest-automake-outputRoss Burton2023-03-212-6/+6
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: def25193748fac40c4120e9a6e8861ae4c7ae760) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 5ad1c8beebc09754b5c7fc637102553398a50fbd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: use python3-unittest-automake-outputRoss Burton2023-03-213-2/+8
| | | | | | | | | | | | | | | | | Instead of using sed to reformat the output use this new module. This shows that the previous sed expression wasn't sufficient because it didn't handle tests throwing an error, and now the bench/ tests fail because we don't have pytest-benchmark. These tests are more of a benchmark than a unit test, so just skip them. Also show a skip message instead of nothing if the tests were skipped due to a lack of memory. (From OE-Core rev: f22b60676159f729c081ba62fba4642629daa914) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-bcrypt: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 6d81a8eeb42695c1d908a2ef9d60606c4eb7cf8f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-atomicwrites: use python3-unittest-automake-outputRoss Burton2023-03-212-1/+2
| | | | | | | | | Instead of using sed to reformat the output use this new module. (From OE-Core rev: 66907e95cf1e174c76ee8c495af1596cc1f63718) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-unittest-automake-output: add new recipe for ptest integrationRoss Burton2023-03-211-0/+13
| | | | | | | | | | | This package contains modules for both unittest and pytest that alter the output to look like automake's 'make check' output, for better integration with ptest. (From OE-Core rev: 961e4f3fc786715fc136fa446686972a4a95a3d5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add missing -modules dependenciesRoss Burton2023-03-212-1/+3
| | | | | | | | | | The python3-modules package should depend on zoneinfo, and gdbm if it was enabled. (From OE-Core rev: 0e0a5a635f44931dd490ae6a99548f05bd5205a8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: missing ptest dependenciesRoss Burton2023-03-211-2/+2
| | | | | | | | | The tests need a broad set of locales and timezones to be installed. (From OE-Core rev: 372233d7ad22e45aa31db0d6c0e989393f116dfe) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: add missing dependency for the testsRoss Burton2023-03-211-0/+1
| | | | | | | (From OE-Core rev: 3056ddfd08962114b2ee2a52bc7d421efe01bf69) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.38.4 -> 0.40.0Tim Orling2023-03-172-104/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* python3-urllib3: upgrade 1.26.14 -> 1.26.15Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | Changelog: ========== * Fix socket timeout value when "HTTPConnection" is reused ('#2645 <https://github.com/urllib3/urllib3/issues/2645>'__) * Remove "!" character from the unreserved characters in IPv6 Zone ID parsing ('#2899 <https://github.com/urllib3/urllib3/issues/2899>'__) * Fix IDNA handling of '\x80' byte ('#2901 <https://github.com/urllib3/urllib3/issues/2901>'__) (From OE-Core rev: 8e062efbac29a81831c3060bcae601dc533d65dd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-testtools: upgrade 2.5.0 -> 2.6.0Wang Mingyu2023-03-162-1/+2
| | | | | | | | | | | | | | | | | | | | | | Improvements ------------ * Add support for Python 3.10 and 3.11. * Drop support for Python 3.5 (EOL). * Distutils integration is deprecated and will be removed in the next major version. * Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our own. * Provide a "testtools[twisted]" extra documenting dependencies needed for "testtools.twistedsupport". * Make "TestCase" hashable. * Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a "__dict__" attribute. * Replace deprecated "cgi" module usage with "email". (From OE-Core rev: c0d0428deabf519e86bc0ffb7ff47e9bb0a165c4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: upgrade 4.4.0 -> 4.5.1Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Fix a problem in 4.5.0 where using something like the following code will cause a Clone()'d environment to share the CPPDEFINES with the original Environment() which was cloned. Causing leakage of changes to CPPDEFINES when they should be completely independent after the Clone. env=Environment(CPPDEFINES=['a']) env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique) env1=env.Clone() env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES Now env['CPPDEFINES'] will contain 'c' when it should not. - Do not initialize DefaultEnvironment when calling EnsureSConsVersion(), EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir(). - Remove unused private method SConsEnvironment._exceeds_version(). - Added ValidateOptions() which will check that all command line options are in either those specified by SCons itself, or by AddOption() in SConstruct/SConscript. It should not be called until all AddOption() calls are completed. Resolves Issue #4187 - Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package. NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs - Changed the Taskmaster trace logic to use python's logging module. The output formatting should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline. - Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging to NewParallel Job class (Andrew Morrow's new parallel job implementation) - Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an execution environment variable set to a python list it would crash. Now it will create a string joining the list with os.pathsep - Move execution environment sanitation from Action._subproc() to SCons.Util.sanitize_shell_env(ENV) - Moved rpm and debian directories under packaging - Added logic to help packagers enable reproducible builds into packaging/etc/. Please read packaging/etc/README.txt if you are interested. - Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation. This should scale much better for highly parallel builds. You can also enable this via SetOption(). - Fixed command line argument --diskcheck: previously a value of 'none' was ignored. SetOption('diskcheck','none') is unaffected, as it did not have the problem. - Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(), strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists - Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have command lines using the generated tempfile for long command lines, instead of the full command line for the compilation step for the source/target pair. - Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3. Renamed all env vars which affect qt3 from QT_ to QT3_. If you are still using SCons to build QT 3 code, you'll need to update your SConscripts. Note that using 'qt' tool has been deprecated for some time. - Added JAVAPROCESSORPATH construction variable which populates -processorpath. - Updated JavaScanner to scan JAVAPROCESSORPATH. - Added FILE_ENCODING, to allow explicitly setting the text encoding for files written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders will write files as UTF-8. Fixed Issue #4302. - Add newline to end of compilation db (compile_commands.json). - Added error message to handle the case when SCons attempts to retrieve all the targets for a specified builder from the CacheDir, fails to do so, and then runs into an error when deleting the files which were retrieved. Previously if this happened there was no errors or warnings. - Fix issue #2757, where Configure checks that perform a check which reads a modified source (including program, source or header file(s)) would incorrectly mark that file "up to date" so the actual build would not see the file as modified. Leading to incorrect incremental builds. Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for the real taskmaster run when the build commences. - Avoid returning UniqueList for `children` and other `Executor` APIs. This type iterates more slowly than the builtin types. Also simplify uniquer_hashables to use an faster implementation under the assumption of ordered dictionaries. - Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe. - Run LaTeX after biber/bibtex only if necessary - Added -fsanitize support to ParseFlags(). This will propagate to CCFLAGS and LINKFLAGS. - A list argument as the source to the Copy() action function is now correctly handled by converting elements to string. Copy errors out if asked to copy a list to an existing non-directory destination. Both the implementation and the strfunction which prints the progress message were adjusted. Fixes #3009. - doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and SConscriptChdir are now listed as Global functions only; the Environment versions still work but are not documented. - The Java scanner processing of JAVACLASSPATH for dependencies was changed to split on os.pathsep instead of space, to match usage of passing a path string like "xxx:yyy:zzz". This is not portable - passing a POSIX-style path string (with ':') won't work on Windows (';') - which is now documented with a hint to use a list instead to be portable. Splitting on space broke paths with embedded spaces. Fixes #4243. - Cleanup: make sure BoolVariable usage in tests and examples uses Python boolean values instead of 0/1. - Stop telling people to run "python setup.py install" in the User Guide. Adds new content on using virtualenvs to be able to have multiple different SCons versions available on one system. - Added the "DefaultEnvironment(tools=[])" stanza to a number of tests that are known to be particularly slow. It's still just a tiny speedup, but the Windows CI had been occasionally timing out, so maybe this helps a bit. - Remove an extra existence check in one ninja test that caused it to be skipped on some otherwise-valid Windows installations. - test framework tests now pass on Linux and Windows (the latter can still run into problems on some configurations), and automated tests are now run on changes in this area so future problems can be spotted. - The single-file Util module was split into a package with a few functional areas getting their own files - Util.py had grown to over 2100 lines. - Add a zipapp package of scons-local: can use SCons from a local file which does not need unpacking. - Additional explanations for MSVSProject and MSVSSolution builders. - Fix a problem (present in 4.4.0 only) where a Java inner class could not be cached because the emitted filename contained a '$' and when looked up through a node ended up generating a Python SyntaxError because it was passed through scons_subst(). - Have the gfortran tool do a better job of honoring user preferences for the dialect tools (F77, F90, F03 and F09, as well as the shared-library equivalents SHF77, SHF90, SHF03, SHF09). Previously these were unconditionally overwritten to 'gfortran'; the change should be more in line with expectations of how these variables should work. Also cleaned a few Fortran tests - test behavior does not change. - Updated MSVC documentation - adds "version added" annotations on recently added construction variables and provides a version-mapping table. - Add Python 3.12 support, and indicate 3.11/3.12 support in package. 3.12 is in alpha for this SCons release, the bytecode sequences embedded in SCons/ActionTests.py may need to change later, but based on what is known now, 3.12 itself should work with this release. - Add "append" keyword argument to Configure context's CheckLib and CheckLibWithHeader to control whether to append or prepend (issue #2767) Also added "unique" keyword, to control whether a library is added or not if it is already in the $LIBS construction var in the configure context. (issue #2768). - Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique This change fixes the following GH Issues: - GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same - GH Issue #4254 - Make handling tuples in CPPDEFINES consistent. - We no longer sort the keys added to CPPDEFINES by their dictionary keys. We take advantage that their order is now stable based on insertion order in Python 3.5+ - Added/modifed unit and system tests to verify these changes. (From OE-Core rev: 158785d12a18e221be4a1fa35851c35214eee591) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: upgrade 7.2.1 -> 7.2.2Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* python3-poetry-core: upgrade 1.5.1 -> 1.5.2Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | 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>
* python3-setuptools: upgrade 67.4.0 -> 67.6.0Wang Mingyu2023-03-161-1/+1
| | | | | | | | | | | | | | | 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>
* python3-git: upgrade 3.1.30 -> 3.1.31Wang Mingyu2023-03-061-1/+1
| | | | | | | | (From OE-Core rev: 85f0b71edc205dab732325eae46a1c1232b29e82) 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>
* python3-setuptools: upgrade 67.3.3 -> 67.4.0Wang Mingyu2023-03-061-1/+1
| | | | | | | | | | | | | Changelog: ============ * #3832: Update vendored "importlib-metadata" (to 6.0.0) and "importlib-resources" (to 5.10.2) (From OE-Core rev: 7aff7084296130b47d968b9ad353422a8960f377) 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>
* python3-cryptography(-vectors): upgrade 39.0.1 -> 39.0.2Wang Mingyu2023-03-062-2/+2
| | | | | | | | | | | | | 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>
* python3-babel: upgrade 2.11.0 -> 2.12.1Tim Orling2023-03-031-2/+2
| | | | | | | | | | | | | | | | | | 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>
* python3-hypothesis: upgrade 6.68.1 -> 6.68.2Tim Orling2023-03-031-1/+1
| | | | | | | | | | | | | | | 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>
* python3-zipp: upgrade 3.14.0 -> 3.15.0Tim Orling2023-03-011-1/+1
| | | | | | | | | | | | | | | | https://zipp.readthedocs.io/en/latest/history.html#v3-15-0 v3.15.0 (24 Feb 2023) * gh-102209: test_implied_dirs_performance now tests measures the time complexity experimentally. Reference: https://github.com/python/cpython/issues/102209 (From OE-Core rev: 1cb64a5b6a950eb7f7c72125c5741fdafe236f0b) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 9.0.0 -> 9.1.0Tim Orling2023-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-setuptools: upgrade 67.3.1 -> 67.3.3Wang Mingyu2023-02-241-1/+1
| | | | | | | | | | | | | | Changelog: ========== #3820: Restore quoted #include argument to has_function. #3827: Improve deprecation warning message on pkg_resources.declare_namespace to display package name. (From OE-Core rev: de8e7e0c2cbd558678ee59fae8b0024c6d0a7b9a) 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>
* python3-zipp: upgrade 3.13.0 -> 3.14.0Wang Mingyu2023-02-241-1/+1
| | | | | | | | | | | 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>
* python3-pytest-subtests: upgrade 0.9.0 -> 0.10.0Wang Mingyu2023-02-241-1/+1
| | | | | | | | | | | | | | 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>
* python3-poetry-core: upgrade 1.5.0 -> 1.5.1Wang Mingyu2023-02-241-1/+1
| | | | | | | | | | | Changelog: Improve performance by caching parsed markers, constraints and versions (#556). (From OE-Core rev: 9a8e7c4eb78b7615bae48050c278391e2b768adf) 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>
* python3-pip: update 23.0 -> 23.0.1Wang Mingyu2023-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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>
* python3-pytest: set RDEPENDS globally, not just targetRoss Burton2023-02-241-1/+1
| | | | | | | | | | | 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>
* python3-iniconfig: add BBCLASSEXTENDRoss Burton2023-02-241-0/+2
| | | | | | | | | | Needed to build a native python3-pytest. (From OE-Core rev: ae25f70557a31f26b78b70268dca9e01ef4b9ea8) 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>
* python3-atomicwrites: add BBCLASSEXTENDRoss Burton2023-02-241-0/+2
| | | | | | | | | | Needed to build a native python3-pytest. (From OE-Core rev: b2ebb8f44f12b39601cb1cedb54b8b5c4050dd5b) 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>
* python3-hatchling: upgrade 1.12.2 -> 1.13.0Alexander Kanavin2023-02-201-1/+1
| | | | | | | | (From OE-Core rev: c55010f01d8b5f01ba43600f1f9485692e54997a) 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>
* python3-setuptools: upgrade 67.2.0 -> 67.3.1Alexander Kanavin2023-02-202-2/+2
| | | | | | | | (From OE-Core rev: 7863a647088d845dab284b6f50bbcc1f5efe8442) 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>
* python3: upgrade 3.11.1 -> 3.11.2Alexander Kanavin2023-02-204-6/+6
| | | | | | | | | | License-Update: copyright years (From OE-Core rev: fc04712bb3fd0a7bbb8d7102a2ffe686e448d6bb) 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>
* python3-numpy: upgrade to 1.24.2Martin Jansa2023-02-192-79/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: https://github.com/numpy/numpy/commit/640e85017aa8eac3e9be68b475acf27d623b16b7 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>