Skip to content

download from a lockfile via wppm #1600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
7 tasks done
stonebig opened this issue May 11, 2025 · 1 comment
Closed
7 tasks done

download from a lockfile via wppm #1600

stonebig opened this issue May 11, 2025 · 1 comment

Comments

@stonebig
Copy link
Contributor

stonebig commented May 11, 2025

let's decompose the problem

  • wppm supporting Drag & Drop of a pylock.toml file , understanding it as such by its prefix/postfix
  • given current pip state
    • transform the pylock file into a requirement-with-hash file

    • create a WheelHouse directory

      • at WheelHouse/. the pylock file and the requirement-with-hash file
      • at subdirectory from pylock name, the target wheels
    • if no "default" Wheelhouse, download on confirmation from web into pylock subdirectory

    • otherwise download from "default" to same sub-directory

    • check wheels all there (errors management)

    • if yes install

so we need:

  • end-user / wppm
    • Drag & Drop for the comfort use
    • a -ws --WheelSource option to specify where we look for wheels to install from, default=None or ./default if exists
    • a -wd --WheelDrain option to specify where we place wheels for install, default=None or ./default if exists
    • a check all there and right before applying
  • build side:
    • use wppm to post-generate a default directory with wheels from another pylock file
      • generate slim version
      • generate wheel version:
        • like a dot version
        • then use pip lock with a big requirement to generate a reference pylock.www.toml
        • from wppm pylock.www.toml from feed included.wheels
        • then final zip
@stonebig
Copy link
Contributor Author

done, with limited pip-25.1.1 "pip lock" capabilities... it could be simplified when pip evolves

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

No branches or pull requests

1 participant