Ns-3.46 errata: Difference between revisions

From Nsnam
Jump to navigation Jump to search
(Create ns-3.46 errata)
(No difference)

Revision as of 17:46, 12 October 2025

On October 1, 2025, ns-3.46 was published. This page lists some issues that have been fixed in the mainline since that time. If considered impactful enough, the maintainers may make an update to this release to cover some or all of these issues.

ns3 script incompatibility with Python 3.14

On October 5, 2025, Python 3.14 was released and created an issue with the ns3 build script. If you notice an error when configuring ns-3 such as:

$ ./ns3 configure --enable-modules=core
Traceback (most recent call last):
  File "/builds/nsnam/ns-3-dev/./ns3", line 2110, in <module>
    main()
    ~~~~^^
  File "/builds/nsnam/ns-3-dev/./ns3", line 1882, in main
    args = parse_args(sys.argv[1:])
  File "/builds/nsnam/ns-3-dev/./ns3", line 129, in parse_args
    parser_help.add_argument(
    ~~~~~~~~~~~~~~~~~~~~~~~~^
        "help", help="Print a summary of available commands", action="store_true", default=False
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.14/argparse.py", line 1543, in add_argument
    raise ValueError(f'action {action_name!r} is not valid for positional arguments')
ValueError: action 'store_true' is not valid for positional arguments  

The fix has been committed to ns-3-dev but can be cherry-picked from this commit.