Commit Graph

7016 Commits

Author SHA1 Message Date
Niko Mauno
10f1bf7d77
python3-cbor2: Sanitize recipe content
Apply suggestions to recipe content ordering and indentation style from
oe-stylize.py and also remove the duplicate DEPENDS line for
python3-setuptools-scm-native.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:07 -07:00
Niko Mauno
f4aba31f35
python3-cbor2: Fix LICENSE and LIC_FILES_CHKSUM
Both project pypi page: https://pypi.org/project/cbor2/ as well as
https://github.com/agronholm/cbor2/blob/5.6.4/LICENSE.txt state that it
is subject to MIT rather than Apache-2.0 license. Also update
LIC_FILES_CHKSUM value to reference the LICENSE.txt file from the
downloaded archive.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:07 -07:00
Niko Mauno
7bc066ef58
python3-ansi2html: Fix HOMEPAGE and LICENSE
Update HOMEPAGE to the url which old homepage address redirects to, and
change LICENSE value to match what is stated in the README file:
https://github.com/pycontribs/ansi2html?tab=readme-ov-file#license
as well as source code comment:
https://github.com/pycontribs/ansi2html/blob/v1.9.2/src/ansi2html/converter.py#L9-L12
also LICENSE file is 'LESSER' variant:
https://github.com/pycontribs/ansi2html/blob/v1.9.2/LICENSE#L1

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:07 -07:00
Niko Mauno
ee9fc17de4
python3-xlsxwriter: Fix LICENSE
According to homepage https://xlsxwriter.readthedocs.io/license.html
and pypi page https://pypi.org/project/XlsxWriter/ as well as
https://github.com/jmcnamara/XlsxWriter/blob/RELEASE_3.2.0/LICENSE.txt
the module is licensed under BSD-2-Clause.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:06 -07:00
Khem Raj
8648720c00
python3-pycocotools: Remove absolute paths from comments
_mask.c is generated by cython and encodes sourcepaths into
comments which are absolute. Edit them out.

Fixes buildpaths QA errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Khem Raj
97eee44e7d
python3-pycocotools: Downgrade numpy version needed to 1.x
This is needed for it to build with PEP-517 backend, older backend
ignored the version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Khem Raj
38ad9b2856
python3-pycocotools: Use build pep517-backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Khem Raj
bf78e13071
python3-pandas: Downgrade version check for numpy to 1.x
Helps it build with PEP-517 backend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-24 10:37:25 -07:00
Trevor Gamblin
d135ee1c0b
python3-pandas: upgrade 2.0.3 -> 2.2.2
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>
2024-08-23 22:35:11 -07:00
Guðni Már Gilbert
fc7bb876b8
python3-automat: upgrade 22.10.0 -> 24.8.1
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>
2024-08-23 22:35:10 -07:00
Guðni Már Gilbert
fd87624e03
python3-twisted: add python3-attrs to RDEPENDS
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>
2024-08-22 22:39:52 -07:00
Khem Raj
cef7568f26
python3-pyproj: Remove absolute paths from cython generated .c files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:46 -07:00
Khem Raj
45e77092f5
python3-pyproj: Fix buildpaths QA Error
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>
2024-08-19 19:18:30 -07:00
Khem Raj
bdae51c584
python3-kivy: Remove buildpaths from comments in generated C sources
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>
2024-08-15 23:20:05 -07:00
Leon Anavi
83b4b2e46b
python3-astroid: Upgrade 3.2.4 -> 3.3.2
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>
2024-08-15 10:28:12 -07:00
Leon Anavi
093b94c68a
python3-path: Upgrade 16.14.0 -> 17.0.0
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>
2024-08-15 10:28:12 -07:00
Leon Anavi
e72396ae32
python3-dirty-equals: Upgrade 0.7.1 -> 0.8.0
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>
2024-08-15 10:28:12 -07:00
Leon Anavi
8e8b0f41d8
python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0
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>
2024-08-14 08:15:18 -07:00
Leon Anavi
96e6ce6623
python3-soupsieve: Upgrade 2.5 -> 2.6
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>
2024-08-14 08:15:17 -07:00
Leon Anavi
0a63278789
python3-watchdog: Upgrade 4.0.1 -> 4.0.2
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>
2024-08-14 08:15:17 -07:00
Leon Anavi
3875295137
python3-aiohttp: Upgrade 3.10.1 -> 3.10.3
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>
2024-08-13 10:14:07 -07:00
Leon Anavi
ea6c36c590
python3-imageio: Upgrade 2.34.2 -> 2.35.0
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>
2024-08-13 10:14:07 -07:00
Leon Anavi
3b1ca78cb2
python3-apispec: Upgrade 6.4.0 -> 6.6.1
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>
2024-08-12 08:15:11 -07:00
Leon Anavi
ba10620f17
python3-transitions: Upgrade 0.9.1 -> 0.9.2
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>
2024-08-12 08:15:11 -07:00
Leon Anavi
9c6dcbffda
python3-prettytable: Upgrade 3.10.2 -> 3.11.0
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>
2024-08-12 08:15:11 -07:00
Khem Raj
ea9fd34fd1
python3-daemon: Fix build with PEP-575 build backend
Apply required backports

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 23:06:23 -07:00
Guðni Már Gilbert
d5807c2d93
python3-incremental: drop python3-twisted-core from RDEPENDS
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>
2024-08-10 15:57:58 -07:00
Guðni Már Gilbert
e6922ac4b0
python3-twisted: upgrade 24.3.0 -> 24.7.0
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>
2024-08-10 15:57:58 -07:00
Wang Mingyu
37faf0c973
python3-incremental: upgrade 22.10.0 -> 24.7.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 15:57:57 -07:00
alperak
28900899cb
python3-gevent: switch to PEP-517 build backend
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>
2024-08-10 15:57:57 -07:00
alperak
197c1020ca
python3-greenlet: switch to PEP-517 build backend
- 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>
2024-08-10 15:57:57 -07:00
alperak
f6bf37fcd6
python3-django: switch to PEP-517 build backend
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>
2024-08-10 15:57:56 -07:00
alperak
be5cea6a26
python3-py-cpuinfo: switch to PEP-517 build backend
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>
2024-08-10 15:57:56 -07:00
alperak
595d3f0c2f
python3-pyasn1-modules: switch to PEP-517 build backend
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>
2024-08-10 15:57:56 -07:00
alperak
7214796d4f
python3-pyjwt: switch to PEP-517 build backend
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>
2024-08-10 15:57:56 -07:00
alperak
926a98e485
python3-pyroute: switch to PEP-517 build backend
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>
2024-08-10 15:57:56 -07:00
alperak
a796f4bb01
python3-pytest-metadata: switch to PEP-517 build backend
- 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>
2024-08-10 15:57:56 -07:00
alperak
3167a3a9b5
python3-pytest-timeout: switch to PEP-517 build backend
- 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>
2024-08-10 15:57:55 -07:00
alperak
834a229273
python3-regex: switch to PEP-517 build backend
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>
2024-08-10 15:57:55 -07:00
alperak
2774e56169
python3-parse-type: switch to PEP-517 build backend
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>
2024-08-10 15:57:55 -07:00
alperak
e8fd0ff5b1
python3-service-identity: switch to PEP-517 build backend
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>
2024-08-10 15:57:55 -07:00
Leon Anavi
8a8bc59ff6
python3-argcomplete: Upgrade 3.4.0 -> 3.5.0
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>
2024-08-09 14:25:30 -07:00
Leon Anavi
1551f9bca9
python3-argcomplete: switch to PEP-517 build backend
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>
2024-08-09 14:25:30 -07:00
Leon Anavi
e1b5c565d7
python3-qface: Upgrade 2.0.10 -> 2.0.11
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>
2024-08-09 14:25:30 -07:00
Leon Anavi
7f612f80c8
python3-sniffio: Upgrade 1.3.0 -> 1.3.1
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>
2024-08-09 14:25:30 -07:00
Leon Anavi
14c4617344
python3-sniffio: witch to PEP-517 build backend
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>
2024-08-09 14:25:30 -07:00
Leon Anavi
d7235d0abe
python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0
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>
2024-08-09 14:25:30 -07:00
Tim Orling
6f0a41130c
python3-pydantic-core: backport patch
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:
e07c41b3ba

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:29 -07:00
Tim Orling
110b636836
python3-pydantic: upgrade 2.7.3 -> 2.8.2
* 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>
2024-08-09 14:25:29 -07:00
Tim Orling
982db9fe07
python3-pydantic-core: upgrade 2.18.4 -> 2.21.0
* 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] ebef5bdf92
[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>
2024-08-09 14:25:29 -07:00