[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3731: Make `tox -e news` work on macOS
Tahoe-LAFS
trac at tahoe-lafs.org
Mon Jun 7 19:26:46 UTC 2021
#3731: Make `tox -e news` work on macOS
---------------------+---------------------------
Reporter: sajith | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
On macOS, `tox -e news` fails with this message:
{{{
WARNING: test command found but not installed in testenv
cmd: /usr/local/bin/git
env: /Users/sajith/tahoe-lafs/.tox/news
Maybe you forgot to specify a dependency? See also the allowlist_externals
envconfig setting.
DEPRECATION WARNING: this will be an error in tox 4 and above!
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you at example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'sajith at mac.(none)')
ERROR: InvocationError for command /usr/local/bin/git commit -m 'update
NEWS.txt for release' (exited with code 128)
}}}
I do have `user.name` and `user.email` set in `~/.gitconfig`. Looks like
Towncrier needs `$HOME` in Tox `news` environment.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3731>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list