Skip to content
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

Fix syntax for opening the README.md and __version__.py #116

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

akamhy
Copy link
Owner

@akamhy akamhy commented Jan 25, 2022

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:

$  pip install git+https://github.com/akamhy/waybackpy.git
Collecting git+https://github.com/akamhy/waybackpy.git
  Cloning https://github.com/akamhy/waybackpy.git to /tmp/pip-req-build-n3b9e5pj
    ERROR: Command errored out with exit status 1:
     command: /tmp/ppp/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-n3b9e5pj/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-n3b9e5pj/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-dczej0bv
         cwd: /tmp/pip-req-build-n3b9e5pj/
    Complete output (6 lines):
    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.
WARNING: You are using pip version 20.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/tmp/ppp/venv/bin/python -m pip install --upgrade pip' command.

See also :
conda-forge/staged-recipes#17634

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
@akamhy
Copy link
Owner Author

akamhy commented Jan 25, 2022

also related #111

@akamhy akamhy mentioned this pull request Jan 25, 2022
@akamhy
Copy link
Owner Author

akamhy commented Jan 25, 2022

@akamhy akamhy merged commit 28f6ff8 into master Jan 25, 2022
@akamhy akamhy deleted the patch-setup-py branch January 25, 2022 07:41
@akamhy akamhy mentioned this pull request Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant