From 0917481a238bd9692fe12fe9bb77c37edbb1e5b0 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Wed, 28 Aug 2024 12:21:31 +0200 Subject: [PATCH 1/2] Avoid deepdiff version 8.0.0 in packit tests It depends on numpy --- plans/packit-integration.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/packit-integration.fmf b/plans/packit-integration.fmf index b56481f7..7ff1af8d 100644 --- a/plans/packit-integration.fmf +++ b/plans/packit-integration.fmf @@ -25,7 +25,7 @@ adjust: - how: install package: python3-pip - how: shell - script: pip3 install build deepdiff + script: pip3 install build 'deepdiff < 8.0.0' # version 8.0.0 depends on numpy, avoid it - when: "distro == rhel-8 or distro == centos-8 or distro == centos-stream-8" because: "packit doesn't support EL 8" From 2d9efe366febfb3c90d49bd54b860c3e37a862e7 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Wed, 28 Aug 2024 12:29:23 +0200 Subject: [PATCH 2/2] Substitute types-pkg_resources with types-setuptools --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ef59e7a3..72fd26ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] additional_dependencies: - [types-pkg_resources, types-requests, types-Deprecated] + [types-setuptools, types-requests, types-Deprecated] - repo: https://github.com/teemtee/tmt.git rev: 1.31.0 hooks: