Skip to content

Commit

Permalink
Version bump 2.1, and release fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Feb 22, 2023
1 parent 16a990c commit 6ae2009
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 1 addition & 5 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ How to do releases

tox

* Check linters::

pre-commit run --all --all-files

* Change docs/history.rst to remove " - unreleased"

* Update the version number (removing the ``-dev1`` part):

* src/parsy/version.py
* src/parsy/__init__.py
* docs/conf.py

* Commit with "Version bump"
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
version = "2.0"
version = "2.1"
# The full version, including alpha/beta/rc tags.
release = "2.0"
release = "2.1"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 2 additions & 1 deletion docs/history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ History and release notes

.. currentmodule:: parsy

2.1 - unreleased
2.1 - 2023-02-22
----------------

* Dropped support for Python 3.7
* Test against Python 3.11
* Added docstrings and basic type hints to all primitives and main methods


Expand Down
3 changes: 3 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

pytest || exit 1
pre-commit run --all --all-files || exit 1

umask 000
rm -rf build dist
git ls-tree --full-tree --name-only -r HEAD | xargs chmod ugo+r
Expand Down
2 changes: 1 addition & 1 deletion src/parsy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from functools import wraps
from typing import Any, Callable, FrozenSet

__version__ = "2.0"
__version__ = "2.1"

noop = lambda x: x

Expand Down

0 comments on commit 6ae2009

Please sign in to comment.