pdm: 1.12.6 -> 1.13.3
https://github.com/pdm-project/pdm/releases/tag/1.13.3 https://github.com/pdm-project/pdm/releases/tag/1.13.2 https://github.com/pdm-project/pdm/releases/tag/1.13.1 https://github.com/pdm-project/pdm/releases/tag/1.13.0.post0 https://github.com/pdm-project/pdm/releases/tag/1.13.0 https://github.com/pdm-project/pdm/releases/tag/1.12.8 https://github.com/pdm-project/pdm/releases/tag/1.12.7
This commit is contained in:
@@ -24,13 +24,13 @@ in
|
||||
with python.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "1.12.6";
|
||||
version = "1.13.3";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-MXKER2ijU+2yPnsBFH0cu/hjHI4uNt++AqggH5rhnaU=";
|
||||
sha256 = "sha256-5+bjjljmk3AHaDVjYzNuC7lkkvlpLa9/grKgdmERC7k=";
|
||||
};
|
||||
|
||||
# this patch allows us to run additional tests that invoke pdm, which checks
|
||||
@@ -41,19 +41,12 @@ buildPythonApplication rec {
|
||||
# doesn't appear to respect the settings in `$HOME`; possibly a bug upstream
|
||||
patches = [
|
||||
./check-update.patch
|
||||
(fetchurl {
|
||||
# Mark test that require network access
|
||||
url = "https://github.com/pdm-project/pdm/files/7911962/mark-network-tests.patch.txt";
|
||||
hash = "sha256:1dizf9j3z7zk4lxvnszwx63xzd9r68f2iva5sszzf8s8na831dvd";
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace "pdm-pep517>=0.9,<0.10" "pdm-pep517"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
blinker
|
||||
click
|
||||
findpython
|
||||
installer
|
||||
packaging
|
||||
pdm-pep517
|
||||
@@ -82,22 +75,19 @@ buildPythonApplication rec {
|
||||
"-m 'not network'"
|
||||
];
|
||||
|
||||
preCheck = "HOME=$TMPDIR";
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# sys.executable and expected executable are different
|
||||
"test_set_non_exist_python_path"
|
||||
# pythonfinder isn't aware of nix's python infrastructure
|
||||
"test_auto_isolate_site_packages"
|
||||
"test_use_invalid_wrapper_python"
|
||||
"test_use_wrapper_python"
|
||||
# tries to read/write files without proper permissions
|
||||
"test_completion_command"
|
||||
"test_plugin_add"
|
||||
"test_plugin_list"
|
||||
"test_plugin_remove"
|
||||
# tries to treat a gzip file as a zipfile and fails
|
||||
"test_resolve_local_artifacts"
|
||||
"test_find_python_in_path"
|
||||
# calls pip install and exits != 0
|
||||
"test_pre_and_post_hooks"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user