jwoglom / tconnectsync

Syncs insulin pump data from Tandem t:connect to Nightscout for the t:slim X2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating to a new version fails

muc2sf opened this issue · comments

Hello,

I'm getting the following error when trying to push an update, any suggestions?

Thank you!

se***@sk-***-mbp mynightscout-**** % git push heroku main:main
Enumerating objects: 107, done.
Counting objects: 100% (107/107), done.
Delta compression using up to 8 threads
Compressing objects: 100% (42/42), done.
Writing objects: 100% (107/107), 50.43 KiB | 50.43 MiB/s, done.
Total 107 (delta 59), reused 107 (delta 59), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-22 stack
remote: -----> Using buildpack: heroku/python
remote: -----> Python app detected
remote: -----> Using Python version specified in runtime.txt
remote:  !     
remote:  !     A Python security update is available! Upgrade as soon as possible to: python-3.9.15
remote:  !     See: https://devcenter.heroku.com/articles/python-runtimes
remote:  !     
remote: -----> Using cached install of python-3.9.13
remote: -----> Installing pip 22.3.1, setuptools 63.4.3 and wheel 0.37.1
remote: -----> Installing dependencies with Pipenv 2020.11.15
remote:        Installing dependencies from Pipfile.lock (c372f1)...
remote:        error in Flask-APScheduler setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; super(type, obj): obj must be an instance or subtype of type
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed
remote:  !
remote:  ! ## Warning - The same version of this code has already been built: c6aaf50fad1df018236210377a633642b3cb442d
remote:  !
remote:  ! We have detected that you have triggered a build from source code with version c6aaf50fad1df018236210377a633642b3cb442d
remote:  ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote:  !
remote:  ! If you are developing on a branch and deploying via git you must run:
remote:  !
remote:  !     git push heroku <branchname>:main
remote:  !
remote:  ! This article goes into details on the behavior:
remote:  !   https://devcenter.heroku.com/articles/duplicate-build-version
remote: 
remote: Verifying deploy...
remote: 
remote: !	Push rejected to mynightscout-*****.
remote: 
To https://git.heroku.com/mynightscout-*****.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/mynightscout-******.git'

Something must have broken in Flask-APScheduler. I'll take a look -- thanks!

I updated tconnectsync-heroku with new package versions and didn't notice this problem, if you're still experiencing it you can use the latest version. Going to close this issue unless it happens again.