Skip to content

Commit

Permalink
Pinning and fixes to ensure it runs on render (#85)
Browse files Browse the repository at this point in the history
* Update dependencies

 - streamlit: 1.1.0 -> 1.13.0
 - pandas 1.3.4 -> 1.5.0
 - Disable newrelic
 - scipy no specified version

* Pin version for jinja

* Pin version for streamlit

* Pin protobuf to 3.19.0, streamlit to 1.1.0

* Add newrelic dependency

* Update copyright
  • Loading branch information
astrochun authored Nov 27, 2022
1 parent 5984627 commit fd9b81a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Jinja2==3.0.1
streamlit==1.1.0
pandas==1.3.4
pandas==1.5.0
watchdog==2.1.6
bokeh==2.2.0
newrelic==7.2.2.169
scipy==1.7.1
newrelic
scipy
protobuf==3.19.0
2 changes: 1 addition & 1 deletion salary_app/commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ def format_salary_df(df: pd.DataFrame):
def add_copyright():
l1 = Label(x=5, y=9, text_font_size='10px', x_units='screen',
y_units='screen',
text='Copyright © 2021 Chun Ly. https://sapp4ua.herokuapp.com. '
text='Copyright © 2021-2022 Chun Ly. https://sapp4ua.onrender.com. '
'Figure: CC BY 4.0. Code: MIT')
return l1
2 changes: 1 addition & 1 deletion salary_app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def main(bokeh=True, local: str = ''):
<style>
footer { visibility: hidden; }
footer:after {
content:'Copyright © 2021 Chun Ly. All rights reserved.';
content:'Copyright © 2021-2022 Chun Ly. All rights reserved.';
visibility: visible;
display: block;
position: relative;
Expand Down

0 comments on commit fd9b81a

Please sign in to comment.