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

Retag wheels automatically when fusing #215

Merged
merged 21 commits into from
Jun 7, 2024

Commits on Apr 22, 2024

  1. Add '--retag' flag to delocate-fuse command

    This adds the ability to "retag" a universal2 fused wheel. When running
    delocate-fuse with this flag, it will update the filename and the
    dist-info file of the fused wheel to reflect that it is a universal2
    wheel.
    dunkmann00 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    8a5a11a View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    dunkmann00 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    80e121c View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    72a1635 View commit details
    Browse the repository at this point in the history
  2. Detect if a wheel's name should use universal2

    This updates '_get_archs_and_version_from_wheel_name' to check if both
    arm64 and x86_64 platform tags are in the wheel's filename. If they are
    both present, it changes the returned arch to be universal2 with the
    appropriate version.
    dunkmann00 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    13489f4 View commit details
    Browse the repository at this point in the history
  3. Update retagging to use functions from delocating

    This is now much simpler and more generalized. It first updates the name
    to contain platform tags from both from_wheel and to_wheel. Next it
    calls '_check_and_update_wheel_name' which fixes any issues with the
    name AND will convert it to universal2 if necessary. And finally, it
    calls '_update_wheelfile' to update the info in the WHEEL file to match
    the new name.
    dunkmann00 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    e0ec141 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. Configuration menu
    Copy the full SHA
    2703027 View commit details
    Browse the repository at this point in the history
  2. Make fuse retagging the default behavior

    This also updates the fuse function to support pathlib paths and updates
    the retagging function to use pathlib paths.
    dunkmann00 committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    f31e82c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8e8a1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9790cb3 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    7db982d View commit details
    Browse the repository at this point in the history
  2. Update fuse_trees temp context

    This also required some typing changes to functions called by
    fused_trees.
    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    2461259 View commit details
    Browse the repository at this point in the history
  3. Update fuse_wheels test

    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9adf625 View commit details
    Browse the repository at this point in the history
  4. Fix style/typing

    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ba78f01 View commit details
    Browse the repository at this point in the history
  5. Pacify mypy

    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f90341c View commit details
    Browse the repository at this point in the history
  6. Address coverage issues

    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    10949cb View commit details
    Browse the repository at this point in the history
  7. Fix new delocating test

    dunkmann00 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    80b0d8b View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Add another test for universal2 wheel version

    Depending on the version of each wheel being fused, the universal2
    wheel's version can be either the x86_64 or the arm64 wheel's version.
    The first test for this is testing the scenario where the x86_64 wheel's
    version should be used. This new test is tesing the scenario where the
    arm64 wheel's version should be used.
    dunkmann00 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    160ba3d View commit details
    Browse the repository at this point in the history
  2. Move delocate-fuse functionality to delocate-merge

    This moves the old 'delocate-fuse' functionality into the new
    'delocate-merge' command. Running 'delocate-fuse' will now print a
    message notifying the user of this change and then exit with an exit
    code of 1. This also updates relevant tests, the changelog, and the
    README.
    dunkmann00 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    f1716b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    928a5be View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    980a15b View commit details
    Browse the repository at this point in the history
  2. Fix delocate-fuse test

    dunkmann00 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    a79cb51 View commit details
    Browse the repository at this point in the history