GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pybuild-deps throws errors w/ latest pip version (25.1) · Issue #5310 · feast-dev/feast

pybuild-deps throws errors w/ latest pip version (25.1) #5310

New issue
Copy link
New issue
Copy link
Closed
#5311
Closed
pybuild-deps throws errors w/ latest pip version (25.1)#5310
#5311
Copy link
Labels
kind/bugpriority/p2

Description

@tchughesiv
tchughesiv
opened on Apr 30, 2025
Issue body actions

Expected Behavior

make lock-python-dependencies-all should run successfully

Current Behavior

pixi run --environment py310 --manifest-path infra/scripts/pixi/pixi.toml \
		"uv pip install -p 3.10 pybuild-deps==0.5.0 && \
		pybuild-deps compile --generate-hashes \
		-o sdk/python/requirements/py3.10-minimal-sdist-requirements-build.txt \
		sdk/python/requirements/py3.10-minimal-sdist-requirements.txt"
Using Python 3.10.14 environment at: infra/scripts/pixi/.pixi/envs/py310
Audited 1 package in 3ms
Traceback (most recent call last):
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/bin/pybuild-deps", line 10, in <module>
    sys.exit(cli())
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/pybuild_deps/scripts/compile.py", line 115, in compile
    hashes = compiler.resolver.resolve_hashes(results) if generate_hashes else None
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/piptools/resolver.py", line 167, in resolve_hashes
    with self.repository.allow_all_wheels(), log.indentation():
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/Users/tohughes/workspace/feast/infra/scripts/pixi/.pixi/envs/py310/lib/python3.10/site-packages/piptools/repositories/pypi.py", line 452, in allow_all_wheels
    self.finder.find_all_candidates.cache_clear()
AttributeError: 'function' object has no attribute 'cache_clear'
make: *** [lock-python-dependencies-all] Error 1

Steps to reproduce

Run make lock-python-dependencies-all

Specifications

  • Version: Python 3.9, 3.10, 3.11
  • Platform: Macos
  • Subsystem:

Possible Solution

Lock pip to prior version (25.0.1) during pybuild-deps execution.

Activity

  1. tchughesiv
    added
    kind/bug
    priority/p2
    on Apr 30, 2025
  2. tchughesiv
    closed this as completedin #5311on Apr 30, 2025
  3. tchughesiv commented on Apr 30, 2025

    @tchughesiv
    tchughesiv
    on Apr 30, 2025
    ContributorAuthor
    More actions

    Similar issue also seen in pip-tools when using pip v25.1 -
    pypa/pip-tools#2176
    pypa/pip-tools#2177

  4. tchughesiv commented on Apr 30, 2025

    @tchughesiv
    tchughesiv
    on Apr 30, 2025
    ContributorAuthor
    More actions

    Similar issue also reported in pybuild-deps -
    hermetoproject/pybuild-deps#295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.