It appears that this package has never required the `py` module.
(From OE-Core rev: 98e07bf4824059c2efd8778969398cfe102d2ac7)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before
then it was only needed with Python 2.
(From OE-Core rev: 6b981b6fe196b6ea4a4b966149f2954ddd047903)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make it clear that this is an alternative to the format PACKAGECONFIG,
rename it to format-nongpl.
(From OE-Core rev: 56eaa1c074282774c5cf7dc2f8a4b3c4eac4179c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
importlib.metadata is part of -core, but that will import zipfile which
is part of -compression.
Obviously this shows that our packaging of the Python modules is not
optimal. I plan to follow up with a redesign of the splitting which
focuses on simply pulling out the larger or esoteric modules and
having a more featureful core.
(From OE-Core rev: 0f8d985b290def1fbb356aede152a10424c9d2f1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are still issues with importlib.metadata and empty directories,
which surface when doing builds with existing build trees.
I've raised this on the upstream ticket that Alex Kanavin has already
filed[1] so hopefully we can have a resolution soon.
This reverts commit 058c3a6e2b.
[1] https://github.com/python/importlib_metadata/issues/489
(From OE-Core rev: 020c9438fa4d90824dcf7068ccf3722b3b7b8ccf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-ctypes was dropped as a dependency in v19.2.0
(From OE-Core rev: 8d06116caf2382ad4782b9b2da50534d076a736d)
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.105.1 - 2024-07-07
- This patch iterates on our experimental support for alternative backends (Alternative backends for Hypothesis). See pull request #4029 for details.
6.105.0 - 2024-07-04
- This release improves support for Django 5.0, and drops support for end-of-life Django versions (< 4.2).
- Thanks to Joshua Munn for this contribution.
6.104.4 - 2024-07-04
- Clean up internal cache implementation.
6.104.3 - 2024-07-04
- This patch updates our autoformatting tools, improving our code style without any API changes.
6.104.2 - 2024-06-29
- This patch fixes an issue when realizing symbolics with our experimental backend setting.
6.104.1 - 2024-06-25
- Improves internal test coverage.
6.104.0 - 2024-06-24
- This release adds strategies for Django’s ModelChoiceField and ModelMultipleChoiceField (issue #4010).
- Thanks to Joshua Munn for this contribution.
6.103.5 - 2024-06-24
- Fixes and reinstates full coverage of internal tests, which was accidentally disabled in pull request #3935.
- Closes issue #4003.
6.103.4 - 2024-06-24
- This release prevents a race condition inside internal cache implementation.
6.103.3 - 2024-06-24
- This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.
(From OE-Core rev: 9b0e9fbf23e5ac53f8eda76ca2f9af904f6fa1cd)
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>
Changelog:
==========
- Fix Surface.set_mime_data() with Python 3.13
- Fix the test suite with Python 3.13b2.
- Update vendored Windows wheel dependencies
(From OE-Core rev: 26daeaa17a77ff6931126c340fce867f8340cca9)
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:
============
- Initial iOS support
- Remove old import hook in #2105, use maturin-import-hook instead
- Bump MSRV to 1.74.0
- Add support for overriding wheel tag with _PYTHON_HOST_PLATFORM
- Don't add files to an archive more than once
- Only use base python executable when MATURIN_PEP517_USE_BASE_PYTHON is set
(From OE-Core rev: d0c4ce388721a47608abc4d908e266ea969a0161)
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:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.
(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)
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:
==========
- The macos-max-compat option for the wheel target is now disabled by default
and will be removed in a future release
- Artifacts for the wheel and sdist targets now have their permission bits
normalized
- Ignore manylinux/musllinux tags for the wheel target artifact name when
enabling the infer_tag build data
- The wheel target build data infer_tag when enabled now respects the
MACOSX_DEPLOYMENT_TARGET environment variable
(From OE-Core rev: 280afa3e5e3157429f8f33f89045cc934bb5e655)
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:
==========
- Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
- Bump actions/checkout from 4.1.6 to 4.1.7
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0
(From OE-Core rev: c572b0afd889ea22b5d229a2d7efca9cef9b0926)
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 currently puts a 60MB binary into the recipe sysroots in the native
case as well as the implications for the target. Since as far as I know,
we don't need/use this, stop generating it by adding a PACKAGECONFIG. It
can be enabled by anyone who does actually need to use it.
(From OE-Core rev: e42abd3b82c7bac93541b2cf87b553c1a31346cd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when compiling a non native variant, latest update
introduced package-qa errors like
ERROR: QA Issue: .../docutils/utils/smartquotes.py contained in package
nativesdk-python3-docutils requires /usr/bin/python3, but no providers
found in RDEPENDS:nativesdk-python3-docutils? [file-rdeps]
Fix that by patching the interpreter lines after install
(From OE-Core rev: f0037d2b2a4b72f279f3fe60c82d4b4044cbc6d5)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.
Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.
Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.
(From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/python/importlib_metadata/issues/489
Upstream discussion revealed that:
- the issue was happening due to a bug in setuptools
- the bug was fixed in setuptools 63 (I confirmed this: empty dist-info
directories no longer seem to trigger any issues if the patch is dropped)
- the patch would obscure any further issues of this kind instead of exposing them
for easy fixing, so they suggest we drop it and report if anything else pops up
(From OE-Core rev: 1a4f25abf29b47949782641c68cc7d3e4136988a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2to3 module was dropped as a dependency in setuptools 58.0
(From OE-Core rev: be952c7b370b064673331e40b4dc0836c9c0b153)
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the Python package 'zipfile' was missing.
root@qemux86-64:~# python3 clTraceback (most recent call last):
File "/home/root/server.py", line 4, in <module>
from websockets.server import serve
File "/usr/lib/python3.12/site-packages/websockets/__init__.py", line 6, in <module>
from .version import version as __version__ # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/websockets/version.py", line 3, in <module>
import importlib.metadata
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 8, in <module>
import zipfile
ModuleNotFoundError: No module named 'zipfile'
(From OE-Core rev: 2b70884c4c9406084c690b6090810494e91dca37)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also add python3-json and python3-compression to RDEPENDS so that the
module imports correctly.
Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS):
- Treat methodName="runTest" similar to unittest.TestCase,
fixes compatibility with pytest 8.3. (Natanael Copa, #372)
- Format with ``ruff format``. (Jelmer Vernooij)
- Use ruff for linting. (Jelmer Vernooij)
- Fix compatibility with Python 3.12.1. (Matthew Treinish)
- Deprecate SkippedTest exception. (Stephen Finucane)
- Drop support for Python 3.7. (Jelmer Vernooij)
(From OE-Core rev: 8e68feaee2dcaa5c0d7fdb829fae47f7858dc07b)
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>
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.103.2 - 2024-06-14
- This patch improves our deduplication tracking across all strategies (pull request #4007). Hypothesis is now less likely to generate the same input twice.
6.103.1 - 2024-06-05
- Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors as seen in issue #3975.
- Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9 (pull request #3890).
(From OE-Core rev: fe8a9ef0a6159633479b2e73ecb721cd8b854992)
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 test is causing problems on the Autobuilder, so disable it for now.
(From OE-Core rev: ac000b00ec615b3e51dda8d819015d5e7110ed88)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are causing hangs on the Autobuilder, so disable them for
now.
(From OE-Core rev: 291f37808f1a2b2fdc8190696867f974994457c0)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md
Release 4.12.2 (June 7, 2024)
* Add typing_extensions.get_annotations, a backport of
inspect.get_annotations that adds features specified by PEP 649. Patch
by Jelle Zijlstra.
* Fix regression in v4.12.0 where specialization of certain generics with
an overridden __eq__ method would raise errors. Patch by Jelle Zijlstra.
* Fix tests so they pass on 3.13.0b2
Release 4.12.1 (June 1, 2024)
* Preliminary changes for compatibility with the draft implementation of
PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
* Fix regression in v4.12.0 where nested Annotated types would cause
TypeError to be raised if the nested Annotated type had unhashable
metadata. Patch by Alex Waygood.
Release 4.12.0 (May 23, 2024)
* This release is mostly the same as 4.12.0rc1 but fixes one more
longstanding bug.
* Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8
and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"),
typing.TypeVar) would have a different result in some situations
depending on whether or not a profiling function had been set using
sys.setprofile. Patch by Alex Waygood.
https://github.com/python/typing_extensions/compare/4.11.0...4.12.2
(From OE-Core rev: ca85febfc97459f04c178a870e064170ba3f1e27)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://requests.readthedocs.io/en/latest/community/updates/#release-history
2.32.3 (2024-05-29)
* Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
in sub-classes of HTTPAdapter. (#6716)
* Fixed issue where Requests started failing to run on Python versions
compiled without the ssl module. (#6724)
2.32.2 (2024-05-21)
* Deprecations - To provide a more stable migration for custom HTTPAdapters
impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of
Requests>=2.32.0.
* A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
https://github.com/psf/requests/compare/v2.32.1...v2.32.3
(From OE-Core rev: 8ed50a4e723fce8fb4e51463f1316c0d500e5476)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
What's Changed
- pyupgrade/black/isort/flake8 → ruff by @DimitriPapadopoulos in #769
- Add support for Python 3.13 and drop EOL 3.7 by @hugovk in #783
- Bump the github-actions group with 4 updates by @dependabot in #782
- Fix typo in _parser docstring by @pradyunsg in #784
- Modernise type annotations using FA rules from ruff by @pradyunsg
in #785
- Document markers.default_environment() by @edgarrmondragon in #753
- Bump the github-actions group with 3 updates by @dependabot in #789
- Work around platform.python_version() returning non PEP 440 compliant
version for non-tagged CPython builds by @sbidoul in #802https://github.com/pypa/packaging/compare/24.0...24.1
(From OE-Core rev: fe1fac5e49308a64c1a1c90e0e892203514a9ba9)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0https://more-itertools.readthedocs.io/en/stable/versions.html
10.3.0
* New functions
- powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
- join_mappings() (thanks to NeilGirdhar and rhettinger)
- doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
- unique() (thanks to rhettinger)
* Changes to existing functions
- collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
- totient() was optimized (thanks to rhettinger)
- roundrobin() was updated and improved (thanks to rhettinger)
- all_equal() now accepts a key parameter.
- The docs for value_chain() were improved (thanks to bjrtx)
- The type annotations for countable were improved (thanks to aidanholm)
* Other changes
- Unit tests were improved (thanks to haukex)
- Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)
(From OE-Core rev: 3a15dc1e34625523f4aa87b9483bb6304682d0ab)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog (https://docs.pytest.org/en/stable/changelog.html):
Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
(From OE-Core rev: e875ac5114eaf6582dfba93802e2e0144c08aeaa)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Override S and PYPI_SRC_URI as upstream tarball is now "babel"
instead of "Babel", but we still need PYPI_PACKAGE to be "Babel"
for the upstream version check to work.
What's Changed
* Drop support for Python 3.7 (EOL since June 2023) by @akx in #1048
* Upgrade GitHub Actions by @cclauss in #1054
* Improve .po IO by @akx in #1068
* Use CLDR 44 by @akx in #1071
* Allow alternative space characters as group separator when parsing
numbers by @ronnix in #1007
* Include Unicode license in locale-data and in documentation by @akx
in #1074
* Encode support for the "fall back to short format" logic for time
delta formatting by @akx in #1075
* Prepare for 2.15.0 release by @akx in #1079https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0
License-Update: copyright years
(From OE-Core rev: d00b0dad53992fc44ae2bfb6031932d678590ebc)
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>
License-Update: Change from PSF 2.x to ZPL-2.1, add CC0
A few notable things change with this upgrade:
- docutils now uses the Zope 2.1 license instead of PSF 2.1.1
- It now uses flit as the build backend
- The do_install append is no longer needed, as the rst2* endpoints
lacking the .py extension are included
- python3-pprint is added to RDEPENDS
Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html
(From OE-Core rev: 38f2293304fbd884d4653f7746bc1d5a9bac12c1)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no python-cython recipe in core, so merge the .bb and .inc.
(From OE-Core rev: 6c2cf318289cbd8c2732f8f7ddaa6750ab0f0276)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the default value, so remove it.
(From OE-Core rev: e665d9831f9dc300def0955a1431ae110c8e8189)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix brought by this patch is already part of python 3.12.3
therefore drop it.
(From OE-Core rev: c029da173044c58169484ba220f7d8afeaec3063)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Refresh python3-maturin-crates.inc
1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0
(From OE-Core rev: 6bfea504150466bb04c47eee834bdcc2c622f26e)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are three releases since 6.102.4.
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):
6.103.0 - 2024-05-29
- This release migrates the shrinker to our new internal representation,
called the IR layer (pull request #3962). This improves the shrinker’s
performance in the majority of cases. For example, on the Hypothesis
test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
certain strategies. If you encounter strategies which reliably shrink
more slowly than they used to (or shrink slowly at all), please open
an issue!
- You can read more about the IR layer at issue #3921.
6.102.6 - 2024-05-23
- This patch fixes one of our shrinking passes getting into a rare O(n)
case instead of O(log(n)).
6.102.5 - 2024-05-22
- This patch fixes some introspection errors new in Python 3.11.9 and
3.13.0b1, for the Ghostwriter and from_type().
(From OE-Core rev: fc78eccf808014e60bc56bd7966ab00e5a7f9a80)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to use flit core since upstream changed.
They also changed the capitalisation under pypi.
The license didn't change but the file was renamed, probably as it wasn't
rst.
(From OE-Core rev: e352680528b18c3cdae26233bef7cddc2771d42d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add RDEPENDS for ptest from tests/requirements.txt
* Tests take ~14 seconds, so add to PTEST_FAST
(From OE-Core rev: 6a1c551629defd3c241b30452496c580501dc781)
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>