File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed
Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 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' }}
Original file line number Diff line number Diff 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
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
Original file line number Diff line number Diff line change 11from . 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
Original file line number Diff line number Diff 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 " ]
3130dynamic = [" version" ]
3231keywords = [
3332 " ipython" ,
@@ -45,7 +44,6 @@ inline = "matplotlib_inline.backend_inline"
4544[project .optional-dependencies ]
4645test = [
4746 " flake8" ,
48- " matplotlib" ,
4947 " nbdime" ,
5048 " nbval" ,
5149 " notebook" ,
You can’t perform that action at this time.
0 commit comments