[MacPorts] #72067: twine @6.1.0: missing dependency "id"
MacPorts
noreply at macports.org
Fri Feb 14 20:14:58 UTC 2025
#72067: twine @6.1.0: missing dependency "id"
---------------------+--------------------
Reporter: tifrueh | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: twine
---------------------+--------------------
When running `twine upload`, the following error is thrown:
{{{
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/__main__.py", line 54, in <module>
sys.exit(main())
~~~~^^
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/__main__.py", line 33, in main
error = cli.dispatch(sys.argv[1:])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/cli.py", line 137, in dispatch
main = registered_commands[args.command].load()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/metadata/__init__.py",
line 179, in load
module = import_module(match.group('module'))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py",
line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in
_call_with_frames_removed
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/commands/upload.py", line 26, in <module>
from twine import settings
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/settings.py", line 21, in <module>
from twine import auth
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
/site-packages/twine/auth.py", line 8, in <module>
from id import AmbientCredentialError # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'id'
}}}
Additionally, `twine --version` gives me the following output:
{{{
twine version 6.1.0 (keyring: 25.6.0, packaging: 24.2, requests: 2.32.3,
requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: NOT INSTALLED)
}}}
I wasn't able to figure out to which exact port this corresponds, though,
else I'd have attached a patch, but I hope you'll have more luck with that
than I did.
Cheers :)
--
Ticket URL: <https://trac.macports.org/ticket/72067>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list