Commit Graph

1809 Commits

Author SHA1 Message Date
Ross Burton
fc2cf1f819 python3-atomicwrites: use python3-unittest-automake-output
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>
2023-03-21 22:42:05 +00:00
Ross Burton
d5e7bbd147 python3-unittest-automake-output: add new recipe for ptest integration
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>
2023-03-21 22:42:04 +00:00
Ross Burton
7c171f9493 python3: add missing -modules dependencies
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>
2023-03-21 22:42:04 +00:00
Ross Burton
88b981c295 python3: missing ptest dependencies
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>
2023-03-21 22:42:04 +00:00
Ross Burton
d6b9d0bfed python3-numpy: add missing dependency for the tests
(From OE-Core rev: 3056ddfd08962114b2ee2a52bc7d421efe01bf69)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:04 +00:00
Tim Orling
033d1edc42 python3-wheel: upgrade 0.38.4 -> 0.40.0
* 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>
2023-03-17 17:17:42 +00:00
Wang Mingyu
bb839ca78d python3-urllib3: upgrade 1.26.14 -> 1.26.15
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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
6651b63d1b python3-testtools: upgrade 2.5.0 -> 2.6.0
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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
26c1576ab6 python3-scons: upgrade 4.4.0 -> 4.5.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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
ee31d67e1b python3-pytest: upgrade 7.2.1 -> 7.2.2
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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
c703be6ae8 python3-poetry-core: upgrade 1.5.1 -> 1.5.2
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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
4b9fbcaea0 python3-setuptools: upgrade 67.4.0 -> 67.6.0
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>
2023-03-16 08:13:12 +00:00
Wang Mingyu
bac739e217 python3-git: upgrade 3.1.30 -> 3.1.31
(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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
973f58762a python3-setuptools: upgrade 67.3.3 -> 67.4.0
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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
279ed7c460 python3-cryptography(-vectors): upgrade 39.0.1 -> 39.0.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>
2023-03-06 09:52:16 +00:00
Tim Orling
778e1b56ad python3-babel: upgrade 2.11.0 -> 2.12.1
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>
2023-03-03 18:03:56 +00:00
Tim Orling
bfb412e848 python3-hypothesis: upgrade 6.68.1 -> 6.68.2
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>
2023-03-03 18:03:56 +00:00
Tim Orling
b5556c9fc6 python3-zipp: upgrade 3.14.0 -> 3.15.0
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>
2023-03-01 21:29:31 +00:00
Tim Orling
e0b920483c python3-more-itertools: upgrade 9.0.0 -> 9.1.0
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>
2023-03-01 21:29:31 +00:00
Wang Mingyu
26203b0376 python3-setuptools: upgrade 67.3.1 -> 67.3.3
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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
b9f5c4e9c4 python3-zipp: upgrade 3.13.0 -> 3.14.0
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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
c830309999 python3-pytest-subtests: upgrade 0.9.0 -> 0.10.0
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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
856ac4277e python3-poetry-core: upgrade 1.5.0 -> 1.5.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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
4b6a474248 python3-pip: update 23.0 -> 23.0.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>
2023-02-24 13:31:45 +00:00
Ross Burton
2cbfc65bee python3-pytest: set RDEPENDS globally, not just target
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>
2023-02-24 13:31:45 +00:00
Ross Burton
945964ecbc python3-iniconfig: add BBCLASSEXTEND
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>
2023-02-24 13:31:45 +00:00
Ross Burton
ba068879dd python3-atomicwrites: add BBCLASSEXTEND
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>
2023-02-24 13:31:45 +00:00
Alexander Kanavin
8954cf12e2 python3-hatchling: upgrade 1.12.2 -> 1.13.0
(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>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
6b27cafdf1 python3-setuptools: upgrade 67.2.0 -> 67.3.1
(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>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
61be0742be python3: upgrade 3.11.1 -> 3.11.2
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>
2023-02-20 15:18:30 +00:00
Martin Jansa
34c454c99a python3-numpy: upgrade to 1.24.2
* 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>
2023-02-19 07:47:53 +00:00
Tim Orling
9f2def3811 python3-cryptography{-vectors}: 39.0.0 -> 39.0.1
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>
2023-02-17 18:01:01 +00:00
Tim Orling
f0c9b19a3d python3-typing-extensions: upgrade 4.4.0 -> 4.5.0
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>
2023-02-17 18:01:01 +00:00
Tim Orling
80a3cd2e92 python3-hypothesis: upgrade 6.66.0 -> 6.68.1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-0

(From OE-Core rev: 5ff9dc47f639a6360603cd3ed840e6782e18d86b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Wang Mingyu
bcc1a39451 python3-zipp: upgrade 3.12.0 -> 3.13.0
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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
efb298b83a python3-sphinx-rtd-theme: upgrade 1.1.1 -> 1.2.0
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>
2023-02-15 10:21:35 +00:00
Alexander Kanavin
3e2ef40f40 python3-pathspec: upgrade 0.10.3 -> 0.11.0
(From OE-Core rev: 7d7821cdb98570b5a2ad82fbb1b81a435159412c)

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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
090ae55e59 python3-dtschema: upgrade 2022.12 -> 2023.1
(From OE-Core rev: 30fcfefe66b4e7b48eeb80997e68e7dadfb1c94f)

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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
4f9417f592 python3-pycryptodome: upgrade 3.16.0 -> 3.17
(From OE-Core rev: f1bcadd3ab11f6b64d21805ba299391c9711e3ba)

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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
33ad198346 python3-pycryptodomex: upgrade 3.16.0 -> 3.17
(From OE-Core rev: b9d8e8a39c0c0f3fb9fb07c4d0f25eb4e7c941a9)

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>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
eef933b7de python3-setuptools: update 65.7.0 -> 67.2.0
Remove patch as file deleted upstream.

(From OE-Core rev: c335d0673167164aa7c519450f63151e4492e3eb)

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>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
1ab438d7d3 python3-pip: update 22.3.1 -> 23.0
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>
2023-02-09 09:57:24 +00:00
Tim Orling
4577e76df8 python3-sphinx: upgrade 6.0.0 -> 6.1.3
License-Update: Update copyright years

https://www.sphinx-doc.org/en/master/changes.html#release-6-1-3-released-jan-10-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-2-released-jan-07-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-1-released-jan-05-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-0-released-jan-05-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-0-1-released-jan-05-2023

(From OE-Core rev: a899974bfd4dd62ae8e89ab5bfc493d8ee706186)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Arnout Vandecappelle
7f670cf2d9 python3-pytest: Remove dependency on python3-toml
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>
2023-02-04 17:02:10 +00:00
Tim Orling
69b8b7ef1b python3-urllib3: upgrade 1.26.13 -> 1.26.14
https://github.com/urllib3/urllib3/blob/1.26.14/CHANGES.rst#12614-2023-01-11

1.26.14 (2023-01-11)
    Fixed parsing of port 0 (zero) returning None, instead of 0. (#2850)
    Removed deprecated getheaders() calls in contrib module.

(From OE-Core rev: 55ab1bf20e6893088acb6460e9004dac8e205559)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
5cba8c7e74 python3-wcwidth: upgrade 0.2.5 -> 0.2.6
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>
2023-02-04 17:02:10 +00:00
Tim Orling
2df069c725 python3-pyopenssl: upgrade 22.1.0 -> 23.0.0
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>
2023-02-04 17:02:10 +00:00
Tim Orling
db641f8ef9 python3-sphinxcontrib-htmlhelp: 2.0.0 -> 2.0.1
* 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>
2023-02-04 17:02:10 +00:00
Tim Orling
be78ee165c python3-sphinxcontrib-applehelp: 1.0.3 -> 1.0.4
* 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>
2023-02-04 17:02:10 +00:00
Tim Orling
f82d12e552 python3-requests: upgrade 2.28.1 -> 2.28.2
https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.28.2 (2023-01-12)

Dependencies
    Requests now supports charset_normalizer 3.x. (#6261)

Bugfixes
    Updated MissingSchema exception to suggest https scheme rather than
    http. (#6188)

(From OE-Core rev: 09a0a940197fc9c4fdd717aec8cd87b3db1345bb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00