We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
docs build failing on Pygments lexter warning
Hm. Something related to https://github.com/spatialaudio/nbsphinx/issues/24 is breaking the docs build. We're getting

```pytb
WARNING: Pygments lexer name 'ipython3' is not known
```

for all the notebooks during the docs build and we fail on warnings.

_Originally posted by @matthewfeickert in https://github.com/scikit-hep/pyhf/issues/2066#issuecomment-1329937208_
      

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 from setuptools import setup
2 
3 extras_require = {
4     'shellcomplete': ['click_completion'],
5     'tensorflow': [
6         'tensorflow>=2.7.0',  # c.f. PR #1962
7         'tensorflow-probability>=0.11.0',  # c.f. PR #1657
8     ],
9     'torch': ['torch>=1.10.0'],  # c.f. PR #1657
10     'jax': ['jax>=0.2.10', 'jaxlib>=0.1.61,!=0.1.68'],  # c.f. PR #1962, Issue #1501
11     'xmlio': ['uproot>=4.1.1'],  # c.f. PR #1567
12     'minuit': ['iminuit>=2.7.0'],  # c.f. PR #1895
13 }
14 extras_require['backends'] = sorted(
15     set(
16         extras_require['tensorflow']
17         + extras_require['torch']
18         + extras_require['jax']
19         + extras_require['minuit']
20     )
21 )
22 extras_require['contrib'] = sorted({'matplotlib', 'requests'})
23 extras_require['test'] = sorted(
24     set(
25         extras_require['backends']
26         + extras_require['xmlio']
27         + extras_require['contrib']
28         + extras_require['shellcomplete']
29         + [
30             'scikit-hep-testdata>=0.4.11',
31             'pytest>=6.0',
32             'coverage[toml]>=6.0.0',
33             'pytest-mock',
34             'requests-mock>=1.9.0',
35             'pytest-benchmark[histogram]',
36             'pytest-console-scripts',
37             'pytest-mpl',
38             'pydocstyle',
39             'papermill~=2.3.4',
40             'scrapbook~=0.5.0',
41             'jupyter',
42             'graphviz',
43             'pytest-socket>=0.2.0',  # c.f. PR #1917
44         ]
45     )
46 )
47 extras_require['docs'] = sorted(
48     set(
49         extras_require['xmlio']
50         + extras_require['contrib']
51         + [
52             'sphinx>=5.1.1',  # c.f. https://github.com/scikit-hep/pyhf/pull/1926
53             'sphinxcontrib-bibtex~=2.1',
54             'sphinx-click',
55             'sphinx_rtd_theme',
56             'nbsphinx!=0.8.8',  # c.f. https://github.com/spatialaudio/nbsphinx/issues/620
57             'ipywidgets',
58             'sphinx-issues',
59             'sphinx-copybutton>=0.3.2',
60             'sphinx-togglebutton>=0.3.0',
61         ]
62     )
63 )
64 extras_require['develop'] = sorted(
65     set(
66         extras_require['docs']
67         + extras_require['test']
68         + [
69             'nbdime',
70             'tbump>=6.7.0',
71             'ipython',
72             'pre-commit',
73             'nox',
74             'check-manifest',
75             'codemetapy>=2.3.0',
76             'twine',
77         ]
78     )
79 )
80 extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))
81 
82 
83 setup(
84     extras_require=extras_require,
85     use_scm_version=lambda: {'local_scheme': lambda version: ''},
86 )
87
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -58,6 +58,7 @@
             'sphinx-issues',
             'sphinx-copybutton>=0.3.2',
             'sphinx-togglebutton>=0.3.0',
+            'ipython!=8.7.0',  # c.f. https://github.com/scikit-hep/pyhf/pull/2068
         ]
     )
 )

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -58,6 +58,7 @@\n             'sphinx-issues',\n             'sphinx-copybutton>=0.3.2',\n             'sphinx-togglebutton>=0.3.0',\n+            'ipython!=8.7.0',  # c.f. https://github.com/scikit-hep/pyhf/pull/2068\n         ]\n     )\n )\n", "issue": "docs build failing on Pygments lexter warning\nHm. Something related to https://github.com/spatialaudio/nbsphinx/issues/24 is breaking the docs build. We're getting\r\n\r\n```pytb\r\nWARNING: Pygments lexer name 'ipython3' is not known\r\n```\r\n\r\nfor all the notebooks during the docs build and we fail on warnings.\r\n\r\n_Originally posted by @matthewfeickert in https://github.com/scikit-hep/pyhf/issues/2066#issuecomment-1329937208_\r\n      \n", "before_files": [{"content": "from setuptools import setup\n\nextras_require = {\n    'shellcomplete': ['click_completion'],\n    'tensorflow': [\n        'tensorflow>=2.7.0',  # c.f. PR #1962\n        'tensorflow-probability>=0.11.0',  # c.f. PR #1657\n    ],\n    'torch': ['torch>=1.10.0'],  # c.f. PR #1657\n    'jax': ['jax>=0.2.10', 'jaxlib>=0.1.61,!=0.1.68'],  # c.f. PR #1962, Issue #1501\n    'xmlio': ['uproot>=4.1.1'],  # c.f. PR #1567\n    'minuit': ['iminuit>=2.7.0'],  # c.f. PR #1895\n}\nextras_require['backends'] = sorted(\n    set(\n        extras_require['tensorflow']\n        + extras_require['torch']\n        + extras_require['jax']\n        + extras_require['minuit']\n    )\n)\nextras_require['contrib'] = sorted({'matplotlib', 'requests'})\nextras_require['test'] = sorted(\n    set(\n        extras_require['backends']\n        + extras_require['xmlio']\n        + extras_require['contrib']\n        + extras_require['shellcomplete']\n        + [\n            'scikit-hep-testdata>=0.4.11',\n            'pytest>=6.0',\n            'coverage[toml]>=6.0.0',\n            'pytest-mock',\n            'requests-mock>=1.9.0',\n            'pytest-benchmark[histogram]',\n            'pytest-console-scripts',\n            'pytest-mpl',\n            'pydocstyle',\n            'papermill~=2.3.4',\n            'scrapbook~=0.5.0',\n            'jupyter',\n            'graphviz',\n            'pytest-socket>=0.2.0',  # c.f. PR #1917\n        ]\n    )\n)\nextras_require['docs'] = sorted(\n    set(\n        extras_require['xmlio']\n        + extras_require['contrib']\n        + [\n            'sphinx>=5.1.1',  # c.f. https://github.com/scikit-hep/pyhf/pull/1926\n            'sphinxcontrib-bibtex~=2.1',\n            'sphinx-click',\n            'sphinx_rtd_theme',\n            'nbsphinx!=0.8.8',  # c.f. https://github.com/spatialaudio/nbsphinx/issues/620\n            'ipywidgets',\n            'sphinx-issues',\n            'sphinx-copybutton>=0.3.2',\n            'sphinx-togglebutton>=0.3.0',\n        ]\n    )\n)\nextras_require['develop'] = sorted(\n    set(\n        extras_require['docs']\n        + extras_require['test']\n        + [\n            'nbdime',\n            'tbump>=6.7.0',\n            'ipython',\n            'pre-commit',\n            'nox',\n            'check-manifest',\n            'codemetapy>=2.3.0',\n            'twine',\n        ]\n    )\n)\nextras_require['complete'] = sorted(set(sum(extras_require.values(), [])))\n\n\nsetup(\n    extras_require=extras_require,\n    use_scm_version=lambda: {'local_scheme': lambda version: ''},\n)\n", "path": "setup.py"}], "after_files": [{"content": "from setuptools import setup\n\nextras_require = {\n    'shellcomplete': ['click_completion'],\n    'tensorflow': [\n        'tensorflow>=2.7.0',  # c.f. PR #1962\n        'tensorflow-probability>=0.11.0',  # c.f. PR #1657\n    ],\n    'torch': ['torch>=1.10.0'],  # c.f. PR #1657\n    'jax': ['jax>=0.2.10', 'jaxlib>=0.1.61,!=0.1.68'],  # c.f. PR #1962, Issue #1501\n    'xmlio': ['uproot>=4.1.1'],  # c.f. PR #1567\n    'minuit': ['iminuit>=2.7.0'],  # c.f. PR #1895\n}\nextras_require['backends'] = sorted(\n    set(\n        extras_require['tensorflow']\n        + extras_require['torch']\n        + extras_require['jax']\n        + extras_require['minuit']\n    )\n)\nextras_require['contrib'] = sorted({'matplotlib', 'requests'})\nextras_require['test'] = sorted(\n    set(\n        extras_require['backends']\n        + extras_require['xmlio']\n        + extras_require['contrib']\n        + extras_require['shellcomplete']\n        + [\n            'scikit-hep-testdata>=0.4.11',\n            'pytest>=6.0',\n            'coverage[toml]>=6.0.0',\n            'pytest-mock',\n            'requests-mock>=1.9.0',\n            'pytest-benchmark[histogram]',\n            'pytest-console-scripts',\n            'pytest-mpl',\n            'pydocstyle',\n            'papermill~=2.3.4',\n            'scrapbook~=0.5.0',\n            'jupyter',\n            'graphviz',\n            'pytest-socket>=0.2.0',  # c.f. PR #1917\n        ]\n    )\n)\nextras_require['docs'] = sorted(\n    set(\n        extras_require['xmlio']\n        + extras_require['contrib']\n        + [\n            'sphinx>=5.1.1',  # c.f. https://github.com/scikit-hep/pyhf/pull/1926\n            'sphinxcontrib-bibtex~=2.1',\n            'sphinx-click',\n            'sphinx_rtd_theme',\n            'nbsphinx!=0.8.8',  # c.f. https://github.com/spatialaudio/nbsphinx/issues/620\n            'ipywidgets',\n            'sphinx-issues',\n            'sphinx-copybutton>=0.3.2',\n            'sphinx-togglebutton>=0.3.0',\n            'ipython!=8.7.0',  # c.f. https://github.com/scikit-hep/pyhf/pull/2068\n        ]\n    )\n)\nextras_require['develop'] = sorted(\n    set(\n        extras_require['docs']\n        + extras_require['test']\n        + [\n            'nbdime',\n            'tbump>=6.7.0',\n            'ipython',\n            'pre-commit',\n            'nox',\n            'check-manifest',\n            'codemetapy>=2.3.0',\n            'twine',\n        ]\n    )\n)\nextras_require['complete'] = sorted(set(sum(extras_require.values(), [])))\n\n\nsetup(\n    extras_require=extras_require,\n    use_scm_version=lambda: {'local_scheme': lambda version: ''},\n)\n", "path": "setup.py"}]}