Alexander Martin
Alexander Martin
@kajarenc dug into this a little more. Unfortunately I'm not even sure that `pathlib.Path` is necessary a fix-all solution here. until about Python 3.12, `pathlib.Path` has a fixed preference for...
@sfc-gh-jcarroll I imagine the `st.nagivation` changes might screw around with the existing script_path code a bunch, so to avoid conflicts with that I think it would at least make sense...
[`CachedFunc.clear`](https://github.com/streamlit/streamlit/blob/develop/lib/streamlit/runtime/caching/cache_utils.py#L174) doesn't appear to implement a descriptor-protocol. So ``` class Test: @st.cache_data def print_random(self, val): ... Test.print_random # This is a closure wrapper(*args, **kwargs) which wraps a call to a...
As a work-around, you can always run the command in a subshell to avoid cd'ing in your current shell. e.g. ```shell > (cd /path/to/ && streamlit run app.py) ```
If you are trying to test your main.ly page, why call AppTest on the registry.py page? The issue is that AppTest thinks registry.py _is_ the main app page here and...
I think you need to set up AppTest with main.py and then switch pages to registry.py with https://github.com/streamlit/streamlit/blob/9f9f03b8247897cdd334d972028a5bb1ea451046/lib/streamlit/testing/v1/app_test.py#L381 If you want to test a subpage. @AnOctopus I will note that...
Can confirm this happens on windows in Git Bash. Suspect related to the code never reaching some kind of yield point and being able to handle an interupt signal.
Using breakpoints and mucking around in asyncIO, I believe what is happening is that right after the Runtime transitions to `RuntimeState.NO_SESSIONS_CONNECTED`, the main event loop is hanging on this call...
> This seems pretty good from first glance. Can we fix the github actions? > > Also, it seems like there are some tests that are breaking. Could we check...
@sfc-gh-wihuang @sfc-gh-jcarroll can probably set you up with my Discord tag if you want to use that. I'll see if I can put together a diagram or something of what...