-
Notifications
You must be signed in to change notification settings - Fork 898
pypi: include missing Grammar.txt
and PatternGrammar.txt
#1108
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
Conversation
….txt` Signed-off-by: Rui Chen <[email protected]>
Signed-off-by: Rui Chen <[email protected]>
third_party/yapf_third_party/_ylib2to3/Grammar.txt
Grammar.txt
and PatternGrammar.txt
Running Lines 87 to 94 in f4a7bb4
package_data should be included.
Repro env:
|
@bwendling high priority triage for this PR. |
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.
Please include LICENSE files also.
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.
Write tests to reproduce error condition.
I personally do not consider this a blocker for merging this PR, but it is a blocker for closing #1107
Is this still apply https://stackoverflow.com/questions/7522250/how-to-include-package-data-with-setuptools-distutils ?
I tried running sdist and the txt files are included. I suspect the problem might be caused by stale yapf.egg-info\SOURCES.txt. |
side note, this is still needed for 0.40.1 release |
Potentially not, please see comment #1107 (comment) |
Maybe the real fix is adding |
The two files were definitely missing in the 0.40.0 rel (you can untar this sdit file), but now got included in the 0.40.1 rel, let me check with my build in a bit :) |
@chenrui333 no doubt about that, I confirmed at #1107 (comment) in detail. |
Looks like we have sorted on this (the new version bump works fine on the homebrew side without the patch work), I am going to close this PR. Thanks @hartwork! |
Now the two LICENSE files are all included in the 0.40.1 rel + third_party/yapf_third_party/_ylib2to3/Grammar.txt
+ third_party/yapf_third_party/_ylib2to3/LICENSE
+ third_party/yapf_third_party/_ylib2to3/PatternGrammar.txt
+ third_party/yapf_third_party/yapf_diff/LICENSE |
Went for that approach in #1115 now. |
fixes #1107
relates to Homebrew/homebrew-core#133505