From 159f3c4a5ce5c4c843aafe8653dc3e04cf23383d Mon Sep 17 00:00:00 2001 From: David Auer Date: Thu, 23 Jun 2022 11:55:02 +0200 Subject: [PATCH] Workaround for regession in setuptools_scm --- com.github.jeromerobert.pdfarranger.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/com.github.jeromerobert.pdfarranger.yaml b/com.github.jeromerobert.pdfarranger.yaml index 0003e13..7e2b64e 100644 --- a/com.github.jeromerobert.pdfarranger.yaml +++ b/com.github.jeromerobert.pdfarranger.yaml @@ -50,6 +50,12 @@ modules: build-options: env: SETUPTOOLS_USE_DISTUTILS: stdlib + + # Workaround for regression in setuptools_scm 7.x + # https://github.com/pypa/setuptools_scm/issues/727 + # The exact version is not relevant as long as it is > 1.17 + SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PIKEPDF: 5.1.5 + build-commands: - python3 setup.py install --prefix=${FLATPAK_DEST} sources: