nbdev 3.3.7__tar.gz → 3.3.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {nbdev-3.3.7/nbdev.egg-info → nbdev-3.3.8}/PKG-INFO +2 -2
  2. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/__init__.py +1 -1
  3. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/test.py +3 -4
  4. {nbdev-3.3.7 → nbdev-3.3.8/nbdev.egg-info}/PKG-INFO +2 -2
  5. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev.egg-info/requires.txt +1 -1
  6. {nbdev-3.3.7 → nbdev-3.3.8}/pyproject.toml +1 -1
  7. {nbdev-3.3.7 → nbdev-3.3.8}/CONTRIBUTING.md +0 -0
  8. {nbdev-3.3.7 → nbdev-3.3.8}/LICENSE +0 -0
  9. {nbdev-3.3.7 → nbdev-3.3.8}/MANIFEST.in +0 -0
  10. {nbdev-3.3.7 → nbdev-3.3.8}/README.md +0 -0
  11. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/_modidx.py +0 -0
  12. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/clean.py +0 -0
  13. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/cli.py +0 -0
  14. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/config.py +0 -0
  15. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/diff.py +0 -0
  16. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/doclinks.py +0 -0
  17. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/export.py +0 -0
  18. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/extract_attachments.py +0 -0
  19. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/frontmatter.py +0 -0
  20. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/imports.py +0 -0
  21. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/maker.py +0 -0
  22. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/merge.py +0 -0
  23. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/migrate.py +0 -0
  24. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/moddocs.py +0 -0
  25. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/process.py +0 -0
  26. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/processors.py +0 -0
  27. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/qmd.py +0 -0
  28. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/quarto.py +0 -0
  29. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/release.py +0 -0
  30. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/scrubmagics.py +0 -0
  31. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/serve.py +0 -0
  32. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/serve_drv.py +0 -0
  33. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/showdoc.py +0 -0
  34. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/skill.py +0 -0
  35. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev/sync.py +0 -0
  36. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev.egg-info/SOURCES.txt +0 -0
  37. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev.egg-info/dependency_links.txt +0 -0
  38. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev.egg-info/entry_points.txt +0 -0
  39. {nbdev-3.3.7 → nbdev-3.3.8}/nbdev.egg-info/top_level.txt +0 -0
  40. {nbdev-3.3.7 → nbdev-3.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 3.3.7
3
+ Version: 3.3.8
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Author-email: "Jeremy Howard and the fast.ai community" <j@fast.ai>
6
6
  License: Apache-2.0
@@ -16,7 +16,7 @@ Classifier: License :: OSI Approved :: Apache Software License
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: fastcore>=2.2.3
19
+ Requires-Dist: fastcore>=2.2.7
20
20
  Requires-Dist: execnb>=0.2.11
21
21
  Requires-Dist: astunparse
22
22
  Requires-Dist: ghapi>=2.0.2
@@ -6,7 +6,7 @@ Modules:
6
6
  - `nbdev.moddocs`: # Module docs: creating them from existing notebooks
7
7
  - `nbdev.skill`: Author clear, executable nbdev notebooks where code, prose, examples, outputs, and tests form one coherent narrative."""
8
8
 
9
- __version__ = "3.3.7"
9
+ __version__ = "3.3.8"
10
10
 
11
11
  from .doclinks import nbdev_export
12
12
  from .showdoc import show_doc
@@ -48,12 +48,11 @@ async def test_nb(
48
48
  fm = nb_frontmatter(nb)
49
49
  if str2bool(fm.get('skip_exec', False)) or nb_lang(nb) != 'python': return True, 0
50
50
 
51
+ dflt = fm_default_eval(fm)
51
52
  def _no_eval(cell):
52
53
  if cell.cell_type != 'code': return True
53
- if 'nbdev_export'+'(' in cell.source: return True
54
- direc = getattr(cell, 'directives_', {}) or {}
55
- if direc.get('eval', '').lower() == 'false': return True
56
- return flags & direc.keys()
54
+ if not does_cell_eval(cell, dflt): return True
55
+ return flags & (getattr(cell, 'directives_', {}) or {}).keys()
57
56
 
58
57
  start = time.time()
59
58
  if profile is None: profile = bool(get_config(fn.parent).exec_profile)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdev
3
- Version: 3.3.7
3
+ Version: 3.3.8
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Author-email: "Jeremy Howard and the fast.ai community" <j@fast.ai>
6
6
  License: Apache-2.0
@@ -16,7 +16,7 @@ Classifier: License :: OSI Approved :: Apache Software License
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: fastcore>=2.2.3
19
+ Requires-Dist: fastcore>=2.2.7
20
20
  Requires-Dist: execnb>=0.2.11
21
21
  Requires-Dist: astunparse
22
22
  Requires-Dist: ghapi>=2.0.2
@@ -1,4 +1,4 @@
1
- fastcore>=2.2.3
1
+ fastcore>=2.2.7
2
2
  execnb>=0.2.11
3
3
  astunparse
4
4
  ghapi>=2.0.2
@@ -19,7 +19,7 @@ classifiers = [
19
19
  "License :: OSI Approved :: Apache Software License",
20
20
  ]
21
21
  dynamic = ["version"]
22
- dependencies = [ "fastcore>=2.2.3", "execnb>=0.2.11", "astunparse", "ghapi>=2.0.2", "watchdog", "asttokens",
22
+ dependencies = [ "fastcore>=2.2.7", "execnb>=0.2.11", "astunparse", "ghapi>=2.0.2", "watchdog", "asttokens",
23
23
  "setuptools", "build", "fastgit>=0.0.7", "pyyaml", "tomli; python_version < '3.11'", ]
24
24
 
25
25
  [project.optional-dependencies]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes