hatch: 1.9.0 -> 1.9.7

This commit is contained in:
Jonas Heinrich 2024-05-01 22:15:24 +02:00
parent 7e244f7281
commit 05cbc6d235
2 changed files with 12 additions and 13 deletions

View File

@ -8,14 +8,19 @@
python3.pkgs.buildPythonApplication rec {
pname = "hatch";
version = "1.9.0";
version = "1.9.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-4ealEeFS7HzU26vE9Pahh0hwvUnJfRfTkLkjLdpoXOM=";
hash = "sha256-Gae4IXn5Tyrd2612qn5lq5DK1VqxA9U4J2N5NcnmYkw=";
};
postPatch = ''
# Loosen hatchling runtime version dependency
sed -i 's/hatchling<1.22/hatchling/' pyproject.toml
'';
nativeBuildInputs = with python3.pkgs; [
hatchling
hatch-vcs
@ -69,19 +74,13 @@ python3.pkgs.buildPythonApplication rec {
"test_editable_exact_force_include_option"
"test_editable_exact_force_include_build_data_precedence"
"test_editable_pth"
# AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0
"test_creation_allow_system_packages"
# cli table output mismatch
"test_context_formatting"
# expects sh, finds bash
"test_all"
"test_already_installed_update_flag"
"test_already_installed_update_prompt"
# unmet expectations about the binary module we provide
"test_dependency_not_found"
"test_marker_unmet"
# output capturing mismatch, likely stdout/stderr mixup
"test_no_compatibility_check_if_exists"
# Loosen hatchling runtime version dependency
"test_core"
"test_correct"
] ++ lib.optionals stdenv.isDarwin [
# https://github.com/NixOS/nixpkgs/issues/209358
"test_scripts_no_environment"
@ -90,6 +89,8 @@ python3.pkgs.buildPythonApplication rec {
# It is not possible to run it in a nix build using a /nix/store shell.
# See https://github.com/pypa/hatch/pull/709 for the relevant code.
"test_populate_default_popen_kwargs_executable"
] ++ lib.optionals stdenv.isAarch64 [
"test_resolve"
];
meta = with lib; {

View File

@ -8932,8 +8932,6 @@ with pkgs;
haste-server = callPackage ../servers/haste-server { };
hatch = python3Packages.callPackage ../development/tools/hatch { };
hal-hardware-analyzer = libsForQt5.callPackage ../applications/science/electronics/hal-hardware-analyzer {
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
};