python3Packages.tabcmd: fix build

setuptools-scm takes the place of pyinstaller-versionfile.
This commit is contained in:
Sarah Clark
2025-10-13 20:31:03 -07:00
parent 69fc5836e0
commit 4e6f525df8
@@ -28,8 +28,6 @@ buildPythonPackage rec {
version = "2.0.18";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-erGngJ3CW+c3PuVq4BTrPGSZ2L/M0EykSoZocku0lOE=";
@@ -39,6 +37,8 @@ buildPythonPackage rec {
# Remove an unneeded dependency that can't be resolved
# https://github.com/tableau/tabcmd/pull/282
sed -i "/'argparse',/d" pyproject.toml
# Uses setuptools-scm instead
sed -i "/'pyinstaller_versionfile',/d" pyproject.toml
'';
pythonRelaxDeps = [
@@ -46,14 +46,19 @@ buildPythonPackage rec {
"urllib3"
];
build-system = [ setuptools ];
build-system = [
setuptools
setuptools-scm
];
pythonRemoveDeps = [
"pyinstaller_versionfile"
];
dependencies = [
appdirs
argparse
doit
ftfy
pyinstaller-versionfile
requests
setuptools-scm
tableauserverclient