Delocate

Latest version: v0.13.0

Safety actively analyzes 707299 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.13.0

Changed

- `patch_wheel` function raises `FileNotFoundError` instead of `ValueError` on
missing patch files.
- `delocate.fuse.fuse_trees` now auto-detects binary files instead of testing
filename suffixes.
- `delocate-wheel` and `delocate-fuse` now appends the delocate version used to
the wheels metadata.

Deprecated

- `get_rpaths` and `get_install_id` are deprecated due to not supporting
architectures.
- `unique_by_index` is deprecated. Use more-itertools unique_everseen instead.

Fixed

- Fixed `NotImplementedError` when libraries depend on differing binaries
per-architecture.
[230](https://github.com/matthew-brett/delocate/pull/230)
- Now checks all architectures instead of an arbitrary default.
This was causing inconsistent behavior across MacOS versions.
[230](https://github.com/matthew-brett/delocate/pull/230)
- `delocate-merge` now supports libraries with missing or unusual extensions.
[228](https://github.com/matthew-brett/delocate/issues/228)
- Now supports library files ending in parentheses.
- Fixed `Unknown Mach-O header` error when encountering a fat static library.
[229](https://github.com/matthew-brett/delocate/issues/229)

Removed

- Dropped support for Python 3.7 and Python 3.8.
[226](https://github.com/matthew-brett/delocate/pull/226)

0.12.0

Added

- `delocate-wheel` `--lib-sdir` now changes the suffix of the bundled library
directory.
[210](https://github.com/matthew-brett/delocate/pull/210)

Changed

- Sanitize rpaths (`--sanitize-rpaths`) is now the default behavior.
Opt-out with the new `--no-sanitize-rpaths` flag.
[223](https://github.com/matthew-brett/delocate/pull/223)
- Improved error message for when a MacOS target version is not met.
[211](https://github.com/matthew-brett/delocate/issues/211)
- `delocate-fuse` is no longer available and will throw an error when invoked.
To fuse two wheels together use `delocate-merge`. `delocate-merge` does not
overwrite the first wheel. It creates a new wheel with an automatically
determined name. If the old behavior is needed (not recommended), pin the
version to `delocate==0.11.0`.
[215](https://github.com/matthew-brett/delocate/pull/215)

Deprecated

- `--require-target-macos-version` has been deprecated.
`MACOSX_DEPLOYMENT_TARGET` should be used instead of this flag.
[219](https://github.com/matthew-brett/delocate/pull/219)

Fixed

- Existing libraries causing DelocationError were not shown due to bad string
formatting.
[216](https://github.com/matthew-brett/delocate/pull/216)
- Wheels for macOS 11 and later were using invalid literal versions in tags
instead of the macOS release version required by Python packagers.
[219](https://github.com/matthew-brett/delocate/pull/219)
- Fixed regression in `intel` platform support.
[219](https://github.com/matthew-brett/delocate/pull/219)

0.11.0

Added

- Use `--require-target-macos-version` or the `MACOSX_DEPLOYMENT_TARGET`
environment variable to ensure that wheels are
compatible with the specified macOS version. 198

Changed

- Delocate now uses the binaries of the wheel file to determine a more accurate
platform tag, this will rename wheels accordingly. 198
- `delocate-wheel` is now more strict with platform tags and will no longer allow
a wheel to be incompatible with its own tags. 198

Fixed

- `--sanitize-rpaths` was failing with duplicate rpaths.
[208](https://github.com/matthew-brett/delocate/pull/208)

0.10.7

Changed

- Handle glob paths in more cases for `delocate-wheel`, `delocate-path`,
`delocate-listdeps`, and `delocate-addplat`.
[71](https://github.com/matthew-brett/delocate/issues/71)

Fixed

- No longer picks a random directory when multiple directories end with the
package name. [192](https://github.com/matthew-brett/delocate/issues/192)

0.10.6

Added

- Dependencies can be manually excluded with the `--exclude <name>` flag.
[106](https://github.com/matthew-brett/delocate/pull/106)
- Non-portable rpaths can be cleaned up using the `--sanitize-rpaths` flag.
[164](https://github.com/matthew-brett/delocate/pull/164)

0.10.5

Added

- Honor the `SOURCE_DATE_EPOCH` environment variable to support
[reproducible builds](https://reproducible-builds.org/docs/source-date-epoch/).
[187](https://github.com/matthew-brett/delocate/pull/187)

Fixed

- Fixed `UnicodeDecodeError` when an archive has non-ASCII characters.
[189](https://github.com/matthew-brett/delocate/issues/189)

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.