Search Criteria
Package Details: python-pdfplumber 0.11.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pdfplumber.git (read-only, click to copy) |
---|---|
Package Base: | python-pdfplumber |
Description: | Plumb a PDF for detailed information about each char, rectangle, line, et cetera. |
Upstream URL: | https://github.com/jsvine/pdfplumber |
Licenses: | MIT |
Submitter: | falko17 |
Maintainer: | falko17 |
Last Packager: | falko17 |
Votes: | 1 |
Popularity: | 0.042666 |
First Submitted: | 2021-07-14 21:20 (UTC) |
Last Updated: | 2024-08-22 14:01 (UTC) |
Dependencies (5)
- python (python37AUR, python311AUR, python310AUR)
- python-pdfminer (pdfminerAUR)
- python-pillow (python-pillow-gitAUR)
- python-pypdfium2AUR
- python-setuptools (make)
Latest Comments
martinc commented on 2022-05-10 08:58 (UTC)
Thank you. All working again.
falko17 commented on 2022-05-09 21:52 (UTC)
Thanks again for your comment. As mentioned here or here by the repository owner, the dependency to
pdfminer.six
will always require a version that will become out-of-date at some point -- even though using a newer version most likely won't cause any trouble, which is why I kept the dependency here>=
rather than==
.This worked until now, but due to some change (I'm not exactly sure where), when
paper2remarkable
importspikepdf
which importspkg_resources
, this requirement mismatch is caught by the requirement resolver and the whole thing crashes on an Exception.Since I don't want to require an older version here though, I've now resolved this by loosening the requirement within
pdfplumber
too, so it should work again (and future updates hopefully shouldn't cause the same errors to happen).martinc commented on 2022-05-09 16:13 (UTC)
Hi, with everything up-to-date (
python-pdfminer.six
replaced withpython-pdfminer
), runningp2r
barfs withAny idea what might be causing this?
falko17 commented on 2021-12-14 23:21 (UTC) (edited on 2022-05-06 12:39 (UTC) by falko17)
Thanks for your comment! At the very least,
pdfplumber
doesn't seem to work well withpython-pdfminer
, so I've replaced the dependency withpython-pdfminer.six
.That said, while the
20200517
-version ofpython-pdfminer.six
is listed in theirrequirements.txt
, requiring that exact version would make this package much more cumbersome to install — according to this comment of the repository owner, it will probably also be the case thatpdfplumber
will always require an exact version ofpdfminer.six
instead of just a minimum version. As said in the same comment, the newestpdfminer.six
version will still work in "most" situations though (specifically, comparing test results across the two versions, it seems that converting a PDF to CSV and functionality described in this issue won't work), so I think keeping this dependency as a minimum instead of exact requirement would be preferred in most cases. I've added a shortpre_install
message notifying the user of the situation.EDIT: As upstream has now updated their dependency on
pdfminer.six
to version20211012
, the problem has been resolved (for now). Sincepython-pdfminer.six
has now been moved into community'spython-pdfplumber
, I've also updated the dependencies to reflect that.martinc commented on 2021-12-13 15:54 (UTC)
Hi, just installed
paper2remarkable
(thanks!) and foundpdfplumber
complaining that it wanted an exact (20200517) version ofpython-pdfminer.six
. A quick google suggests you've already had a conversation with upstream (and I fixed things by installing the required version).But I can't get
pdfplumber
to work withpython-pdfminer
(or a newer version of-six
) which the dependencies here suggest should be possible. Is it?