Replies: 3 comments 3 replies
-
@svinota: So the idea is that IPDB is gone along with that change? I'm not advocating against it, it was deprecated for a while, yet FYI Kuryr haven't yet migrated to NDB. We'll try to prioritize that. |
Beta Was this translation helpful? Give feedback.
-
With what do I replace
and I get an error on importing:
Also, it seems that python 3.5 support has been dropped? |
Beta Was this translation helpful? Give feedback.
-
I Get this error even after installing (No module named 'pyroute2.netns.nslink) after sudo pip3 install pyroute2 Requirement already satisfied: pyroute2 in /usr/local/lib/python3.9/dist-packages (0.7.12) sudo python3 test.py --run_scenario just_one_flow |
Beta Was this translation helpful? Give feedback.
-
Version 0.7.x
Packages layout
pr2modules
This namespace is provided only for compatibility. A deprecation warning will be raised when used. All the public symbols are provided as before via root
pyroute2
exports (entry points).Version 0.6.x
Starting from version 0.6.1 instead of one monolithic package pyroute2 is broken down into several, minimizing requirements of each package. This should help to:
pickle
ormultiprocessing
)The upgrade process from pre-0.6 should go as usual, the main package
pyroute2
requires all the packages. Those who don't care should notice nothing, except of maybe several separate packagespyroute2.xxxx
in thepip list
output. Others may feel free to install their own sets of packages avoiding unnecessary dependencies and complications.Packages layout
¹ to be fixed/(re)moved from the code in 0.7.1
² optional dependency
Review:
make audit-imports
Dependencies
pyroute2
andpyroute2-minimal
both to provide thepyroute2
namespace but are not namespace packages and are mutually exclusive. The goal of either package is to re-export pyroute2 components frompr2modules
topyroute2
namespace.pyroute2
package requires the maximal set (and provides all from IPRoute to NetNS and NDB).pyroute2.minimal
package requires the minimal set, and provides only IPRoute, barenetns
and some other parts that do not employ any IPC, pickle etc.Related
Beta Was this translation helpful? Give feedback.
All reactions