WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit fd9b81a

Browse files
authored
Pinning and fixes to ensure it runs on render (#85)
* 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
1 parent 5984627 commit fd9b81a

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

requirements.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
Jinja2==3.0.1
12
streamlit==1.1.0
2-
pandas==1.3.4
3+
pandas==1.5.0
34
watchdog==2.1.6
45
bokeh==2.2.0
5-
newrelic==7.2.2.169
6-
scipy==1.7.1
6+
newrelic
7+
scipy
8+
protobuf==3.19.0

salary_app/commons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@ def format_salary_df(df: pd.DataFrame):
9393
def add_copyright():
9494
l1 = Label(x=5, y=9, text_font_size='10px', x_units='screen',
9595
y_units='screen',
96-
text='Copyright © 2021 Chun Ly. https://sapp4ua.herokuapp.com. '
96+
text='Copyright © 2021-2022 Chun Ly. https://sapp4ua.onrender.com. '
9797
'Figure: CC BY 4.0. Code: MIT')
9898
return l1

salary_app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main(bokeh=True, local: str = ''):
8585
<style>
8686
footer { visibility: hidden; }
8787
footer:after {
88-
content:'Copyright © 2021 Chun Ly. All rights reserved.';
88+
content:'Copyright © 2021-2022 Chun Ly. All rights reserved.';
8989
visibility: visible;
9090
display: block;
9191
position: relative;

0 commit comments

Comments
 (0)