This package can be built using pep517 classes now.
(From OE-Core rev: efabc00ca509b6e2f154248e7de7f6ae8babf412)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package can be built using pep517 classes now.
(From OE-Core rev: 6eec9c50f72e016a6a14616ef4eb00a367196b88)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package can be built using pep517 classes now.
(From OE-Core rev: b12da0cbaf8d738a8c12cd939f705e65b2e5d41a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there's just a single user of the include, merge them.
(From OE-Core rev: 9f88173917abdaa7334f28473a072186854ef999)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This package can be built using pep517 classes now.
(From OE-Core rev: 768cce9388520453ed161a1af3444ab45db6ec8c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we have Python 3.11+, tomllib will be used instead of python3-toml.
Use of pathlib2 was removed in 3.0.0.
(From OE-Core rev: 1d3004a1e3a1c06e10b5b3c0a912a063c218e553)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we have Python 3.11+, tomllib will be used instead of toml.
more-itertools is only used by the tests, which we don't package.
(From OE-Core rev: fe99df9f6389f4cf0b433872305d9c34d09078b3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we have Python 3.11+, tomllib will be used.
(From OE-Core rev: 524929e379f902a335aeda07dd08f026f88fc1e5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we have Python 3.11+, tomllib will be used.
(From OE-Core rev: 173fe8059cc7637c5ef2bd8a1e9448092705335a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we have Python 3.11+, tomllib will be used.
(From OE-Core rev: d1ce0b4d40c5ac598564873d892c7be74ea2528b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scons doesn't appear to have ever imported importlib_metadata.
(From OE-Core rev: 371117c5e19a2039a4ffd006994fd605f1d36ece)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
importlib-metadata is no longer needed since 0.13.0.
more-itertools has never been imported directly by pluggy but was likely
a dependency coming via more-itertools.
(From OE-Core rev: baec92933973ca49755e10f56de154dc2f80b7f0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The backport of importlib-metadata is no longer needed as we have Python
3.8+.
(From OE-Core rev: 7346481c1ec31366ca5aacaa79c377ef3fd2baa2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These parts of the standard library are imported by beartype.
(From OE-Core rev: b373c01661df245c34073acb6c962a5f6fee94de)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These modules are not imported by websockets.
(From OE-Core rev: 8fdfd92e493e89ac2f09ef29ea2b05696cec91cb)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>