Package Details: deptry 0.16.1-1

Git Clone URL: https://aur.archlinux.org/deptry.git (read-only, click to copy)
Package Base: deptry
Description: Find unused, missing and transitive dependencies in a Python project
Upstream URL: https://github.com/fpgmaas/deptry
Licenses: MIT
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 1
Popularity: 0.43
First Submitted: 2024-03-16 15:40 (UTC)
Last Updated: 2024-04-06 15:54 (UTC)

Latest Comments

yochananmarqos commented on 2024-03-19 16:05 (UTC)

@carsme: Ah, you're right about the dependencies. Not sure how I missed that.

carsme commented on 2024-03-19 15:58 (UTC)

@yochananmarqos I'm afraid I cannot reproduce the issue with installer. Regarding the deps, from looking at pyproject.toml I believe the following is the case:

  • colorama is only needed on Windows.
  • tomli is only needed for Python < 3.11.

They are unfortunately still reported as missing by namcap.

yochananmarqos commented on 2024-03-19 01:16 (UTC) (edited on 2024-03-19 01:18 (UTC) by yochananmarqos)

@carsme: For some reason the Python module is not being installed by Installer. I added this to the package() function to compensate for now:

local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
cp -vr "python/$pkgname"/* "${pkgdir}${site_packages}/$pkgname/"

It's also missing dependencies on python-colorama & python-tomli.