python312Packages.gto: 1.7.1 -> 1.7.2 (#361386)

This commit is contained in:
Nick Cao 2024-12-03 09:07:03 -05:00 committed by GitHub
commit ec852ae44e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,7 @@
funcy,
git,
pydantic,
pytest-cov-stub,
pytest-mock,
pytest-test-utils,
pytestCheckHook,
@ -16,40 +17,32 @@
ruamel-yaml,
scmrepo,
semver,
setuptools,
setuptools-scm,
setuptools,
tabulate,
typer,
}:
buildPythonPackage rec {
pname = "gto";
version = "1.7.1";
version = "1.7.2";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "iterative";
repo = "gto";
rev = "refs/tags/${version}";
hash = "sha256-fUi+/PW05EvgTnoEv1Im1BjZ07VzpZhyW0EjhLUqJGI=";
hash = "sha256-8ht22RqiGWqDoBrZnX5p3KKOLVPRm1a54962qKlTK4Q=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
substituteInPlace setup.cfg \
--replace-fail " --cov=gto --cov-report=term-missing --cov-report=xml" ""
'';
nativeBuildInputs = [
fastentrypoints
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
entrypoints
funcy
pydantic
@ -64,6 +57,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
freezegun
git
pytest-cov-stub
pytest-mock
pytest-test-utils
pytestCheckHook