Debian Patches

Status for nose2/0.15.1-2

Patch Description Author Forwarded Bugs Origin Last update
0001-removes_external_images_from_readme_rst.patch removes_external_images_from_readme_rst Boyuan Yang <byang@debian.org> no 2022-07-24
0002-Recover-nose2._version.__version__.patch Recover nose2._version.__version__
Needed for sphinx build.
Boyuan Yang <byang@debian.org> no 2022-07-24
0003-Avoid-setuptools-PackageDiscoveryError.patch Avoid setuptools PackageDiscoveryError
Otherwise the following error message happens:

setuptools.errors.PackageDiscoveryError: Multiple top-level packages discovered in a flat-layout: ['nose2', 'debian'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
Boyuan Yang <byang@debian.org> no 2023-07-23
0004-plugins-mp-set-context-to-fork-for-Python-3.14-mp-AP.patch plugins/mp: set context to fork for Python 3.14 mp API changes
This commit sets the Python built-in multiprocessing library context to
multiprocessing.context.ForkContext.
This is needed due to a change in its API from Python 3.14:
> Changed in version 3.14: On POSIX platforms the default start method was
> changed from fork to forkserver to retain the performance but avoid
> common multithreaded process incompatibilities. See gh-84559.

Note that the change is done in the "mp" module itself and not in its
MultiProcess class since the multiprocessing context can be set only once.
Jimmy Durand Wesolowski <jimmy.wesolowski@mobileye.com> no debian https://github.com/nose-devs/nose2/pull/644 2026-01-07

All known versions for source package 'nose2'

Links