Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 26, 2019

What changes were proposed in this pull request?

This PR aims to fix a type; rogue -> rouge .
This is a follow-up of #26521.

Why are the changes needed?

To support Python 3, we upgraded from pygments to rouge.

Does this PR introduce any user-facing change?

No. (This is for only document generation.)

How was this patch tested?

Manually.

$ docker build -t test dev/create-release/spark-rm/
...
1 gem installed
Successfully installed rouge-3.13.0
Parsing documentation for rouge-3.13.0
Installing ri documentation for rouge-3.13.0
Done installing documentation for rouge after 4 seconds
1 gem installed
Removing intermediate container 9bd8707d9e84
 ---> a18b2f6b0bb9
...

@jiangxb1987
Copy link
Contributor

We should also fix the typo that @srowen mentioned: #26521 (comment)

@dongjoon-hyun
Copy link
Member Author

Yes. I'll update this PR~

@srowen
Copy link
Member

srowen commented Nov 26, 2019

The Ruby update may not be necessary. It was after all coming from installing a totally unrelated library. But, still not a bad idea IMHO to update it.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28752][BUILD][FOLLOWUP] Upgrade to Ruby 2.5 for rouge [SPARK-28752][BUILD][FOLLOWUP] Fix to install rouge instead of rogue Nov 26, 2019
@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Nov 26, 2019

Yes. I updated this PR first for only types. I'm building the docker image to make it sure.
Thank you!

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

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

LGTM

@dongjoon-hyun
Copy link
Member Author

Thank you for swift review and approval, @jiangxb1987 !

@dongjoon-hyun
Copy link
Member Author

Thank you, @jiangxb1987 and @srowen .
Merged to master. This is tested manually.

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this @dongjoon-hyun. LGTM too

@dongjoon-hyun
Copy link
Member Author

Thanks, @HyukjinKwon .

@dongjoon-hyun dongjoon-hyun deleted the SPARK-28752 branch November 26, 2019 23:19
@SparkQA
Copy link

SparkQA commented Nov 27, 2019

Test build #114486 has finished for PR 26686 at commit 3c2c477.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 27, 2019

Test build #114484 has finished for PR 26686 at commit 75cac89.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

attilapiros pushed a commit to attilapiros/spark that referenced this pull request Dec 6, 2019
### What changes were proposed in this pull request?

This PR aims to fix a type; `rogue` -> `rouge` .
This is a follow-up of apache#26521.

### Why are the changes needed?

To support `Python 3`, we upgraded from `pygments` to `rouge`.

### Does this PR introduce any user-facing change?

No. (This is for only document generation.)

### How was this patch tested?

Manually.
```
$ docker build -t test dev/create-release/spark-rm/
...
1 gem installed
Successfully installed rouge-3.13.0
Parsing documentation for rouge-3.13.0
Installing ri documentation for rouge-3.13.0
Done installing documentation for rouge after 4 seconds
1 gem installed
Removing intermediate container 9bd8707d9e84
 ---> a18b2f6b0bb9
...
```

Closes apache#26686 from dongjoon-hyun/SPARK-28752.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants