Commit Graph

31031 Commits

Author SHA1 Message Date
Martin Jansa
202bcbd9d9
blueman: fix installation paths
* pass systemdsystemunitdir and systemduserunitdir to set correct directories
  instead of using libdir from:
  meson.build:systemd_base_path = join_paths(libdir, 'systemd')
  which is wrong e.g. with multilib where libdir might be /usr/lib64 instead of
  usr/lib used in ${nonarch_base_libdir} which is used by systemd_* variables:

  export systemd_system_unitdir="/usr/lib/systemd/system"
  export systemd_user_unitdir="/usr/lib/systemd/user"

  fixes:
  ERROR: Didn't find service unit 'blueman-mechanism.service', specified in SYSTEMD_SERVICE:blueman.

* inherit python3targetconfig to install into right python site-packages
  without this it installs into
  /usr/lib/python3.12/site-packages/
  instead of /usr/lib64/python3.12/site-packages set in PYTHON_SITEPACKAGES_DIR
  variable used in FILES, causing
  blueman: 295 installed and not shipped files. [installed-vs-shipped]

  # $PYTHON_SITEPACKAGES_DIR
  #   set oe-core/meta/classes-recipe/python3-dir.bbclass:11
  #     "${libdir}/${PYTHON_DIR}/site-packages"
  PYTHON_SITEPACKAGES_DIR="/usr/lib64/python3.12/site-packages"

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:32 -07:00
Adrian Freihofer
c4594daeab
networkmanager: remove modemmanager rdepends
This reverts commit: 5edb8335dc

The Networkmanager package must not depend on ModemManager. Only the
Networkmanager-wwan package should depend on the ModemManager package.

The mobile-broadband-provider-info is fully optional and it is often not
required for embedded devices. Let the user choose if it gets installed
or not. Adding it explicitely to IMAGE_INSTALL is simple. Adding an
RRECOMMENS would work as well. But adding an RDEPENDS is bad.

In general, NetworkManager packaging is intended to provide a set of
binary packages suitable for building many different images.
NetworkManager is designed to be used for binary packages distributions
where it is not possible to rebuild NetworkManager just to install
Modemmanager. Also for OE, where a rebuilding is possible, a rebuild is
a disadvantage. So please do not destroy this flexibility by adding
RDEPENDS, which are firstly wrong and secondly only suitable for your
specific needs.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:32 -07:00
Khem Raj
24f4efb22a
libyui: Upgrade to 4.6.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:32 -07:00
Khem Raj
0439d42c55
ot-br-posix: Define config files explicitly
Otherwise it picks up from build area with absolute paths into builddir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:32 -07:00
Khem Raj
8337af7da4
ippool: Fix buildpaths QA error
Pass OE's CFLAGS via CC since the Makefile disregards these flags from
environment and has it own notion of it. This ensures that flags to
rewrite debug flags are passed down correctly to compiler.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:31 -07:00
Khem Raj
be709e18cb
fwknop: Specify target locations of gpg and wget
This fixes emitting buildpaths into binary and also
fixes the issue where these tools wont exist on
the paths they were found on build machine

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:25 -07:00
Khem Raj
b152b54458
fwknop: Upgrade to 2.6.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-18 15:56:57 -07:00
Markus Volk
db5575b55e
pipewire: update 1.2.1 -> 1.2.2
PipeWire 1.2.2 (2024-07-31)

This is a bugfix release that is API and ABI compatible with the
previous 1.2.x and 1.0.x releases.

Highlights
  - Fix some more fallout of the async nodes rewrite. Fixes some
    crackling, xruns and possibly also some crashes in some cases.
  - Fix freewheeling timeouts in case of xruns. This fixes ardour export.
  - Fix event mixdown in JACK. Fixes qsynth and possibly other apps.
  - Some more small fixes and improvements.

PipeWire
  - Add a new SPA_IO_CLOCK_FLAG_XRUN_RECOVER flag when the process function
    is called because of xrun recovery.
  - Properly stop nodes in all cases, this avoids spurious xruns and
    scheduling errors. (#4122)
  - Make sure async nodes receive an async link in all cases. Do the
    processing of source output ports slightly differently to make sure we
    don't cause latency for sources. (#4138) (#4133)
  - Fix some races when negotiating and starting nodes. (#4094)
  - Actually include the config.h header to use malloc_trim() to reduce
    memory usage in pulse-server.

Modules
  - Avoid unloading some modules on stream errors because it is possible to
    recover from the error. (#4121)
  - Fix a (harmless) warning in module-rtp because of comparing samples and
    time. (#4095)

SPA
  - Let the freewheel driver detect xrun recovery and handle the timeouts
    correctly. This fixes an issue with ardour export.
  - Remove the HDMI/AC3 profiles. they turn out to fail on some hardware
    with no way to detect this.
  - Signal the eventfd when the loop is full to make sure the other thread
    is woken up to process the queue.

JACK
  - Don't check timestamps when mixing down events. The timestamps are only
    checked when writing new events with the public API. This fixes an
    issue where qsynth would not receive midi events anymore.
  - Fix the jack_get_time() function, it was returning nano instead of micro
    seconds.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-18 15:54:39 -07:00
Yi Zhao
7a0155e7c5
snort3: upgrade 3.3.2.0 -> 3.3.3.0
ChangeLog:
https://github.com/snort3/snort3/releases/tag/3.3.3.0

* control: code cleanup
* control: handle control commands after packet threads are fully
  initialised
* daq: add outstanding packets counter
* extractor: add flow hash key
* file_api: max depth is set as part of initial config
* file: remove unused variable in FileFlows destructor
* filters: update dev_notes.txt with details for event_filter
* flow: optimize timeout handling for different packet type
* http_inspect: add peg counts for gzip, known-not-supported, and
  unknown
* http_inspect: log normalized URI in extra data
* ips_options: separate main thread pcre counts from packet threads
  stats
* memory: account memory for profiler only when packet thread is
  involved
* src: resolve various warnings
* stream_tcp: make sure ports are correctly swapped when filling a
  meta-ACK packet

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-18 15:54:39 -07:00
Jörg Sommer
ec936d6893
dnsmasq: set config dhcp6, broken-rtc by FEATURES
Some of the PACKAGECONFIG can be derived from the DISTRO_FEATURES and
MACHINE_FEATURES.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-16 07:30:56 -07:00
Jörg Sommer
92be96659e
dnsmasq: Install conf example from upstream instead of our version
Our version was copied 2011 and is out of date. The changes in the meantime
affected only comments.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-16 07:30:56 -07:00
Khem Raj
797b3a8433
keepalived: Make build reproducible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 23:20:05 -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
Khem Raj
7091189c6f
ndisc: Remove buildpaths from binaries
configure emits its arguments into binaries via PACKAGE_CONFIGURE_INVOCATION
therefore edit the paths from this in generated config.h before it gets into
binaries.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 23:20:05 -07:00
Khem Raj
6bff9188c7
botan: Make it reproducible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 23:20:05 -07:00
Khem Raj
0d6f463f02
proftpd: Upgrade to 1.3.8b
Fix buildpaths QA Errors while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 23:20:05 -07:00
Khem Raj
228c3483e2
fvwm: Fix buildpaths QA Errors
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
Khem Raj
55bfe466db
blueman: Fix buildpathe issue with cython generated code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>
2024-08-15 10:28:12 -07:00
Khem Raj
181409fef4
libforms: Remove buildpaths from fd2ps and fdesign scripts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 10:28:12 -07:00
Khem Raj
3267d1cf30
freediameter: Fix buildpaths QA error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 10:28:11 -07:00
Khem Raj
b35cd00fe1
sharutils: Let POSIX_SHELL be overridable from environment
This helps fix
WARNING: sharutils-4.15.2-r0 do_package_qa: QA Issue: File /usr/bin/shar in package sharutils contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-15 10:28:11 -07:00
Khem Raj
2dcf9b3772
lprng: Specify target paths for needed utilities
pr,openssl,chown,chgrp are guessed during configure and they are
found on host, sometimes under native sysroot and some under HOSTTOOLS
which is not right, therefore point to target locations of these tools

Fixes all errors like below

File /usr/sbin/lprng_certs in package lprng contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 21:46:26 -07:00
Khem Raj
aa94d5221e
wolfssl: Add packageconfig for reproducible build
Make this option turned on by default

Fixes
WARNING: wolfssl-5.7.2-r0 do_package_qa: QA Issue: File /usr/lib/libwolfssl.so.42.2.0 in package wolfssl contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 21:46:26 -07:00
Khem Raj
0b0511ded8
transmission: Upgrade to 4.0.6 release
Use external libpsl, this also avoids hardcoded buildpaths which
gets into binaries due to inplace vendored libpsl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 21:46:26 -07:00
Khem Raj
27aa021693
glibmm: Upgrade to 2.66.7 release
Changes are here [1]

[1] a33c12cb69 (9f621eb5fd3bcb2fa5c7bd228c9b1ad42edc46c8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 21:46:26 -07:00
Yi Zhao
f7e691ff43
audit: upgrade 4.0.1 -> 4.0.2
ChangeLog:
 - Fix musl C builds
 - Many code cleanups
 - Use atomic variables if available for signal related flags
 - Dont rotate audit logs when auditd is in debug mode
 - Fix a couple memory leaks on error paths
 - Correct output when displaying rules with exe/path/dir
 - Fix auparse lookup test to not use the system libaupaurse
 - Improve auparse metrics
 - Update auparse normalizer for recent syscalls
 - Make status report uniform

Drop 0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch as
the issue has been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 08:15:18 -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
Kai Kang
056b8cd652
libosinfo: add runtime dependency osinfo-db
osinfo-db is required by libosinfo to list os info. So add the recipes
osinfo-db and its dependency osinfo-db-tools-native. Then add osinfo-db
to RDEPENDS of libosinfo.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 08:15:17 -07:00
Khem Raj
3e0ed75622
e2tools: Fix buildpaths QA warning in config.status in ptest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 08:15:16 -07:00
Robert Middleton
5df4beeb75
Upgrade dbus-cxx to 2.5.2
In addition, allow for other configuration options for dbus-cxx and split
into different packages.

SDK can now also be built with dbus-cxx tools, generally used to generate
C++ interface code from DBus introspection files.  This required adding
cppgenerate in a new recipe for dependency purposes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-13 22:34:53 -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
Randy MacLeod
bac9b334aa
liblinebreak: remove obsolete library
liblinebreak has no users in meta-oe or in the layer index:
   https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Aliblinebreak
so remove it.

The upstream is has not been maintained for some time:
   https://vimgadgets.sourceforge.net/liblinebreak/
and they say that liblinebreak has been superceded by libunibreak,
an equivalent library that works in more languages:
   https://vimgadgets.sourceforge.net/libunibreak/

Since there are no users of liblinebreak, libunibreak was not packaged.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-13 10:14:07 -07:00
Luca Boccassi
d5e90541f8
polkit: install group rules in /usr/share/ instead of /etc/
Rules shipped by OS packages should go in /usr/share/. /etc/ is
reserved for local modifications. This allows local users and
admins to provide overrides. It also removes the need to fix
directory permissions.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-13 10:14:07 -07:00
Luca Boccassi
c796185326
polkit: update 124 -> 125
Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-13 10:14:07 -07:00
Luca Boccassi
6da0fd21c9
polkit: stop overriding DAC on /usr/share/polkit-1/rules.d
This is no longer required by upstream for data in /usr/, as it ships
in packages so there's no point hiding its content. Still required for
/etc/ as that's for local modifications.

Signed-off-by: Luca Boccassi <bluca@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-13 10:14:07 -07:00
Esben Haabendal
cb50c93096
netplan: add missing runtime dependencies
The json module is used in several cli commands.

The fcntl module is used in terminal input handling.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-12 08:16:42 -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
ff9ea69ab6
zfs: Upgrade to 2.2.5 release
Enable linux builtins to fix zfs build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-11 10:14:00 -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