Debian Patches

Status for click/0.5.2-11

Patch Description Author Forwarded Bugs Origin Last update
1001_fully-adjust-DEFAULT_ROOT-if-set-via-configure-option.patch click_package/tests/: Propagate DEFAULT_ROOT name as defined by configure script over to unit tests.

Fixes click#2.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2021-04-06
1005_silence-gi-repository-import-warnings.patch click_package: Explicitly import click gi version
Fixes warnings during unit tests
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2022-05-28
1006_click-tempdir-own-by-user-daemon-if-tests-run-as-root.patch Use daemon:daemon permissions on create temp directories if tests are run as root.

When tests are run as root, the code will setuid/setgid to uid 1 / gid 1 and fail
to access self.temp_dir (which gets created with 0700 dir permissions).
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2023-01-19
1009_fix-unit-tests-as-root.patch click_package/tests/: Fake daemon:daemon (1:1) if tests are run as super-super root (like in autopkgtests). Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2023-01-19
1010_fix-ensure-ownership.patch Re-check this patch. The tests fail if run as root. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
1014_improve-check-for-overlayfs-kernel-module.patch click_package/tests/integration/helpers.py: Be happy, if 'overlay' kernel module is already loaded.

Don't bluntly fail if 'modprobe overlay' fails to execute. If the
overlay kernel module is already loaded, we should be happy and
proceed.

This is important for running integration tests in autopkgtest
lxc environments or chroots (where no kernel modules are present).
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2023-01-19
1018_0755-tempdir-permissions.patch click_package/tests/integration/helpers.py: Make tmpdir used for test-internal click package creation accessible by all.

This is needed if integration tests run as root via autopkgtests.
.
When run as root, the tempdir gets created as user root, but the
tests are faked to be run as user:group daemon:daemon. The relaxed
tempdir permissions are required to allow the fake user 'daemon'
to enter the tempdir.
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2023-01-19
1020_run-sphinx-build-with-LANG-C.patch doc/Makefile: Enforce LANG=C before running sphinx-build.
In Click's conf.py (Sphinx configuration) there is some nasty
date string extraction/conversion hack that fails if LANG is
set to anything else than C or en_US.UTF-8 (or alike).
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2023-01-19
2001_tox-ini-only-use-versions-available-in-Debian.patch Only list Python3 version currently available in Debian testing/unstable (targetting bookworm). Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
0005_click-tests-Use-SHA256-digest-for-test-signing-click.patch click/tests: Use SHA256 digest for test signing clicks
If not we can end up using SHA1 this will result in verify rejecting it
due to weak digest.
Marius Gripsgard <marius@ubports.com> yes 2022-06-07
1015_drop-using-six.patch click_package/tests/test_database.py: Stop using python3-six. Soon to be removed from distros, such as Debian. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2024-03-20
1016_dont-ship-tests-in-python3-click-package.patch setup.py.in: Omit unit test files from installed Python module.

This makes the build of click reproducible.

Fixes: https://gitlab.com/ubports/development/core/click/-/issues/6
Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2024-03-20
0006_fix-implicit-function-declaration.patch preload: fix -Wimplicit-function-declaration
Copy the declarations of __fxstat{,64} from GLibC so that they're
properly declared.
Ratchanan Srirattanamet <ratchanan@ubports.com> yes 2024-04-04
0007_add-support-for-loongarch.patch Add support for loongarch wuruilong <wuruilong@loongson.cn> yes 2024-04-09
1021_click-remove-hook-only-on-removal.patch no
1022_convert-to-testsuite.patch Stop using setuptools.command.test. Not available since setuptools 0.72 anymore. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2024-09-30
1023_dont-create-XDG-CACHE-HOME-if-present.patch click_package/tests/test_user.py: Don't create XDG_CACHE_HOME if it already exists as symlink. Plus typo fix. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2024-09-30
1024_more-types-for-ctypes-typemap.patch click_package/tests/gimock.py: Add uid_t and gid_t to the ctypes _typemap dict. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> yes 2024-09-30

All known versions for source package 'click'

Links