Closed milahu closed 3 months ago
setup.cfg conflicts with setup.py
https://github.com/newren/git-filter-repo/blob/4bc9022afce5e2e138596bbecf4df310212ae164/release/setup.cfg#L26
https://github.com/newren/git-filter-repo/blob/4bc9022afce5e2e138596bbecf4df310212ae164/release/setup.py#L21
error:
$ python3 -m installer --prefix prefix-git-filter-repo-2.38.0 git_filter_repo-2.38.0-py2.py3-none-any.whl FileExistsError: File already exists: /nix/store/4zvcw3cg9mhgbak9ylpb890gs2pp2kwz-python3.10-git-filter-repo-2.38.0/bin/git-filter-repo
fix: remove the scripts = git-filter-repo line from setup.cfg
scripts = git-filter-repo
the build of the same version of git-filter-repo has worked before so i blame the new python installer (python3.10-installer-0.7.0)
my build script is git-filter-repo.nix
setup.cfg and setup.py were nuked in 2c9cc90609a7 (Modernize and simplify Python packaging, 2023-09-24); did that commit resolve things for you, or is there still a problem?
yes, fixed by updating
setup.cfg conflicts with setup.py
https://github.com/newren/git-filter-repo/blob/4bc9022afce5e2e138596bbecf4df310212ae164/release/setup.cfg#L26
https://github.com/newren/git-filter-repo/blob/4bc9022afce5e2e138596bbecf4df310212ae164/release/setup.py#L21
error:
fix: remove the
scripts = git-filter-repo
line from setup.cfgthe build of the same version of git-filter-repo has worked before so i blame the new python installer (python3.10-installer-0.7.0)
my build script is git-filter-repo.nix