Commit Graph

7036 Commits

Author SHA1 Message Date
Wang Mingyu
24f9714ee6
python3-aiohttp: upgrade 3.10.3 -> 3.10.5
Changelog:
===========
- Fixed :meth:aiohttp.ClientResponse.json() not setting status
  when :exc:aiohttp.ContentTypeError is raised
- Improved performance of the WebSocket reader

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:33 -07:00
Wang Mingyu
34204beed6
python3-aiohappyeyeballs: upgrade 2.3.4 -> 2.4.0
Changelog:
============
- Add support for python 3.13
- Fix a trivial typo in readme.md
- Correct classifier for license python-2.0.1
- Adjust license to python-2.0.1
- Remove upper bound on python requirement
- Preserve errno if all exceptions have the same errno
- Adjust license classifier to better reflect license terms
- Add link to happy eyeballs explanation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:33 -07:00
Wang Mingyu
89608d39b4
pamela: upgrade 1.1.0 -> 1.2.0
License-Update: Version updated to 1.2.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:32 -07:00
Niko Mauno
d01117112f
python3-xmodem: Fix LIC_FILES_CHKSUM
Change the reference to the MIT license containing LICENSE file in 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:09 -07:00
Niko Mauno
2d65607af7
python3-smbus2: Fix LIC_FILES_CHKSUM
Change the reference to the MIT license containing LICENSE file in 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:09 -07:00
Niko Mauno
965004e119
python3-libevdev: Fix LIC_FILES_CHKSUM
Change the reference to the MIT license containing COPYING file in 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:09 -07:00
Niko Mauno
3659a13cf6
python3-haversine: Fix LIC_FILES_CHKSUM
Change the reference to the MIT license containing LICENSE file in 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:09 -07:00
Niko Mauno
81858aa811
python3-googleapis-common-protos: Fix LIC_FILES_CHKSUM
Change the reference to the Apache-2.0 license containing LICENSE file
in 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:09 -07:00
Niko Mauno
85ad78184b
python3-pycurl: Fix LICENSE
Contents of
https://github.com/pycurl/pycurl/blob/REL_7_45_3/COPYING-LGPL
correspond to version 2.1 of the license rather than 2.0.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:09 -07:00
Niko Mauno
65afcafb28
python3-nmap: Fix LICENSE and LIC_FILES_CHKSUM
In the source code repository the LICENSE file is GPL-3.0-only:
https://github.com/nmmapper/python3-nmap/blob/1.5.2/LICENSE
https://github.com/nmmapper/python3-nmap/blob/1.7.0/LICENSE

Also change the LIC_FILES_CHKSUM reference to the GPLv3.0 license
containing LICENSE file in 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:08 -07:00
Niko Mauno
0646c55fc4
python3-fann2: Fix LICENSE
According to
https://github.com/FutureLinkCorporation/fann2/tree/1.1.2?tab=readme-ov-file#license
and https://github.com/FutureLinkCorporation/fann2/blob/1.1.2/LICENSE
this project is subject to LGPL-2.1-only license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
b9ac665579
python3-colorama: Fix LICENSE
https://github.com/tartley/colorama?tab=readme-ov-file#license and
https://github.com/tartley/colorama/blob/0.4.6/LICENSE.txt declare
that this project is subject to BSD-3-Clause license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
157c0ee0fb
python3-platformdirs: Fix LICENSE
According to https://pypi.org/project/platformdirs/ and
https://github.com/platformdirs/platformdirs/blob/4.2.2/LICENSE
the project is subject to MIT license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
3e40d23552
python3-pillow: Fix LICENSE and change SUMMARY to DESCRIPTION
According to https://pypi.org/project/pillow/ and
https://github.com/python-pillow/Pillow/blob/10.4.0/LICENSE the project
is subject to HPND license.

Also change SUMMARY to DESCRIPTION as it's value is clearly over 72
characters long.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
d44a54676d
python3-parse-type: Cosmetic fixes
Apply some changes to recipe content ordering and indentation style
from oe-stylize.py.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
6dd9563e23
python3-parse-type: Fix LICENSE
According to https://pypi.org/project/parse-type/ and
https://github.com/jenisys/parse_type/blob/v0.6.2/LICENSE the
project is subject to MIT license.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:08 -07:00
Niko Mauno
2acdca2270
python3-mock: Fix LICENSE
According to
https://github.com/testing-cabal/mock/blob/5.1.0/LICENSE.txt the
project is subject to BSD-2-Clause license. (Also
https://pypi.org/project/mock/ states 'BSD License'.)

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
7fe6d6f5c9
python3-lru-dict: Fix LICENSE and change SUMMARY to DESCRIPTION
According to https://pypi.org/project/lru-dict/ and
https://github.com/amitdev/lru-dict/blob/v1.3.0/LICENSE the project is
licensed under MIT.

Also change SUMMARY to DESCRIPTION as it's value is clearly over 72
characters long.

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
26ae3c9aaf
python3-email-validator: Fix LICENSE
Both https://pypi.org/project/email-validator/ and
https://github.com/JoshData/python-email-validator/blob/v2.2.0/LICENSE
declare this project is subject to 'Unlicense'.

For additional reference, see upstream commit
5d72f53412
("Relicense under the Unlicense (instead of CC0)")

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
83fe17ccc0
python3-crc32c: Amend LICENSE declaration
According to https://github.com/ICRAR/crc32c/blob/v2.3/LICENSE and
https://github.com/ICRAR/crc32c?tab=readme-ov-file#license change
'LGPL-2.0-or-later' in LICENSE value to 'LGPL-2.1-or-later'.

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
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