File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed 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 IPython
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
4040 - name : Check tag and package version match
4141 run : |
4242 if [ "$GITHUB_REF" != "refs/tags/$PACKAGE_VERSION" ]; then
43- echo "Tag and package version do not match. Aborting."
43+ echo "Tag and package version do not match. Aborting. $GITHUB_REF vs refs/tags/$PACKAGE_VERSION "
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 @@ -21,11 +21,16 @@ classifiers = [
2121 " Programming Language :: Python :: 3.11" ,
2222 " Programming Language :: Python :: 3.12" ,
2323 " Programming Language :: Python :: 3.13" ,
24+ " Programming Language :: Python :: 3.14" ,
2425 " Programming Language :: Python :: 3.9" ,
2526 " Programming Language :: Python :: 3" ,
2627 " Programming Language :: Python" ,
2728 " Topic :: Multimedia :: Graphics" ,
2829]
30+
31+ # do not rely on matplotlib/IPython, as we want matplotlib-inline to be _installable_ without pulling the other
32+ # dependencies
33+
2934dependencies = [" traitlets" ]
3035dynamic = [" version" ]
3136keywords = [
@@ -44,7 +49,6 @@ inline = "matplotlib_inline.backend_inline"
4449[project .optional-dependencies ]
4550test = [
4651 " flake8" ,
47- " matplotlib" ,
4852 " nbdime" ,
4953 " nbval" ,
5054 " notebook" ,
You can’t perform that action at this time.
0 commit comments