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
Python 3 - fixes to get most of src unit tests green #6372
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
0df1421
Fix bad binaries test
d5ea25e
Fix issues with util
54f7e11
Fix issues with task
40155a8
Fix issues with invalidation
1a587e7
Source works locally w/o changes, remove from exclude
1b4862b
option works locally w/o changes, remove from exclude
7302b7e
Futurize test/projects
ae4c911
Futurize test/jvm
744d546
Fix init test issues
7591c83
Fix build_graph issues
630a580
Remove cache tests from exclude, because most passed w/o changes
44f3e61
Fix pantsd unit tests
12987af
Fix help
e00a8a5
Fix core tasks
5347cad
Fix engine unit tests
5edf177
Fix some of goal
eb4372b
Fix some Py3.4 specific issues
7fbd15a
Fix dictionary ordering issue
7b50fe4
Fix contextutil issue with deleting while iterating
33d123d
Make string creation more readable
1803b8a
Reorder binary_util OS_keys to get consistent dict order
b45e92d
Actually fix dictionary non-determinism for json parser
5a4c26f
Add back pantsd/process_manager to known failures because I can't fig…
cb46d9f
Actually fix test_binary_util dict non-determinism
e04c835
Fix Pants daemon while still getting Py3 to work!
7ab02a7
resources_task was fixed by 40155a81f74e825572722551b97b6e74ea3e4252!
a4d43ef
Coursier resolve was also somehow fixed? :)
d6492ab
Thrift Java has been working for a while now also, while we're at it
ddee6af
Merge remote-tracking branch 'upstream/master' into py3-green_src
fc7730e
Fix release.sh! Iterators can't be iterated through more than once 🙃
75f3571
Improve readability of test_parsers json changes
024688a
Merge branch 'master' into py3-green_src
Eric-Arellano 20495ad
Merge branch 'master' of github.com:pantsbuild/pants into py3-green_src
044698b
Merge branch 'master' of github.com:pantsbuild/pants into py3-green_src
8eae3b0
Constrain rest of isolated_process types
b322b53
Improve check for self & cls in arg list
167a8db
Sort recognized platforms in binary_util to simplify test code
d4d37f2
Exclude buildgraph test again because dictionary non-determinism
bba2123
Merge branch 'master' of github.com:pantsbuild/pants into py3-green_src
d226e09
Fix up platform printing
illicitonion 345daa3
Merge branch 'master' of github.com:pantsbuild/pants into py3-green_src
e28ebb8
Fully fix JSON test_parsers non-determinism
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,7 @@ | ||
tests/python/pants_test/backend/codegen/thrift/java:java | ||
tests/python/pants_test/backend/codegen/thrift/python:python | ||
tests/python/pants_test/backend/jvm/tasks:coursier_resolve | ||
tests/python/pants_test/backend/jvm/tasks:jar_publish | ||
tests/python/pants_test/backend/jvm/tasks:junit_run | ||
tests/python/pants_test/backend/jvm/tasks:resources_task | ||
tests/python/pants_test/backend/python/tasks:tasks | ||
tests/python/pants_test/binaries:binaries | ||
tests/python/pants_test/build_graph:build_file_parser | ||
tests/python/pants_test/build_graph:build_graph | ||
tests/python/pants_test/build_graph:target | ||
tests/python/pants_test/cache:artifact_cache | ||
tests/python/pants_test/cache:cache_setup | ||
tests/python/pants_test/cache:caching | ||
tests/python/pants_test/cache:caching_dereference_symlinks | ||
tests/python/pants_test/core_tasks:bash_completion | ||
tests/python/pants_test/core_tasks:list_goals | ||
tests/python/pants_test/core_tasks:roots | ||
tests/python/pants_test/core_tasks:run_prep_command | ||
tests/python/pants_test/engine/legacy:structs | ||
tests/python/pants_test/engine:build_files | ||
tests/python/pants_test/engine:engine | ||
tests/python/pants_test/engine:isolated_process | ||
tests/python/pants_test/engine:mapper | ||
tests/python/pants_test/engine:parsers | ||
tests/python/pants_test/engine:scheduler | ||
tests/python/pants_test/engine:selectors | ||
tests/python/pants_test/engine:test_round_engine | ||
tests/python/pants_test/goal:artifact_cache_stats | ||
tests/python/pants_test/goal:other | ||
tests/python/pants_test/help:build_dictionary_info_extracter | ||
tests/python/pants_test/init:init | ||
tests/python/pants_test/invalidation:build_invalidator | ||
tests/python/pants_test/invalidation:cache_manager | ||
tests/python/pants_test/jvm/subsystems:jvm | ||
tests/python/pants_test/jvm:test_safeargs | ||
tests/python/pants_test/option:testing | ||
tests/python/pants_test/pantsd:pants_daemon | ||
tests/python/pants_test/pantsd:process_manager | ||
tests/python/pants_test/pantsd:watchman | ||
tests/python/pants_test/source:source_root | ||
tests/python/pants_test/task:console_task | ||
tests/python/pants_test/task:simple_codegen_task | ||
tests/python/pants_test/task:task | ||
tests/python/pants_test/task:testrunner_task_mixin | ||
tests/python/pants_test/util:contextutil | ||
tests/python/pants_test/util:dirutil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have typically been indenting these as follows when it's too long to fit on one line:
I have zero problem changing my style, just would be neat to settle on one (I hadn't considered the layout you're using here before, it seems perfectly legit).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree actually! I like that style more and that is how we do things at Foursquare.
In the interest of landing this, can I fix in a follow up PR?