[ https://issues.apache.org/jira/browse/BEAM-4545?focusedWorklogId=122924&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-122924 ]
ASF GitHub Bot logged work on BEAM-4545: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Jul/18 16:11 Start Date: 13/Jul/18 16:11 Worklog Time Spent: 10m Work Description: boyuanzz closed pull request #467: [BEAM-4545]Update release guide with how to build python wheel URL: https://github.com/apache/beam-site/pull/467 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/src/contribute/release-guide.md b/src/contribute/release-guide.md index b2abf3203..eee0a9474 100644 --- a/src/contribute/release-guide.md +++ b/src/contribute/release-guide.md @@ -398,6 +398,40 @@ Staging binaries Verify that files are [present](https://dist.apache.org/repos/dist/dev/beam). + +### Build python wheels and upload it to test.pypi.org + +1. Create your test.pypi.org account in https://test.pypi.org/account/register/ . + * Note: Please ping dev@ thread to ask for permissions accessing apache_beam in test.pypi.org. +1. Fork https://github.com/robertwb/apache-beam-wheels . +1. git clone your apache-beam-wheels repo +1. In apache-beam-wheels/.travis.yml file: + * change RC=current rc + * change VERSION=current release version + * change WHEELHOUSE_UPLOADER_USERNAM=your test pypi account username + * delete secure line +1. Generate your own secure + * Install ruby dev + + ``` + sudo apt-get install ruby2.3-dev + ``` + * Install travis + + ``` + sudo gem install travis + ``` + * Add secure to ./travis.yml file + ``` + travis encrypt -r github_suername/apache-beam-wheels WHEELHOUSE_UPLOADER_SECRET=your pypi password --add + ``` +1. Commit changes and push into your repo. +1. Trigger build: + * Sign up [Travis CI](https://travis-ci.org/) with your github account. + * Choose ```apache-beam-wheels``` to build. + * In ```More options```, click ```Trigger build```. + + ### Build the Pydoc API reference Make sure you have ```tox``` installed: ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 122924) Time Spent: 2h 20m (was: 2h 10m) > Release guide should contain how to build python wheels > ------------------------------------------------------- > > Key: BEAM-4545 > URL: https://issues.apache.org/jira/browse/BEAM-4545 > Project: Beam > Issue Type: Bug > Components: build-system > Reporter: Boyuan Zhang > Assignee: Boyuan Zhang > Priority: Major > Time Spent: 2h 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)