git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.poetry: 1.0.10 -> 1.1.0
commit9243c64e7fa4bb8ce84f97a52e955f3e8fe8e733 authorAustin Butler <austinabutler@gmail.com> dateSat 3 Oct 2020, 13:26 (6 years ago) parent8b7914f
1 file changed+12−18
pkgs/development/python-modules/poetry/default.nix+12−18
pkgs/development/python-modules/poetry/default.nix+12−18
@@ -7,14 +7,11 @@
77, httpretty
88, importlib-metadata
99, intreehooks
10−, jsonschema
1110, keyring
1211, lockfile
1312, pexpect
1413, pkginfo
15−, pygments
16−, pyparsing
17−, pyrsistent
14+, poetry-core
1815, pytestCheckHook
1916, pytestcov
2017, pytest-mock
@@ -22,11 +19,12 @@
2219, requests-toolbelt
2320, shellingham
2421, tomlkit
22+, virtualenv
2523}:
2624
2725buildPythonPackage rec {
2826 pname = "poetry";
29− version = "1.0.10";
27+ version = "1.1.0";
3028 format = "pyproject";
3129 disabled = isPy27;
3230
@@ -34,19 +32,13 @@ buildPythonPackage rec {
3432 owner = "python-poetry";
3533 repo = pname;
3634 rev = version;
37− sha256 = "00qfzjjs6clh93gfl1px3ma9km8qxl3f4z819nmyl58zc8ni3zyv";
35+ sha256 = "0kl23dkq9n112z1pqjg6f1wv3qk77ij6q5glg15lwrj7yrl9k65c";
3836 };
3937
4038 postPatch = ''
4139 substituteInPlace pyproject.toml \
42− --replace "pyrsistent = \"^0.14.2\"" "pyrsistent = \"^0.16.0\"" \
43− --replace "requests-toolbelt = \"^0.8.0\"" "requests-toolbelt = \"^0.9.1\"" \
44− --replace 'importlib-metadata = {version = "~1.1.3", python = "<3.8"}' \
45− 'importlib-metadata = {version = ">=1.3,<2", python = "<3.8"}' \
46− --replace "tomlkit = \"^0.5.11\"" "tomlkit = \"<2\"" \
47− --replace "cleo = \"^0.7.6\"" "cleo = \"^0.8.0\"" \
48− --replace "version = \"^20.0.1\", python = \"^3.5\"" "version = \"^21.0.0\", python = \"^3.5\"" \
49− --replace "clikit = \"^0.4.2\"" "clikit = \"^0.6.2\""
40+ --replace 'importlib-metadata = {version = "^1.6.0", python = "<3.8"}' \
41+ 'importlib-metadata = {version = ">=1.6,<2", python = "<3.8"}'
5042 '';
5143
5244 nativeBuildInputs = [ intreehooks ];
@@ -57,17 +49,16 @@ buildPythonPackage rec {
5749 cleo
5850 clikit
5951 html5lib
60− jsonschema
6152 keyring
6253 lockfile
6354 pexpect
6455 pkginfo
65− pyparsing
66− pyrsistent
56+ poetry-core
6757 requests
6858 requests-toolbelt
6959 shellingham
7060 tomlkit
61+ virtualenv
7162 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
7263
7364 postInstall = ''
@@ -79,7 +70,7 @@ buildPythonPackage rec {
7970 "$out/bin/poetry" completions fish > "$out/share/fish/vendor_completions.d/poetry.fish"
8071 '';
8172
82− checkInputs = [ pytestCheckHook httpretty pytest-mock pygments pytestcov ];
73+ checkInputs = [ pytestCheckHook httpretty pytest-mock pytestcov ];
8374 preCheck = "export HOME=$TMPDIR";
8475 disabledTests = [
8576 # touches network
@@ -88,10 +79,13 @@ buildPythonPackage rec {
8879 "load"
8980 "vcs"
9081 "prereleases_if_they_are_compatible"
82+ "test_executor"
9183 # requires git history to work correctly
9284 "default_with_excluded_data"
9385 # toml ordering has changed
9486 "lock"
87+ # fs permission errors
88+ "test_builder_should_execute_build_scripts"
9589 ];
9690
9791 meta = with lib; {