Skip to content

Latest commit

 

History

History
266 lines (210 loc) · 15.7 KB

CHANGELOG.md

File metadata and controls

266 lines (210 loc) · 15.7 KB

1.8.2 (19 September 2024)

  • Define the types for all ctypes function calls. This ensures that no information is lost from implicit downcasts.
  • Fix overzealous warnings if the vendored Microsoft Visual C++ runtime is too old. Now, the warning is issued only if the vendored Microsoft Visual C++ runtime comes from an older platform toolset than that which the application was built against.

1.8.1 (27 August 2024)

  • To improve performance during name mangling, fix the PE checksum only if the checksum existed previously.
  • Require pefile >= 2024.8.26 and make the changes necessary to work with this version of pefile.

1.8.0 (16 August 2024)

  • Improve performance when the .load-order file is used for Python <= 3.7 or Conda Python <= 3.9.
  • Warn if the vendored Microsoft Visual C++ runtime DLLs are too old. These DLLs do not provide forward compatibility, and compatibility issues may result if the vendored Microsoft Visual C++ runtime DLLs are older than those that the application was built against.
  • Rename --add-dll to --include. --add-dll will continue to be supported as an alias.
  • Rename --no-dll to --exclude. --no-dll will continue to be supported as an alias.
  • Allow --add-path, --include, --exclude, and --no-mangle to be specified multiple times. When specified multiple times, values are combined.

1.7.4 (7 August 2024)

  • Fix OSError: Error loading *.dll; The operation completed successfully. Previously, this error occurred intermittently when importing packages for Python <= 3.7 or Conda Python <= 3.9.

1.7.3 (6 August 2024)

  • Don't vendor the free-threaded Python DLL, e.g. python313t.dll.
  • Restore mangling of Visual C++ runtime redistributable DLLs. The problem this was meant to solve has been found to have a different cause. Plus, it has been discovered that mangling these DLLs does have a benefit. These DLLs do not provide forward compatibility, and lack of name mangling can cause compatibility issues if a Python module ends up using an older version of a Visual C++ runtime redistributable DLL than the version it was built against.
  • Clear the /DEPENDENTLOADFLAG value for any .pyd or vendored DLLs (except those added with --add-dll). This ensures that the default DLL search path for Python extension modules is not overridden.

1.7.2 (1 August 2024)

  • Improve analysis of wheel tags. This improves support for future versions of Python through 3.99. It is expected that for most future Python releases, no explicit support will need to be implemented.
  • Add Documentation and Changelog links to PyPI.
  • Don't mangle Visual C++ runtime redistributable DLLs. Mangling of these DLLs was added in version 1.3.3. More recent considerations have indicated that mangling these DLLs offers questionable benefit. Also, it is believed that at least one of these DLLs uses process-global state, and having 2 versions in the same process can cause DLL load errors.

1.7.1 (3 July 2024)

  • Support for Python 3.13, including experimental free-threaded wheels.

1.7.0 (20 June 2024)

  • Update tests to use Python 3.12.
  • Describe name-mangling in more detail in the README.
  • Rename --ignore-in-wheel to --ignore-existing. --ignore-in-wheel will continue to be supported as an alias.
  • Introduce the --analyze-existing option to vendor dependencies of DLLs that already exist in the wheel.

1.6.0 (17 April 2024)

  • Introduce the --include-imports flag to vendor .lib import library files along with DLLs.

1.5.4 (7 March 2024)

  • Support abi3 wheels for Python 3.9 and 3.10 for Windows ARM64.
  • Fix regression where wheel contents were not compressed.

1.5.3 (5 March 2024)

  • Support SOURCE_DATE_EPOCH environment variable for reproducible builds.
  • Support docstrings delimited using 1 double-quote or 1 single-quote when inserting the .py patch.

1.5.2 (18 December 2023)

  • Improve internal and external documentation.
  • Fix OSError: [Errno 22] Invalid argument when using Windows Store version of Python.
  • Fix error handling when calling kernel32 functions.

1.5.1 (14 September 2023)

  • Copy wheel as-is to destination if no external dependencies are needed.
  • Don't vendor DLLs required by python_d.exe for debug wheels.
  • Place .py patch after header comment and shebang if either exists.
  • Display warning if wheel seems to have a namespace package that's not specified in --namespace-pkg.
  • Fix handling of special characters in filenames in RECORD file.

1.5.0 (8 August 2023)

  • Make whitespace around the .py patch prettier.
  • Use the term "overlay" in code and documentation to describe PE file trailing data.
  • Ignore .pyd files in .data directory outside of .data/purelib and .data/platlib.
  • Don't vendor debug versions of CPython DLLs (e.g. python3_d.dll).
  • Introduce the --include-symbols option to vendor debug symbol files along with DLLs.

1.4.0 (20 July 2023)

  • Introduce support for namespace packages with the --namespace-pkg option.
  • Move "updating RECORD" message to verbose mode.

1.3.8 (20 June 2023)

  • Remove unnecessary import from __init__.py patch.
  • Update tests to account for removal of attribute certificate table when name-mangling, a change that first appeared in release 1.3.3.
  • Ignore dependency from msvcp140.dll to concrt140.dll because this dependency appears to be unnecessary after Windows XP.

1.3.7 (16 May 2023)

  • Provide the C source code for a delay-load import hook.
  • Remove load order calculation. The .load-order file still exists to aid in loading DLLs for Python 3.7 or lower, but it no longer contains the DLLs in any particular order. This change was made previously in 1.3.3, was reverted in 1.3.4, and is now restored.
  • Check for directory and file existence in the __init__.py patch. This improves compatibility with repackaging tools that relocate the vendored DLLs.
  • Don't vendor vcruntime140.dll for PyPy3.10.

1.3.6 (18 April 2023)

  • Use Unix-style line endings for .load-order file.
  • Add --no-diagnostic flag to avoid writing diagnostic information to DELVEWHEEL metadata file.

1.3.5 (24 March 2023)

  • Revert the improved support for delay-load DLLs. This change caused other problems, and delay-load DLLs don't seem to be used too widely anyway.
  • Document that support for delay-load DLLs is limited.

1.3.4 (8 March 2023)

  • Restore the load order calculation because it turns out to be necessary for improving support for delay-load DLLs.
  • Improve support for delay-load DLLs.

1.3.3 (27 February 2023)

  • Clarify the supported platforms in the README.
  • Improve comments and docstrings.
  • Remove load order calculation. The .load-order file still exists to aid in loading DLLs for Python 3.7 or lower, but it no longer contains the DLLs in any particular order.
  • Preserve line endings when patching __init__.py.
  • Remove attribute certificate table when name-mangling. This also removes the Visual C++ redistributable DLLs from the no-mangle list. They will now be name-mangled by default.

1.3.2 (21 February 2023)

  • Fix the calculation for the SizeOfImage and SizeOfInitializedData PE headers during name-mangling.
  • During name-mangling, if enough internal padding space exists within a DLL, use this space to write the new dependency names instead of creating a new PE section. This allows us to name-mangle the dependencies of a DLL containing trailing data as long as enough padding space exists.
  • Remove libwinpthread from the default no-mangle list.

1.3.1 (16 February 2023)

  • Improve error message if --strip fails to remove all trailing data.
  • Correct the calculation that determines whether a DLL contains trailing data if the last entry in the PE section header does not correspond to the last section of the PE file.
  • Remove the machomachomangler dependency. delvewheel now takes full responsibility for DLL name-mangling.

1.3.0 (10 February 2023)

  • Use Unix line endings for the RECORD and DELVEWHEEL metadata files.
  • Improve error message in name-mangling step when a DLL has trailing data.
  • Preserve the order of paths specified with --add-path.
  • Introduce the --strip flag to automatically strip DLLs with trailing data during the name-mangling step.

1.2.0 (7 January 2023)

  • Drop support for Python 3.6. Python 3.7+ will be required to run delvewheel itself. Wheels with a target Python version of 3.6 can still be repaired.
  • Don't vendor DLLs included with CPython 3.9 or 3.10 arm64 for wheels targeting those versions.
  • Make the DELVEWHEEL metadata file more structured.
  • Add tests for wheels that have no external DLL dependencies.
  • Include delvewheel version in help menu.

1.1.4 (4 December 2022)

  • Add Python 3.12 to trove classifiers.
  • Don't vendor DLLs required by CPython 2.6, 3.2, and 3.3 for wheels targeting those versions.
  • Validate DLL names provided as arguments.
  • Improve Anaconda Python detection.
  • Use wheel distribution name in hash for name-mangling.

1.1.3 (4 December 2022)

  • Withdrawn due to a mistake in the release process.

1.1.2 (15 November 2022)

  • For abi3 wheels, don't include DLLs included with Python.
  • Don't assume vcruntime140_1.dll is present for Python 3.8 x64.
  • Don't vendor DLLs included with CPython 3.12.

1.1.1 (4 November 2022)

  • Improve compatibility with PyInstaller. Repaired wheels no longer raise an error immediately if they can't find the vendored DLLs when in a PyInstaller environment.
  • Remove the Visual C++ runtime redistributable directory from the default search path.

1.1.0 (14 October 2022)

  • Revise lists of system DLLs.
  • Introduce experimental support for repair of win_arm64 wheels.
  • Improve documentation and code style.
  • Optimize the __init__.py patch for Python >= 3.10.
  • Ensure that delvewheel show always shows the dependent DLLs that are not found.

1.0.1 (29 September 2022)

  • Add unit tests for more Python versions and platforms.
  • Avoid including libpypy3.9-c.dll when repairing a PyPy3.9 wheel.
  • Avoid OSError: [Errno 22] Invalid argument during name-mangling step when running delvewheel in PyPy.

1.0.0 (26 September 2022)

  • Label project as production/stable.
  • Fix "relative import outside package" warning.
  • Add unit tests.
  • Make delvewheel needed output prettier.

0.0.25 (8 September 2022)

  • Undo deprecation of --no-mangle-all. It will stay.

0.0.24 (2 September 2022)

  • Don't mangle ucrtbased.dll.
  • Fix DLL load error for Anaconda Python 3.8 and 3.9.

0.0.23 (17 August 2022)

  • Increase hash length when name-mangling DLLs.
  • Remove extra newline from output end.
  • Document CPU architecture limitations.
  • Document warning regarding --add-dll.
  • Deprecate --no-mangle-all.

0.0.22 (28 April 2022)

  • Improve performance of reading PE files.
  • Print warnings from pefile at verbosity level 2.
  • Disable the Anaconda workaround for Python 3.8.13.

0.0.21 (1 April 2022)

  • Record command-line arguments in DELVEWHEEL file to aid in diagnosing issues.
  • Don't vendor DLLs that are included with PyPy3.7 64-bit or PyPy2.7.

0.0.20 (20 February 2022)

  • Remove the limitation where the bitness of Python interpreter must match the bitness of the wheel.
  • Ensure that the search for .pyd files is case-insensitive. Previously, extension modules would be missed if the .pyd extension was not all lowercase.

0.0.19 (18 February 2022)

  • Fix a bug where using --add-dll can cause failures during the name-mangling step.
  • Fix a bug where --ignore-in-wheel does not take effect during a wheel repair.
  • Allow delvewheel to run on non-Windows systems.
  • Disable the Anaconda workaround on versions where Anaconda has fixed its bug.
  • Do not start the __init__.py patch with """"""" if unnecessary.
  • Document the limitations of --ignore-in-wheel.
  • Don't vendor DLLs included with CPython 3.11 or PyPy3.8 for wheels targeting those versions.

0.0.18 (22 January 2022)

  • Fix a parse error if __init__.py contains a docstring that uses triple single-quotes.
  • Fix a parse error if __init__.py contains a docstring whose contents start with a double-quote.

0.0.17 (9 December 2021)

  • Don't mangle libwinpthread*.dll.

0.0.16 (9 December 2021)

  • Avoid adding __init__.py to a folder with the same name as a top-level module. This ensures that the module search order is unaffected by the wheel repair process.

0.0.15 (30 September 2021)

  • Fix an issue with the Anaconda workaround where CONDA_DLL_SEARCH_MODIFICATION_ENABLE was not restored.

0.0.14 (5 August 2021)

  • Work around a bug in Anaconda distribution of Python where os.add_dll_directory() has no effect.
  • Don't vendor DLLs included with Python 3.10 for wheels targeting this version.

0.0.13 (12 July 2021)

  • Continue searching when a DLL dependency of the wrong bitness is found.

0.0.12 (23 March 2021)

  • Parse __init__.py correctly when comments precede the docstring.
  • Fix __init__.py for Python < 3.8.

0.0.11 (15 February 2021)

  • Introduce the --ignore-in-wheel flag.
  • Avoid repairing wheels that were already repaired.
  • Don't vendor DLLs that are already included with a Python installation.
  • Add the Microsoft Visual C++ runtime redistributable directory to the DLL search path.

0.0.10 (6 February 2021)

  • Ensure that vendored DLLs can be loaded when the wheel has a top-level module.
  • Patch __init__.py correctly in a platlib wheel.
  • Clarify the documentation for the --no-dll flag.

0.0.9 (26 January 2021)

  • Use the delvewheel version number instead of random string when patching __init__.py.
  • Correct the patching of __init__.py when it contains a __future__ import.

0.0.8 (18 January 2021)

  • Correct the parsing of __init__.py with docstring that starts or ends with whitespace.

0.0.7 (18 January 2021)

  • Patch __init__.py correctly in a purelib wheel.
  • Enforce incompatibility with non-Windows platforms.

0.0.6 (5 January 2021)

  • Fix error running on Python 3.8 or earlier.

0.0.5 (4 January 2021)

  • Improve error message if a DLL cannot be name-mangled.
  • Don't mangle msvcr*.dll.
  • Change --add-path to prepend to PATH instead of appending.

0.0.4 (27 December 2020)

  • Correct case where PATH does not end with ;.

0.0.3 (26 December 2020)

  • Introduce --no-mangle-all option.
  • Improve error message if DLL name mangling fails.
  • Place vendored DLLs in a folder at the top level of the wheel.

0.0.2 (26 December 2020)

  • Patch __init__.py correctly when it is nonempty initially and has no docstring.
  • Clarify documentation for --add-dll.

0.0.1 (23 December 2020)

  • First release.