title: Failed pushing Python Flask App to Heroku
body: <p>New to Flask and deploying on Heroku, trying to push to Heroku and I get this error when installing dependencies:</p>
  <p>The pipenv version looks funny not sure if that is correct or how to correct it if that is the error</p>
  <pre><code>Enumerating objects: 38, done.
  Counting objects: 100% (38/38), done.
  Delta compression using up to 8 threads
  Compressing objects: 100% (30/30), done.
  Writing objects: 100% (38/38), 83.94 KiB | 10.49 MiB/s, done.
  Total 38 (delta 8), reused 0 (delta 0), pack-reused 0
  remote: Compressing source files... done.
  remote: Building source:
  remote:
  remote: -----&gt; Python app detected
  remote: -----&gt; Installing python-3.8.5
  remote: -----&gt; Installing pip
  remote: -----&gt; Installing dependencies with Pipenv 2018.5.18ÔÇª
  remote:        Traceback (most recent call last):
  remote:          File &quot;/tmp/build_9fedd330/.heroku/python/lib/python3.8/site-packages/pipenv/patched/prettytoml/elements/abstracttable.py&quot;, line 27, in _enumerate_items
  remote:            yield next(non_metadata), next(non_metadata)
  remote:        StopIteration
  remote:
  remote:            return toml.loads(contents)
  remote:          File &quot;/tmp/build_9fedd330/.heroku/python/lib/python3.8/site-packages/pipenv/vendor/toml.py&quot;, line 307, in loads
  remote:            raise TomlDecodeError(&quot;Key group not on a line by itself.&quot;)
  remote:        toml.TomlDecodeError: Key group not on a line by itself.
  remote:  !     Push rejected, failed to compile Python app.
  remote:
  remote:  !     Push failed
  remote: Verifying deploy...
  remote:
  </code></pre>
  <p>Not sure what the error is! Any help would be appreciated. I have removed some of the error list due to asking me for more details as to much code</p>