Skip to content
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

[DRAFT] Add version to metadata hook, use version to retrieve deps #1511

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 27, 2024

  1. [DRAFT] Add version to metadata hook, use version to retrieve deps

    This is a very draft proposal on how to fix pypa#1348 and pypa#1349 - more
    to see if this is a good direction. It should likely be split to
    two PRs (and of course tests and docs are needed):
    
    * extending custom metadata plugin to allow passing version through
      hook's version property to distinguish standard and editable builds
      (also including extending the hatchling CLIs.
    
    * adding version to CLI where hatch queries hatchling to include standard/
      editable version when querying for available dependencies.
    
    Not all changes have been yet applied, this is more to check if
    this is the right direction.
    potiuk committed May 27, 2024
    Configuration menu
    Copy the full SHA
    762d7a4 View commit details
    Browse the repository at this point in the history