Skip to content

Commit 40a1236

Browse files
author
Quentin Peter
committed
Merge branch '3.x' into improve_namespace
2 parents 53b9706 + efae038 commit 40a1236

File tree

18 files changed

+511
-121
lines changed

18 files changed

+511
-121
lines changed

.github/workflows/linux-pip-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
linux:
19-
name: Py${{ matrix.PYTHON_VERSION }}
19+
name: Linux (pip) - Py${{ matrix.PYTHON_VERSION }}
2020
runs-on: ubuntu-latest
2121
env:
2222
CI: True
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install System Packages
3535
run: |
3636
sudo apt-get update
37-
sudo apt-get install libegl1-mesa
37+
sudo apt-get install libegl1-mesa libopengl0
3838
- name: Install Conda
3939
uses: conda-incubator/setup-miniconda@v2
4040
with:
@@ -51,6 +51,9 @@ jobs:
5151
run: |
5252
conda info
5353
conda list
54+
# - name: Setup Remote SSH Connection
55+
# uses: mxschmitt/action-tmate@v3
56+
# timeout-minutes: 60
5457
- name: Run tests
5558
shell: bash -l {0}
5659
run: |

.github/workflows/linux-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
linux:
19-
name: Py${{ matrix.PYTHON_VERSION }}
19+
name: Linux - Py${{ matrix.PYTHON_VERSION }}
2020
runs-on: ubuntu-latest
2121
env:
2222
CI: True
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install System Packages
3535
run: |
3636
sudo apt-get update
37-
sudo apt-get install libegl1-mesa
37+
sudo apt-get install libegl1-mesa libopengl0
3838
- name: Install Conda
3939
uses: conda-incubator/setup-miniconda@v2
4040
with:
@@ -59,6 +59,9 @@ jobs:
5959
run: |
6060
conda info
6161
conda list
62+
# - name: Setup Remote SSH Connection
63+
# uses: mxschmitt/action-tmate@v3
64+
# timeout-minutes: 60
6265
- name: Run tests
6366
shell: bash -l {0}
6467
run: |

.github/workflows/macos-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
macos:
19-
name: Py${{ matrix.PYTHON_VERSION }}
19+
name: macOS - Py${{ matrix.PYTHON_VERSION }}
2020
runs-on: macos-latest
2121
env:
2222
CI: True
@@ -55,6 +55,9 @@ jobs:
5555
run: |
5656
conda info
5757
conda list
58+
# - name: Setup Remote SSH Connection
59+
# uses: mxschmitt/action-tmate@v3
60+
# timeout-minutes: 60
5861
- name: Run tests
5962
shell: bash -l {0}
6063
run: |

.github/workflows/windows-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
windows:
19-
name: Py${{ matrix.PYTHON_VERSION }}
19+
name: Windows - Py${{ matrix.PYTHON_VERSION }}
2020
runs-on: windows-latest
2121
env:
2222
CI: True
@@ -55,6 +55,9 @@ jobs:
5555
run: |
5656
conda info
5757
conda list
58+
# - name: Setup Remote SSH Connection
59+
# uses: mxschmitt/action-tmate@v3
60+
# timeout-minutes: 60
5861
- name: Run tests
5962
shell: bash -l {0}
6063
run: |

CHANGELOG.md

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
11
# History of changes
22

3+
## Version 3.0.0 (2024-08-29)
4+
5+
### New features
6+
7+
* Speed up debugger execution.
8+
* Notify Spyder when Matplotlib backend changes.
9+
* Use control channel for comms instead of a special one.
10+
* Update variable explorer from the kernel.
11+
* Simplify kernel configuration from Spyder.
12+
* Add a `comm_handler` decorator.
13+
* Transform `runfile`, `debugfile` and `runcell` commands to IPython magics.
14+
* Add comm handlers to interrupt executions and enter the debugger after that.
15+
* Publish Pdb stack frames to Spyder.
16+
* Drop support for Python 2 and support Python 3.8+
17+
18+
### Pull Requests Merged
19+
20+
* [PR 500](https://github.com/spyder-ide/spyder-kernels/pull/500) - PR: Restore `TMPDIR` env var if it was available on the Spyder side, by [@ccordoba12](https://github.com/ccordoba12)
21+
* [PR 498](https://github.com/spyder-ide/spyder-kernels/pull/498) - PR: Remove `TMPDIR` env var after initialization, by [@ccordoba12](https://github.com/ccordoba12)
22+
23+
In this release 2 pull requests were closed.
24+
25+
----
26+
27+
## Version 3.0.0b9 (2024-08-21)
28+
29+
### Pull Requests Merged
30+
31+
* [PR 495](https://github.com/spyder-ide/spyder-kernels/pull/495) - PR: Add comm handler to get information about the Python environment associated to the kernel, by [@ccordoba12](https://github.com/ccordoba12)
32+
33+
In this release 1 pull request was closed.
34+
35+
----
36+
37+
## Version 3.0.0b8 (2024-08-08)
38+
39+
### Pull Requests Merged
40+
41+
* [PR 496](https://github.com/spyder-ide/spyder-kernels/pull/496) - PR: Add filtering logic for stream data and constraint `setuptools` version, by [@dalthviz](https://github.com/dalthviz)
42+
43+
In this release 1 pull request was closed.
44+
45+
----
46+
47+
## Version 3.0.0b7 (2024-06-18)
48+
49+
### Issues Closed
50+
51+
* [Issue 491](https://github.com/spyder-ide/spyder-kernels/issues/491) - Debugger misses breakpoint when a file can have several canonic paths ([PR 490](https://github.com/spyder-ide/spyder-kernels/pull/490) by [@impact27](https://github.com/impact27))
52+
* [Issue 468](https://github.com/spyder-ide/spyder-kernels/issues/468) - Debugger not working for environments with different Python versions ([PR 492](https://github.com/spyder-ide/spyder-kernels/pull/492) by [@impact27](https://github.com/impact27))
53+
54+
In this release 2 issues were closed.
55+
56+
### Pull Requests Merged
57+
58+
* [PR 492](https://github.com/spyder-ide/spyder-kernels/pull/492) - PR: Enable comms to work across different Python versions, by [@impact27](https://github.com/impact27) ([468](https://github.com/spyder-ide/spyder-kernels/issues/468))
59+
* [PR 490](https://github.com/spyder-ide/spyder-kernels/pull/490) - PR: Use inodes for single canonic file path (Debugger), by [@impact27](https://github.com/impact27) ([491](https://github.com/spyder-ide/spyder-kernels/issues/491))
60+
* [PR 487](https://github.com/spyder-ide/spyder-kernels/pull/487) - PR: Fix issue where Spyder's inline graphics preferences were not applied, by [@mrclary](https://github.com/mrclary)
61+
62+
In this release 3 pull requests were closed.
63+
64+
----
65+
366
## Version 3.0.0b6 (2024-05-15)
467

568
### Issues Closed
@@ -63,10 +126,8 @@ In this release 3 pull requests were closed.
63126

64127
In this release 6 pull requests were closed.
65128

66-
67129
----
68130

69-
70131
## Version 3.0.0b1 (2023-06-14)
71132

72133
### Issues Closed
@@ -108,12 +169,24 @@ In this release 25 pull requests were closed.
108169

109170
----
110171

172+
## Version 2.5.2 (2024-06-11)
173+
174+
### Pull Requests Merged
175+
176+
* [PR 489](https://github.com/spyder-ide/spyder-kernels/pull/489) - PR: Fix detecting Matplotlib backend for its 3.9.0 version, by [@mrclary](https://github.com/mrclary)
177+
178+
In this release 1 pull request was closed.
179+
180+
----
181+
111182
## Version 2.5.1 (2024-02-28)
112183

113184
### Pull Requests Merged
114185

115186
* [PR 479](https://github.com/spyder-ide/spyder-kernels/pull/479) - PR: Fix hangs with Maplotlib interactive backends, by [@ccordoba12](https://github.com/ccordoba12)
116187

188+
In this release 1 pull request was closed.
189+
117190
----
118191

119192
## Version 2.5.0 (2023-11-06)

RELEASE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ To release a new version of spyder-kernels on PyPI:
22

33
* Close the respective milestone on Github
44

5-
* git checkout 2.x
5+
* git checkout 3.x
66

7-
* git fetch upstream && get merge upstream/2.x
7+
* git fetch upstream && get merge upstream/3.x
88

99
* git clean -xfdi
1010

@@ -18,7 +18,7 @@ To release a new version of spyder-kernels on PyPI:
1818

1919
* python setup.py bdist_wheel
2020

21-
* twine check dist/*
21+
* twine check --strict dist/*
2222

2323
* twine upload dist/*
2424

@@ -30,10 +30,10 @@ To release a new version of spyder-kernels on PyPI:
3030

3131
* git checkout master
3232

33-
* git merge 2.x
33+
* git merge 3.x
3434

3535
* git push upstream master
3636

37-
* git push upstream 2.x
37+
* git push upstream 3.x
3838

3939
* git push upstream --tags

requirements/posix.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ jupyter_client>=7.4.9,<9
55
pyzmq>=24.0.0
66
wurlitzer>=1.0.3
77
pyxdg>=0.26
8+
setuptools<71.0

requirements/windows.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ ipykernel>=6.29.3,<7
33
ipython>=8.12.2,<9
44
jupyter_client>=7.4.9,<9
55
pyzmq>=24.0.0
6+
setuptools<71.0

spyder_kernels/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
"""Version File."""
1010

11-
VERSION_INFO = (3, 0, 0, 'dev0')
11+
VERSION_INFO = (3, 1, 0, 'dev0')
1212
__version__ = '.'.join(map(str, VERSION_INFO))

spyder_kernels/comms/utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ def is_benign_message(self, message):
5959
"Warning: Cannot change to a different GUI toolkit",
6060
"%pylab is deprecated",
6161
"Populating the interactive namespace",
62-
"\n"
62+
"\n",
63+
# Fixes spyder-ide/spyder#21652
64+
"WARNING",
65+
"Active device does not have an attribute",
6366
]
6467

6568
return any([msg in message for msg in benign_messages])

0 commit comments

Comments
 (0)