Skip to content

Commit

Permalink
Skip macos for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Sep 8, 2022
1 parent f1e657c commit 849b324
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/tutorials/dask.rst
Expand Up @@ -510,10 +510,10 @@ IPv6 Support

.. versionadded:: 2.0.0

XGBoost has initial IPv6 support for the dask interface. Due to most of the cluster
support for IPv6 is partial (duo stack instead of IPv6 only), we require additional user
configuration similar to :ref:`tracker-ip` to help XGBoost obtain the correct address
information:
XGBoost has initial IPv6 support for the dask interface on Linux. Due to most of the
cluster support for IPv6 is partial (duo stack instead of IPv6 only), we require
additional user configuration similar to :ref:`tracker-ip` to help XGBoost obtain the
correct address information:

.. code-block:: python
Expand Down
5 changes: 5 additions & 0 deletions python-package/xgboost/testing.py
@@ -1,13 +1,18 @@
"""Utilities for defining Python tests."""

import socket
from platform import system
from typing import TypedDict

PytestSkip = TypedDict("PytestSkip", {"condition": bool, "reason": str})


def has_ipv6() -> bool:
"""Check whether IPv6 is enabled on this host."""
# connection error in macos, still need some fixes.
if system() not in ("Linux", "Windows"):
return False

if socket.has_ipv6:
try:
with socket.socket(
Expand Down

0 comments on commit 849b324

Please sign in to comment.