mutmut: 2.2.0 -> 3.2.0 (#350120)

This commit is contained in:
Artturin 2024-11-11 19:28:05 +02:00 committed by GitHub
commit 3a7266fcef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 16 deletions

View File

@ -236,6 +236,8 @@
- `knot-dns` has been updated to version 3.4.x. Check the [migration guide](https://www.knot-dns.cz/docs/latest/html/migration.html#upgrade-3-3-x-to-3-4-x) for breaking changes.
- `mutmut` has been updated to version 3.0.5.
- `services.kubernetes.kubelet.clusterDns` now accepts a list of DNS resolvers rather than a single string, bringing the module more in line with the upstream Kubelet configuration schema.
- `bluemap` has changed the format used to store map tiles, and the database layout has been heavily modified. Upstream recommends a clean reinstallation: <https://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v5.2>. Unless you are using an SQL storage backend, this should only entail deleting the contents of `config.services.bluemap.coreSettings.data` (defaults to `/var/lib/bluemap`) and `config.services.bluemap.webRoot` (defaults to `/var/lib/bluemap/web`).

View File

@ -1,31 +1,35 @@
{ lib
, fetchFromGitHub
, python3
, testers
{
lib,
fetchFromGitHub,
python3Packages,
}:
let self = with python3.pkgs; buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "mutmut";
version = "2.2.0";
version = "3.2.0";
src = fetchFromGitHub {
repo = pname;
owner = "boxed";
rev = version;
hash = "sha256-G+OL/9km2iUeZ1QCpU73CIWVWMexcs3r9RdCnAsESnY=";
rev = "refs/tags/${version}";
hash = "sha256-+e2FmfpGtK401IW8LNqeHk0v8Hh5rF3LbZJkSOJ3yPY=";
};
postPatch = ''
substituteInPlace requirements.txt --replace 'junit-xml==1.8' 'junit-xml==1.9'
substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9'
'';
disabled = pythonOlder "3.7";
disabled = python3Packages.pythonOlder "3.7";
doCheck = false;
propagatedBuildInputs = [ click glob2 parso pony junit-xml ];
passthru.tests.version = testers.testVersion { package = self; };
propagatedBuildInputs = with python3Packages; [
click
parso
junit-xml
setproctitle
textual
];
meta = with lib; {
description = "mutation testing system for Python, with a strong focus on ease of use";
@ -33,7 +37,9 @@ let self = with python3.pkgs; buildPythonApplication rec {
homepage = "https://github.com/boxed/mutmut";
changelog = "https://github.com/boxed/mutmut/blob/${version}/HISTORY.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ synthetica ];
maintainers = with maintainers; [
l0b0
synthetica
];
};
};
in self
}