gyp-next
gyp-next copied to clipboard
fix: error format requires a mapping
Fix:
run gyp without arguments doesn't show right usage
c108df569f5e:/work# gyp
Traceback (most recent call last):
File "/usr/bin/gyp", line 8, in <module>
sys.exit(script_main())
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/gyp/__init__.py", line 688, in script_main
return main(sys.argv[1:])
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/gyp/__init__.py", line 680, in main
return gyp_main(args)
^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/gyp/__init__.py", line 553, in gyp_main
raise GypError((usage + "\n\n%s: error: no build_file") % (my_name, my_name))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
TypeError: format requires a mapping
c108df569f5e:/work#
Please add a test that proves that we have a problem today and that the proposed solution fixes that problem. Please feel free to use f-strings for speed.
Wrong repo: pipx run gyp-next, not gyp!
That currently generates a different error that should be fixed by
- #234