Package Details: python-pypdf3 1.0.6-4

Git Clone URL: https://aur.archlinux.org/python-pypdf3.git (read-only, click to copy)
Package Base: python-pypdf3
Description: Pure-Python PDF library for splitting, merging, cropping, and transforming PDF pages.
Upstream URL: https://github.com/sfneal/PyPDF3
Keywords: pdf python
Licenses: custom
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 2
Popularity: 0.005468
First Submitted: 2021-03-10 15:48 (UTC)
Last Updated: 2023-02-26 14:46 (UTC)

Latest Comments

« First ‹ Previous 1 2

kernelisstrong commented on 2023-03-10 12:43 (UTC)

The python-setuptools package is installed. @hv15

hv15 commented on 2023-03-08 14:35 (UTC)

@kernelisstrong it is not clear to me where the message is being issued from, is this from calling makepkg? Could you please update your comment and include the complete log. Do you have python-setuptools installed?

kernelisstrong commented on 2023-03-08 13:11 (UTC) (edited on 2023-03-09 10:45 (UTC) by kernelisstrong)

Trying to install the latest version and it shows the following error:

==> Making package: python-pypdf3 1.0.6-4 (Thu 09 Mar 2023 12:44:35 PM EET)
==> Retrieving sources...
  -> Found PyPDF3-1.0.6.tar.gz
==> Validating source files with sha256sums...
    PyPDF3-1.0.6.tar.gz ... Passed
==> Making package: python-pypdf3 1.0.6-4 (Thu 09 Mar 2023 12:44:35 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found PyPDF3-1.0.6.tar.gz
==> Validating source files with sha256sums...
    PyPDF3-1.0.6.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting PyPDF3-1.0.6.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-pypdf3 1.0.6-4 (Thu 09 Mar 2023 12:44:37 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
* Getting build dependencies for wheel...

ERROR Missing dependencies:
    setuptools>=40.8.0
    validate-pyproject -> fastjsonschema<=3,>=2.16.2
==> ERROR: A failure occurred in build().
    Aborting...

hv15 commented on 2023-02-26 14:47 (UTC)

@sekret oops, good catch! Fixed.

sekret commented on 2023-02-26 06:58 (UTC)

Looks like setuptools is still required.

I build in a clean chroot.


==> Retrieving sources...
  -> Found PyPDF3-1.0.6.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting PyPDF3-1.0.6.tar.gz with bsdtar
==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /mnt/chroot/sekret/build

hv15 commented on 2023-02-25 14:51 (UTC)

@dasarne this looks like an issue with setuptools, I've switched the PKGBUILD to use python-build instead (PEP 517), let me if it still doesn't build.

dasarne commented on 2023-02-24 13:38 (UTC) (edited on 2023-02-24 13:39 (UTC) by dasarne)

Installing, it throws the following error:

/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
Traceback (most recent call last):
  File "/home/arne/.cache/yay/python-pypdf3/src/PyPDF3-1.0.6/setup.py", line 32, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
    return orig.install.run(self)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/command/install.py", line 708, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install_egg_info.py", line 25, in finalize_options
    ei_cmd = self.get_finalized_command("egg_info")
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'
==> FEHLER: Ein Fehler geschah in package().
    Breche ab...
 -> Fehler beim Erstellen: python-pypdf3

hv15 commented on 2022-06-05 13:32 (UTC)

Hi @micwoj92, thanks, missing depends added.

micwoj92 commented on 2022-06-05 01:00 (UTC)

Please add python-tqdm to depends.