Package Details: pip-tools 7.4.1-1

Git Clone URL: https://aur.archlinux.org/pip-tools.git (read-only, click to copy)
Package Base: pip-tools
Description: A set of tools to keep your pinned Python dependencies fresh
Upstream URL: https://github.com/jazzband/pip-tools/
Licenses: BSD-3-Clause
Submitter: saimn
Maintainer: SpotlightKid
Last Packager: SpotlightKid
Votes: 17
Popularity: 0.45
First Submitted: 2012-09-30 21:57 (UTC)
Last Updated: 2024-03-06 14:39 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Freed commented on 2022-10-13 09:42 (UTC)

pip-tools has its shell completions (bash/zsh/fish) by click. Please add them.

See https://click.palletsprojects.com/en/8.1.x/shell-completion/#enabling-completion

SpotlightKid commented on 2022-06-28 13:54 (UTC)

Note: As of version 6.7.0 of this package, pip-sync is still broken when using python-pip 21.0 from Extra due to pip-tools using internal functions from pip, which are not part of its official API.

python-pip 22.1.2, which should fix it, is currently in Testing.

SpotlightKid commented on 2022-04-18 12:11 (UTC)

@Procrat: Like I said below "I can't really guarantee [pip-tools] will work properly with python-pip 20.3.4".

As long as Arch python-pip is stuck at an outdated version, I'm afraid this package is unfixably broken.

Procrat commented on 2022-04-18 08:16 (UTC)

pip-sync still fails for me with this error:

Traceback (most recent call last):
  File "/usr/bin/pip-sync", line 33, in <module>
    sys.exit(load_entry_point('pip-tools==6.6.0', 'console_scripts', 'pip-sync')())
  File "/usr/bin/pip-sync", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  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 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/piptools/scripts/sync.py", line 12, in <module>
    from pip._internal.metadata import get_environment
ModuleNotFoundError: No module named 'pip._internal.metadata'

Best I can tell, it's because the >=21.2 dependency. Does this work for you? Is it too late to downgrade pip-tools that is compatible with the current version of python-pip in the Arch repos (21.0)?

SpotlightKid commented on 2022-02-04 16:37 (UTC) (edited on 2022-02-04 16:37 (UTC) by SpotlightKid)

@kalessin: I'm am now patching setup.cfg to remove the version constraint on the pip dependency, so the pip-tools programs can at least run. I can't really guarantee they'll work properly with python-pip 20.3.4.

SpotlightKid commented on 2021-11-16 17:12 (UTC)

python-pip is still version 20.3.4-1 in extra. Not sure what I can do now other than wait.

kalessin commented on 2021-11-15 22:20 (UTC)

@SpotlightKid I just ran into this, changing depends to python-pip>=20.3 does not work, 6.4.0 does need pip ≥ 21.2. See table: https://github.com/jazzband/pip-tools#versions-and-compatibility.

I checked out the PKGBUILD at commit c356384aa6f4762a46b80eb470de9e947239d739 to workaround.

SpotlightKid commented on 2021-10-30 12:58 (UTC)

@Procat: this is already fixed, please update.

Procrat commented on 2021-10-30 01:50 (UTC)

pip-tools 6.4.0 depends on pip >= 21.2. However, pip is still at 20.3.4 in the extra repository.

SpotlightKid commented on 2021-10-26 09:01 (UTC)

@dbrgn: Indeed. Fixed.