[Bug 2002660] Re: networkx incompatible with numpy 1.24
Launchpad Bug Tracker
2002660 at bugs.launchpad.net
Fri Jan 20 07:10:19 UTC 2023
This bug was fixed in the package networkx - 2.8.8-1ubuntu1
---------------
networkx (2.8.8-1ubuntu1) lunar; urgency=low
* Merge from Debian unstable (LP: #2002660). Remaining changes:
- d/control: Lower Recommends to Suggests for some universe packages.
* Dropped changes, superseded upstream:
- d/control: Depend on nb2plots>=0.6-2ubuntu1 which includes a py310 fix.
- d/p/fix-Sphinx-deprecation.patch,
d/p/use-xetex-for-uft8-latex-backend-4326.patch: Cherry-picked from
upstream to fix sphinx failures.
- d/control: Add fonts-freefont-otf, texlive-xetex, and xindy BDs.
networkx (2.8.8-1) unstable; urgency=medium
* New upstream release; Closes: #1025052
* stop building the -doc package (including dropping all patches)
* debian/copyright
- extend packaging copyright years
- update upstream copyright years
* debian/control
- bump Standards-Version to 4.6.2.0 (no changes needed)
* debian/rules
- run tests using pybuild
networkx (2.6.3-1) unstable; urgency=medium
* New upstream release
* Use the new Debian Python Team contact name and address
* debian/watch
- track github releases
* debian/copyright
- update upstream copyright years
- extend packaging copyright years
* debian/patches/*
- refresh/update patches
* debian/control
- merge b-d and b-d-i
- add pydata-sphinx-theme to b-d, needed to build doc
- tighten up b-d on modules needed to build doc
- add geopandas, igraph, osmnx, seaborn, texlive-xetex, xindy,
fonts-freefont-otf to b-d, needed by doc
* debian/patches/docs-ignore-examples-missing-modules.patch
- ignore some examples which needs modules not in debian
* debian/rules
- dont install news.rst as changelog, removed upstream
networkx (2.5+ds-2) unstable; urgency=medium
[ Ondřej Nový ]
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
layout.
[ Sandro Tosi ]
* Undo changes made in -1 that were not OK
* debian/copyright
- update upstream copyright years
- extend packaging copyright years
* debian/patches/2bfdee687d0db533555384f92ce3670d47c45aec.patch
- fix a failure in botch tests; Closes: #969756
[ Debian Janitor ]
* Trim trailing whitespace.
* Use secure URI in Homepage field.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
networkx (2.5+ds-1) unstable; urgency=medium
* Team upload.
* New upstream version
* Rules-Requires-Root: no
* debhelper-compat 13 (routine-update)
* Override of dh_missing which gets confused over installation of
/usr/lib/python3.8 to /usr/lib/python3
which I feel should be fixed.
* Remove files from archive that are changed during build
-- Steve Langasek <steve.langasek at ubuntu.com> Thu, 12 Jan 2023
23:50:54 -0800
** Changed in: networkx (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to networkx in Ubuntu.
https://bugs.launchpad.net/bugs/2002660
Title:
networkx incompatible with numpy 1.24
Status in networkx package in Ubuntu:
Fix Released
Status in nipype package in Ubuntu:
Invalid
Status in python3-defaults package in Ubuntu:
New
Bug description:
The nipype autopkgtests have started failing with the following stack
trace:
____________ ERROR collecting pipeline/plugins/tests/test_tools.py _____________
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
nipype/pipeline/plugins/__init__.py:5: in <module>
from .debug import DebugPlugin
nipype/pipeline/plugins/debug.py:7: in <module>
import networkx as nx
/usr/lib/python3/dist-packages/networkx/__init__.py:115: in <module>
import networkx.readwrite
/usr/lib/python3/dist-packages/networkx/readwrite/__init__.py:15: in <module>
from networkx.readwrite.graphml import *
/usr/lib/python3/dist-packages/networkx/readwrite/graphml.py:314: in <module>
class GraphML(object):
/usr/lib/python3/dist-packages/networkx/readwrite/graphml.py:346: in GraphML
(np.int, "int"), (np.int8, "int"),
/usr/lib/python3/dist-packages/numpy/__init__.py:284: in __getattr__
raise AttributeError("module {!r} has no attribute "
E AttributeError: module 'numpy' has no attribute 'int'
The problematic code is in the networkx package, and seems to have
been fixed in
https://github.com/networkx/networkx/commit/207147ee179554a33f10f25032054d3e01f96188
(which is in 2.5 onwards).
Debian currently ships with 2.8.8, we might want to merge?
This is currently blocking the python3-defaults transition.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkx/+bug/2002660/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list