New upstream version 7.1.2
Gordon Ball
2 years ago
0 | 0 |
# Changes in Jupyter Client {#changelog}
|
1 | 1 |
|
2 | 2 |
<!-- <START NEW CHANGELOG ENTRY> -->
|
|
3 |
|
|
4 |
## 7.1.2
|
|
5 |
|
|
6 |
([Full Changelog](https://github.com/jupyter/jupyter_client/compare/v7.1.1...2c9fbf499f63d4287851021b8f8efc9d3c0e336e))
|
|
7 |
|
|
8 |
### Bugs fixed
|
|
9 |
|
|
10 |
- Await `kernel.ready` in `_async_shutdown_kernel` [#740](https://github.com/jupyter/jupyter_client/pull/740) ([@jtpio](https://github.com/jtpio))
|
|
11 |
|
|
12 |
### Contributors to this release
|
|
13 |
|
|
14 |
([GitHub contributors page for this release](https://github.com/jupyter/jupyter_client/graphs/contributors?from=2022-01-14&to=2022-01-21&type=c))
|
|
15 |
|
|
16 |
[@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Ajtpio+updated%3A2022-01-14..2022-01-21&type=Issues) | [@Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3AZsailer+updated%3A2022-01-14..2022-01-21&type=Issues)
|
|
17 |
|
|
18 |
<!-- <END NEW CHANGELOG ENTRY> -->
|
3 | 19 |
|
4 | 20 |
## 7.1.1
|
5 | 21 |
|
|
24 | 40 |
([GitHub contributors page for this release](https://github.com/jupyter/jupyter_client/graphs/contributors?from=2021-11-22&to=2022-01-14&type=c))
|
25 | 41 |
|
26 | 42 |
[@abzymeinsjtu](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Aabzymeinsjtu+updated%3A2021-11-22..2022-01-14&type=Issues) | [@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Ablink1073+updated%3A2021-11-22..2022-01-14&type=Issues) | [@BoPeng](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3ABoPeng+updated%3A2021-11-22..2022-01-14&type=Issues) | [@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Adavidbrochart+updated%3A2021-11-22..2022-01-14&type=Issues) | [@minrk](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Aminrk+updated%3A2021-11-22..2022-01-14&type=Issues) | [@rgbkrk](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Argbkrk+updated%3A2021-11-22..2022-01-14&type=Issues) | [@willingc](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Awillingc+updated%3A2021-11-22..2022-01-14&type=Issues) | [@Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3AZsailer+updated%3A2021-11-22..2022-01-14&type=Issues)
|
27 | |
|
28 | |
<!-- <END NEW CHANGELOG ENTRY> -->
|
29 | 43 |
|
30 | 44 |
## 7.1.0
|
31 | 45 |
|
1 | 1 |
from typing import List
|
2 | 2 |
from typing import Union
|
3 | 3 |
|
4 | |
__version__ = "7.1.1"
|
|
4 |
__version__ = "7.1.2"
|
5 | 5 |
|
6 | 6 |
# Build up version_info tuple for backwards compatibility
|
7 | 7 |
pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'
|
259 | 259 |
if self._using_pending_kernels() and kernel_id in self._pending_kernels:
|
260 | 260 |
raise RuntimeError("Kernel is in a pending state. Cannot shutdown.")
|
261 | 261 |
# If the kernel is still starting, wait for it to be ready.
|
262 | |
elif kernel_id in self._starting_kernels:
|
263 | |
kernel = self._starting_kernels[kernel_id]
|
|
262 |
elif kernel_id in self._pending_kernels:
|
|
263 |
kernel = self._pending_kernels[kernel_id]
|
264 | 264 |
try:
|
265 | 265 |
await kernel
|
|
266 |
km = self.get_kernel(kernel_id)
|
|
267 |
await km.ready
|
266 | 268 |
except Exception:
|
267 | 269 |
self.remove_kernel(kernel_id)
|
268 | 270 |
return
|
13 | 13 |
ignore = [".mailmap", "*.yml", "*.yaml"]
|
14 | 14 |
|
15 | 15 |
[tool.tbump.version]
|
16 | |
current = "7.1.1"
|
|
16 |
current = "7.1.2"
|
17 | 17 |
regex = '''
|
18 | 18 |
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
|
19 | 19 |
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
|