Skip to content

Commit 05f30ca

Browse files
committed
update version
1 parent c9fae12 commit 05f30ca

6 files changed

Lines changed: 26 additions & 28 deletions

File tree

.zenodo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "Python client for HAPI",
33
"license": "other-open",
44
"title": "hapi-server/client-python:",
5-
"version": "0.3.0",
5+
"version": "0.3.1b0",
66
"upload_type": "software",
77
"publication_date": "2021-10-06",
88
"creators": [

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,5 @@ v0.3.0:
129129
2026-06-22 -- Fix logging broken by refactor. https://github.com/hapi-server/client-python/pull/96
130130
2026-06-22 -- Fix so test/test_logging.py passes (issue with using tox)
131131
2026-07-08 -- 94-cache-files-can-be-corrupted-by-interrupted-writes
132+
v0.3.1b0:
133+

Makefile

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,28 @@
88
# Beta releases:
99
# 1. tox
1010
# 2. make repository-test-all # (To be deprecated)
11-
# 2. For non-doc/formatting changes, update version in CHANGES.txt.
11+
# 2. For non-doc/formatting changes, update bX in version in CHANGES.txt.
1212
# 3. run `make version-update` if version changed in CHANGES.txt.
1313
# 4. Commit and push
1414
#
15-
# Making a local package:
16-
# 1. Update CHANGES.txt to have a new version line
17-
# 2. make package
18-
# 3. make package-test-all
19-
#
20-
# Upload package to pypi.org
15+
# Tag the repo, create a GitHub release, and upload package to pypi.org
2116
# 0. Remove the "b" in the version in CHANGES.txt
2217
# 1. make release
23-
# 2. Manually create a release at https://github.com/hapi-server/client-python/releases
24-
# (could do this automatically using https://stackoverflow.com/questions/21214562/how-to-release-versions-on-github-through-the-command-line)
25-
# To test and then add to make release target:
26-
# gh release create v0.3.0 --target master --notes "Release 0.3.0" --title "Release 0.3.0"
27-
# 3. Wait ~5 minutes and execute make release-test-all
18+
# 2. Wait ~5 minutes and execute make pypi-release-test-all
2819
# (Will fail until new version is available at pypi.org for pip install.
2920
# Sometimes takes ~5 minutes even though web page is immediately
3021
# updated.)
31-
# 4. After package is finalized, create new version number in CHANGES.txt ending
32-
# with "b0" in setup.py and then run
22+
# 3. After package is finalized, create new version number in CHANGES.txt ending
23+
# with b0 and then:
3324
# make version-update
3425
# git commit -a -m "Update version for next release"
3526
# This will update the version information in the repository to indicate it
3627
# is now in a pre-release state.
37-
# Notes:
38-
# * make repository-test tests with Anaconda virtual environment
39-
# make package-test and release-test tests with native Python virtual
40-
# environment.
28+
#
29+
# Making and testing a local package:
30+
# 1. Update CHANGES.txt to have a new version line
31+
# 2. make package
32+
# 3. make package-test-all
4133

4234
URL=https://upload.pypi.org/
4335
REP=pypi
@@ -51,7 +43,7 @@ PYTHONVERS=python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 pyth
5143

5244
# VERSION is updated in "make version-update" step and derived
5345
# from CHANGES.txt. Do not edit.
54-
VERSION=0.3.0
46+
VERSION=0.3.1b0
5547
SHELL:= /bin/bash
5648

5749
LONG_TESTS=false
@@ -216,20 +208,24 @@ package-venv-test:
216208
release:
217209
make package
218210
make version-tag
219-
make release-upload
211+
make gh-release
212+
make pypi-release
213+
214+
gh-release:
215+
gh release create $(VERSION) --target master --notes "Release $(VERSION)" --title "Release $(VERSION)"
220216

221-
release-upload:
217+
pypi-release:
222218
pip install twine
223219
twine upload \
224220
-r $(REP) dist/hapiclient-$(VERSION).tar.gz -u __token__ \
225221
&& echo Uploaded to $(subst upload.,,$(URL))/project/hapiclient/
226222

227-
release-test-all:
223+
pypi-release-test-all:
228224
@ for version in $(PYTHONVERS) ; do \
229-
make release-test PYTHON=$$version ; \
225+
make pypi-release-test PYTHON=$$version ; \
230226
done
231227

232-
release-test:
228+
pypi-release-test:
233229
make env-$(PYTHON)
234230
make release-venv-test PYTHON=$(PYTHON)
235231

hapiclient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Allow "from hapiclient import HAPIError"
1414
from hapiclient.util import HAPIError
1515

16-
__version__ = '0.3.0'
16+
__version__ = '0.3.1b0'
1717

1818
import sys
1919
import platform

hapiclient/hapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def hapiopts():
4545
def hapi(*args, **kwargs):
4646
"""Request data from a HAPI server.
4747
48-
Version: 0.3.0
48+
Version: 0.3.1b0
4949
5050
5151
Examples

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# version is modified by misc/version.py (executed from Makefile). Do not edit.
3333
setup(
3434
name='hapiclient',
35-
version='0.3.0',
35+
version='0.3.1b0',
3636
author='Bob Weigel',
3737
author_email='rweigel@gmu.edu',
3838
packages=find_packages(),

0 commit comments

Comments
 (0)