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
add exclude option in setup.py #254 #255
Conversation
Oh neat, I didn't know about this feature of |
Thank you for your reply! |
Side note, a user claimed in #258 that the pyyaml SyntaxError on install, wasn't present in master. I'm guessing that may be something else at work since we haven't merged this PR yet and I don't recall other recent changes that would affect the vendored pyyaml. But, worth verifying. |
Hi. I verified the issue #258 following environment, and I reproduce #258 install error. I hope this information will help you. [root cause] class YAMLObject(metaclass=YAMLObjectMetaclass): By merging this PR, it will be avoidable the install error. [easy solution] [investigation log]
Successfully installed invoke |
I'm currently having a similar problem where conda (the package manager) also compiles files from the yaml3 folder and thus fails my CI build. If I could make sure that it didn't get included in the Python 2.7 package to begin with, this could be prevented. So it would be great if this got merged in, so I can easily keep creating conda packages for invoke |
Yup this is in the 0.12 milestone and I plan to cut 0.12 any day now (already kicked most of the stuff I can't easily knock out, to 0.13, but not this one!). Sorry it's taken a while! |
Thanks for the heads up! Looking forward to 0.12 then |
For the record, I can't trivially recreate this problem with pip 7.1.2 from a Python 2 host environment (re: virtualenv creation). E.g. That's not to say I don't believe this problem exists, it's definitely gotten enough reports - just noting that I'm about to merge an updated copy of this PR but without being able to verify it. Gonna be relying on @yoshiya0503 @matheo @ivoflipse etc to verify it for me :) please check out latest master or release version 0.12.0 and let me know if it corrects the issue for you! I'll probably release things as-is without waiting, but happy to cut another emergency bugfix release should I have incorrectly applied the fix. |
I didn't get the problem using pip, but while building an invoke package using conda. It tries to compile all the .py files in the package, which obviously fails if Python 3 code is run while building for Python 2. Having this filtering step would make my life easier :-) |
Hi team.
I created the issue and PR.
see #254
Best regards.
Yoshiya Ito