-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
status:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
Previously, __init__.py in pages would be invisible to autogenerated navigation. After an upgrade (and after testing with several versions), somewhere between 1.43.1 and 1.44.1, this behavior changed and now there is a blank "init" page in the navbar.
Reproducible Code Example
Steps To Reproduce
Can be reproduced by setting up a structure like so, and running streamlit run mainpage.py on 1.43.1 vs 1.44.1:
.
└── appname/
├── appname/
│ ├── pages/
│ │ ├── init.py
│ │ ├── page1.py
│ │ └── page2.py
│ ├── mainpage.py
│ └── init.py
├── README.md
└── poetry.lock
Expected Behavior
Expected that __init__.py/"init" should not be listed in pages.
Current Behavior
1.43.1:
1.44.1
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.44.1
- Python version: 3.10.12
- Operating System: Ubuntu/Docker
- Browser: Edge
Additional Information
No response
github-actions and cmathewsendsight
Metadata
Metadata
Assignees
Labels
status:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected

