Package Details: kicad-diff-git r386.be291c6-2

Git Clone URL: (read-only, click to copy)
Package Base: kicad-diff-git
Description: Scripts for performing image diffs between pcbnew layout revisions Resources
Upstream URL:
Licenses: MIT
Conflicts: kicad-diff
Provides: kicad-diff
Submitter: marceljoseph
Maintainer: marceljoseph
Last Packager: marceljoseph
Votes: 1
Popularity: 0.046203
First Submitted: 2023-03-29 07:09 (UTC)
Last Updated: 2023-10-03 19:07 (UTC)

Latest Comments

marceljoseph commented on 2023-10-03 19:07 (UTC)

@cnoisel Sorry, I must have mixed up kicad-diff-git and kiri-git. Try now.

cnoisel commented on 2023-10-03 17:30 (UTC)

Hi @marceljoseph I'm not sure which version you are refering to, there's only one commit and it still use pip to install dependencies. Something like what @dreieck suggested should do the trick.

marceljoseph commented on 2023-08-27 12:49 (UTC)

Please try the latest version. It installs the python dependencies through pacman. It's the "right" way, but some stuff might still be missing. I also would prefer to use requirements.txt as a source of truth.

LongHairedHacker commented on 2023-08-22 08:11 (UTC)

I ran into the same problem as dreieck.

Arch has adopted PEP668 (see, therefore pip will refuse to write anything /usr/lib/python*/site-packages. Unfortunately I don't really know how AUR packages are supposed to handle this change.

marceljoseph commented on 2023-07-19 05:34 (UTC)

Not every python package is in the repos. Unfortunately, that isn't a viable packaging method for python software.

pip install should not mess with your home directory. Are you using some kind of python shim like pyenv? What is which python?

Did you try the proposed change locally? You can git clone this PKGBUILD, modify it locally, and run makepkg to test it out.

dreieck commented on 2023-07-18 17:06 (UTC) (edited on 2023-07-18 17:06 (UTC) by dreieck)

You need to remove the pip install -r KiCad-Diff/requirements.txt, since this will mess with the users home directory, and will not have the dependencies properly listed in the depends array.

Instead, add the required packages to the depends array.

Please remove the prepare() function and add the following to the depends array:

"python-wxpython>=4.0.7" "python-pexpect>=4.8.0"

dreieck commented on 2023-07-18 16:56 (UTC)

Build fails in prepare():

==> Starting prepare()...
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
==> ERROR: A failure occurred in prepare().

Thanks for maintaining!