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

Include WHEEL metadata when using PDM and poetry backends #2881

Merged
merged 3 commits into from
Jan 18, 2023

Commits on Jan 18, 2023

  1. demo_pkg_inline.build: PEP 517, respect the metadata_directory

    If the caller provides a metadata_directory, then put the contents into the
    wheel (instead of the hardcoded metadata in the module).
    
    From pyproject-api with modifications:
    
      * correct the order of the `build_wheel` arguments according to PEP 517 to
        work correctly with pyproject_hooks
      * remove unnecessary `dedent` calls (these are applied during build)
    masenf committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    3ac77e9 View commit details
    Browse the repository at this point in the history
  2. pyproject.toml: depend on pyproject_api >= 1.5

    missing WHEEL metadata with certain PEP 517 backends
    
    Fix tox-dev#2870
    masenf committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    d9091ea View commit details
    Browse the repository at this point in the history
  3. pyproject: only pass metadata_directory when it's not empty

    Passing empty `metadata_directory` to `build_wheel` or `build_editable` can
    cause some PEP 517 backends to create a wheel without metadata.
    
    Fix tox-dev#2880
    masenf committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    79d1b73 View commit details
    Browse the repository at this point in the history