Skip to content

Commit cc826d6

Browse files
committed
prepare v3.1.1 release
1 parent b839af4 commit cc826d6

5 files changed

Lines changed: 18 additions & 7 deletions

File tree

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
PYTHON ?= python3.8
1+
PYTHON ?= python3.11
22
REMOTE = git@github.com:Mic92/python-mpd2
33
VERSION = $(shell $(PYTHON) -c "import mpd; print('.'.join(map(str,mpd.VERSION)))")
44

55
test:
6-
$(PYTHON) setup.py test
6+
tox
77
release: test
8-
git tag "v$(VERSION)"
9-
git push --tags git@github.com:Mic92/python-mpd2 master
8+
test "$(git symbolic-ref --short HEAD)" = "master" || (echo "not on master branch"; exit 1)
9+
git pull --rebase origin master
1010
$(PYTHON) setup.py sdist bdist_wheel
11+
$(PYTHON) -m twine check dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py2.py3-none-any.whl
12+
git tag "v$(VERSION)"
13+
git push --tags git@github.com:Mic92/python-mpd2 "v$(VERSION)"
1114
$(PYTHON) -m twine upload dist/python-mpd2-$(VERSION).tar.gz dist/python_mpd2-$(VERSION)-py2.py3-none-any.whl
1215
clean:
1316
$(PYTHON) setup.py clean

doc/changes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
python-mpd2 Changes List
22
========================
33

4+
Changes in v3.1.1
5+
-----------------
6+
7+
* Propagate exception to all pending commands by @2franix in https://github.com/Mic92/python-mpd2/pull/221
8+
* Fix test for python 3.12 by @Mic92 in https://github.com/Mic92/python-mpd2/pull/222
9+
10+
411
Changes in v3.1.0
512
-----------------
613

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
bashInteractive
1616
python38
1717
python39
18-
(python310.withPackages(ps: [ps.setuptools ps.tox ps.wheel]))
19-
python311
18+
python310
19+
(python311.withPackages(ps: [ps.setuptools ps.tox ps.wheel]))
2020
python312
2121
pypy3
2222
twine

mpd/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from enum import Enum
2727

2828

29-
VERSION = (3, 1, 0)
29+
VERSION = (3, 1, 1)
3030
HELLO_PREFIX = "OK MPD "
3131
ERROR_PREFIX = "ACK "
3232
ERROR_PATTERN = re.compile(r"\[(?P<errno>\d+)@(?P<offset>\d+)\]\s+{(?P<command>\w+)}\s+(?P<msg>.*)")

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def read(fname):
6969
python_requires='>=3.6',
7070
description="A Python MPD client library",
7171
long_description=read('README.rst'),
72+
long_description_content_type='text/x-rst',
7273
classifiers=CLASSIFIERS,
7374
author="Joerg Thalheim",
7475
author_email="joerg@thalheim.io",

0 commit comments

Comments
 (0)