[ 
https://issues.apache.org/jira/browse/BEAM-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583223#comment-16583223
 ] 

carlos sedano commented on BEAM-1748:
-------------------------------------

Fixed:
test_examples_wordcount_streaming 
(apache_beam.examples.snippets.snippets_test.SnippetsTest) ... 
/beam/sdks/python/apache_beam/runners/direct/direct_runner.py:357: 
DeprecationWarning: options is deprecated since First stable release. 
References to <pipeline>.options will not be supported

test_read_strings_success (apache_beam.io.gcp.pubsub_test.TestReadFromPubSub) 
... /beam/sdks/python/apache_beam/io/gcp/pubsub_test.py:472: 
DeprecationWarning: ReadStringsFromPubSub is deprecated since 2.7.0. Use 
ReadFromPubSub instead.

test_expand_deprecated 
(apache_beam.io.gcp.pubsub_test.TestWriteStringsToPubSubOverride) ... 
/beam/sdks/python/apache_beam/io/gcp/pubsub_test.py:212: DeprecationWarning: 
WriteStringsToPubSub is deprecated since 2.7.0. Use WriteToPubSub instead.

test_assert_that 
(apache_beam.runners.portability.portable_runner_test.PortableRunnerTest) ... 
/beam/sdks/python/apache_beam/runners/portability/portable_runner.py:73: 
DeprecationWarning: options is deprecated since First stable release. 
References to <pipeline>.options will not be supported

Not fixed:
test_read_data_success (apache_beam.io.gcp.pubsub_test.TestReadFromPubSub) ... 
/beam/sdks/python/apache_beam/io/gcp/pubsub_test.py:487: DeprecationWarning: 
options is deprecated since First stable release. References to 
<pipeline>.options will not be supported

> Clean DeprecationWarning from SDK/tests
> ---------------------------------------
>
>                 Key: BEAM-1748
>                 URL: https://issues.apache.org/jira/browse/BEAM-1748
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Ahmet Altay
>            Priority: Major
>              Labels: newbie, starter
>
> There are many DeprecationWarnings in the tests for different reasons. These 
> need to be cleaned otherwise we may end up in a broken state as 
> python/dependencies change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to