Skip to content

Bump wheel from 0.45.1 to 0.46.2 in /paddle/scripts in the pip group across 1 directory - #4

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/paddle/scripts/pip-92131b0f06
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/paddle/scripts/pip-92131b0f06

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 22, 2026 •

Copy link
Copy Markdown

Bumps the pip group with 1 update in the /paddle/scripts directory: wheel.

Updates wheel from 0.45.1 to 0.46.2

Release notes

Sourced from wheel's releases.

0.46.2

  • Restored the bdist_wheel command for compatibility with setuptools older than v70.1
  • Importing wheel.bdist_wheel now emits a FutureWarning instead of a DeprecationWarning
  • Fixed wheel unpack potentially altering the permissions of files outside of the destination tree with maliciously crafted wheels (CVE-2026-24049)

0.46.1

  • Temporarily restored the wheel.macosx_libfile module (#659)

0.46.0

  • Dropped support for Python 3.8
  • Removed the bdist_wheel setuptools command implementation and entry point. The wheel.bdist_wheel module is now just an alias to setuptools.command.bdist_wheel, emitting a deprecation warning on import.
  • Removed vendored packaging in favor of a run-time dependency on it
  • Made the wheel.metadata module private (with a deprecation warning if it's imported
  • Made the wheel.cli package private (no deprecation warning)
  • Fixed an exception when calling the convert command with an empty description field
Changelog

Sourced from wheel's changelog.

Release Notes

UNRELEASED

  • Added a --local-version option to wheel pack to add, replace, or remove a PEP 440 local version identifier from a wheel ([#570](https://github.com/pypa/wheel/issues/570) <https://github.com/pypa/wheel/issues/570>_)
  • Fixed wheel convert unnecessarily upgrading compatible core metadata versions ([#643](https://github.com/pypa/wheel/issues/643) <https://github.com/pypa/wheel/issues/643>_)

0.47.0 (2026-04-22)

  • Added the wheel info subcommand to display metadata about wheel files without unpacking them ([#639](https://github.com/pypa/wheel/issues/639) <https://github.com/pypa/wheel/issues/639>_)
  • Fixed WheelFile raising Missing RECORD file when the wheel filename contains uppercase characters (e.g. Django-3.2.5.whl) but the .dist-info directory inside uses normalized lowercase naming ([#411](https://github.com/pypa/wheel/issues/411) <https://github.com/pypa/wheel/issues/411>_)

0.46.3 (2026-01-22)

  • Fixed ImportError: cannot import name '_setuptools_logging' from 'wheel' when installed alongside an old version of setuptools and running the bdist_wheel command ([#676](https://github.com/pypa/wheel/issues/676) <https://github.com/pypa/wheel/issues/676>_)

0.46.2 (2026-01-22)

  • Restored the bdist_wheel command for compatibility with setuptools older than v70.1
  • Importing wheel.bdist_wheel now emits a FutureWarning instead of a DeprecationWarning
  • Fixed wheel unpack potentially altering the permissions of files outside of the destination tree with maliciously crafted wheels (CVE-2026-24049)

0.46.1 (2025-04-08)

  • Temporarily restored the wheel.macosx_libfile module ([#659](https://github.com/pypa/wheel/issues/659) <https://github.com/pypa/wheel/issues/659>_)

0.46.0 (2025-04-03)

  • Dropped support for Python 3.8
  • Removed the bdist_wheel setuptools command implementation and entry point. The wheel.bdist_wheel module is now just an alias to setuptools.command.bdist_wheel, emitting a deprecation warning on import.
  • Removed vendored packaging in favor of a run-time dependency on it
  • Made the wheel.metadata module private (with a deprecation warning if it's imported
  • Made the wheel.cli package private (no deprecation warning)

... (truncated)

Commits
  • eba4036 Updated the version number for v0.46.2
  • 557fb54 Created a new release
  • 7a7d2de Fixed security issue around wheel unpack (#675)
  • 41418fa Fixed test failures due to metadata normalization changes
  • c1d442b [pre-commit.ci] pre-commit autoupdate (#674)
  • 0bac882 Update github actions environments (#673)
  • be9f45b [pre-commit.ci] pre-commit autoupdate (#667)
  • 6244f08 Update pre-commit ruff legacy alias (#668)
  • 15b7577 PEP 639 compliance (#670)
  • fc8cb41 Revert "Removed redundant Python version from the publish workflow (#666)"
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps the pip group with 1 update in the /paddle/scripts directory: [wheel](https://github.com/pypa/wheel).


Updates `wheel` from 0.45.1 to 0.46.2
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](pypa/wheel@0.45.1...0.46.2)

---
updated-dependencies:
- dependency-name: wheel
  dependency-version: 0.46.2
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 22, 2026
youge325 pushed a commit that referenced this pull request Oct 16, 2026
…addlePaddle#79861)

* [Distributed] Remove glog calls from libuv TCPStore teardown callbacks

The libuv TCPStore master daemon polls its uv loop on a background thread
whose lifetime is bounded by ~TCPStore. When something still holds a
reference to the global TCPStore (returned as a shared_ptr by
CreateOrGetGlobalTCPStore) at the time exit() starts running handlers,
~TCPStore does not run, the daemon is never stopped or joined, and the loop
keeps polling while static destructors tear down libpaddle's statically
linked glog, destroying its internal mutexes.

A peer rank closing its socket after that point lands in
LibUVClient::readCallback. The VLOG sites in its EOF and error branches are
only ever reached at teardown, so their glog one-time per-call-site
initialization (google::InitVLOG3__) runs for the first time right there and
locks google::vmodule_lock, which pthread_mutex_destroy has already
invalidated. The lock returns EINVAL and glog's SAFE_PTHREAD macro calls
abort() without emitting anything, so the process dies with exit code -6 and
an empty log. The same applies to the write-failure callbacks, which are
triggered by the same event.

Observed on a single node, 8 ranks, after training and evaluation had fully
completed and all metrics were already published:

  #4  __GI_abort
  PaddlePaddle#5  ?? ()                                           from libpaddle.so
  PaddlePaddle#6  phi::distributed::detail::LibUVClient::readCallback(uv_stream_s*, long, uv_buf_t const*)
  PaddlePaddle#7..PaddlePaddle#10 uv_run internals
  PaddlePaddle#11 uv_run
  PaddlePaddle#12 phi::distributed::detail::LibUVMasterDaemon::run

Frame PaddlePaddle#5 is the out-of-line error path of google::InitVLOG3__, which is a
bare `call abort@plt`, and &google::vmodule_lock reads __kind == -1 at that
point, confirming it had already been destroyed.

This removes the glog calls from the libuv callbacks that only execute during
connection teardown. It does not address the underlying lifetime problem (a
background thread outliving static destruction is undefined behaviour
regardless), but it removes the trigger that currently turns a clean run into
a non-zero exit code.

* [Distributed] Keep the teardown diagnostics, write them to stderr

Follow-up on the previous commit: instead of dropping the messages in the
libuv teardown callbacks, route them through a small stderr helper so the
diagnostics survive.

The constraint is that these callbacks can run after glog's static state has
been destroyed, so they cannot touch glog. Writing to stderr avoids that:

  - FLAGS_v is a plain int32 with no destructor, so reading it stays valid for
    the whole lifetime of the process. Gating on it keeps the default
    behaviour unchanged, these paths stay silent unless the user already asked
    for that verbosity level.
  - stderr is unbuffered, so the ordering relative to the rest of the log is
    preserved and nothing depends on a flush at exit time. A fully buffered
    stream such as std::cout would hold the lines until _IO_cleanup and emit
    them at the very end of the process, detached from their context.

Verified with a standalone probe that reproduces the same ordering (static
destructors run, then a long exit handler, with a background thread writing
the whole time): locking a destroyed glog-style mutex aborts 5/5 runs, while
both stderr and std::cout complete 5/5 with every line accounted for.

* [Distributed] Add tests for the libuv TCPStore teardown diagnostics

Covers the three call sites introduced in the previous commit by driving a
real LibUVMasterDaemon through the disconnect paths with a raw socket and
capturing fd 2:

  - ReportsPeerDisconnectWhenVerbose: a clean close (FIN) reaches the UV_EOF
    branch and reports at verbosity 5.
  - SilentOnPeerDisconnectByDefault: the same path prints nothing at the
    default verbosity, pinning down that replacing VLOG with the stderr
    helper is not a behaviour change.
  - ReportsReadErrorWhenVerbose: SO_LINGER with a zero timeout turns close()
    into an RST, reaching the nread < 0 branch.
  - ReportsMalformedMessageWhenVerbose: a SET command declaring a key longer
    than MAX_KEY_LEN makes SegmentedDataStream::readKey throw, which is
    caught in readCallback and reported at verbosity 2.

The tests go through detail::create_libuv_tcpstore, which is already declared
in tcp_store.h, so the test target does not need the libuv headers. Helpers
redirect fd 2 to a temporary file, save and restore FLAGS_v, and poll for the
expected output with a three second budget instead of sleeping blindly.

The two write-failure call sites in WriteUVContent are not covered. Driving
them requires the peer to vanish exactly while the server is replying, which
cannot be arranged reliably enough for a test that runs in CI.

* [Distributed] Use PRId64 for the ssize_t read error code

Review feedback. The read error branch printed a value cast to int64_t with
%ld. On LP64 that happens to match, because int64_t is long there, which is
why it compiled clean with -Wformat. On LLP64 it does not: long is 32 bits
while int64_t is 64, so the specifier and the argument disagree. That is
undefined behaviour and MSVC diagnoses it. tcp_store_libuv.cc is listed
unconditionally in STORE_COMMON_SRCS, so it is built on Windows too, and the
new tests sit under #ifndef _WIN32 and cannot catch it.

Switch to the width independent PRId64 from <cinttypes>, which is already
used elsewhere in the tree.

* [Distributed] Cover the libuv write-failure path and skip the tests on macOS

- Add ReportsWriteFailureWhenVerbose: queue a GET and an RST before the
  daemon starts, so the reply fails and WriteUVContent::writeDone reports it.
- Skip the LibUVMasterDaemon tests on macOS. The test executable and the phi
  dylib each link a static glog, and two-level namespaces keep their FLAGS_v
  apart, so raising the verbosity from the test never reaches phi.
- Probe free ports on INADDR_ANY to match the daemon's 0.0.0.0 listener; a
  port free only on loopback could make the daemon's bind fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants