Skip to content

Commit aa5707a

Browse files
authored
Merge branch 'ipython:main' into _workflow_test
2 parents 6d94a45 + d660e14 commit aa5707a

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ jobs:
4848
if: ${{ matrix.python-version == '3.14' }}
4949
run: flake8 matplotlib_inline --ignore=E501,W504,W503
5050

51+
- name: Test Build
52+
if: ${{ matrix.python-version == '3.14' }}
53+
run: |
54+
pip install build
55+
python -m build
56+
5157
- name: Install ruff
5258
if: ${{ matrix.python-version == '3.14' }}
53-
run: pip install ruff
59+
run: pip install ruff
5460

5561
- name: Check code with ruff
5662
if: ${{ matrix.python-version == '3.14' }}

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install build
29-
- name: Install built wheel
30-
run: pip install dist/*
28+
pip install build matplotlib
3129
- name: Build package
3230
run: python -m build
31+
- name: Install built wheel
32+
run: pip install dist/*.whl
3333
- name: Echo current tag
3434
run: echo ${{ github.ref }}
3535
- name: Get package version
@@ -43,6 +43,6 @@ jobs:
4343
echo "Tag and package version do not match. Aborting."
4444
exit 1
4545
fi
46-
# - name: Publish package
47-
# uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc
46+
- name: Publish package
47+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
4848

matplotlib_inline/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from . import backend_inline, config # noqa
22

3-
__version__ = "0.2.0"
3+
__version__ = "0.2.1"
44

55
# we can't ''.join(...) otherwise finding the version number at build time requires
66
# import which introduces IPython and matplotlib at build time, and thus circular

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers = [
1717
"Framework :: Jupyter",
1818
"Intended Audience :: Developers",
1919
"Intended Audience :: Science/Research",
20-
"License-Expression: BSD-3-Clause",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
@@ -27,7 +26,7 @@ classifiers = [
2726
"Programming Language :: Python",
2827
"Topic :: Multimedia :: Graphics",
2928
]
30-
dependencies = ["traitlets"]
29+
dependencies = ["traitlets", "matplotlib"]
3130
dynamic = ["version"]
3231
keywords = [
3332
"ipython",
@@ -45,7 +44,6 @@ inline = "matplotlib_inline.backend_inline"
4544
[project.optional-dependencies]
4645
test = [
4746
"flake8",
48-
"matplotlib",
4947
"nbdime",
5048
"nbval",
5149
"notebook",

0 commit comments

Comments
 (0)