Skip to content

Remove notebook export options that are not supported by SMD #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andychoquette
Copy link
Contributor

@andychoquette andychoquette commented Jun 11, 2025

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

  • 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)
  • 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:

  • My code follows the style guidelines of this project
  • 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):

Screenshot 2025-06-11 at 2 47 36 PM

Related Issues

Internal Asana tracking

Additional Notes

None

**Description**

PDF, webPDF, qtpng, and qtpdf exports fail in MaxDome 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.

**Testing Done**

Update jupyter_server_config.py in local workspace and restart server; confirmed failing options no longer appear.
@andychoquette andychoquette requested a review from a team as a code owner June 11, 2025 21:56
@vpbhargav
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants