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

Private Build Failing #80

Closed
ankitvgupta opened this issue Jan 22, 2018 · 9 comments
Closed

Private Build Failing #80

ankitvgupta opened this issue Jan 22, 2018 · 9 comments
Labels

Comments

@ankitvgupta
Copy link

Hello,

I'm trying to deploy this for a private repo. When I try to launch the Heroku app, I get the error below. Any thoughts on how to fix it?

-----> Python app detected
 !     The latest version of Python 3 is python-3.6.4 (you are using python-3.6.0, which is unsupported).
 !     We recommend upgrading by specifying the latest version (python-3.6.4).
       Learn More: https://devcenter.heroku.com/articles/python-runtimes
-----> Installing python-3.6.0
-----> Installing pip
-----> Installing requirements with pip
       Collecting requests==2.11.1 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 1))
         Downloading requests-2.11.1-py2.py3-none-any.whl (514kB)
       Collecting Flask-Session==0.3.0 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 2))
         Downloading Flask_Session-0.3.0-py2.py3-none-any.whl
       Collecting flask==0.11.1 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 3))
         Downloading Flask-0.11.1-py2.py3-none-any.whl (80kB)
       Collecting gunicorn==19.6.0 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 4))
         Downloading gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
       Collecting pycodestyle>=2.3.0 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 5))
         Downloading pycodestyle-2.3.1-py2.py3-none-any.whl (45kB)
       Collecting psycopg2==2.6.2 (from -r /tmp/build_a5a31f736ade04ee753e9a4fcea3c2b3/OrkoHunter-pep8speaks-147ee5f/requirements/base.txt (line 6))
         Downloading psycopg2-2.6.2.tar.gz (376kB)
           Complete output from command python setup.py egg_info:
           running egg_info
           creating pip-egg-info/psycopg2.egg-info
           writing pip-egg-info/psycopg2.egg-info/PKG-INFO
           writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
           writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
           writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
           Error: could not determine PostgreSQL version from '10.1'
           
           ----------------------------------------
       Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8e5b4pg4/psycopg2/
 !     Push rejected, failed to compile Python app.
@OrkoHunter
Copy link
Collaborator

OrkoHunter commented Jan 22, 2018

Hello @ankitvgupta, Thanks for reporting! This looks like a problem related to installing that particular version of psycopg2. I'll get back to it as soon as I can.

@ankitvgupta
Copy link
Author

Awesome, thanks so much! This app looks awesome, so I'd love to get it setup.

@ankitvgupta
Copy link
Author

Relatedly - why do I need to supply my Github Bot password when I'm providing the access key?

@OrkoHunter
Copy link
Collaborator

OrkoHunter commented Jan 24, 2018

@ankitvgupta Currently few of the requests might not be using Token but the normal AUTH tuple of usernames and passwords. This actually needs change. I only realised this issue now, and I support removing dependency on Bot password.

This can be solved by making sure Token is passed as a header in every request.

@OrkoHunter OrkoHunter added the bug label Jan 24, 2018
@ankitvgupta
Copy link
Author

Gotcha. Thanks for the quick updates!

Please do let me know once the original issue I mentioned gets resolved - looks like it might just be an issue with the version of that package. Happy to help test things if you need.

@OrkoHunter
Copy link
Collaborator

I'll work on these issues over the weekend. Will happily inform you of the updates.

@matheus-manoel
Copy link
Contributor

Hello there! Firstly, thanks for the app.

I'm having the same problem. Any updates on the issue?

@chinskiy
Copy link
Collaborator

Greetings
#82 fixed problem? it can be closed?

@matheus-manoel
Copy link
Contributor

Hello. Yes, it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants