mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
python: pip-tools: 4.2.0 -> 4.3.0
There is a new pip-tools release. A commit [removing the test dependency
on six] is included in this release, so several tests that now pass are
being re-enabled in the check phase. The six-specific tests that still
don't pass require network access and remain disabled. Finally, drop the
dependency on first, which has been dropped by pip-tools. The full
changelog is available at f28d1a7d25/CHANGELOG.md (430-2019-11-25)
.
[removing the test dependency on six]: https://github.com/jazzband/pip-tools/pull/939
This commit is contained in:
parent
6ffdb286e5
commit
f9ef45b183
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six, first
|
||||
{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six
|
||||
, setuptools_scm, git, glibcLocales, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pip-tools";
|
||||
version = "4.2.0";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5427ea4dcc175649723985fbcace9b2d8f46f9adbcc63bc2d7b247d9bcc74917";
|
||||
sha256 = "0x36mp3a3f3wandfc0g8d53gg2jkc14nhisbryzspcl9f05sbvq6";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
checkInputs = [ pytest git glibcLocales mock ];
|
||||
propagatedBuildInputs = [ pip click six first setuptools_scm ];
|
||||
propagatedBuildInputs = [ pip click six setuptools_scm ];
|
||||
|
||||
disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) [
|
||||
# Depend on network tests:
|
||||
@ -32,12 +32,8 @@ buildPythonPackage rec {
|
||||
"test_stdin"
|
||||
"test_upgrade_packages_option"
|
||||
"test_url_package"
|
||||
# Expect specific version of "six":
|
||||
"test_editable_package"
|
||||
"test_input_file_without_extension"
|
||||
"test_locally_available_editable_package_is_not_archived_in_cache_dir"
|
||||
"test_no_candidates"
|
||||
"test_no_candidates_pre"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
@ -50,6 +46,5 @@ buildPythonPackage rec {
|
||||
homepage = https://github.com/jazzband/pip-tools/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user