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

Update auditwheel command to use --exclude #132

Merged
merged 2 commits into from Mar 12, 2024

Commits on Mar 12, 2024

  1. Update auditwheel command to use --exclude

    The internal structure of auditwheel has changed with the 6.0.0 release, causing our current script to break:
    
    ```
    Traceback (most recent call last):
      File "/home/runner/work/jpy/jpy/.github/env/Linux/auditwheel-keep-libjvm.py", line 4, in <module>
        from auditwheel.policy import _POLICIES
    ImportError: cannot import name '_POLICIES' from 'auditwheel.policy' (/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/site-packages/auditwheel/policy/__init__.py)
    ```
    
    This PR fixes that by relying on the command line `--exclude` flag.
    
    Very similar to PR from deephaven/deephaven-server-docker#83
    
    https://github.com/pypa/auditwheel/releases/tag/6.0.0
    devinrsmith committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    6c27838 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd564a7 View commit details
    Browse the repository at this point in the history