python310Packages.poetry-core: 1.1.0 -> 1.2.0

This commit is contained in:
Fabian Affolter
2022-09-25 09:46:37 +02:00
parent 0732058953
commit 8a34b9e136
@@ -15,15 +15,16 @@
buildPythonPackage rec {
pname = "poetry-core";
version = "1.1.0";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "python-poetry";
repo = pname;
rev = version;
sha256 = "sha256-WUgBrO9h1E7N2SVFD47UPv39DMx1yQviV5tcNPmR+/g=";
hash = "sha256-d/VhnG+6qabgLMb8ki46R9+lpCwZNlS8QpM8u3VYmWs=";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
@@ -41,13 +42,20 @@ buildPythonPackage rec {
virtualenv
];
# requires git history to work correctly
disabledTests = [ "default_with_excluded_data" "default_src_with_excluded_data" ];
# Requires git history to work correctly
disabledTests = [
"default_with_excluded_data"
"default_src_with_excluded_data"
];
pythonImportsCheck = [ "poetry.core" ];
pythonImportsCheck = [
"poetry.core"
];
# allow for package to use pep420's native namespaces
pythonNamespaces = [ "poetry" ];
# Allow for package to use pep420's native namespaces
pythonNamespaces = [
"poetry"
];
meta = with lib; {
description = "Core utilities for Poetry";