michael-s-molina commented on code in PR #24436: URL: https://github.com/apache/superset/pull/24436#discussion_r1273910531
########## RELEASING/README.md: ########## @@ -366,7 +366,49 @@ Once 3+ binding votes (by PMC members) have been cast and at least 72 hours have past, you can post a [RESULT] thread: https://lists.apache.org/thread.html/50a6b134d66b86b237d5d7bc89df1b567246d125a71394d78b45f9a8@%3Cdev.superset.apache.org%3E -To easily send the result email, still on the `superset/RELEASING` directory: + +### Publish an RC testing Convenience Pre-Release to PyPI + +Extract the release to the `/tmp` folder to build the PiPY release. Files in the `/tmp` folder will be automatically deleted by the OS. + +```bash +mkdir -p /tmp/superset_dev && cd /tmp/superset_dev +tar xfvz ~/svn/superset_dev/${SUPERSET_VERSION_RC}/${SUPERSET_RELEASE_RC_TARBALL} +``` + +Create a virtual environment and install the dependencies + +```bash +cd ${SUPERSET_RELEASE_RC}/ +python3 -m venv venv +source venv/bin/activate +pip install -r requirements/base.txt +pip install twine +``` + +Create the distribution + +```bash +cd superset-frontend/ +npm ci && npm run build +cd ../ +flask fab babel-compile --target superset/translations +python setup.py sdist --version=${SUPERSET_VERSION_RC} +``` + +Publish to PyPI + +You may need to ask a fellow committer to grant +you access to it if you don't have access already. Make sure to create +an account first if you don't have one, and reference your username +while requesting access to push packages. + +```bash +twine upload dist/${SUPERSET_RELEASE_RC}.tar.gz +``` + +## Sending the result email Review Comment: There's a warning that appears when you authenticate using username/password asking you to use a token instead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org