1
0
python-nbconvert/skip_network_tests.patch
Matej Cepl ac7f11c9f6 - Update to 6.0.7:
- 6.0.7
    - Primarly a release addressing template extensions issues reported
      since 6.0 launched.
  - 6.0.6
    - A range of bug fixes for webpdf exports
  - 6.0.5
    - Revert networkidle2 change which caused custom cdn-fetched widgets
      in webpdf
  - 6.0.4
    - Bugfixes only
  - 6.0.3
    - Execute preprocessor no longer add illegal execution counts to
      markdown cells :ghpull:`1396`:
  - 6.0.2
    - A patch for a few minor issues raised out of the 6.0 release.
  - 6.0.1
    - A quick patch to fix an issue with get_exporter :ghpull:`1367`:
  - 6.0
    - Nbconvert 6.0 is a major release of nbconvert which includes many
      significant changes.
      - Python 2 support was dropped. Currently Python 3.6-3.8 is
        supported and tested by nbconvert. However, nbconvert 6.0
        provides limited support for Python 3.6. nbconvert 6.1 will drop
        support for Python 3.6. Limited support means we will test and
        run CI on Python 3.6.12 or higher. Issues that are found only
        affecting Python 3.6 are not guaranteed to be fixed. We
        recommend all users of nbconvert use Python 3.7 and higher.
      - Unlike previous versions, nbconvert 6.0 relies on the nbclient
        package for the execute preprocessor, which allows for

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbconvert?expand=0&rev=18
2021-02-25 23:27:58 +00:00

48 lines
1.4 KiB
Diff

---
nbconvert/exporters/tests/test_webpdf.py | 1 +
nbconvert/tests/test_nbconvertapp.py | 5 +++--
setup.cfg | 4 ++++
3 files changed, 8 insertions(+), 2 deletions(-)
--- a/nbconvert/exporters/tests/test_webpdf.py
+++ b/nbconvert/exporters/tests/test_webpdf.py
@@ -16,6 +16,7 @@ class TestWebPDFExporter(ExportersTestsB
exporter_class = WebPDFExporter
+ @pytest.mark.network
def test_export(self):
"""
Can a TemplateExporter export something?
--- a/nbconvert/tests/test_nbconvertapp.py
+++ b/nbconvert/tests/test_nbconvertapp.py
@@ -146,6 +146,7 @@ class TestNbConvertApp(TestsBase):
)
assert os.path.isfile('notebook with spaces.pdf')
+ @pytest.mark.network
def test_webpdf_with_chromium(self):
"""
Generate PDFs if chromium allowed to be downloaded?
@@ -356,8 +357,8 @@ class TestNbConvertApp(TestsBase):
text = f.read()
assert 'celltag_mycelltag celltag_mysecondcelltag' in text
assert 'celltag_mymarkdowncelltag' in text
-
-
+
+
def test_no_input(self):
"""
Verify that the html has no input when given --no-input.
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,3 +8,7 @@ license_file = LICENSE
ignore =
nbconvert/resources/style.min.css
.circleci/*
+
+[tool:pytest]
+markers =
+ network: marks tests which require network connection