Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#59240 closed defect (fixed)

uncrustify @0.69.0: ImportError: No module named argparse

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc:
Port: uncrustify

Description

uncrustify does not build:

Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_uncrustify/uncrustify/work/uncrustify-0.69.0/scripts/make_option_enum.py", line 3, in <module>
    import argparse
ImportError: No module named argparse

Change History (3)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

The argparse module was added to the python standard library in 2.7 and 3.2. Mac OS X didn't ship python 2.7 until 10.7.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In cd52e0db9710eae1504c9f51220b36e516eef6ec/macports-ports (master):

uncrustify: Build using MacPorts python

Closes: #59240

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In cd52e0db9710eae1504c9f51220b36e516eef6ec/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

uncrustify: Build using MacPorts python

Closes: #59240

Note: See TracTickets for help on using tickets.