Skip to content
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

[FEATURE] Alternative to scrapbook to execute notebooks programmatically for tests #2012

Closed
miguelgfierro opened this issue Oct 8, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@miguelgfierro
Copy link
Collaborator

Description

Scrapbook is not being developed anymore, and it doesn't support Python 3.10 (See #1988 (comment))

Expected behavior with the suggested feature

Other Comments

@miguelgfierro miguelgfierro added the enhancement New feature or request label Oct 8, 2023
@miguelgfierro
Copy link
Collaborator Author

WIP: miguelgfierro/pybase#73

@SimonYansenZhao
Copy link
Collaborator

SimonYansenZhao commented Oct 16, 2023

@miguelgfierro I don't find any alternatives to scrapbook after googling. The solutions, I think, may be

  1. Use nbformat as you do in Programmatic execution of notebook miguelgfierro/pybase#73
  2. Borrow and modify the functions like sb.glue() as @anargyri said in the meeting and make them part of Recommenders.

For the 1st option, I saw you wrote the functions to do that, what else should we do? I can try tomorrow.

@miguelgfierro
Copy link
Collaborator Author

Actually, option 2 is kind of what I was doing in 1. If you have time it would be great if you could try 1.

@miguelgfierro
Copy link
Collaborator Author

I think I have finished the functions, see miguelgfierro/pybase#73

Man, they say the most difficult language in the world is Chinese, but I think it is regex. Thank goodness that we have ChatGPT.

@SimonYansenZhao I'll start a PR soon to replace all the scrapbook

@miguelgfierro
Copy link
Collaborator Author

Fixed!

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

No branches or pull requests

2 participants