Remove notebook export options that are not supported by SMD
Description
PDF, webPDF, qtpng, and qtpdf exports fail in SageMaker Unified Studio and SageMaker Studio JL, requiring extra configuration and package installations to function. Many of these dependencies are very large, so they are not being considered to be included in the SageMaker Distribution at this time. This PR disables these exporters.
Type of Change
- [x] Image update - Bug fix
- [ ] Image update - New feature
- [ ] Image update - Breaking change
- [ ] SMD image build tool update
- [ ] Documentation update
Release Information
Does this change need to be included in patch version releases? By default, any pull requests will only be added to the next SMD image minor version release once they are merged in template folder. Only critical bug fix or security update should be applied to new patch versions of existed image minor versions.
- [ ] Yes (Critical bug fix or security update)
- [x] No (New feature or non-critical change)
- [ ] N/A (Not an image update)
If yes, please explain why: [Explain the criticality of this change and why it should be included in patch releases]
How Has This Been Tested?
Update jupyter_server_config.py in local workspace and restart server; confirmed failing options no longer appear.
Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works
Test Screenshots (if applicable):
Related Issues
Internal Asana tracking
Additional Notes
None
requiring extra configuration and package installations to function.
Are we sure users won't install and use the features? Given that these require additional packages - Maybe we notify them somehow but removing them altogether means such users would also have to manually update the server config and restart Jupyter which we do not advertise from what I know?
Mainly worried because PDF at least seems like a very basic use case.