[
https://issues.apache.org/jira/browse/BEAM-1251?focusedWorklogId=204928&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-204928
]
ASF GitHub Bot logged work on BEAM-1251:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Feb/19 02:09
Start Date: 27/Feb/19 02:09
Worklog Time Spent: 10m
Work Description: udim commented on pull request #7953: [BEAM-1251] Fix
Python 3 compatibility bug in pickler.py
URL: https://github.com/apache/beam/pull/7953
This issue was discovered while testing the pytest framework using Python 3
in #7949.
sys.modules changes during iteration. It seems that the intention was to
make a copy using sys.modules.values(), which returns a copy in Python
2, but a view in Python 3.
Partial list of modules observed as added during iteration:
```python
{<module 'py._log' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_log/__init__.py'>,
<module 'syslog' (built-in)>, <module 'py._log.log' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_log/log.py'>,
<module 'py._log.warning' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_log/warning.py'>}
{<module 'py._process.forkedfunc' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_process/forkedfunc.py'>,
<module 'py._process.killproc' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_process/killproc.py'>,
<module 'py._process.cmdexec' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_process/cmdexec.py'>,
<module 'py._process' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_process/__init__.py'>}
{<module 'py._path.cacheutil' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_path/cacheutil.py'>,
<module 'py._path.svnurl' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_path/svnurl.py'>,
<module 'py._path.svnwc' from
'/home/ehudm/src/beam/sdks/python/target/.tox/py3-pytest/lib/python3.5/site-packages/py/_path/svnwc.py'>}
```
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [ ] [**Choose
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and
mention them in a comment (`R: @username`).
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
<br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/)
| --- | --- | ---
See
[.test-infra/jenkins/README](https://github.com/apache/beam/blob/master/.test-infra/jenkins/README.md)
for trigger phrase, status and link of all Jenkins jobs.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 204928)
Time Spent: 26h 10m (was: 26h)
> Python 3 Support
> ----------------
>
> Key: BEAM-1251
> URL: https://issues.apache.org/jira/browse/BEAM-1251
> Project: Beam
> Issue Type: Improvement
> Components: sdk-py-core
> Reporter: Eyad Sibai
> Assignee: Robbe
> Priority: Major
> Labels: triaged
> Time Spent: 26h 10m
> Remaining Estimate: 0h
>
> I have been trying to use google datalab with python3. As I see there are
> several packages that does not support python3 yet which google datalab
> depends on. This is one of them.
> https://github.com/GoogleCloudPlatform/DataflowPythonSDK/issues/6
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)