acecalisto3/PhiCo-D-Instruck
Text2Text Generation
•
Updated
•
12
url
stringlengths 60
60
| repository_url
stringclasses 1
value | labels_url
stringlengths 74
74
| comments_url
stringlengths 69
69
| events_url
stringlengths 67
67
| html_url
stringlengths 48
50
| id
int64 571M
1.59B
| node_id
stringlengths 18
32
| number
int64 1.15k
6.14k
| title
stringlengths 1
342
| user
dict | labels
list | state
stringclasses 2
values | locked
bool 1
class | assignee
dict | assignees
list | milestone
null | comments
int64 0
51
| created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 4
values | active_lock_reason
null | body
stringlengths 0
76.3k
⌀ | reactions
dict | timeline_url
stringlengths 69
69
| performed_via_github_app
null | state_reason
stringclasses 3
values | draft
bool 2
classes | pull_request
dict | is_pull_request
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/streamlit/streamlit/issues/6136 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6136/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6136/comments | https://api.github.com/repos/streamlit/streamlit/issues/6136/events | https://github.com/streamlit/streamlit/issues/6136 | 1,586,088,343 | I_kwDODCoeTs5eicmX | 6,136 | Protobuff version upgrade | {
"login": "Mikkolehtimaki",
"id": 13274545,
"node_id": "MDQ6VXNlcjEzMjc0NTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/13274545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mikkolehtimaki",
"html_url": "https://github.com/Mikkolehtimaki",
"followers_url": "https://api.github.com/users/Mikkolehtimaki/followers",
"following_url": "https://api.github.com/users/Mikkolehtimaki/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikkolehtimaki/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mikkolehtimaki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikkolehtimaki/subscriptions",
"organizations_url": "https://api.github.com/users/Mikkolehtimaki/orgs",
"repos_url": "https://api.github.com/users/Mikkolehtimaki/repos",
"events_url": "https://api.github.com/users/Mikkolehtimaki/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mikkolehtimaki/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 0 | 2023-02-15T15:48:04 | 2023-02-15T15:48:04 | null | NONE | null | ### Problem
Streamlit requires Protobuf version < 4. Many modern libraries need > 4. This results in collision when managing project dependencies.
### Solution
Move to newer Protobuf.
Would be great to know if this can be done!
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6136/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6135 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6135/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6135/comments | https://api.github.com/repos/streamlit/streamlit/issues/6135/events | https://github.com/streamlit/streamlit/pull/6135 | 1,585,915,754 | PR_kwDODCoeTs5KCYa4 | 6,135 | Improve data editor and dataframe docstring | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2023-02-15T14:02:42 | 2023-02-15T14:04:20 | null | COLLABORATOR | null | ## 📚 Context
Improve data editor and dataframe docstring for `width` and `height`.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6135/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6135",
"html_url": "https://github.com/streamlit/streamlit/pull/6135",
"diff_url": "https://github.com/streamlit/streamlit/pull/6135.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6135.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6134 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6134/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6134/comments | https://api.github.com/repos/streamlit/streamlit/issues/6134/events | https://github.com/streamlit/streamlit/issues/6134 | 1,585,863,532 | I_kwDODCoeTs5ehlts | 6,134 | Histogram slider | {
"login": "e-tornike",
"id": 20404466,
"node_id": "MDQ6VXNlcjIwNDA0NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20404466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/e-tornike",
"html_url": "https://github.com/e-tornike",
"followers_url": "https://api.github.com/users/e-tornike/followers",
"following_url": "https://api.github.com/users/e-tornike/following{/other_user}",
"gists_url": "https://api.github.com/users/e-tornike/gists{/gist_id}",
"starred_url": "https://api.github.com/users/e-tornike/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/e-tornike/subscriptions",
"organizations_url": "https://api.github.com/users/e-tornike/orgs",
"repos_url": "https://api.github.com/users/e-tornike/repos",
"events_url": "https://api.github.com/users/e-tornike/events{/privacy}",
"received_events_url": "https://api.github.com/users/e-tornike/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 0 | 2023-02-15T13:28:58 | 2023-02-15T13:28:58 | null | NONE | null | ### Problem
A user interacting with a slider might be interested in the distribution of the values in order to more appropriately filter relevant data. As far as I am aware, this is not yet possible.
### Solution
**MVP:** Use a histogram to show the distribution of each step/bin.
**Possible additions:** Move the range bar sideways, coloring steps/bins inside of the range.
### Additional context
For inspiration, it could look something like the [vue-histogram-slider](https://github.com/oguzhaninan/vue-histogram-slider):
<p align="center">
<img src="https://github.com/oguzhaninan/vue-histogram-slider/raw/master/resources/histogram-slider-demo.gif">
</p>
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6134/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6134/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6133 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6133/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6133/comments | https://api.github.com/repos/streamlit/streamlit/issues/6133/events | https://github.com/streamlit/streamlit/issues/6133 | 1,585,811,784 | I_kwDODCoeTs5ehZFI | 6,133 | Image gallery | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://api.github.com/users/abhishekkrthakur/followers",
"following_url": "https://api.github.com/users/abhishekkrthakur/following{/other_user}",
"gists_url": "https://api.github.com/users/abhishekkrthakur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/abhishekkrthakur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhishekkrthakur/subscriptions",
"organizations_url": "https://api.github.com/users/abhishekkrthakur/orgs",
"repos_url": "https://api.github.com/users/abhishekkrthakur/repos",
"events_url": "https://api.github.com/users/abhishekkrthakur/events{/privacy}",
"received_events_url": "https://api.github.com/users/abhishekkrthakur/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 0 | 2023-02-15T12:55:53 | 2023-02-15T12:55:53 | null | NONE | null | Any plans to add image gallery? Could be quite useful (and popular) since its the era of diffusion models | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6133/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6132 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6132/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6132/comments | https://api.github.com/repos/streamlit/streamlit/issues/6132/events | https://github.com/streamlit/streamlit/issues/6132 | 1,585,548,562 | I_kwDODCoeTs5egY0S | 6,132 | Horizontal layout for fixed-with elements | {
"login": "matkozak",
"id": 19314272,
"node_id": "MDQ6VXNlcjE5MzE0Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/19314272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matkozak",
"html_url": "https://github.com/matkozak",
"followers_url": "https://api.github.com/users/matkozak/followers",
"following_url": "https://api.github.com/users/matkozak/following{/other_user}",
"gists_url": "https://api.github.com/users/matkozak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matkozak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matkozak/subscriptions",
"organizations_url": "https://api.github.com/users/matkozak/orgs",
"repos_url": "https://api.github.com/users/matkozak/repos",
"events_url": "https://api.github.com/users/matkozak/events{/privacy}",
"received_events_url": "https://api.github.com/users/matkozak/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | open | false | null | [] | null | 0 | 2023-02-15T09:53:20 | 2023-02-15T09:53:20 | null | NONE | null | ### Problem
Quite often one would like to have multiple elements such as `st.button` next to each other. There is currently no ideal solution to do this.
Columns are an acceptable workaround, but elements such as `st.button` or `st.metric` do not fill the entire column (correctly), leaving large gaps between elements. Tricks like using `st.columns([1,1,10])` to lay out two buttons and a bunch of whitespace can be unpredictable.
### Solution
**MVP:** A container-type command, like `st.horizontal_array` or some such, which would allow for sequential horizontal layout of fixed-width elements such as `st.button`, `st.metric` side-by-side.
**Possible additions:** A consideration of tweaking the gap (like with `st.column`) and what happens in cases of overflow (multi-line sequence?).
### Additional context
Not an unpopular request on the forums:
https://discuss.streamlit.io/t/st-button-in-one-line/25966
https://discuss.streamlit.io/t/two-buttons-on-the-same-line/2749
https://discuss.streamlit.io/t/multiple-download-buttons-on-the-same-line/37706
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6132/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6131 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6131/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6131/comments | https://api.github.com/repos/streamlit/streamlit/issues/6131/events | https://github.com/streamlit/streamlit/issues/6131 | 1,585,162,101 | I_kwDODCoeTs5ee6d1 | 6,131 | allow_output_mutation does not exist anymore | {
"login": "HodiemihiCrastibi",
"id": 101847820,
"node_id": "U_kgDOBhITDA",
"avatar_url": "https://avatars.githubusercontent.com/u/101847820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HodiemihiCrastibi",
"html_url": "https://github.com/HodiemihiCrastibi",
"followers_url": "https://api.github.com/users/HodiemihiCrastibi/followers",
"following_url": "https://api.github.com/users/HodiemihiCrastibi/following{/other_user}",
"gists_url": "https://api.github.com/users/HodiemihiCrastibi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HodiemihiCrastibi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HodiemihiCrastibi/subscriptions",
"organizations_url": "https://api.github.com/users/HodiemihiCrastibi/orgs",
"repos_url": "https://api.github.com/users/HodiemihiCrastibi/repos",
"events_url": "https://api.github.com/users/HodiemihiCrastibi/events{/privacy}",
"received_events_url": "https://api.github.com/users/HodiemihiCrastibi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | open | false | null | [] | null | 0 | 2023-02-15T03:45:08 | 2023-02-15T03:45:58 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Verified that "st.cache" is deprecated. No similar examples of document references were found.
### Reproducible Code Example
```Python
@st.cache(allow_output_mutation=True)
def cached_model():
model = SentenceTransformer('jhgan/ko-sroberta-multitask')
return model
@st.cache(allow_output_mutation=True)
def get_dataset():
df = pd.read_csv('wellness_dataset.csv')
df['embedding'] = df['embedding'].apply(json.loads)
return df
```
### Steps To Reproduce
1. @st.cache_resource(allow_output_mutation=True)
def cached_model():
model = SentenceTransformer('jhgan/ko-sroberta-multitask')
return model
@st.cache_resource(allow_output_mutation=True)
def get_dataset():
df = pd.read_csv('wellness_dataset.csv')
df['embedding'] = df['embedding'].apply(json.loads)
return df
### Expected Behavior
Page not found.
### Current Behavior
Please check the official document of st.cache.
### Is this a regression?
- [x] Yes, this used to work in a previous version.
### Debug info
<font class="papago-parent"><font class="papago-source" style="display:none;">- Streamlit version:</font>- 스트림라이트 버전:</font><font class="papago-parent"><font class="papago-source" style="display:none;">
</font>
</font><font class="papago-parent"><font class="papago-source" style="display:none;">- Python version:</font>- Python 버전:</font><font class="papago-parent"><font class="papago-source" style="display:none;">
</font>
</font><font class="papago-parent"><font class="papago-source" style="display:none;">- Operating System:</font>- 운영체제:</font><font class="papago-parent"><font class="papago-source" style="display:none;">
</font>
</font><font class="papago-parent"><font class="papago-source" style="display:none;">- Browser:</font>- 브라우저:</font><font class="papago-parent"><font class="papago-source" style="display:none;">
</font>
</font><font class="papago-parent"><font class="papago-source" style="display:none;">- Virtual environment:</font>- 가상 환경:</font><font class="papago-parent"><font class="papago-source" style="display:none;">
</font>
</font>
### Additional Information
_No response_
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6131/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6130 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6130/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6130/comments | https://api.github.com/repos/streamlit/streamlit/issues/6130/events | https://github.com/streamlit/streamlit/issues/6130 | 1,585,010,411 | I_kwDODCoeTs5eeVbr | 6,130 | Copy Column Headers from Streamlit Dataframe | {
"login": "hucker",
"id": 168343,
"node_id": "MDQ6VXNlcjE2ODM0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/168343?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hucker",
"html_url": "https://github.com/hucker",
"followers_url": "https://api.github.com/users/hucker/followers",
"following_url": "https://api.github.com/users/hucker/following{/other_user}",
"gists_url": "https://api.github.com/users/hucker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hucker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hucker/subscriptions",
"organizations_url": "https://api.github.com/users/hucker/orgs",
"repos_url": "https://api.github.com/users/hucker/repos",
"events_url": "https://api.github.com/users/hucker/events{/privacy}",
"received_events_url": "https://api.github.com/users/hucker/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1964011103,
"node_id": "MDU6TGFiZWwxOTY0MDExMTAz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.dataframe",
"name": "feature:st.dataframe",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2023-02-15T00:08:15 | 2023-02-15T12:48:24 | null | NONE | null | ### Problem
Streamlit not copying column headers when selecting and copying data is a borderline no-go for using the tool as our datasets are quite wide in some cases and without headers the overhead is very painful to get useful data into excel/JMP/jupyter. We don't use this often as streamlit is mostly a dashboard-y tool, easily cutting data is a huge bonus. Having the default include headers or optionally being able to configure headers on copy would be very positive.
### Solution
Minium Suggestion:
```python
st.dataframe(df) # default copy behavior is copying data and columns
```
**Possible additions:**
Ideally we could choose (though 90% of the time we want both)
``` python
#default config works like it does now not copying column headers but copying data
def dataframe(df,copy_headers=False,copy_data=True):
```
This allows us to write code like this:
``` python
st.dataframe(df) # Backwards compatible default state
st.dataframe(df,copy_headers=False,copy_data=True) # Explicity config to default state.
st.dataframe(df,copy_headers=True,copy_data=True) # Header
st.dataframe(df,copy_headers=True,copy_data=False) # Columns only ???...
```
Finally another useful...but remotely so, would be
``` python
st.dataframe(df,copy_schema=True) # return data types of each column perhaps int/str/datetime/float
```
I'm currently look at providing buttons with each data frame that use data frame code to save or download data based on solutions I've seen in here and on SO.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6130/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6129 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6129/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6129/comments | https://api.github.com/repos/streamlit/streamlit/issues/6129/events | https://github.com/streamlit/streamlit/pull/6129 | 1,584,734,645 | PR_kwDODCoeTs5J-Zqm | 6,129 | Fix `st.metric` tooltip position regression | {
"login": "sfc-gh-jgarcia",
"id": 103376966,
"node_id": "U_kgDOBiloRg",
"avatar_url": "https://avatars.githubusercontent.com/u/103376966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jgarcia",
"html_url": "https://github.com/sfc-gh-jgarcia",
"followers_url": "https://api.github.com/users/sfc-gh-jgarcia/followers",
"following_url": "https://api.github.com/users/sfc-gh-jgarcia/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jgarcia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jgarcia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jgarcia/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jgarcia/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jgarcia/repos",
"events_url": "https://api.github.com/users/sfc-gh-jgarcia/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jgarcia/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | open | false | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
},
{
"login": "sfc-gh-jgarcia",
"id": 103376966,
"node_id": "U_kgDOBiloRg",
"avatar_url": "https://avatars.githubusercontent.com/u/103376966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sfc-gh-jgarcia",
"html_url": "https://github.com/sfc-gh-jgarcia",
"followers_url": "https://api.github.com/users/sfc-gh-jgarcia/followers",
"following_url": "https://api.github.com/users/sfc-gh-jgarcia/following{/other_user}",
"gists_url": "https://api.github.com/users/sfc-gh-jgarcia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sfc-gh-jgarcia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sfc-gh-jgarcia/subscriptions",
"organizations_url": "https://api.github.com/users/sfc-gh-jgarcia/orgs",
"repos_url": "https://api.github.com/users/sfc-gh-jgarcia/repos",
"events_url": "https://api.github.com/users/sfc-gh-jgarcia/events{/privacy}",
"received_events_url": "https://api.github.com/users/sfc-gh-jgarcia/received_events",
"type": "User",
"site_admin": false
}
] | null | 0 | 2023-02-14T19:49:58 | 2023-02-14T23:23:57 | null | CONTRIBUTOR | null | ## 📚 Context
This PR fixes a regression in reported by @snehankekre, where the `help` tooltip in `st.metric` would show up in the wrong place.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Added `display: flex;` to `StyleTruncateText` so we can place the `(?)` icon next to the label;
- Added `overflow: hidden;` to the `StyledStreamlitMarkdown` label container;
- Added `overflow: hidden;` and `text-overflow: ellipsis;` to the actual `<p>` tag inside the label container.
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
**Revised:**
![Screenshot 2023-02-14 at 4 46 35 PM](https://user-images.githubusercontent.com/103376966/218846893-766efe61-2ba8-41af-861d-25f6d3067358.png)
![Screenshot 2023-02-14 at 4 46 38 PM](https://user-images.githubusercontent.com/103376966/218846954-05c3cb2c-f722-4118-879e-32754970295b.png)
**Current:**
![218045435-bc389e06-c5ae-4bd9-bd0b-74b1c4860976](https://user-images.githubusercontent.com/103376966/218847035-31609fe7-3923-44bd-b97d-469475e9f964.png)
## 🧪 Testing Done
- [x] Screenshots included
- [ ] Added/Updated unit tests
- [x] Added/Updated e2e tests
## 🌐 References
- **Issue**: Closes #6093
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6129/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6129",
"html_url": "https://github.com/streamlit/streamlit/pull/6129",
"diff_url": "https://github.com/streamlit/streamlit/pull/6129.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6129.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6128 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6128/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6128/comments | https://api.github.com/repos/streamlit/streamlit/issues/6128/events | https://github.com/streamlit/streamlit/pull/6128 | 1,584,720,643 | PR_kwDODCoeTs5J-WtT | 6,128 | cache_errors: don't refer to experimental_memo|singleton | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 0 | 2023-02-14T19:37:29 | 2023-02-15T14:29:22 | null | COLLABORATOR | null | Our `UnserializableReturnValueError` cache error currently refers to our old cache decorator names (`@st.experimental_memo|singleton`), and our old experimental cache decorator docs. This PR updates the error text to refer to the new decorators and the new cache docs. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6128/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6128",
"html_url": "https://github.com/streamlit/streamlit/pull/6128",
"diff_url": "https://github.com/streamlit/streamlit/pull/6128.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6128.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6127 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6127/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6127/comments | https://api.github.com/repos/streamlit/streamlit/issues/6127/events | https://github.com/streamlit/streamlit/pull/6127 | 1,584,715,535 | PR_kwDODCoeTs5J-Vnj | 6,127 | Fix detecting arrow df as widget when not editable | {
"login": "AnOctopus",
"id": 7356217,
"node_id": "MDQ6VXNlcjczNTYyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7356217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnOctopus",
"html_url": "https://github.com/AnOctopus",
"followers_url": "https://api.github.com/users/AnOctopus/followers",
"following_url": "https://api.github.com/users/AnOctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/AnOctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AnOctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnOctopus/subscriptions",
"organizations_url": "https://api.github.com/users/AnOctopus/orgs",
"repos_url": "https://api.github.com/users/AnOctopus/repos",
"events_url": "https://api.github.com/users/AnOctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/AnOctopus/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-14T19:32:38 | 2023-02-14T20:52:27 | 2023-02-14T20:52:23 | COLLABORATOR | null | The data editor introduced a new kind of state for an element, being a widget only conditionally. Element replay code relied on the presence of an id field in the protobuf for determining what is a widget, but arrow dfs don't act like a widget, and don't call `register_widget`, unless used with the data editor. In this situation, the id isn't actually set on the protobuf, so we can use it being set for our widget detection.
Fixes #6103
## 📚 Context
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- [ ] This is a breaking API change
- [x] This is a visible (user-facing) change
## 🧪 Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
- **Issue**: #6103
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6127/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6127",
"html_url": "https://github.com/streamlit/streamlit/pull/6127",
"diff_url": "https://github.com/streamlit/streamlit/pull/6127.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6127.patch",
"merged_at": "2023-02-14T20:52:23"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6126 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6126/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6126/comments | https://api.github.com/repos/streamlit/streamlit/issues/6126/events | https://github.com/streamlit/streamlit/issues/6126 | 1,584,609,652 | I_kwDODCoeTs5eczl0 | 6,126 | Lottie animations and eCharts gauge disappear when moving from one tab to another | {
"login": "chamath5334",
"id": 58758861,
"node_id": "MDQ6VXNlcjU4NzU4ODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/58758861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chamath5334",
"html_url": "https://github.com/chamath5334",
"followers_url": "https://api.github.com/users/chamath5334/followers",
"following_url": "https://api.github.com/users/chamath5334/following{/other_user}",
"gists_url": "https://api.github.com/users/chamath5334/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chamath5334/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chamath5334/subscriptions",
"organizations_url": "https://api.github.com/users/chamath5334/orgs",
"repos_url": "https://api.github.com/users/chamath5334/repos",
"events_url": "https://api.github.com/users/chamath5334/events{/privacy}",
"received_events_url": "https://api.github.com/users/chamath5334/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 2 | 2023-02-14T18:06:00 | 2023-02-14T19:33:34 | 2023-02-14T19:33:25 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I have a program with five tabs. In Chrome, Firefox, and Edge as you move from tab to tab, the lottie animation and eCharts gauge work in the tab you are in, but they both disappear in the previous tabs. However this does not happen in Safari.
### Reproducible Code Example
```Python
import streamlit as st
import requests, json, time
from PIL import Image
from streamlit_lottie import st_lottie
from streamlit_echarts import st_echarts
st.set_page_config(page_title="Test Lottie and Gauge", page_icon=Image.open('images/favicon.ico'), layout="wide")
govt = ['file://images/govt1.json','file://images/govt2.json']
##
def load_lottie_resource(resource: str):
if resource[:4] == 'http':
r = requests.get(resource)
if r.status_code !=200: return None
else: return r.json()
elif resource[:4] == 'file':
with open(resource[7:], 'r') as f:
return json.load(f)
##
def gov_total(df):
st.info('Testing')
st_lottie(govt_animation[1],key=time.time(),height=120,width=120,speed=0.7)
option = {
"tooltip": {"formatter": '{a} <br/>{b} : {c}%'},
"series": [{
"name": 'Test',
"type": 'gauge',
"radius": '90%',
"data": [{
"value": df,
"name": 'test'
}],
"progress": {
"show": "true"
},
"pointer": {
"length": '50%',
"valueAnimation": "true",
"width": 5,
"offsetCenter": [0, '3%']
},
"detail": {
"valueAnimation": "true",
"formatter": '{value}%',
"offsetCenter": [0, '70%'],
},
}]
}
st_echarts(options=option, renderer="svg", key=time.time())
return
##MAIN
govt_animation = list(map(load_lottie_resource,govt))
## -- navigation setup
tab1, tab2, tab3, tab4, tab5 = st.tabs(['Tab1',':hospital: Tab2',':hospital: Tab3',':globe_with_meridians: Tab4',':round_pushpin: Tab5'])
with tab1:
st.write('tab1')
gov_total(51)
with tab2:
st.write('tab2')
gov_total(52)
with tab3:
st.write('tab3')
gov_total(53)
with tab4:
st.write('tab4')
gov_total(54)
with tab5:
st.write('tab5')
gov_total(55)
```
### Steps To Reproduce
Click thru the tabs and return to a previous tab and the lottie animation and eCharts gauge will disappear
### Expected Behavior
the lottie animation and eChart gauge should remain as it does in the Safari broswer
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:1.170, 1.18.0, 1.18.1
- Python version:10.8
- Operating System:Ubuntu 22, Mac OS 13.1
- Browser: Chrome, Firefox, Edge (all latest)
- Virtual environment: Conda
### Additional Information
Any pointers would be greatly appreciated
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6126/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6125 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6125/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6125/comments | https://api.github.com/repos/streamlit/streamlit/issues/6125/events | https://github.com/streamlit/streamlit/issues/6125 | 1,584,488,322 | I_kwDODCoeTs5ecV-C | 6,125 | st_lottie animations and echarts gauges disappear on previous tabs when you move to another tab | {
"login": "chamath5334",
"id": 58758861,
"node_id": "MDQ6VXNlcjU4NzU4ODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/58758861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chamath5334",
"html_url": "https://github.com/chamath5334",
"followers_url": "https://api.github.com/users/chamath5334/followers",
"following_url": "https://api.github.com/users/chamath5334/following{/other_user}",
"gists_url": "https://api.github.com/users/chamath5334/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chamath5334/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chamath5334/subscriptions",
"organizations_url": "https://api.github.com/users/chamath5334/orgs",
"repos_url": "https://api.github.com/users/chamath5334/repos",
"events_url": "https://api.github.com/users/chamath5334/events{/privacy}",
"received_events_url": "https://api.github.com/users/chamath5334/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 5 | 2023-02-14T16:41:01 | 2023-02-14T18:34:04 | 2023-02-14T17:21:24 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I have a Steamlit app that when I change tabs and use a selectbox to make a selection and the page(s) re-render, the st_lottie animation and echart gauge disappear on previous tabs.
I have tested this on Streamlit version 1.17.0 and 1.18.0 and I get the same results. Lottie version 0.0.3, echarts version 0.4.0. This happens consistently in Chrome but works correctly in Safari.
What is even more strange is that it works perfectly on Safari on Streamlit 1.17.0, however if I upgrade to Streamlit 1.18.0 I get a blank page in Safari.
### Reproducible Code Example
```Python
def draw_lottie_and_gauge(df):
st.info('Government program coverage')
st_lottie(govt_animation[1],key=time.time(),height=120,width=300,speed=0.7)
option = {
"tooltip": {"formatter": '{a} <br/>{b} : {c}%'},
"series": [{
"name": 'Government Programs',
"type": 'gauge',
"radius": '90%',
"data": [{
"value": round(df.loc[(df['Payor'] == 'Total Government')]['Percent'].sum() * 100),
"name": 'government'
}],
"progress": {
"show": "true"
},
"pointer": {
"length": '50%',
"valueAnimation": "true",
"width": 5,
"offsetCenter": [0, '3%']
},
"detail": {
"valueAnimation": "true",
"formatter": '{value}%',
"offsetCenter": [0, '70%'],
},
}]
}
st_echarts(options=option, renderer="svg", key=time.time())
return
```
### Steps To Reproduce
Click on a tab
select a criteria from the selectbox.
dashboard information generates, including the Lottie animation and echart gauge
go to a previous tab and everything is populated **except** the lottie animation and echarts gauge
### Expected Behavior
The lottie animation and echarts gauge should remain on each tab
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:1.17.0 and 1.18.0
- Python version:3.10.8
- Operating System:Ubuntu 22 and Mac OSx 13.1
- Browser: Chrome
- Virtual environment: Conda
If Streamlit Version 1.17.0 everything works in Safari and does not work in Chrome.
If Streamlit Version 1.18.0 Safari shows a blank page. Page shows up in Chrome but the lottie animation and echarts gauge disappear just like in 1.17.0
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6125/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6124 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6124/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6124/comments | https://api.github.com/repos/streamlit/streamlit/issues/6124/events | https://github.com/streamlit/streamlit/issues/6124 | 1,584,310,439 | I_kwDODCoeTs5ebqin | 6,124 | Favicon on Streamlit page does not show up | {
"login": "michue-work",
"id": 118590991,
"node_id": "U_kgDOBxGODw",
"avatar_url": "https://avatars.githubusercontent.com/u/118590991?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michue-work",
"html_url": "https://github.com/michue-work",
"followers_url": "https://api.github.com/users/michue-work/followers",
"following_url": "https://api.github.com/users/michue-work/following{/other_user}",
"gists_url": "https://api.github.com/users/michue-work/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michue-work/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michue-work/subscriptions",
"organizations_url": "https://api.github.com/users/michue-work/orgs",
"repos_url": "https://api.github.com/users/michue-work/repos",
"events_url": "https://api.github.com/users/michue-work/events{/privacy}",
"received_events_url": "https://api.github.com/users/michue-work/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 2856044535,
"node_id": "MDU6TGFiZWwyODU2MDQ0NTM1",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:cannot-reproduce",
"name": "status:cannot-reproduce",
"color": "FEF2C0",
"default": false,
"description": "The Streamlit team is unable to reproduce the described behavior"
}
] | closed | false | null | [] | null | 3 | 2023-02-14T14:56:40 | 2023-02-14T18:47:24 | 2023-02-14T18:47:24 | NONE | null | ### Summary
When configuring a page icon using `set_page_config`, the icon does not show up on tab of the Streamlit page.
### Reproducible Code Example
```Python
import streamlit as st
st.set_page_config(page_title="Test page", page_icon="📝", layout="wide")
st.write("The page icon should be 📝")
```
### Steps To Reproduce
1. Run the Reproducible Code Example
2. Observe the tab icon in a browser
### Expected Behavior
The tab should show the icon given by `page_icon="📝"`.
### Current Behavior
The tab shows an empty page as icon.
### Is this a regression?
I don't know, since it never worked since I started using Streamlit.
### Debug info
- Streamlit version: 1.11.0
- Python version: 3.8.10
- Operating System: Windows 10 Enterprise, Version 21H2, OS build 19044.2486
- Browser: Microsoft Edge Version 110.0.1587.41 (64-Bit)
### Additional Information
While diving into this issue, I found that the icon given above resolve to the following line in the HTML of the Streamlit page:
```
<link rel="shortcut icon" href="https://twemoji.maxcdn.com/2/72x72/1f4dd.png">
```
When entering this address directly into the browser, the file cannot be found. This seems to be due to an update within the folder structure of twemoji.
A working link would be
```
https://twemoji.maxcdn.com/2/svg/1f4dd.svg
```
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6124/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6123 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6123/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6123/comments | https://api.github.com/repos/streamlit/streamlit/issues/6123/events | https://github.com/streamlit/streamlit/pull/6123 | 1,584,233,062 | PR_kwDODCoeTs5J8s4u | 6,123 | Pin unixodbc version to fix CI pipeline | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-14T14:08:21 | 2023-02-14T14:37:49 | 2023-02-14T14:37:48 | COLLABORATOR | null | ## 📚 Context
The CI pipeline is broken because it tries to install a newer version of `unixodbc-dev` (2.3.11). It fails to update the old version that already exists in the container (`2.3.9-5`).
![image](https://user-images.githubusercontent.com/2852129/218763629-37b837ea-9a71-4221-91c4-bea451ac2a07.png)
![image](https://user-images.githubusercontent.com/2852129/218763689-a831e43b-5124-4253-8c9c-538cc50d5111.png)
![image](https://user-images.githubusercontent.com/2852129/218763766-e1a7f351-1d03-4a28-a868-f9bb2f5c0853.png)
![image](https://user-images.githubusercontent.com/2852129/218763736-35f730f2-c322-406d-b411-aa3151c47192.png)
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- As a quick fix, we pin the `unixodbc-dev` dependency to the old version.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6123/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6123",
"html_url": "https://github.com/streamlit/streamlit/pull/6123",
"diff_url": "https://github.com/streamlit/streamlit/pull/6123.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6123.patch",
"merged_at": "2023-02-14T14:37:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6122 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6122/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6122/comments | https://api.github.com/repos/streamlit/streamlit/issues/6122/events | https://github.com/streamlit/streamlit/pull/6122 | 1,584,182,784 | PR_kwDODCoeTs5J8h-I | 6,122 | Add editing support for numeric index types | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-14T13:37:07 | 2023-02-14T17:38:52 | 2023-02-14T17:38:52 | COLLABORATOR | null | ## 📚 Context
The current implementation does not allow the deprecated numeric index types in Pandas: `Int64Index`, `Float64Index` and `UInt64Index`. Even so, they are deprecated, there isn't any specific reason why we should not support them when used with older Pandas versions.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [x] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Allow numeric indices as well. We need to check based on the string type name, since they are planned to be removed from pandas in future versions. This would potentially break if we do an instance check.
## 🧪 Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6122/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6122",
"html_url": "https://github.com/streamlit/streamlit/pull/6122",
"diff_url": "https://github.com/streamlit/streamlit/pull/6122.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6122.patch",
"merged_at": "2023-02-14T17:38:52"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6121 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6121/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6121/comments | https://api.github.com/repos/streamlit/streamlit/issues/6121/events | https://github.com/streamlit/streamlit/issues/6121 | 1,584,157,809 | I_kwDODCoeTs5ebFRx | 6,121 | A specific polygon value is not showing color and is just showing the value. | {
"login": "DanishMehra07",
"id": 84929423,
"node_id": "MDQ6VXNlcjg0OTI5NDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/84929423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanishMehra07",
"html_url": "https://github.com/DanishMehra07",
"followers_url": "https://api.github.com/users/DanishMehra07/followers",
"following_url": "https://api.github.com/users/DanishMehra07/following{/other_user}",
"gists_url": "https://api.github.com/users/DanishMehra07/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DanishMehra07/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanishMehra07/subscriptions",
"organizations_url": "https://api.github.com/users/DanishMehra07/orgs",
"repos_url": "https://api.github.com/users/DanishMehra07/repos",
"events_url": "https://api.github.com/users/DanishMehra07/events{/privacy}",
"received_events_url": "https://api.github.com/users/DanishMehra07/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
},
{
"id": 3904044329,
"node_id": "LA_kwDODCoeTs7osv0p",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.plotly_chart",
"name": "feature:st.plotly_chart",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 2 | 2023-02-14T13:19:21 | 2023-02-14T18:16:25 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
One particular Polygon is not showing any color but when you hover over it, it's showing the value with the particular ICS Code it refers to. All the other polygon values are showing color and are being plotted without any problem. I want to fix this issue so that all polygons show color in the map.
### Reproducible Code Example
```Python
import streamlit as st
import json
import geopandas as gpd
import pyproj
import plotly.graph_objs as go
# FLU Full Shape File Read
# reading in the points shapefile
FLU_Full_map_df = gpd.read_file(data_dir_shape + f'FLU_Full.shp') # project GeoPandas dataframe
# set GeoJSON file path
FLU_Full_map_df.to_file(data_dir_shape + f'geojson_FLU_Full.json', driver = "GeoJSON")
with open(data_dir_shape + f'geojson_FLU_Full.json') as geofile1:
j_file_FLU_Full = json.load(geofile1) # index geojson
i = 0
for feature in j_file_FLU_Full["features"]:
feature['id'] = str(i).zfill(1)
i += 1
# FLU Short Shape File Read
# reading in the points shapefile
FLU_Short_map_df = gpd.read_file(data_dir_shape + f'FLU_Short.shp') # project GeoPandas dataframe
# set GeoJSON file path
FLU_Short_map_df.to_file(data_dir_shape + f'geojson_FLU_Short.json', driver = "GeoJSON")
with open(data_dir_shape + f'geojson_FLU_Short.json') as geofile1:
j_file_FLU_Short = json.load(geofile1) # index geojson
i = 0
for feature in j_file_FLU_Short["features"]:
feature['id'] = str(i).zfill(1)
i += 1
# Typhoid Full Shape File Read
# reading in the points shapefile
Typhoid_Full_map_df = gpd.read_file(data_dir_shape + f'Typhoid_Full.shp') # project GeoPandas dataframe
# set GeoJSON file path
Typhoid_Full_map_df.to_file(data_dir_shape + f'geojson_Typhoid_Full.json', driver = "GeoJSON")
with open(data_dir_shape + f'geojson_Typhoid_Full.json') as geofile1:
j_file_Typhoid_Full = json.load(geofile1) # index geojson
i = 0
for feature in j_file_Typhoid_Full["features"]:
feature['id'] = str(i).zfill(1)
i += 1
# Hepatitis A Full Shape File Read
# reading in the points shapefile
Hepatitis_A_Full_map_df = gpd.read_file(data_dir_shape + f'Hepatitis_A_Full.shp') # project GeoPandas dataframe
# set GeoJSON file path
Hepatitis_A_Full_map_df.to_file(data_dir_shape + f'geojson_Hepatitis_A_Full.json', driver = "GeoJSON")
with open(data_dir_shape + f'geojson_Hepatitis_A_Full.json') as geofile1:
j_file_Hepatitis_A_Full = json.load(geofile1) # index geojson
i = 0
for feature in j_file_Hepatitis_A_Full["features"]:
feature['id'] = str(i).zfill(1)
i += 1
# Hepatitis A Full Shape File Read
# reading in the points shapefile
Yellow_fever_Full_map_df = gpd.read_file(data_dir_shape + f'Yellow_fever_Full.shp') # project GeoPandas dataframe
# set GeoJSON file path
Yellow_fever_Full_map_df.to_file(data_dir_shape + f'geojson_Yellow_fever_Full.json', driver = "GeoJSON")
with open(data_dir_shape + f'geojson_Yellow_fever_Full.json') as geofile1:
j_file_Yellow_fever_Full = json.load(geofile1) # index geojson
i = 0
for feature in j_file_Yellow_fever_Full["features"]:
feature['id'] = str(i).zfill(2)
i += 1
print(FLU_Short_map_df['NIC_Per_Pe'])
# mapbox token
mapboxtoken = 'MAPBOXTOKEN'
# define layers and plot map
FLU_Full = go.Choroplethmapbox(z = FLU_Full_map_df['NIC_Per_Pe'], locations = [x['id'] for x in j_file_FLU_Full['features']], colorscale='Cividis', geojson=j_file_FLU_Full, text = FLU_Full_map_df['ICS_CODE'])
# define layers and plot map
FLU_Short = go.Choroplethmapbox(z = FLU_Short_map_df['NIC_Per_Pe'], locations = [x['id'] for x in j_file_FLU_Short['features']], colorscale='Cividis', geojson=j_file_FLU_Short, text = FLU_Short_map_df['ICS_CODE'])
# define layers and plot map
Typhoid_Full = go.Choroplethmapbox(z = Typhoid_Full_map_df['NIC_Per_Pe'], locations = [x['id'] for x in j_file_Typhoid_Full['features']], colorscale='Cividis', geojson=j_file_Typhoid_Full, text = Typhoid_Full_map_df['ICS_CODE'])
# define layers and plot map
Hepatitis_A_Full = go.Choroplethmapbox(z = Hepatitis_A_Full_map_df['NIC_Per_Pe'], locations = [x['id'] for x in j_file_Hepatitis_A_Full['features']], colorscale='Cividis', geojson=j_file_Hepatitis_A_Full, text = Hepatitis_A_Full_map_df['ICS_CODE'])
# define layers and plot map
Yellow_fever_Full = go.Choroplethmapbox(z = Yellow_fever_Full_map_df['NIC_Per_Pe'], locations = [x['id'] for x in j_file_Yellow_fever_Full['features']], colorscale='Cividis', geojson=j_file_Yellow_fever_Full, text = Yellow_fever_Full_map_df['ICS_CODE'])
layout = go.Layout(title_text = 'Map of Total NIC Per Person', width = 800, height = 700, mapbox = dict(center = dict(lat=54.5, lon=-3), accesstoken=mapboxtoken, style="light", zoom=4.5))
activity = ['FLU_Full', 'FLU_Short', 'Typhoid_Full', 'Hepatitis_A_Full', 'Yellow_fever_Full']
choice = st.sidebar.selectbox('Drug Selection: ', activity)
if choice == 'FLU_Full':
fig = go.Figure(data=FLU_Full, layout=layout) # display streamlit map
elif choice == 'FLU_Short':
fig = go.Figure(data=FLU_Short, layout=layout)
elif choice == 'Typhoid_Full':
fig = go.Figure(data=Typhoid_Full, layout=layout)
elif choice == 'Hepatitis_A_Full':
fig = go.Figure(data=Hepatitis_A_Full, layout=layout)
else:
fig = go.Figure(data=Yellow_fever_Full, layout=layout)
st.title('NIC Per Person: ')
st.plotly_chart(fig)
```
### Steps To Reproduce
If you run this code after generating a mapboxtoken and run it with streamlit, it's showing something like this:
<img width="1399" alt="Screenshot 2023-02-14 at 13 17 14" src="https://user-images.githubusercontent.com/84929423/218750000-7e574c31-99f2-4f7e-94d9-bc0889f5f9f9.png">
### Expected Behavior
<img width="1399" alt="Screenshot 2023-02-14 at 13 17 47" src="https://user-images.githubusercontent.com/84929423/218750110-2ed8bbc3-804a-4e1f-96c5-bd97cc859647.png">
If you see, I want that white spot where Lincolnshire is to be filled with color. All the other counties in UK are being filled with color.
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6121/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6120 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6120/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6120/comments | https://api.github.com/repos/streamlit/streamlit/issues/6120/events | https://github.com/streamlit/streamlit/issues/6120 | 1,583,824,091 | I_kwDODCoeTs5eZzzb | 6,120 | Unable to reboot streamlit app deployed on streamlit server. It says I have only view only access | {
"login": "mehulgupta2016154",
"id": 31255225,
"node_id": "MDQ6VXNlcjMxMjU1MjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/31255225?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mehulgupta2016154",
"html_url": "https://github.com/mehulgupta2016154",
"followers_url": "https://api.github.com/users/mehulgupta2016154/followers",
"following_url": "https://api.github.com/users/mehulgupta2016154/following{/other_user}",
"gists_url": "https://api.github.com/users/mehulgupta2016154/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mehulgupta2016154/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mehulgupta2016154/subscriptions",
"organizations_url": "https://api.github.com/users/mehulgupta2016154/orgs",
"repos_url": "https://api.github.com/users/mehulgupta2016154/repos",
"events_url": "https://api.github.com/users/mehulgupta2016154/events{/privacy}",
"received_events_url": "https://api.github.com/users/mehulgupta2016154/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2023-02-14T09:41:03 | 2023-02-14T17:22:25 | 2023-02-14T17:22:25 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I am trying to reboot my streamlit app
https://mehulgupta2016154-resume-builder-streamlit-app-ajmqjx.streamlit.app/
but when trying the reboot button, it says I have view-only access and cant reboot. Please help
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6120/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6119 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6119/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6119/comments | https://api.github.com/repos/streamlit/streamlit/issues/6119/events | https://github.com/streamlit/streamlit/issues/6119 | 1,583,799,697 | I_kwDODCoeTs5eZt2R | 6,119 | Slider impacts button state | {
"login": "schergui-thefork",
"id": 106234065,
"node_id": "U_kgDOBlUA0Q",
"avatar_url": "https://avatars.githubusercontent.com/u/106234065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schergui-thefork",
"html_url": "https://github.com/schergui-thefork",
"followers_url": "https://api.github.com/users/schergui-thefork/followers",
"following_url": "https://api.github.com/users/schergui-thefork/following{/other_user}",
"gists_url": "https://api.github.com/users/schergui-thefork/gists{/gist_id}",
"starred_url": "https://api.github.com/users/schergui-thefork/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/schergui-thefork/subscriptions",
"organizations_url": "https://api.github.com/users/schergui-thefork/orgs",
"repos_url": "https://api.github.com/users/schergui-thefork/repos",
"events_url": "https://api.github.com/users/schergui-thefork/events{/privacy}",
"received_events_url": "https://api.github.com/users/schergui-thefork/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4772037732,
"node_id": "LA_kwDODCoeTs8AAAABHG-EZA",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:expected-behavior",
"name": "status:expected-behavior",
"color": "FEF2C0",
"default": false,
"description": "This issue describes expected behavior"
}
] | closed | false | null | [] | null | 4 | 2023-02-14T09:23:31 | 2023-02-14T20:53:16 | 2023-02-14T18:49:44 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
I have an `if` statement that depends on the state of a button. When there is no slider inside the `if` statement, everything works fine.
```
import streamlit as st
if st.button("Validate"):
st.write("Hello")
else:
st.write("Bye")
```
When I add a slider within the if-statement, once I use the slider, the code in the else part is executed.
```
import streamlit as st
if st.button("Validate"):
st.write("Hello")
st.slider("Slider example", min_value=0, max_value=10)
else:
st.write("Bye")
```
I don't know why the slider impacts the state of the button (as the `else` statement is executed)
### Reproducible Code Example
```Python
import streamlit as st
if st.button("Validate"):
st.write("Hello")
st.slider("Slider example", min_value=0, max_value=10)
else:
st.write("Bye")
```
### Steps To Reproduce
_No response_
### Expected Behavior
The code within the `else` statement shouldn't be executed when one uses the slider that is within the `if`.
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.18.1
- Python version: 3.7.13
- Operating System: Mac OS Ventura 13.2
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6119/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6118 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6118/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6118/comments | https://api.github.com/repos/streamlit/streamlit/issues/6118/events | https://github.com/streamlit/streamlit/issues/6118 | 1,583,649,982 | I_kwDODCoeTs5eZJS- | 6,118 | bug sit | {
"login": "Vlad-ang",
"id": 81905209,
"node_id": "MDQ6VXNlcjgxOTA1MjA5",
"avatar_url": "https://avatars.githubusercontent.com/u/81905209?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vlad-ang",
"html_url": "https://github.com/Vlad-ang",
"followers_url": "https://api.github.com/users/Vlad-ang/followers",
"following_url": "https://api.github.com/users/Vlad-ang/following{/other_user}",
"gists_url": "https://api.github.com/users/Vlad-ang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Vlad-ang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vlad-ang/subscriptions",
"organizations_url": "https://api.github.com/users/Vlad-ang/orgs",
"repos_url": "https://api.github.com/users/Vlad-ang/repos",
"events_url": "https://api.github.com/users/Vlad-ang/events{/privacy}",
"received_events_url": "https://api.github.com/users/Vlad-ang/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2023-02-14T07:34:13 | 2023-02-14T18:51:39 | 2023-02-14T18:51:38 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
![image](https://user-images.githubusercontent.com/81905209/218669367-760950b5-823b-44d4-b5c4-db320f9a7189.png)
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6118/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6117 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6117/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6117/comments | https://api.github.com/repos/streamlit/streamlit/issues/6117/events | https://github.com/streamlit/streamlit/issues/6117 | 1,583,491,085 | I_kwDODCoeTs5eYigN | 6,117 | Streamlit Cloud should support the --no-root option for poetry install | {
"login": "whitphx",
"id": 3135397,
"node_id": "MDQ6VXNlcjMxMzUzOTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3135397?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whitphx",
"html_url": "https://github.com/whitphx",
"followers_url": "https://api.github.com/users/whitphx/followers",
"following_url": "https://api.github.com/users/whitphx/following{/other_user}",
"gists_url": "https://api.github.com/users/whitphx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/whitphx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/whitphx/subscriptions",
"organizations_url": "https://api.github.com/users/whitphx/orgs",
"repos_url": "https://api.github.com/users/whitphx/repos",
"events_url": "https://api.github.com/users/whitphx/events{/privacy}",
"received_events_url": "https://api.github.com/users/whitphx/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 2603950938,
"node_id": "MDU6TGFiZWwyNjAzOTUwOTM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:community-cloud",
"name": "feature:community-cloud",
"color": "C5DEF5",
"default": false,
"description": "Related to Streamlit Community Cloud"
}
] | open | false | null | [] | null | 2 | 2023-02-14T04:59:53 | 2023-02-14T21:44:33 | null | CONTRIBUTOR | null | ### Problem
When using Poetry with a project that does not contain a main package, Streamlit Cloud fails to install the dependencies.
An example project structure that fails is below.
```
some-project
├── LICENSE
├── README.md
├── app.py
├── poetry.lock
└── pyproject.toml
```
It is because `poetry install` emits the following error.
```shell
$ poetry install
(...)
Installing dependencies from lock file
(...)
/path/to/some-project/some_project does not contain any element
```
The command `poetry install` expects this project contains a package root like `some-project/some_project/__init__.py` and tries to install the package itself in addition to its dependencies, while it actually doesn't exist.
### Solution
`poetry install` provide an option to deal with this case, `--no-root`.
(See https://python-poetry.org/docs/cli/#install)
I think Streamlit Cloud should run `poetry install` with the `--no-root` option because usually we don't need to deal with the Streamlit app projects as packages to install, but we just want to install the dependencies managed with Poetry.
### Additional context
[This repo](https://github.com/whitphx/streamlit-webrtc-hugging-face-transformer-example) is an actual project with which I encountered this problem.
[This revision](https://github.com/whitphx/streamlit-webrtc-hugging-face-transformer-example/tree/a6b77c2aacd182c7bb8409b725021aca1c6f7b6e) of the repo caused this error, and I fixed it by adding `streamlit_webrtc_hugging_face_transformer_example/__init__.py` as a workaround in [this commit](https://github.com/whitphx/streamlit-webrtc-hugging-face-transformer-example/commit/237026ca4b19dcb6e9b94240cfe1adb0657946fe) so that it works on Streamlit Cloud now.
---
The same error was reported at [this thread in the forum](https://discuss.streamlit.io/t/streamlit-cloud-deploy-is-failing-with-error-does-not-contain-any-element/31541)
---
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6117/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6117/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6116 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6116/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6116/comments | https://api.github.com/repos/streamlit/streamlit/issues/6116/events | https://github.com/streamlit/streamlit/issues/6116 | 1,583,411,709 | I_kwDODCoeTs5eYPH9 | 6,116 | [Icon cannot display] Couldn't find the requested file xxx.png in twemoji. | {
"login": "Mactarvish",
"id": 13399458,
"node_id": "MDQ6VXNlcjEzMzk5NDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/13399458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mactarvish",
"html_url": "https://github.com/Mactarvish",
"followers_url": "https://api.github.com/users/Mactarvish/followers",
"following_url": "https://api.github.com/users/Mactarvish/following{/other_user}",
"gists_url": "https://api.github.com/users/Mactarvish/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mactarvish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mactarvish/subscriptions",
"organizations_url": "https://api.github.com/users/Mactarvish/orgs",
"repos_url": "https://api.github.com/users/Mactarvish/repos",
"events_url": "https://api.github.com/users/Mactarvish/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mactarvish/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2023-02-14T03:07:38 | 2023-02-14T13:43:33 | 2023-02-14T13:43:33 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
When running a steamlit server, the icon cannot fetch (404).
![image](https://user-images.githubusercontent.com/13399458/218627230-08d8d9f2-c03e-4ee3-a0ed-dd9b55006f98.png)
### Reproducible Code Example
```Python
import streamlit as st
if __name__ == "__main__":
st.set_page_config(
page_title="wocao",
page_icon="random",
layout="wide",
initial_sidebar_state="expanded",
)
x = st.slider("Select a value")
st.write(x, "squared is", x * x)
```
### Steps To Reproduce
streamlit run demo.py
### Expected Behavior
Show the icon I selected or random
### Current Behavior
Cannot show the icon but a blank icon
![image](https://user-images.githubusercontent.com/13399458/218628525-69080bb0-e8fc-4c53-b999-4374a4bfdcc1.png)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.17.0
- Python version: 3.7.12
- Operating System: Ubuntu 20
- Browser: Edge
- Virtual environment: Conda
### Additional Information
_No response_
### Are you willing to submit a PR?
- [X] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6116/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6115 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6115/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6115/comments | https://api.github.com/repos/streamlit/streamlit/issues/6115/events | https://github.com/streamlit/streamlit/issues/6115 | 1,583,346,890 | I_kwDODCoeTs5eX_TK | 6,115 | Issue with Deploy app | {
"login": "JohnTan38",
"id": 113171463,
"node_id": "U_kgDOBr7cBw",
"avatar_url": "https://avatars.githubusercontent.com/u/113171463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnTan38",
"html_url": "https://github.com/JohnTan38",
"followers_url": "https://api.github.com/users/JohnTan38/followers",
"following_url": "https://api.github.com/users/JohnTan38/following{/other_user}",
"gists_url": "https://api.github.com/users/JohnTan38/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JohnTan38/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JohnTan38/subscriptions",
"organizations_url": "https://api.github.com/users/JohnTan38/orgs",
"repos_url": "https://api.github.com/users/JohnTan38/repos",
"events_url": "https://api.github.com/users/JohnTan38/events{/privacy}",
"received_events_url": "https://api.github.com/users/JohnTan38/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
}
] | closed | false | null | [] | null | 1 | 2023-02-14T01:40:34 | 2023-02-14T17:23:23 | 2023-02-14T17:23:22 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Dear Streamlit
I have 'stream_app.py' on GitHub.com
https://github.com/JohnTan38/Telco-Customer-Churn-Prediction/blob/main/stream_app.py
This file 'model_C_1.bin' is on GutHub.com too
https://github.com/JohnTan38/Telco-Customer-Churn-Prediction/blob/main/model_C_1.bin
Code snippet:
model_file = (r"https://raw.githubusercontent.com/JohnTan38/Telco-Customer-Churn-Prediction/blob/main/model_C_1.bin")
with open(model_file, 'rb') as f_in:
dv, model = pickle.load(f_in)
Here's the error message when I tried to deploy s'tream_app.py'
--------------------------------------------------------------------------------------------------------------------------------------------
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/telco-customer-churn-prediction/stream_app.py", line 7, in <module>
with open(model_file, 'rb') as f_in:
--------------------------------------------------------------------------------------------------------------------------------------------
### Reproducible Code Example
```Python
model_file = (r"https://raw.githubusercontent.com/JohnTan38/Telco-Customer-Churn-Prediction/blob/main/model_C_1.bin")
with open(model_file, 'rb') as f_in:
dv, model = pickle.load(f_in)
```
### Steps To Reproduce
_No response_
### Expected Behavior
A page opens for user input
Contact email
psg6868@yahoo.com
azx1818@hotmail.com
### Current Behavior
_No response_
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
----------------------
Python 3.9
Windows 10
Chrome Browser
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6115/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6114 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6114/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6114/comments | https://api.github.com/repos/streamlit/streamlit/issues/6114/events | https://github.com/streamlit/streamlit/pull/6114 | 1,583,339,318 | PR_kwDODCoeTs5J5tsV | 6,114 | Fix member function caching | {
"login": "tconkling",
"id": 709022,
"node_id": "MDQ6VXNlcjcwOTAyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/709022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tconkling",
"html_url": "https://github.com/tconkling",
"followers_url": "https://api.github.com/users/tconkling/followers",
"following_url": "https://api.github.com/users/tconkling/following{/other_user}",
"gists_url": "https://api.github.com/users/tconkling/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tconkling/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tconkling/subscriptions",
"organizations_url": "https://api.github.com/users/tconkling/orgs",
"repos_url": "https://api.github.com/users/tconkling/repos",
"events_url": "https://api.github.com/users/tconkling/events{/privacy}",
"received_events_url": "https://api.github.com/users/tconkling/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-14T01:30:46 | 2023-02-14T19:40:52 | 2023-02-14T19:40:48 | COLLABORATOR | null | We have a regression in caching - starting in 1.18, using `@st.cache_data` (or `@st.cache_resource`) on a class member function will fail with an error when the cached function was called:
```python
class TestClass:
@cache_decorator
def foo(_self):
# We underscore-prefix `_self`, because our class is not hashable.
return "it works!"
obj = TestClass()
result = obj.foo() # Explode!
```
This is the result of a refactor that moved "cached function wrapper" logic into a class, `CachedFunc`, (from a closure). `functools.update_wrapper` (and `functools.wraps`) has unexpected behavior when applied to a class member function: the wrapped function no longer passes the "self" argument through to the underlying member function.
I don't know why this is! I couldn't find anything in the `functools` docs (or in a quick Google search) to explain the behavior. My guess is that using `update_wrapper` on a class instance ends up overwriting one or more instance properties that break its member function call semantics.
But the fix is simple: we hoist the `functools.wraps` call outside of `CachedFunc`, rather than using `functools` to modify the `CachedFunc` member function itself.
Fixes https://github.com/streamlit/streamlit/issues/6109 | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6114/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6114",
"html_url": "https://github.com/streamlit/streamlit/pull/6114",
"diff_url": "https://github.com/streamlit/streamlit/pull/6114.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6114.patch",
"merged_at": "2023-02-14T19:40:48"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6113 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6113/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6113/comments | https://api.github.com/repos/streamlit/streamlit/issues/6113/events | https://github.com/streamlit/streamlit/pull/6113 | 1,583,194,880 | PR_kwDODCoeTs5J5Onq | 6,113 | Improve logging when arrow serialization fails | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-13T22:55:51 | 2023-02-14T11:16:29 | 2023-02-14T11:16:28 | COLLABORATOR | null | ## 📚 Context
We currently print out the full stack trace as an info log when the Arrow serialization fails. This was added #6022 as debugging help during development but isn't that useful for the users. This PR removes the stack trace and only shows the Arrow exception message.
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [x] Refactoring
- [ ] Other, please describe:
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6113/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6113",
"html_url": "https://github.com/streamlit/streamlit/pull/6113",
"diff_url": "https://github.com/streamlit/streamlit/pull/6113.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6113.patch",
"merged_at": "2023-02-14T11:16:28"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6112 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6112/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6112/comments | https://api.github.com/repos/streamlit/streamlit/issues/6112/events | https://github.com/streamlit/streamlit/issues/6112 | 1,582,976,017 | I_kwDODCoeTs5eWkwR | 6,112 | st.date_input monday as start of week | {
"login": "lifeindarkside",
"id": 66727826,
"node_id": "MDQ6VXNlcjY2NzI3ODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/66727826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lifeindarkside",
"html_url": "https://github.com/lifeindarkside",
"followers_url": "https://api.github.com/users/lifeindarkside/followers",
"following_url": "https://api.github.com/users/lifeindarkside/following{/other_user}",
"gists_url": "https://api.github.com/users/lifeindarkside/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lifeindarkside/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lifeindarkside/subscriptions",
"organizations_url": "https://api.github.com/users/lifeindarkside/orgs",
"repos_url": "https://api.github.com/users/lifeindarkside/repos",
"events_url": "https://api.github.com/users/lifeindarkside/events{/privacy}",
"received_events_url": "https://api.github.com/users/lifeindarkside/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
}
] | closed | false | null | [] | null | 2 | 2023-02-13T20:00:58 | 2023-02-13T20:57:15 | 2023-02-13T20:57:14 | NONE | null | widget st.date_input don't have option to view Monday as first day of week. | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6112/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6111 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6111/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6111/comments | https://api.github.com/repos/streamlit/streamlit/issues/6111/events | https://github.com/streamlit/streamlit/pull/6111 | 1,582,803,396 | PR_kwDODCoeTs5J36se | 6,111 | Use initial widget value in case data editor was removed | {
"login": "LukasMasuch",
"id": 2852129,
"node_id": "MDQ6VXNlcjI4NTIxMjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2852129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukasMasuch",
"html_url": "https://github.com/LukasMasuch",
"followers_url": "https://api.github.com/users/LukasMasuch/followers",
"following_url": "https://api.github.com/users/LukasMasuch/following{/other_user}",
"gists_url": "https://api.github.com/users/LukasMasuch/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LukasMasuch/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LukasMasuch/subscriptions",
"organizations_url": "https://api.github.com/users/LukasMasuch/orgs",
"repos_url": "https://api.github.com/users/LukasMasuch/repos",
"events_url": "https://api.github.com/users/LukasMasuch/events{/privacy}",
"received_events_url": "https://api.github.com/users/LukasMasuch/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 4804598999,
"node_id": "LA_kwDODCoeTs8AAAABHmBc1w",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/security-assessment-completed",
"name": "security-assessment-completed",
"color": "69056A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 0 | 2023-02-13T17:55:16 | 2023-02-14T15:09:01 | 2023-02-14T15:09:00 | COLLABORATOR | null | ## 📚 Context
In the current version, as soon as the `data_editor` widget is removed it will lose all state (e.g. edits). This also happens when another element is added above the `data_editor`. Other widgets handle this situation by initializing some of the state from the widget state. We need to do the same with the data editor.
- What kind of change does this PR introduce?
- [x] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- Split up the `useDataLoader` into two hooks: One hook for loading the columns and one for handling the cell data.
- Save widget state whenever the value changes (and not just on trigger reload)
- Initialize from the widget state JSON if the widget state already exist in the widget state manager.
## 🧪 Testing Done
- [ ] Screenshots included
- [x] Added/Updated unit tests
- [ ] Added/Updated e2e tests
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6111/timeline | null | null | false | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6111",
"html_url": "https://github.com/streamlit/streamlit/pull/6111",
"diff_url": "https://github.com/streamlit/streamlit/pull/6111.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6111.patch",
"merged_at": "2023-02-14T15:09:00"
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6110 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6110/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6110/comments | https://api.github.com/repos/streamlit/streamlit/issues/6110/events | https://github.com/streamlit/streamlit/pull/6110 | 1,582,750,532 | PR_kwDODCoeTs5J3vo7 | 6,110 | [WIP] Revert Metric help changes for now | {
"login": "willhuang1997",
"id": 16749069,
"node_id": "MDQ6VXNlcjE2NzQ5MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16749069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/willhuang1997",
"html_url": "https://github.com/willhuang1997",
"followers_url": "https://api.github.com/users/willhuang1997/followers",
"following_url": "https://api.github.com/users/willhuang1997/following{/other_user}",
"gists_url": "https://api.github.com/users/willhuang1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/willhuang1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willhuang1997/subscriptions",
"organizations_url": "https://api.github.com/users/willhuang1997/orgs",
"repos_url": "https://api.github.com/users/willhuang1997/repos",
"events_url": "https://api.github.com/users/willhuang1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/willhuang1997/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2023-02-13T17:16:21 | 2023-02-14T18:50:40 | 2023-02-14T18:50:40 | COLLABORATOR | null | <!--
Before contributing (PLEASE READ!)
⚠️ If your contribution is more than a few lines of code, then prior to starting to code on it please post in the issue saying you want to volunteer, then wait for a positive response. And if there is no issue for it yet, create it first.
This helps make sure:
1. Two people aren't working on the same thing
2. This is something Streamlit's maintainers believe should be implemented/fixed
3. Any API, UI, or deeper architectural changes that need to be implemented have been fully thought through by Streamlit's maintainers
4. Your time is well spent!
More information in our wiki: https://github.com/streamlit/streamlit/wiki/Contributing
-->
## 📚 Context
_Please describe the project or issue background here_
- What kind of change does this PR introduce?
- [ ] Bugfix
- [ ] Feature
- [ ] Refactoring
- [ ] Other, please describe:
## 🧠 Description of Changes
- _Add bullet points summarizing your changes here_
- [ ] This is a breaking API change
- [ ] This is a visible (user-facing) change
**Revised:**
_Insert screenshot of your updated UI/code here_
**Current:**
_Insert screenshot of existing UI/code here_
## 🧪 Testing Done
- [ ] Screenshots included
- [ ] Added/Updated unit tests
- [ ] Added/Updated e2e tests
## 🌐 References
_Does this depend on other work, documents, or tickets?_
- **Issue**: Closes #XXXX
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6110/timeline | null | null | true | {
"url": "https://api.github.com/repos/streamlit/streamlit/pulls/6110",
"html_url": "https://github.com/streamlit/streamlit/pull/6110",
"diff_url": "https://github.com/streamlit/streamlit/pull/6110.diff",
"patch_url": "https://github.com/streamlit/streamlit/pull/6110.patch",
"merged_at": null
} | true |
https://api.github.com/repos/streamlit/streamlit/issues/6109 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6109/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6109/comments | https://api.github.com/repos/streamlit/streamlit/issues/6109/events | https://github.com/streamlit/streamlit/issues/6109 | 1,582,079,475 | I_kwDODCoeTs5eTJ3z | 6,109 | No longer able to st.cache_data instance methods | {
"login": "Zahlii",
"id": 218582,
"node_id": "MDQ6VXNlcjIxODU4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/218582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zahlii",
"html_url": "https://github.com/Zahlii",
"followers_url": "https://api.github.com/users/Zahlii/followers",
"following_url": "https://api.github.com/users/Zahlii/following{/other_user}",
"gists_url": "https://api.github.com/users/Zahlii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zahlii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zahlii/subscriptions",
"organizations_url": "https://api.github.com/users/Zahlii/orgs",
"repos_url": "https://api.github.com/users/Zahlii/repos",
"events_url": "https://api.github.com/users/Zahlii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zahlii/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2006646323,
"node_id": "MDU6TGFiZWwyMDA2NjQ2MzIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:needs-triage",
"name": "status:needs-triage",
"color": "FEF2C0",
"default": false,
"description": "This issue hasn't yet been triaged by the Streamlit team"
},
{
"id": 3230104487,
"node_id": "MDU6TGFiZWwzMjMwMTA0NDg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P1",
"name": "priority:P1",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 2 | 2023-02-13T10:30:59 | 2023-02-14T19:40:49 | 2023-02-14T19:40:49 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
Previously using experimental_memo the following worked fine. After deprecation and changing to cache_data, the methos isn't called with underscored parameters anymore.
Interestingly, using experimental_memo ALSO fails now.
### Reproducible Code Example
```Python
import streamlit as st
class MyView:
def __init__(self, txt):
self.txt = txt
self.view()
def view(self):
st.write(self.txt)
st.write(self.load_data())
@st.cache_data(ttl=60)
def load_data(_self):
return _self.txt
MyView("OH YES")
```
### Steps To Reproduce
streamlit run code.py
### Expected Behavior
Working
### Current Behavior
TypeError: load_data() missing 1 required positional argument: '_self'
### Is this a regression?
- [X] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.18.1 (working with 1.14.0)
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6109/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6109/timeline | null | completed | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6108 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6108/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6108/comments | https://api.github.com/repos/streamlit/streamlit/issues/6108/events | https://github.com/streamlit/streamlit/issues/6108 | 1,582,011,910 | I_kwDODCoeTs5eS5YG | 6,108 | Pre-cache on start-up | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users/BramVanroy/followers",
"following_url": "https://api.github.com/users/BramVanroy/following{/other_user}",
"gists_url": "https://api.github.com/users/BramVanroy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BramVanroy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BramVanroy/subscriptions",
"organizations_url": "https://api.github.com/users/BramVanroy/orgs",
"repos_url": "https://api.github.com/users/BramVanroy/repos",
"events_url": "https://api.github.com/users/BramVanroy/events{/privacy}",
"received_events_url": "https://api.github.com/users/BramVanroy/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1607719438,
"node_id": "MDU6TGFiZWwxNjA3NzE5NDM4",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:cache",
"name": "feature:cache",
"color": "C5DEF5",
"default": false,
"description": "Related to st.cache, st.experimental_singleton, st.experimental_memo"
}
] | open | false | null | [] | null | 2 | 2023-02-13T09:54:54 | 2023-02-14T22:22:42 | null | NONE | null | The `st.cache` is really useful (I'm still on 1.13) but I think its user-friendliness can be improved. Now, the first run still takes a long time for the first user. But it would be useful if we can "pre-cache" the result of a function so that even the first user does not have to wait too long for long running processes, e.g. for downloading a ML model behind the scenes. A solution would be to add an option to st.cache like "precache" that accepts a list of dicts, where each dict is a kwarg for the function. On app start up, the function is then run for all those different types of kwargs.
It's just an idea but I think it could be useful! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6108/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6107 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6107/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6107/comments | https://api.github.com/repos/streamlit/streamlit/issues/6107/events | https://github.com/streamlit/streamlit/issues/6107 | 1,581,704,405 | I_kwDODCoeTs5eRuTV | 6,107 | date_input on sidebar has a display issue | {
"login": "eduardochaves1",
"id": 95307858,
"node_id": "U_kgDOBa5IUg",
"avatar_url": "https://avatars.githubusercontent.com/u/95307858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eduardochaves1",
"html_url": "https://github.com/eduardochaves1",
"followers_url": "https://api.github.com/users/eduardochaves1/followers",
"following_url": "https://api.github.com/users/eduardochaves1/following{/other_user}",
"gists_url": "https://api.github.com/users/eduardochaves1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eduardochaves1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eduardochaves1/subscriptions",
"organizations_url": "https://api.github.com/users/eduardochaves1/orgs",
"repos_url": "https://api.github.com/users/eduardochaves1/repos",
"events_url": "https://api.github.com/users/eduardochaves1/events{/privacy}",
"received_events_url": "https://api.github.com/users/eduardochaves1/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 3022365121,
"node_id": "MDU6TGFiZWwzMDIyMzY1MTIx",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:confirmed",
"name": "status:confirmed",
"color": "FEF2C0",
"default": false,
"description": "This bug has been confirmed by the Streamlit team"
},
{
"id": 3230107623,
"node_id": "MDU6TGFiZWwzMjMwMTA3NjIz",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/priority:P3",
"name": "priority:P3",
"color": "ff4b4b",
"default": false,
"description": ""
}
] | open | false | null | [] | null | 1 | 2023-02-13T05:48:23 | 2023-02-13T18:35:44 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
The `st.sidebar.date_input()` has a display issue when the sidebar is too thin. It cuts the left part of the calendar widget.
### Reproducible Code Example
```Python
import streamlit as st
st.sidebar.date_input('Foo')
```
### Steps To Reproduce
1. Create the date_input on the sidebar;
2. With the cursor, set the sidebar to a thinner width;
3. Click on the date_input and see the calendar's left side cut off
### Expected Behavior
I expect the calendar to adjust its position when the sidebar width is thinner than the calendar width.
### Current Behavior
It cuts the left part of the calendar widget.
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: Streamlit, version 1.17.0
- Python version: Python 3.10.6
- Operating System: Linux Pop Os
- Browser: Firefox & Chrome
- Virtual environment: Standard Python Env
### Additional Information
I've checked that on both my monitors (19 & 24 inch) and both Firefox and Chrome browsers. Here are the images showing the display issue:
![Screenshot from 2023-02-13 02-27-20](https://user-images.githubusercontent.com/95307858/218380180-46be77b0-a477-46a9-bd80-f0a2efd2acc9.png) ![Screenshot from 2023-02-13 02-27-31](https://user-images.githubusercontent.com/95307858/218380182-e3b9535e-d014-457f-b91f-f7df81017cd2.png)
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6107/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6106 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6106/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6106/comments | https://api.github.com/repos/streamlit/streamlit/issues/6106/events | https://github.com/streamlit/streamlit/issues/6106 | 1,581,315,405 | I_kwDODCoeTs5eQPVN | 6,106 | Add preview under each PDF file in st.file_uploader with accept_multiple_files=True | {
"login": "yoeldk",
"id": 12507451,
"node_id": "MDQ6VXNlcjEyNTA3NDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/12507451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yoeldk",
"html_url": "https://github.com/yoeldk",
"followers_url": "https://api.github.com/users/yoeldk/followers",
"following_url": "https://api.github.com/users/yoeldk/following{/other_user}",
"gists_url": "https://api.github.com/users/yoeldk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yoeldk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yoeldk/subscriptions",
"organizations_url": "https://api.github.com/users/yoeldk/orgs",
"repos_url": "https://api.github.com/users/yoeldk/repos",
"events_url": "https://api.github.com/users/yoeldk/events{/privacy}",
"received_events_url": "https://api.github.com/users/yoeldk/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285327,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:enhancement",
"name": "type:enhancement",
"color": "0E8A16",
"default": false,
"description": "Requests for feature enhancements or new features"
},
{
"id": 1848183387,
"node_id": "MDU6TGFiZWwxODQ4MTgzMzg3",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/feature:st.file_uploader",
"name": "feature:st.file_uploader",
"color": "C5DEF5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | 3 | 2023-02-12T16:11:27 | 2023-02-15T14:08:50 | 2023-02-15T14:06:56 | NONE | null |
### Problem
When using file_uploader with accept_multiple_files=True, a list of uploaded files is being displayed. However, when PDF preview is added using displayPDF, the previews are displayed below this list while missing the relation of each preview to its file.
### Solution
Add the preview under each file in the file list
| {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6106/timeline | null | not_planned | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6105 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6105/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6105/comments | https://api.github.com/repos/streamlit/streamlit/issues/6105/events | https://github.com/streamlit/streamlit/issues/6105 | 1,581,231,645 | I_kwDODCoeTs5eP64d | 6,105 | Update images in table to st.cache_data instead of st.experimental_memo | {
"login": "gabriella-martin",
"id": 108570781,
"node_id": "U_kgDOBnionQ",
"avatar_url": "https://avatars.githubusercontent.com/u/108570781?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabriella-martin",
"html_url": "https://github.com/gabriella-martin",
"followers_url": "https://api.github.com/users/gabriella-martin/followers",
"following_url": "https://api.github.com/users/gabriella-martin/following{/other_user}",
"gists_url": "https://api.github.com/users/gabriella-martin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gabriella-martin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabriella-martin/subscriptions",
"organizations_url": "https://api.github.com/users/gabriella-martin/orgs",
"repos_url": "https://api.github.com/users/gabriella-martin/repos",
"events_url": "https://api.github.com/users/gabriella-martin/events{/privacy}",
"received_events_url": "https://api.github.com/users/gabriella-martin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
}
] | open | false | null | [] | null | 1 | 2023-02-12T12:01:06 | 2023-02-12T14:23:39 | null | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
When I use images in table extra, I get this error message
'st.experimental_memo is deprecated. Please use the new command st.cache_data instead, which has the same behavior. More information [in our docs](https://docs.streamlit.io/library/advanced-features/caching).'
just need to update the source code with st.cache_data
### Reproducible Code Example
_No response_
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6105/timeline | null | null | null | null | false |
https://api.github.com/repos/streamlit/streamlit/issues/6104 | https://api.github.com/repos/streamlit/streamlit | https://api.github.com/repos/streamlit/streamlit/issues/6104/labels{/name} | https://api.github.com/repos/streamlit/streamlit/issues/6104/comments | https://api.github.com/repos/streamlit/streamlit/issues/6104/events | https://github.com/streamlit/streamlit/issues/6104 | 1,580,873,788 | I_kwDODCoeTs5eOjg8 | 6,104 | Audio widget not working on iOS Chrome/Safari and Safari | {
"login": "TomJohnH",
"id": 115263325,
"node_id": "U_kgDOBt7HXQ",
"avatar_url": "https://avatars.githubusercontent.com/u/115263325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomJohnH",
"html_url": "https://github.com/TomJohnH",
"followers_url": "https://api.github.com/users/TomJohnH/followers",
"following_url": "https://api.github.com/users/TomJohnH/following{/other_user}",
"gists_url": "https://api.github.com/users/TomJohnH/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TomJohnH/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomJohnH/subscriptions",
"organizations_url": "https://api.github.com/users/TomJohnH/orgs",
"repos_url": "https://api.github.com/users/TomJohnH/repos",
"events_url": "https://api.github.com/users/TomJohnH/events{/privacy}",
"received_events_url": "https://api.github.com/users/TomJohnH/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1516285324,
"node_id": "MDU6TGFiZWwxNTE2Mjg1MzI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/type:bug",
"name": "type:bug",
"color": "D93F0B",
"default": false,
"description": "Something isn't working"
},
{
"id": 2258739424,
"node_id": "MDU6TGFiZWwyMjU4NzM5NDI0",
"url": "https://api.github.com/repos/streamlit/streamlit/labels/status:awaiting-user-response",
"name": "status:awaiting-user-response",
"color": "FEF2C0",
"default": false,
"description": "Issue requires clarification from submitter"
}
] | closed | false | null | [] | null | 2 | 2023-02-11T14:53:50 | 2023-02-13T08:43:06 | 2023-02-13T08:43:05 | NONE | null | ### Checklist
- [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar issues.
- [X] I added a very descriptive title to this issue.
- [X] I have provided sufficient information below to help reproduce this issue.
### Summary
It seems that st.audio() stopped working on iOS and Safari. Similar [issue](https://github.com/streamlit/streamlit/issues/2113) was already resolved in 2020 so…potential regression?
![image](https://user-images.githubusercontent.com/115263325/218264501-a8e1340d-ea24-4fe3-ba73-d7c57424695b.png)
issue was confirmed by other streamlit users: https://discuss.streamlit.io/t/st-audio-stopped-working-on-ios-safari-again/37049
### Reproducible Code Example
_No response_
### Steps To Reproduce
1. Go to https://adventure.streamlit.app/
2. Enter your name
3. Check if audio is working (it is on windows and android :) )
4. Github repo: https://github.com/tomjohnh/streamlit-game/blob/main/streamlit_app.py
### Expected Behavior
Audio widget is working
### Current Behavior
Audio widget is not working ("Error" message)
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version: 1.17
- Python version:
- Operating System: iOS
- Browser: Chrome on iOS / Safari
- Virtual environment:
### Additional Information
_No response_
### Are you willing to submit a PR?
- [ ] Yes, I am willing to submit a PR! | {
"url": "https://api.github.com/repos/streamlit/streamlit/issues/6104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/streamlit/streamlit/issues/6104/timeline | null | completed | null | null | false |