Skip to content

Commit

Permalink
src/sage/all__sagemath_repl.py: Filter networkx warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed May 1, 2024
1 parent c4363fc commit a507038
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/all__sagemath_repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
message=r"Pickle, copy, and deepcopy support will be "
r"removed from itertools in Python 3.14.")

# triggered in Python 3.9 on Redhat-based distributions
# https://github.com/sagemath/sage/issues/37863
# https://github.com/networkx/networkx/issues/7101
warnings.filterwarnings('ignore', category=RuntimeWarning,
message="networkx backend defined more than once: nx-loopback")

from .all__sagemath_objects import *
from .all__sagemath_environment import *
Expand Down

0 comments on commit a507038

Please sign in to comment.