Skip to content

Commit

Permalink
Merge branch 'master' into improve_namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Peter committed Sep 3, 2024
2 parents 53b9706 + 1d7201c commit 6796a55
Show file tree
Hide file tree
Showing 18 changed files with 511 additions and 121 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/linux-pip-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
linux:
name: Py${{ matrix.PYTHON_VERSION }}
name: Linux (pip) - Py${{ matrix.PYTHON_VERSION }}
runs-on: ubuntu-latest
env:
CI: True
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install System Packages
run: |
sudo apt-get update
sudo apt-get install libegl1-mesa
sudo apt-get install libegl1-mesa libopengl0
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -51,6 +51,9 @@ jobs:
run: |
conda info
conda list
# - name: Setup Remote SSH Connection
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 60
- name: Run tests
shell: bash -l {0}
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
linux:
name: Py${{ matrix.PYTHON_VERSION }}
name: Linux - Py${{ matrix.PYTHON_VERSION }}
runs-on: ubuntu-latest
env:
CI: True
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install System Packages
run: |
sudo apt-get update
sudo apt-get install libegl1-mesa
sudo apt-get install libegl1-mesa libopengl0
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
with:
Expand All @@ -59,6 +59,9 @@ jobs:
run: |
conda info
conda list
# - name: Setup Remote SSH Connection
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 60
- name: Run tests
shell: bash -l {0}
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
macos:
name: Py${{ matrix.PYTHON_VERSION }}
name: macOS - Py${{ matrix.PYTHON_VERSION }}
runs-on: macos-latest
env:
CI: True
Expand Down Expand Up @@ -55,6 +55,9 @@ jobs:
run: |
conda info
conda list
# - name: Setup Remote SSH Connection
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 60
- name: Run tests
shell: bash -l {0}
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
windows:
name: Py${{ matrix.PYTHON_VERSION }}
name: Windows - Py${{ matrix.PYTHON_VERSION }}
runs-on: windows-latest
env:
CI: True
Expand Down Expand Up @@ -55,6 +55,9 @@ jobs:
run: |
conda info
conda list
# - name: Setup Remote SSH Connection
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 60
- name: Run tests
shell: bash -l {0}
run: |
Expand Down
77 changes: 75 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# History of changes

## Version 3.0.0 (2024-08-29)

### New features

* Speed up debugger execution.
* Notify Spyder when Matplotlib backend changes.
* Use control channel for comms instead of a special one.
* Update variable explorer from the kernel.
* Simplify kernel configuration from Spyder.
* Add a `comm_handler` decorator.
* Transform `runfile`, `debugfile` and `runcell` commands to IPython magics.
* Add comm handlers to interrupt executions and enter the debugger after that.
* Publish Pdb stack frames to Spyder.
* Drop support for Python 2 and support Python 3.8+

### Pull Requests Merged

* [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)
* [PR 498](https://github.com/spyder-ide/spyder-kernels/pull/498) - PR: Remove `TMPDIR` env var after initialization, by [@ccordoba12](https://github.com/ccordoba12)

In this release 2 pull requests were closed.

----

## Version 3.0.0b9 (2024-08-21)

### Pull Requests Merged

* [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)

In this release 1 pull request was closed.

----

## Version 3.0.0b8 (2024-08-08)

### Pull Requests Merged

* [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)

In this release 1 pull request was closed.

----

## Version 3.0.0b7 (2024-06-18)

### Issues Closed

* [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))
* [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))

In this release 2 issues were closed.

### Pull Requests Merged

* [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))
* [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))
* [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)

In this release 3 pull requests were closed.

----

## Version 3.0.0b6 (2024-05-15)

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

In this release 6 pull requests were closed.


----


## Version 3.0.0b1 (2023-06-14)

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

----

## Version 2.5.2 (2024-06-11)

### Pull Requests Merged

* [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)

In this release 1 pull request was closed.

----

## Version 2.5.1 (2024-02-28)

### Pull Requests Merged

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

In this release 1 pull request was closed.

----

## Version 2.5.0 (2023-11-06)
Expand Down
10 changes: 5 additions & 5 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ To release a new version of spyder-kernels on PyPI:

* Close the respective milestone on Github

* git checkout 2.x
* git checkout 3.x

* git fetch upstream && get merge upstream/2.x
* git fetch upstream && get merge upstream/3.x

* git clean -xfdi

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

* python setup.py bdist_wheel

* twine check dist/*
* twine check --strict dist/*

* twine upload dist/*

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

* git checkout master

* git merge 2.x
* git merge 3.x

* git push upstream master

* git push upstream 2.x
* git push upstream 3.x

* git push upstream --tags
1 change: 1 addition & 0 deletions requirements/posix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ jupyter_client>=7.4.9,<9
pyzmq>=24.0.0
wurlitzer>=1.0.3
pyxdg>=0.26
setuptools<71.0
1 change: 1 addition & 0 deletions requirements/windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ ipykernel>=6.29.3,<7
ipython>=8.12.2,<9
jupyter_client>=7.4.9,<9
pyzmq>=24.0.0
setuptools<71.0
2 changes: 1 addition & 1 deletion spyder_kernels/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

"""Version File."""

VERSION_INFO = (3, 0, 0, 'dev0')
VERSION_INFO = (4, 0, 0, 'dev0')
__version__ = '.'.join(map(str, VERSION_INFO))
5 changes: 4 additions & 1 deletion spyder_kernels/comms/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def is_benign_message(self, message):
"Warning: Cannot change to a different GUI toolkit",
"%pylab is deprecated",
"Populating the interactive namespace",
"\n"
"\n",
# Fixes spyder-ide/spyder#21652
"WARNING",
"Active device does not have an attribute",
]

return any([msg in message for msg in benign_messages])
Expand Down
Loading

0 comments on commit 6796a55

Please sign in to comment.