Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-10961] turn on enableStrictDependencies globally #14114

Merged
merged 1 commit into from Mar 10, 2021

Conversation

shehzaadn-vd
Copy link
Contributor

@shehzaadn-vd shehzaadn-vd commented Feb 27, 2021

Now that most projects have been validated for strict dependency checking, we are turning on enableStrictDependencies globally, removing enableStrictDependencies:true from all projects that have been corrected (and necessary changes merged) so that they can inherit this global switch, and adding enableStrictDependencies:false for the small number of files which are still under review in other PRs (thus overriding the global switch).


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) 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.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Dataflow Flink Samza Spark Twister2
Go Build Status --- Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status --- --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@codecov
Copy link

codecov bot commented Feb 27, 2021

Codecov Report

Merging #14114 (7b31eb8) into master (d5961df) will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14114      +/-   ##
==========================================
+ Coverage   83.04%   83.12%   +0.07%     
==========================================
  Files         469      469              
  Lines       58488    58869     +381     
==========================================
+ Hits        48573    48934     +361     
- Misses       9915     9935      +20     
Impacted Files Coverage Δ
.../internal/clients/dataflow/dataflow_v1b3_client.py 71.34% <0.00%> (-1.47%) ⬇️
...sdks/python/apache_beam/internal/metrics/metric.py 86.45% <0.00%> (-1.05%) ⬇️
...on/apache_beam/runners/portability/spark_runner.py 55.81% <0.00%> (-0.71%) ⬇️
...on/apache_beam/runners/portability/flink_runner.py 61.11% <0.00%> (-0.30%) ⬇️
...38/build/srcs/sdks/python/apache_beam/io/iobase.py 84.55% <0.00%> (-0.27%) ⬇️
...ks/python/apache_beam/runners/worker/operations.py 70.27% <0.00%> (-0.11%) ⬇️
...s/python/apache_beam/io/gcp/bigquery_file_loads.py 91.08% <0.00%> (-0.03%) ⬇️
...s/python/apache_beam/runners/portability/stager.py 84.19% <0.00%> (ø)
...nternal/clients/dataflow/dataflow_v1b3_messages.py 100.00% <0.00%> (ø)
...dks/python/apache_beam/options/pipeline_options.py 94.63% <0.00%> (+0.01%) ⬆️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22aba9b...7b31eb8. Read the comment docs.

@shehzaadn-vd shehzaadn-vd marked this pull request as draft February 27, 2021 12:41
@shehzaadn-vd
Copy link
Contributor Author

Run Java PreCommit

@shehzaadn-vd
Copy link
Contributor Author

shehzaadn-vd commented Mar 8, 2021

@ibzib Java Wordcount Direct Runner on MacOS is failing with:

> Task :runners:core-construction-java:compileJava
warning: Memory constraints are impeding performance; please increase max heap size.
warning: Memory constraints are impeding performance; please increase max heap size.
error: warnings found and -Werror specified

Suggests this will be a flappy check going forward. Shall we set the compiler JVM max heap size in BeamModulePlugin.groovy?

@shehzaadn-vd shehzaadn-vd marked this pull request as ready for review March 9, 2021 00:36
@shehzaadn-vd
Copy link
Contributor Author

Run Java_Examples_Dataflow PreCommit

@@ -30,6 +30,7 @@ val library = project.extensions.extraProperties["library"] as Map<String, Map<S
dependencies {
compile(library.getValue("groovy").getValue("groovy_all"))
compile("commons-cli:commons-cli:1.2")
permitUnusedDeclared("commons-cli:commons-cli:1.2") // BEAM-11761
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibzib do you think this is necessary for the "release" project?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but permitUnusedDeclared is fine either way.

Copy link
Contributor

@ibzib ibzib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -30,6 +30,7 @@ val library = project.extensions.extraProperties["library"] as Map<String, Map<S
dependencies {
compile(library.getValue("groovy").getValue("groovy_all"))
compile("commons-cli:commons-cli:1.2")
permitUnusedDeclared("commons-cli:commons-cli:1.2") // BEAM-11761
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but permitUnusedDeclared is fine either way.

@ibzib
Copy link
Contributor

ibzib commented Mar 9, 2021

@shehzaadn-vd Can you please squash the commit history?

@shehzaadn-vd
Copy link
Contributor Author

@shehzaadn-vd Can you please squash the commit history?

done!

@shehzaadn-vd
Copy link
Contributor Author

Run Java_Examples_Dataflow PreCommit

@shehzaadn-vd
Copy link
Contributor Author

Run Portable_Python PreCommit

@ibzib ibzib merged commit 6c2c284 into apache:master Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants