-
Notifications
You must be signed in to change notification settings - Fork 33
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
Update setup.py #114
Update setup.py #114
Conversation
Hello @rafaelrdealmeida! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-01-25 01:03:31 UTC |
pep8
For some reason updates made at #114 are breaking the build using setup, caught while deploying to a cloud service provider. The exact error is: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-req-build-n3b9e5pj/setup.py", line 5 os.path.join(os.path.dirname(__file__), README.md), encoding=utf-8), ^ SyntaxError: invalid syntax ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. See also : conda-forge/staged-recipes#17634
@@ -1,11 +1,16 @@ | |||
import os.path | |||
from setuptools import setup | |||
|
|||
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f: | |||
with open( | |||
os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8"), |
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 somehow missed it and the project doesn't build test via the CI. Fixed in #116.
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.
The issue is with the "," at the end of line 5.
see: #111 (comment)