Python push fails to Heroku











up vote
0
down vote

favorite












I'm developing a Reddit bot using PRAW that I'm trying to push to Heroku. When I run git push heroku master, I get this error:



Counting objects: 40, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (40/40), 4.13 KiB | 1.38 MiB/s, done.
Total 40 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.7.1
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting altgraph==0.10.2 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/10/3d/3d8e01dee1379d3250ece6ef9d01292200c1c07086749014a15b7ac01d59/altgraph-0.10.2.tar.gz (481kB)
remote: Collecting bdist-mpkg==0.5.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 2))
remote: Downloading https://files.pythonhosted.org/packages/b5/98/940f1281edc6091ebbbe1ffac4800cef7dec5bccb64ea2dc3e3a9c6d6974/bdist_mpkg-0.5.0.tar.gz
remote: Collecting certifi==2018.10.15 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 3))
remote: Downloading https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl (146kB)
remote: Collecting chardet==3.0.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 4))
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
remote: Collecting decorator==4.0.11 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 5))
remote: Downloading https://files.pythonhosted.org/packages/00/cc/dd79ea98a0ff5a01d714c37eddd99cd0a71557113f1511921d1ef9a083b8/decorator-4.0.11-py2.py3-none-any.whl
remote: Collecting idna==2.7 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 6))
remote: Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
remote: Collecting macholib==1.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 7))
remote: Downloading https://files.pythonhosted.org/packages/f9/12/2a830b5f3e024c50e051f5563eb4fcd61450661d1e41109d6024c8306217/macholib-1.5.1.tar.gz (454kB)
remote: Collecting modulegraph==0.10.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 8))
remote: Downloading https://files.pythonhosted.org/packages/30/84/c9a58f832e7722747dc3dfddb1a07d5761930f0b01e39060f61a5e2a112e/modulegraph-0.10.4.tar.gz (532kB)
remote: Collecting pbr==5.1.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 9))
remote: Downloading https://files.pythonhosted.org/packages/f3/04/fddc1c2dd75b256eda4d360024692231a2c19a0c61ad7f4a162407c1ab58/pbr-5.1.1-py2.py3-none-any.whl (106kB)
remote: Collecting praw==6.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 10))
remote: Downloading https://files.pythonhosted.org/packages/a4/d7/0c7fb864ab9469f2964b2787910c78ade6d98c2d1710df1deab61beb99a1/praw-6.0.0-py2.py3-none-any.whl (99kB)
remote: Collecting prawcore==1.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 11))
remote: Downloading https://files.pythonhosted.org/packages/cd/6d/4bf4d65d4771b15c70284c0626d24f230a5de6edac75c446fd22008ddbf6/prawcore-1.0.0-py2.py3-none-any.whl
remote: Collecting py2app==0.7.3 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 12))
remote: Downloading https://files.pythonhosted.org/packages/69/37/96be6fba838ef465c48ad701c9243ba9a61b09307c8b463e984fa40d9fee/py2app-0.7.3.tar.gz (1.2MB)
remote: Collecting pyobjc-core==2.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 13))
remote: Downloading https://files.pythonhosted.org/packages/0c/92/51c58aa948bcd4e28b24db694fa94d67b996a041e555c9887a43fe6b794c/pyobjc-core-2.5.1.tar.gz (2.1MB)
remote: Complete output from command python setup.py egg_info:
remote: You're not running on MacOS X, and don't use GNUstep
remote: I don't know how to build PyObjC on such a platform.
remote: Please read the ReadMe.
remote:
remote: ObjC runtime not found
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s91svvwa/pyobjc-core/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to calm-fjord-72549.
remote:
To https://git.heroku.com/calm-fjord-72549.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-fjord-72549.git'


I've searched Google repeatedly, and it looks like a lot of people are having this issue, but none of their solutions worked for me. I think it has something to do with Python versions.










share|improve this question






















  • Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
    – Sven Harris
    Nov 21 at 20:07










  • @SvenHarris I don't think Heroku's stack supports 3.6.6
    – William Markley
    Nov 21 at 20:15










  • I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
    – Sven Harris
    Nov 21 at 20:22















up vote
0
down vote

favorite












I'm developing a Reddit bot using PRAW that I'm trying to push to Heroku. When I run git push heroku master, I get this error:



Counting objects: 40, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (40/40), 4.13 KiB | 1.38 MiB/s, done.
Total 40 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.7.1
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting altgraph==0.10.2 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/10/3d/3d8e01dee1379d3250ece6ef9d01292200c1c07086749014a15b7ac01d59/altgraph-0.10.2.tar.gz (481kB)
remote: Collecting bdist-mpkg==0.5.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 2))
remote: Downloading https://files.pythonhosted.org/packages/b5/98/940f1281edc6091ebbbe1ffac4800cef7dec5bccb64ea2dc3e3a9c6d6974/bdist_mpkg-0.5.0.tar.gz
remote: Collecting certifi==2018.10.15 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 3))
remote: Downloading https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl (146kB)
remote: Collecting chardet==3.0.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 4))
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
remote: Collecting decorator==4.0.11 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 5))
remote: Downloading https://files.pythonhosted.org/packages/00/cc/dd79ea98a0ff5a01d714c37eddd99cd0a71557113f1511921d1ef9a083b8/decorator-4.0.11-py2.py3-none-any.whl
remote: Collecting idna==2.7 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 6))
remote: Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
remote: Collecting macholib==1.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 7))
remote: Downloading https://files.pythonhosted.org/packages/f9/12/2a830b5f3e024c50e051f5563eb4fcd61450661d1e41109d6024c8306217/macholib-1.5.1.tar.gz (454kB)
remote: Collecting modulegraph==0.10.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 8))
remote: Downloading https://files.pythonhosted.org/packages/30/84/c9a58f832e7722747dc3dfddb1a07d5761930f0b01e39060f61a5e2a112e/modulegraph-0.10.4.tar.gz (532kB)
remote: Collecting pbr==5.1.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 9))
remote: Downloading https://files.pythonhosted.org/packages/f3/04/fddc1c2dd75b256eda4d360024692231a2c19a0c61ad7f4a162407c1ab58/pbr-5.1.1-py2.py3-none-any.whl (106kB)
remote: Collecting praw==6.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 10))
remote: Downloading https://files.pythonhosted.org/packages/a4/d7/0c7fb864ab9469f2964b2787910c78ade6d98c2d1710df1deab61beb99a1/praw-6.0.0-py2.py3-none-any.whl (99kB)
remote: Collecting prawcore==1.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 11))
remote: Downloading https://files.pythonhosted.org/packages/cd/6d/4bf4d65d4771b15c70284c0626d24f230a5de6edac75c446fd22008ddbf6/prawcore-1.0.0-py2.py3-none-any.whl
remote: Collecting py2app==0.7.3 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 12))
remote: Downloading https://files.pythonhosted.org/packages/69/37/96be6fba838ef465c48ad701c9243ba9a61b09307c8b463e984fa40d9fee/py2app-0.7.3.tar.gz (1.2MB)
remote: Collecting pyobjc-core==2.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 13))
remote: Downloading https://files.pythonhosted.org/packages/0c/92/51c58aa948bcd4e28b24db694fa94d67b996a041e555c9887a43fe6b794c/pyobjc-core-2.5.1.tar.gz (2.1MB)
remote: Complete output from command python setup.py egg_info:
remote: You're not running on MacOS X, and don't use GNUstep
remote: I don't know how to build PyObjC on such a platform.
remote: Please read the ReadMe.
remote:
remote: ObjC runtime not found
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s91svvwa/pyobjc-core/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to calm-fjord-72549.
remote:
To https://git.heroku.com/calm-fjord-72549.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-fjord-72549.git'


I've searched Google repeatedly, and it looks like a lot of people are having this issue, but none of their solutions worked for me. I think it has something to do with Python versions.










share|improve this question






















  • Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
    – Sven Harris
    Nov 21 at 20:07










  • @SvenHarris I don't think Heroku's stack supports 3.6.6
    – William Markley
    Nov 21 at 20:15










  • I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
    – Sven Harris
    Nov 21 at 20:22













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm developing a Reddit bot using PRAW that I'm trying to push to Heroku. When I run git push heroku master, I get this error:



Counting objects: 40, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (40/40), 4.13 KiB | 1.38 MiB/s, done.
Total 40 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.7.1
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting altgraph==0.10.2 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/10/3d/3d8e01dee1379d3250ece6ef9d01292200c1c07086749014a15b7ac01d59/altgraph-0.10.2.tar.gz (481kB)
remote: Collecting bdist-mpkg==0.5.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 2))
remote: Downloading https://files.pythonhosted.org/packages/b5/98/940f1281edc6091ebbbe1ffac4800cef7dec5bccb64ea2dc3e3a9c6d6974/bdist_mpkg-0.5.0.tar.gz
remote: Collecting certifi==2018.10.15 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 3))
remote: Downloading https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl (146kB)
remote: Collecting chardet==3.0.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 4))
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
remote: Collecting decorator==4.0.11 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 5))
remote: Downloading https://files.pythonhosted.org/packages/00/cc/dd79ea98a0ff5a01d714c37eddd99cd0a71557113f1511921d1ef9a083b8/decorator-4.0.11-py2.py3-none-any.whl
remote: Collecting idna==2.7 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 6))
remote: Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
remote: Collecting macholib==1.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 7))
remote: Downloading https://files.pythonhosted.org/packages/f9/12/2a830b5f3e024c50e051f5563eb4fcd61450661d1e41109d6024c8306217/macholib-1.5.1.tar.gz (454kB)
remote: Collecting modulegraph==0.10.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 8))
remote: Downloading https://files.pythonhosted.org/packages/30/84/c9a58f832e7722747dc3dfddb1a07d5761930f0b01e39060f61a5e2a112e/modulegraph-0.10.4.tar.gz (532kB)
remote: Collecting pbr==5.1.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 9))
remote: Downloading https://files.pythonhosted.org/packages/f3/04/fddc1c2dd75b256eda4d360024692231a2c19a0c61ad7f4a162407c1ab58/pbr-5.1.1-py2.py3-none-any.whl (106kB)
remote: Collecting praw==6.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 10))
remote: Downloading https://files.pythonhosted.org/packages/a4/d7/0c7fb864ab9469f2964b2787910c78ade6d98c2d1710df1deab61beb99a1/praw-6.0.0-py2.py3-none-any.whl (99kB)
remote: Collecting prawcore==1.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 11))
remote: Downloading https://files.pythonhosted.org/packages/cd/6d/4bf4d65d4771b15c70284c0626d24f230a5de6edac75c446fd22008ddbf6/prawcore-1.0.0-py2.py3-none-any.whl
remote: Collecting py2app==0.7.3 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 12))
remote: Downloading https://files.pythonhosted.org/packages/69/37/96be6fba838ef465c48ad701c9243ba9a61b09307c8b463e984fa40d9fee/py2app-0.7.3.tar.gz (1.2MB)
remote: Collecting pyobjc-core==2.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 13))
remote: Downloading https://files.pythonhosted.org/packages/0c/92/51c58aa948bcd4e28b24db694fa94d67b996a041e555c9887a43fe6b794c/pyobjc-core-2.5.1.tar.gz (2.1MB)
remote: Complete output from command python setup.py egg_info:
remote: You're not running on MacOS X, and don't use GNUstep
remote: I don't know how to build PyObjC on such a platform.
remote: Please read the ReadMe.
remote:
remote: ObjC runtime not found
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s91svvwa/pyobjc-core/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to calm-fjord-72549.
remote:
To https://git.heroku.com/calm-fjord-72549.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-fjord-72549.git'


I've searched Google repeatedly, and it looks like a lot of people are having this issue, but none of their solutions worked for me. I think it has something to do with Python versions.










share|improve this question













I'm developing a Reddit bot using PRAW that I'm trying to push to Heroku. When I run git push heroku master, I get this error:



Counting objects: 40, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (40/40), 4.13 KiB | 1.38 MiB/s, done.
Total 40 (delta 14), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.7.1
remote: -----> Installing pip
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting altgraph==0.10.2 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/10/3d/3d8e01dee1379d3250ece6ef9d01292200c1c07086749014a15b7ac01d59/altgraph-0.10.2.tar.gz (481kB)
remote: Collecting bdist-mpkg==0.5.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 2))
remote: Downloading https://files.pythonhosted.org/packages/b5/98/940f1281edc6091ebbbe1ffac4800cef7dec5bccb64ea2dc3e3a9c6d6974/bdist_mpkg-0.5.0.tar.gz
remote: Collecting certifi==2018.10.15 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 3))
remote: Downloading https://files.pythonhosted.org/packages/56/9d/1d02dd80bc4cd955f98980f28c5ee2200e1209292d5f9e9cc8d030d18655/certifi-2018.10.15-py2.py3-none-any.whl (146kB)
remote: Collecting chardet==3.0.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 4))
remote: Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
remote: Collecting decorator==4.0.11 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 5))
remote: Downloading https://files.pythonhosted.org/packages/00/cc/dd79ea98a0ff5a01d714c37eddd99cd0a71557113f1511921d1ef9a083b8/decorator-4.0.11-py2.py3-none-any.whl
remote: Collecting idna==2.7 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 6))
remote: Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
remote: Collecting macholib==1.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 7))
remote: Downloading https://files.pythonhosted.org/packages/f9/12/2a830b5f3e024c50e051f5563eb4fcd61450661d1e41109d6024c8306217/macholib-1.5.1.tar.gz (454kB)
remote: Collecting modulegraph==0.10.4 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 8))
remote: Downloading https://files.pythonhosted.org/packages/30/84/c9a58f832e7722747dc3dfddb1a07d5761930f0b01e39060f61a5e2a112e/modulegraph-0.10.4.tar.gz (532kB)
remote: Collecting pbr==5.1.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 9))
remote: Downloading https://files.pythonhosted.org/packages/f3/04/fddc1c2dd75b256eda4d360024692231a2c19a0c61ad7f4a162407c1ab58/pbr-5.1.1-py2.py3-none-any.whl (106kB)
remote: Collecting praw==6.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 10))
remote: Downloading https://files.pythonhosted.org/packages/a4/d7/0c7fb864ab9469f2964b2787910c78ade6d98c2d1710df1deab61beb99a1/praw-6.0.0-py2.py3-none-any.whl (99kB)
remote: Collecting prawcore==1.0.0 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 11))
remote: Downloading https://files.pythonhosted.org/packages/cd/6d/4bf4d65d4771b15c70284c0626d24f230a5de6edac75c446fd22008ddbf6/prawcore-1.0.0-py2.py3-none-any.whl
remote: Collecting py2app==0.7.3 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 12))
remote: Downloading https://files.pythonhosted.org/packages/69/37/96be6fba838ef465c48ad701c9243ba9a61b09307c8b463e984fa40d9fee/py2app-0.7.3.tar.gz (1.2MB)
remote: Collecting pyobjc-core==2.5.1 (from -r /tmp/build_3d8b2e5ccf0b321df85ebefdb32059e1/requirements.txt (line 13))
remote: Downloading https://files.pythonhosted.org/packages/0c/92/51c58aa948bcd4e28b24db694fa94d67b996a041e555c9887a43fe6b794c/pyobjc-core-2.5.1.tar.gz (2.1MB)
remote: Complete output from command python setup.py egg_info:
remote: You're not running on MacOS X, and don't use GNUstep
remote: I don't know how to build PyObjC on such a platform.
remote: Please read the ReadMe.
remote:
remote: ObjC runtime not found
remote:
remote: ----------------------------------------
remote: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-s91svvwa/pyobjc-core/
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to calm-fjord-72549.
remote:
To https://git.heroku.com/calm-fjord-72549.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-fjord-72549.git'


I've searched Google repeatedly, and it looks like a lot of people are having this issue, but none of their solutions worked for me. I think it has something to do with Python versions.







python heroku






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 at 19:49









William Markley

615




615












  • Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
    – Sven Harris
    Nov 21 at 20:07










  • @SvenHarris I don't think Heroku's stack supports 3.6.6
    – William Markley
    Nov 21 at 20:15










  • I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
    – Sven Harris
    Nov 21 at 20:22


















  • Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
    – Sven Harris
    Nov 21 at 20:07










  • @SvenHarris I don't think Heroku's stack supports 3.6.6
    – William Markley
    Nov 21 at 20:15










  • I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
    – Sven Harris
    Nov 21 at 20:22
















Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
– Sven Harris
Nov 21 at 20:07




Python 3.7 is still pretty new, wonder if it might be worth downgrading to 3.6.6?
– Sven Harris
Nov 21 at 20:07












@SvenHarris I don't think Heroku's stack supports 3.6.6
– William Markley
Nov 21 at 20:15




@SvenHarris I don't think Heroku's stack supports 3.6.6
– William Markley
Nov 21 at 20:15












I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
– Sven Harris
Nov 21 at 20:22




I think it should support 3.6.7 (I didn't realise that was a version devcenter.heroku.com/articles/python-support#supported-runtimes), will be something you need to specify in your runtime.txt file
– Sven Harris
Nov 21 at 20:22

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53419544%2fpython-push-fails-to-heroku%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53419544%2fpython-push-fails-to-heroku%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...