summaryrefslogtreecommitdiffstats
path: root/meta-python
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-pandas: Downgrade version check for numpy to 1.xKhem Raj2024-08-242-0/+28
| | | | | | Helps it build with PEP-517 backend Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pandas: upgrade 2.0.3 -> 2.2.2Trevor Gamblin2024-08-232-2/+43
| | | | | | | | | | | | | | | | | pandas 2.2.2 is the first version compatible with numpy 2.0.x. The package now uses meson as the build backend, so change the recipe to inherit that. Its pyproject.toml pins required versions for Cython and meson, but newer upstream pandas releases are using different versions and compatibility strings, so just add an OE-specific patch to relax the requirements a bit for us. Changelog: https://pandas.pydata.org/pandas-docs/version/2.2.2/whatsnew/v2.2.2.html Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-automat: upgrade 22.10.0 -> 24.8.1Guðni Már Gilbert2024-08-231-7/+2
| | | | | | | | | | There is no changelog but there are few improvements relevant for the build: - python3-six and python3-attrs are no longer dependencies - We can start using python_setuptools_build_meta - PYPI_PACKAGE doesn't need to be overridden since the default is now the correct ('automat' instead of 'Automat') Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: add python3-attrs to RDEPENDSGuðni Már Gilbert2024-08-221-0/+1
| | | | | | | | | | | | | | | | | | This fixes the following issue: python3[677]: Traceback (most recent call last): python3[677]: File "/usr/lib/python3.12/site-packages/myownscript.py", line 9, in <module> python3[677]: from twisted.internet import defer python3[677]: File "/usr/lib/python3.12/site-packages/twisted/internet/defer.py", line 44, in <module> python3[677]: import attr python3[677]: ModuleNotFoundError: No module named 'attr' Currently python3-attrs is provided indirectly by python3-automat. But when python3-automat is updated to >= 24.8.1, python3-attrs is no longer indirectly provided. The twisted recipe must declare the dependency on python3-attrs. Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyproj: Remove absolute paths from cython generated .c filesKhem Raj2024-08-211-0/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyproj: Fix buildpaths QA ErrorKhem Raj2024-08-192-0/+20
| | | | | | | | | | | This error is due to absolute paths leaking into ELF files due to -rpath option in compiler cmdline, therefore patch them out. Apply patch [1] from Debian [1] https://sources.debian.org/data/main/p/python-pyproj/3.6.1-4/debian/patches/rpath.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-kivy: Remove buildpaths from comments in generated C sourcesKhem Raj2024-08-151-0/+7
| | | | | | | | | | | | | Cython does not provide a direct option to disable or customize the metadata written in the generated C files. The metadata includes information like the Cython version and absolute paths to the original Cython files, which can be problematic for doing reproducible builds Therefore edit out these comments from the cython generated C files they are nicely tucked between two known tags at the top of file. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-astroid: Upgrade 3.2.4 -> 3.3.2Leon Anavi2024-08-151-1/+1
| | | | | | | | | | | | | | | | | Upgrade to release 3.3.2: - Restore support for soft-deprecated members of the typing module with python 3.13. - Fix a crash introduced in 3.3.0 involving invalid format strings. - Add support for Python 3.13. - Remove support for Python 3.8 (and constants PY38, PY39_PLUS, and PYPY_7_3_11_PLUS). - Add the __annotations__ attribute to the ClassDef object model. - Implement inference for JoinedStr and FormattedValue - Add support for ssl.OP_LEGACY_SERVER_CONNECT (new in Python 3.12) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-path: Upgrade 16.14.0 -> 17.0.0Leon Anavi2024-08-151-2/+2
| | | | | | | | | | | | Upgrade to release 17.0.0: - Removed deprecated behaviors. - Removed crufty manifest.in. - Removed crufty Dockerfile. - Moved tests to tests directory. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-dirty-equals: Upgrade 0.7.1 -> 0.8.0Leon Anavi2024-08-151-2/+7
| | | | | | | | | | | | | | | Upgrade to release 0.8.0: - set requires-python to 3.8 - use zoneinfo instead of pytz where possible - No need to call datetime.replace for utc_now - Patch pprint to make pytest diffs nicer for big objects - uprev test, lint and docs dependencies - Support Python 3.13 - Uprev version Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0Leon Anavi2024-08-141-4/+1
| | | | | | | | | | | Upgrade to release 2.20.0. Added validations at compile time: - required must have unique items - checking if schema is not allowing required items (item is required, but is not listed in properties) Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-soupsieve: Upgrade 2.5 -> 2.6Leon Anavi2024-08-141-2/+7
| | | | | | | | | | | | | | | Upgrade to release 2.6: - Add official support for Python 3.13. - Add support for & as scoping root per the CSS Nesting Module, Level 1. When & is used outside the context of nesting, it is treated as the scoping root (equivalent to :scope). - Improve error message when an unrecognized pseudo-class is used. License-Update: Update years. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-watchdog: Upgrade 4.0.1 -> 4.0.2Leon Anavi2024-08-141-1/+1
| | | | | | | | | | | | | | | | | Upgrade to release 4.0.2: - Add support for Python 3.13 - [core] Run ruff, apply several fixes - [core] Remove execution rights from events.py - [documentation] Update PatternMatchingEventHandler docstrings - [documentation] Simplify the quickstart example - [fsevents] Add missing event_filter keyword-argument to FSEventsObserver.schedule() - [utils] Fix a possible race condition in AutoRestartTrick - [watchmedo] Remove execution rights from watchmedo.py Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-aiohttp: Upgrade 3.10.1 -> 3.10.3Leon Anavi2024-08-131-1/+1
| | | | | | | | | | | | | | | | | | Upgrade to release 3.10.3: - Fixed multipart reading when stream buffer splits the boundary over several read() calls - Fixed :py:class:aiohttp.TCPConnector doing blocking I/O in the event loop to create the SSLContext - Improved performance of :py:meth:~aiohttp.ClientWebSocketResponse.receive and :py:meth:~aiohttp.web.WebSocketResponse.receive when there is no timeout - Improved performance of starting request handlers with Python 3.12+ - Improved performance of HTTP keep-alive checks - Improved performance of generating random WebSocket mask Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-imageio: Upgrade 2.34.2 -> 2.35.0Leon Anavi2024-08-131-1/+1
| | | | | | | | | Upgrade to release 2.35.0: - Ensure video stream is closed when closing the pyAV plugin Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apispec: Upgrade 6.4.0 -> 6.6.1Leon Anavi2024-08-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | Upgrade to release 6.6.1: - Add IP fields to DEFAULT_FIELD_MAPPING (:pr:`892) to document format - MarshmallowPlugin: Fix handling of Nested fields with allow_none=True The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fixes: WARNING: python3-apispec-6.6.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with flit_core.buildapi, use the correct class [pep517-backend] License-Update: Remove years from LICENSE Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-transitions: Upgrade 0.9.1 -> 0.9.2Leon Anavi2024-08-121-1/+1
| | | | | | | | | | | | | | | | | | | Upgrade to release 0.9.2: - Bug: Decorate models appropriately when HierarchicalMachine is passed to add_state - Bug: Let may_<trigger> check all parallel states in processing order - Bug: HSM.is_state works with parallel states now - Feature: Add may_trigger to models to check whether transitions can be conducted by trigger name - Feature: Add Mermaid diagram backend that returns a mermaid diagram as a string. use_pygraphviz is deprecated in favour for graph_engine which may be pygraphviz (default), graphviz or mermaid Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-prettytable: Upgrade 3.10.2 -> 3.11.0Leon Anavi2024-08-121-1/+1
| | | | | | | | | | | Upgrade to release 3.11.0: - Attest build provenance of artifacts - Add field selection to CSV and JSON outputs - Add options to disable escaping HTML tables Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-daemon: Fix build with PEP-575 build backendKhem Raj2024-08-102-1/+46
| | | | | | Apply required backports Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-incremental: drop python3-twisted-core from RDEPENDSGuðni Már Gilbert2024-08-101-1/+0
| | | | | | | | | More specifically drop python3-twisted-core from RDEPENDS:incremental-scripts This is a change made in incremental 24.7.0 Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-twisted: upgrade 24.3.0 -> 24.7.0Guðni Már Gilbert2024-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: Twisted 24.7.0 (2024-08-08) =========================== 24.7.0.rc2 fixed an unreleased regression caused by PR 12109. (#12279) No other changes since 24.7.0.rc2 Security Advisories ------------------- - twisted.web.util.redirectTo now HTML-escapes the provided URL in the fallback response body it returns (GHSA-cf56-g6w6-pqq2, CVE-2024-41810). (#9839) - The HTTP 1.0 and 1.1 server provided by twisted.web could process pipelined HTTP requests out-of-order, possibly resulting in information disclosure (CVE-2024-41671/GHSA-c8m8-j448-xjx7) (#12248) Features -------- - twisted.protocols.ftp now supports the IPv6 extensions defined in RFC 2428. (#9645) - twisted.internet.defer.inlineCallbacks can now yield a coroutine. (#9972) - twisted.python._shellcomp.ZshArgumentsGenerator was updated for Python 3.13. (#12065) - twisted.web.wsgi request environment now contains the peer port number as `REMOTE_PORT`. (#12096) - twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage. (#12122) - Added two new methods, twisted.logger.Logger.failuresHandled and twisted.logger.Logger.failureHandler, which allow for more concise and convenient handling of exceptions when dispatching out to application code. The former can arbitrarily customize failure handling at the call site, and the latter can be used for performance-sensitive cases where no additional information needs to be logged. (#12188) - twisted.internet.defer.Deferred.addCallback now runs about 10% faster. (#12223) - twisted.internet.defer.Deferred error handling is now faster, taking 40% less time to run. (#12227) Bugfixes -------- - twisted.internet.ssl.Certificate.__repr__ can now handle certificates without a common name (CN) in the certificate itself or the signing CA. (#5851) - Type annotations have been added to twisted.conch.interfaces.IKnownHostEntry and its implementations, twisted.conch.client.knownhosts.PlainHost and twisted.conch.client.knownhosts.HashedHost, correcting a variety of type confusion issues throughout the conch client code. (#9713) - twisted.python.failure.Failure once again utilizes the custom pickling logic it used to in the past. (#12112) - twisted.conch.client.knownhosts.KnownHostsFile.verifyHostKey no longer logs an exception when automatically adding an IP address host key, which means the interactive `conch` command-line no longer will either. (#12141) Improved Documentation ---------------------- - The IRC server example found in the documentation was updated for readability. (#12097) - Remove contextvars from list of optional dependencies. (#12128) - The documentation for installing Twisted was moved into a single page. (#12145) - The project's compatibility policy now clearly indicates that the GitHub Actions test matrix defines the supported platforms. (#12167) - Updated imap4client.py example, it no longer references Python 2. (#12252) Deprecations and Removals ------------------------- - twisted.internet.defer.returnValue has been deprecated. You can replace it with the standard `return` statement. (#9930) - The `twisted-iocpsupport` is no longer a hard dependency on Windows. The IOCP support is now installed together with the other Windows soft dependencies via `twisted[windows-platform]`. (#11893) - twisted.python.deprecate helper function will now always strip whitespaces from the docstrings. This is done to have the same behaviour as with Python 3.13. (#12063) - twisted.conch.manhole.ManholeInterpreter.write, twisted.conch.manhole.ManholeInterpreter.addOutput, twisted.mail.imap4.IMAP4Server.sendUntaggedResponse `async` argument, deprecated since 18.9.0, has been removed. (#12130) - twisted.web.soap was removed. The SOAP support was already broken, for at least the last 4 years. The SOAP support in Twisted has no active maintainer. (#12146) Misc ---- - #11744, #11771, #12113, #12154, #12169, #12179, #12193, #12195, #12197, #12215, #12221, #12243, #12249, #12254, #12259, #12669 Conch ----- Bugfixes ~~~~~~~~ - twisted.conch.insults.window.Widget.functionKeyReceived now dispatches functional key events to corresponding `func_KEYNAME` methods, where `KEYNAME` can be `F1`, `F2`, `HOME`, `UP_ARROW` etc. This is a regression introduced with #8214 in Twisted 16.5.0, where events changed from `const` objects to bytestrings in square brackets like `[F1]`. (#12046) Web Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-incremental: upgrade 22.10.0 -> 24.7.2Wang Mingyu2024-08-101-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-gevent: switch to PEP-517 build backendalperak2024-08-101-2/+2
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-gevent-24.2.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-greenlet: switch to PEP-517 build backendalperak2024-08-101-1/+3
| | | | | | | | | | | | | - The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. - python3-greenlet was supposed to be native because of the python3-gevent build. It's python3-gevent's dependency. Fix: WARNING: python3-greenlet-3.0.3-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-django-5.0.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-py-cpuinfo: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-py-cpuinfo-9.0.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyasn1-modules: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-pyasn1-modules-0.4.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyjwt: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-pyjwt-2.8.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyroute: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-pyroute2-0.7.12-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-metadata: switch to PEP-517 build backendalperak2024-08-101-3/+1
| | | | | | | | | | | | | - The project has a proper pyproject.toml which declares the poetry.core.masonry.api PEP-517 backend. - The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-metadata, it is by default. Fix: WARNING: python3-pytest-metadata-2.0.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with poetry.core.masonry.api, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-timeout: switch to PEP-517 build backendalperak2024-08-101-3/+1
| | | | | | | | | | | | | - The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. - The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as pytest-timeout, it is by default. Fix: WARNING: python3-pytest-timeout-2.3.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-regex: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-regex-2024.7.24-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-parse-type: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-parse-type-0.6.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-service-identity: switch to PEP-517 build backendalperak2024-08-101-1/+1
| | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fix: WARNING: python3-service-identity-21.1.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-argcomplete: Upgrade 3.4.0 -> 3.5.0Leon Anavi2024-08-091-1/+1
| | | | | | | | | | Upgrade to release 3.5.0: - Use project.scripts instead of setuptools scripts - Test infrastructure improvements Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-argcomplete: switch to PEP-517 build backendLeon Anavi2024-08-091-1/+5
| | | | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fixes: WARNING: python3-argcomplete-3.4.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-qface: Upgrade 2.0.10 -> 2.0.11Leon Anavi2024-08-091-1/+1
| | | | | | | | | Upgrade to release 2.0.11: - More pathlib related fixes Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sniffio: Upgrade 1.3.0 -> 1.3.1Leon Anavi2024-08-091-1/+10
| | | | | | | | | Upgrade to release 1.3.1: - Added missing thread_local to sniffio.__all__ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sniffio: witch to PEP-517 build backendLeon Anavi2024-08-091-1/+1
| | | | | | | | | | | | | The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fixes: WARNING: python3-sniffio-1.3.1-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0Leon Anavi2024-08-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 2.2.0: - Drop support for Python 3.7 - Use modern packaging metadata with pyproject.toml instead of setup.cfg - Use flit_core instead of setuptools as build backend - Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("itsdangerous"), instead. - Serializer and the return type of dumps is generic for type checking. By default it is Serializer[str] and dumps returns a str. If a different serializer argument is given, it will try to infer the return type of its dumps method. - The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default. License-Update: Renamed from LICENSE.rst to LICENSE.txt Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: backport patchTim Orling2024-08-092-0/+59
| | | | | | | | | | | | | | We've seen TMPDIR [build-paths] contamination in the built pydantic_core/_pydantic_core.cpython-*-*-linux-gnu.so See discussion upstream in: https://github.com/pydantic/pydantic-core/issues/1365 Backport fix from: https://github.com/pydantic/pydantic-core/commit/e07c41b3bad75948201a2201387225694c2fb501 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: upgrade 2.7.3 -> 2.8.2Tim Orling2024-08-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set RECIPE_NO_UPDATE_REASON because of issues we have been having with getting out of sync with required python3-pydantic-core version * Add RDEPENDS for ptest: - python3-pydoc (for test_help cases) - python3-email-validator - The standard library provides the getpass module, we provide it in the python3-unixadmin sub-package of python3 recipe. - python3-rich Full change log: https://github.com/pydantic/pydantic/compare/v2.8.2...v2.7.3 Highlights of changes: v2.8.2 (2024-07-03) * Fix issue with assertion caused by pluggable schema validator by @dmontagu in #9838 * See https://docs.pydantic.dev/latest/changelog/#v282-2024-07-03 v2.8.1 (2024-07-03)¶ * Bump pydantic-core to v2.20.1, pydantic-extra-types to v2.9.0 by @sydney-runkle in #9832 * See https://docs.pydantic.dev/latest/changelog/#v281-2024-07-03 v2.8.0 (2024-07-01) * Bump pydantic-core to v2.20.0 by @sydney-runkle in #9745 * Add support for Python 3.13 by @sydney-runkle in #9743 * See https://docs.pydantic.dev/latest/changelog/#v280-2024-07-01 v2.7.4 (2024-06-12) * Bump pydantic.v1 to v1.10.16 reference by @sydney-runkle in #9639 * See https://docs.pydantic.dev/latest/changelog/#v274-2024-06-12 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic-core: upgrade 2.18.4 -> 2.21.0Tim Orling2024-08-093-162/+162
| | | | | | | | | | | | | | | | | | | * Refresh -crates.inc * Drop rust 1.76 to 1.75 patch, upstream reverted [1] * Add ptest RDEPENDS [2]: - python3-dateutil - python3-tzdata - python3-zoneinfo * Add python3-misc to ptest RDEPENDS as we need Lib/timeit.py Full commit log: https://github.com/pydantic/pydantic-core/compare/v2.18.4...v2.21.0 [1] https://github.com/pydantic/pydantic-core/commit/ebef5bdf92707f5e1739931150893ae6c7ccc531 [2] https://github.com/pydantic/pydantic-core/blob/v2.21.0/tests/requirements.txt Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-tzdata: enable ptestTim Orling2024-08-093-0/+18
| | | | | | | | | Add to ptest-packagelists-meta-python.inc META_PYTHON_PTESTS_FAST Install ${S}/VERSION to PTEST_PATH for test_version Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-tzdata: add recipe for v2024.1Tim Orling2024-08-091-0/+10
| | | | | | | | | | | | | | Python package providing IANA time zone data This is a Python package containing zic-compiled binaries for the IANA time zone database. It is intended to be a fallback for systems that do not have system time zone data installed (or don't have it installed in a standard location), as a part of PEP 615 https://tzdata.readthedocs.io/en/latest/ Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-tomli: add from openembedded-coreRoss Burton2024-08-091-0/+18
| | | | | | | This recipe is being removed from oe-core, so add to meta-python. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-toml: add from openembedded-coreRoss Burton2024-08-091-0/+15
| | | | | | | This recipe is being removed from oe-core, so add to meta-python. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-rfc3986-validator: add from openembedded-coreRoss Burton2024-08-092-0/+56
| | | | | | | This recipe is being removed from oe-core, so add to meta-python. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-runner: add from openembedded-coreRoss Burton2024-08-091-0/+15
| | | | | | | This recipe is being removed from oe-core, so add to meta-python. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-py: add from openembedded-coreRoss Burton2024-08-091-0/+14
| | | | | | | This recipe is being removed from oe-core, so add to meta-python. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>