Skip to content

Commit

Permalink
Getting ready for 0.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Aug 19, 2023
1 parent ffcbe36 commit c550c53
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
1 change: 1 addition & 0 deletions .mailmap
@@ -0,0 +1 @@
Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
10 changes: 10 additions & 0 deletions Changelog
Expand Up @@ -4,6 +4,16 @@ nb2plots Changelog

MB below is short for Matthew Brett.

*****
0.7.0
*****

Maintenance release.

* Updates for Tox actions for CI testing (Lumír Balhar).
* Drop Python 2.7 and 3.7
* Update to work with Sphinx 7

*****
0.6.1
*****
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Expand Up @@ -10,7 +10,7 @@ nb2plots
The nb2plots package, including all examples, code snippets and attached
documentation is covered by the 2-clause BSD license.

Copyright (c) 2015-2018, Matthew Brett
Copyright (c) 2015-2023, Matthew Brett
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Expand Up @@ -58,7 +58,7 @@

# General information about the project.
project = 'nb2plots'
copyright = '2016-2018, Matthew Brett'
copyright = '2016-2023, Matthew Brett'
author = 'Matthew Brett'

# The version info for the project you're documenting, acts as replacement for
Expand Down
19 changes: 8 additions & 11 deletions doc/devel/make_release.rst
Expand Up @@ -9,11 +9,11 @@ Releasing nb2plots
* Review and update the release notes. Review and update the :file:`Changelog`
file. Get a partial list of contributors with something like::

git log 0.2.0.. | grep '^Author' | cut -d' ' -f 2- | sort | uniq
git log 0.7.0.. | grep '^Author' | cut -d' ' -f 2- | sort | uniq

where ``0.2.0`` was the last release tag name.
where ``0.7.0`` was the last release tag name.

Then manually go over ``git shortlog 0.2.0..`` to make sure the release notes
Then manually go over ``git shortlog 0.7.0..`` to make sure the release notes
are as complete as possible and that every contributor was recognized.

* Use the opportunity to update the ``.mailmap`` file if there are any
Expand All @@ -33,19 +33,16 @@ Releasing nb2plots
PyPi. See `setuptools intro`_. Make sure you have a file
``\$HOME/.pypirc``, of form::

[distutils]
index-servers =
pypi

[pypi]
repository: https://upload.pypi.io/legacy/
username:your.pypi.username
password:your-password
username = __token__

This will in due course ask you for your PyPI token, for upload.

* Tag the release. This will also set the version (we are using versioneer_
to manage versions via git tags)::

git tag -s 0.3
git tag -s 0.7

* Clean::

Expand All @@ -59,7 +56,7 @@ Releasing nb2plots

python setup.py sdist --formats=zip
# -s flag to sign the release
twine upload -r warehouse -s dist/nb2plots*zip
twine upload -s dist/nb2plots*zip

* Upload the release commit and tag to github::

Expand Down

0 comments on commit c550c53

Please sign in to comment.