hatch: 1.7.0 -> 1.9.0
https://github.com/pypa/hatch/blob/hatch-v1.9.0/docs/history/hatch.md
This commit is contained in:
parent
c19c944981
commit
7771122922
@ -2,19 +2,25 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, python3
|
, python3
|
||||||
|
, cargo
|
||||||
, git
|
, git
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "hatch";
|
pname = "hatch";
|
||||||
version = "1.7.0";
|
version = "1.9.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-evxwH9WzNoSmZQ4eyriVfhloX4JCQLp0WNys1m+Q+0Y=";
|
hash = "sha256-4ealEeFS7HzU26vE9Pahh0hwvUnJfRfTkLkjLdpoXOM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
hatchling
|
||||||
|
hatch-vcs
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
click
|
click
|
||||||
hatchling
|
hatchling
|
||||||
@ -24,22 +30,25 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
packaging
|
packaging
|
||||||
pexpect
|
pexpect
|
||||||
platformdirs
|
platformdirs
|
||||||
pyperclip
|
|
||||||
rich
|
rich
|
||||||
shellingham
|
shellingham
|
||||||
tomli-w
|
tomli-w
|
||||||
tomlkit
|
tomlkit
|
||||||
userpath
|
userpath
|
||||||
virtualenv
|
virtualenv
|
||||||
|
zstandard
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = [
|
||||||
|
cargo
|
||||||
|
] ++ (with python3.pkgs; [
|
||||||
|
binary
|
||||||
git
|
git
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
setuptools
|
setuptools
|
||||||
];
|
]);
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d);
|
export HOME=$(mktemp -d);
|
||||||
@ -62,12 +71,17 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
"test_editable_pth"
|
"test_editable_pth"
|
||||||
# AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0
|
# AssertionError: assert len(extract_installed_requirements(output.splitlines())) > 0
|
||||||
"test_creation_allow_system_packages"
|
"test_creation_allow_system_packages"
|
||||||
# tomlkit 0.12 changes
|
|
||||||
"test_no_strict_naming"
|
|
||||||
"test_project_location_basic_set_first_project"
|
|
||||||
"test_project_location_complex_set_first_project"
|
|
||||||
# cli table output mismatch
|
# cli table output mismatch
|
||||||
"test_context_formatting"
|
"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"
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
# https://github.com/NixOS/nixpkgs/issues/209358
|
# https://github.com/NixOS/nixpkgs/issues/209358
|
||||||
"test_scripts_no_environment"
|
"test_scripts_no_environment"
|
||||||
|
Loading…
Reference in New Issue
Block a user