[
https://issues.apache.org/jira/browse/BEAM-13183?focusedWorklogId=683105&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-683105
]
ASF GitHub Bot logged work on BEAM-13183:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Nov/21 06:02
Start Date: 18/Nov/21 06:02
Worklog Time Spent: 10m
Work Description: tvalentyn commented on a change in pull request #15819:
URL: https://github.com/apache/beam/pull/15819#discussion_r751929075
##########
File path: local-env-setup.sh
##########
@@ -85,6 +85,22 @@ elif [ "$kernelname" = "Darwin" ]; then
echo "Installing openjdk@8"
brew install openjdk@8
fi
+ for ver in 3.7 3.8 3.9; do
+ if brew ls --versions python@$ver > /dev/null; then
+ echo "python@$ver already installed. Skipping"
+ brew info python@$ver
+ else
+ echo "Installing python@$ver"
+ brew install python@$ver
+ fi
+ if [ ! $(type -P python$ver) > /dev/null 2>&1 ]; then
+ # For some python packages, brew does not add symlinks...
+ # TODO: use pyenv.
Review comment:
Reworded to: # TODO: Consider using pyenv to manage multiple
installations of Python.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 683105)
Time Spent: 0.5h (was: 20m)
> Use venv instead of virtualenv on to create virtual environments
> ----------------------------------------------------------------
>
> Key: BEAM-13183
> URL: https://issues.apache.org/jira/browse/BEAM-13183
> Project: Beam
> Issue Type: Bug
> Components: build-system, sdk-py-core
> Reporter: Valentyn Tymofieiev
> Assignee: Valentyn Tymofieiev
> Priority: P2
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> venv is a replacement of virtualenv implemented within Python standard
> library.
> I attempted the change in https://github.com/apache/beam/pull/15819.
> Currently the change is not passing Github actions environment check and
> Python 3.6 tests on Jenkins. Need to look closer, but already spent more time
> on this than I anticipated and may need to park this change for now.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)