diff --git a/build-support/pants_venv b/build-support/pants_venv index 54c34c341fd..209b05c0bc4 100755 --- a/build-support/pants_venv +++ b/build-support/pants_venv @@ -18,7 +18,7 @@ venv_dir_prefix="${HOME}/.cache/pants/pants_dev_deps/${platform}" function venv_dir() { # Include the entire version string in order to differentiate e.g. PyPy from CPython. - py_venv_version=$(${PY} --version | shasum | awk '{print $1}') + py_venv_version=$(${PY} --version | fingerprint_data) echo "${venv_dir_prefix}.py.${py_venv_version}.venv" } diff --git a/docs/NOTES.md b/docs/NOTES.md index 47ffe4bae4e..808de9b48b1 100644 --- a/docs/NOTES.md +++ b/docs/NOTES.md @@ -35,10 +35,10 @@ npm install rdme ### Log in. ``` -npx rdme login --project pants --2fa +npx rdme login --project pants ``` -(the `--2fa` flag makes `rdme` prompt for 2fa codes, which is necessary if you have TOTP 2fa set up on your account) +(`rdme` will prompt for two-factor-authentication codes if necessary) ## When cutting a new release branch diff --git a/docs/markdown/Contributions/releases/release-process.md b/docs/markdown/Contributions/releases/release-process.md index cc458ed6950..c0f5c48d0f1 100644 --- a/docs/markdown/Contributions/releases/release-process.md +++ b/docs/markdown/Contributions/releases/release-process.md @@ -28,36 +28,7 @@ See ~/.pypirc && chmod 600 ~/.pypirc -[pypi] -username: __token__ -password: - -[server-login] -username: __token__ -password: - -EOF -``` - -### 7. Authenticate with the Github API +### 4. Authenticate with the Github API Ensure that you have a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) for your Github account in your `.netrc` file.