samdobson / monzo-coffee

Intelligent transaction tagging for data-loving Monzonauts
8 stars 2 forks source link

Heroku one-click deployment fails #12

Closed kierancassel closed 5 years ago

kierancassel commented 5 years ago

Log attached:

-----> Python app detected

-----> Installing python-3.6.7

-----> Installing pip

-----> Installing dependencies with Pipenv 2018.5.18…

       Installing -e git+git://github.com/samdobson/monzo-python.git#egg=monzo-python…

       Obtaining monzo-python from git+git://github.com/samdobson/monzo-python.git#egg=monzo-python

         Cloning git://github.com/samdobson/monzo-python.git to ./src/monzo-python

       Collecting requests (from monzo)

         Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)

       Collecting python-dotenv (from monzo)

         Downloading https://files.pythonhosted.org/packages/8c/14/501508b016e7b1ad0eb91bba581e66ad9bfc7c66fcacbb580eaf9bc38458/python_dotenv-0.10.1-py2.py3-none-any.whl

       Collecting chardet<3.1.0,>=3.0.2 (from requests->monzo)

         Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)

       Requirement already satisfied: certifi>=2017.4.17 in ./.heroku/python/lib/python3.6/site-packages (from requests->monzo)

       Collecting idna<2.9,>=2.5 (from requests->monzo)

         Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)

       Collecting urllib3<1.25,>=1.21.1 (from requests->monzo)

         Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)

       Installing collected packages: chardet, idna, urllib3, requests, python-dotenv, monzo

         Running setup.py develop for monzo

       Successfully installed chardet-3.0.4 idna-2.8 monzo python-dotenv-0.10.1 requests-2.21.0 urllib3-1.24.1

       Adding -e git+git://github.com/samdobson/monzo-python.git#egg=monzo-python to Pipfile's [packages]…

       Creating a virtualenv for this project…

       Using /app/.heroku/python/bin/python (3.6.7) to create virtualenv…

       Already using interpreter /app/.heroku/python/bin/python

       Using base prefix '/app/.heroku/python'

       New python executable in /app/.local/share/virtualenvs/build_ccb8509c917aea6c826a12585971d58a-GIoDPAvW/bin/python

       Installing setuptools, pip, wheel...

       done.

       Virtualenv location: /app/.local/share/virtualenvs/build_ccb8509c917aea6c826a12585971d58a-GIoDPAvW

       Installing dependencies from Pipfile.lock (670b6f)…

       An error occurred while installing -e git+git://github.com/samdobson/monzo-python.git@5873d452b19f31087d8d186f8103a3d87731bf37#egg=monzo-python! Will try again.

       Installing initially–failed dependencies…

       Obtaining monzo-python from git+git://github.com/samdobson/monzo-python.git@5873d452b19f31087d8d186f8103a3d87731bf37#egg=monzo-python

         Updating ./src/monzo-python clone (to 5873d452b19f31087d8d186f8103a3d87731bf37)

       fatal: Could not parse object '5873d452b19f31087d8d186f8103a3d87731bf37'.

         Could not find a tag or branch '5873d452b19f31087d8d186f8103a3d87731bf37', assuming commit.

       Command "git reset --hard -q 5873d452b19f31087d8d186f8103a3d87731bf37" failed with error code 128 in /tmp/build_ccb8509c917aea6c826a12585971d58a/src/monzo-python

       You are using pip version 9.0.2, however version 18.1 is available.

       You should consider upgrading via the 'pip install --upgrade pip' command.

 !     Push rejected, failed to compile Python app.

 !     Push failed
samdobson commented 5 years ago

Thanks for the bug report. This has been fixed with 0a28a8c - should now be good to go :)