Skip to content

Commit 4287aeb

Browse files
committed
Update version for next release
1 parent 1a372b8 commit 4287aeb

6 files changed

Lines changed: 20 additions & 43 deletions

File tree

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,5 @@ v0.2.7b1:
110110
2026-04-08 -- Improve NaN handling https://github.com/hapi-server/client-python/issues/88
111111
2026-05-02 -- Logging and testing https://github.com/hapi-server/client-python/issues/89
112112
v0.2.7:
113-
2026--05-02-- Support for Python 2.7 dropped. This is last release with support for 3.5 through 3.8.
113+
2026-05-02 -- Support for Python 2.7 dropped. This is last release with support for 3.5 through 3.8.
114+
v0.2.8b0:

Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,23 @@
2020
# Upload package to pypi.org
2121
# 0. Remove the "b" in the version in CHANGES.txt
2222
# 1. make release
23-
# 2. Wait ~5 minutes and execute
24-
# 3. make release-test-all
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+
# 3. Wait ~5 minutes and execute
26+
# 4. make release-test-all
2527
# (Will fail until new version is available at pypi.org for pip install.
2628
# Sometimes takes ~5 minutes even though web page is immediately
2729
# updated.)
28-
# 4. After package is finalized, create new version number in CHANGES.txt ending
30+
# 5. After package is finalized, create new version number in CHANGES.txt ending
2931
# with "b0" in setup.py and then run
3032
# make version-update
3133
# git commit -a -m "Update version for next release"
3234
# This will update the version information in the repository to indicate it
3335
# is now in a pre-release state.
34-
# 5. Manually create a release at https://github.com/hapi-server/client-python/releases
35-
# (could do this automatically using https://stackoverflow.com/questions/21214562/how-to-release-versions-on-github-through-the-command-line)
3636
# Notes:
3737
# 1. make repository-test tests with Anaconda virtual environment
3838
# make package-test and release-test tests with native Python virtual
3939
# environment.
40-
# 2. Switch to using tox and conda-tox
41-
# 3. 'pip install --editable . does not install develop dependencies, so
42-
# 'python setup.py develop' is used. Won't need figure out when 2. is finished.
4340

4441
URL=https://upload.pypi.org/
4542
REP=pypi
@@ -53,7 +50,7 @@ PYTHONVERS=python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 pyth
5350

5451
# VERSION is updated in "make version-update" step and derived
5552
# from CHANGES.txt. Do not edit.
56-
VERSION=0.2.7
53+
VERSION=0.2.8b0
5754
SHELL:= /bin/bash
5855

5956
LONG_TESTS=false

hapi_demo.py

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# from command line.
44

55
# Note:
6-
# In IPython, enter
6+
# In IPython, enter
77
# %matplotlib qt
88
# on command line to open plots in new window. Enter
99
# %matplotlib inline
@@ -14,7 +14,7 @@
1414

1515
def main(plot):
1616

17-
demos = [omniweb, sscweb, cdaweb, cassini, lisird]
17+
demos = [omniweb, sscweb, cdaweb, lisird]
1818
#demos = [testdata]
1919

2020
for demo in demos:
@@ -41,6 +41,7 @@ def testdata(plot):
4141
# Plot all parameters
4242
hapiplot(data, meta)
4343

44+
4445
def omniweb(plot):
4546

4647
from hapiclient import hapi
@@ -87,7 +88,7 @@ def cdaweb(plot):
8788
start = '2001-01-01T05:00:00'
8889
stop = '2001-01-01T10:00:00'
8990
parameters = 'Magnitude,BGSEc'
90-
opts = {'logging': True, 'usecache': True}
91+
opts = {'logging': True, 'usecache': True}
9192
data, meta = hapi(server, dataset, parameters, start, stop, **opts)
9293
hapiplot(data, meta, **opts)
9394

@@ -110,39 +111,17 @@ def cdaweb(plot):
110111
print(' %d. %s' % (len(meta['catalog']), meta['catalog'][-1]['id']))
111112
print('')
112113

113-
# List all servers
114-
servers = hapi(logging=True) # servers is an array of URLs
115-
print('')
116-
117-
118-
def cassini(plot):
119-
120-
from hapiclient import hapi
121-
from hapiplot import hapiplot
122-
123-
server = 'http://datashop.elasticbeanstalk.com/hapi';
124-
dataset = 'CHEMS_PHA_BOX_FLUXES_FULL_TIME_RES';
125-
parameters = 'HPlus_BEST_T1';
126-
start = '2004-07-01T04:00:00Z';
127-
stop = '2004-07-01T06:00:00Z';
128-
opts = {'usecache': True, 'logging': True}
129-
130-
data, meta = hapi(server, dataset, parameters, start, stop, **opts)
131-
132-
popts = {'logging': False, 'logy': True, 'logz': True}
133-
hapiplot(data, meta, **popts)
134-
135114

136115
def lisird(plot):
137116

138117
from hapiclient import hapi
139118
from hapiplot import hapiplot
140119

141-
server = 'http://lasp.colorado.edu/lisird/hapi';
142-
dataset = 'sme_ssi';
143-
parameters = 'irradiance';
144-
start = '1981-10-09T00:00:00.000Z';
145-
stop = '1981-10-14T00:00:00.000Z';
120+
server = 'http://lasp.colorado.edu/lisird/hapi'
121+
dataset = 'sme_ssi'
122+
parameters = 'irradiance'
123+
start = '1981-10-09T00:00:00.000Z'
124+
stop = '1981-10-14T00:00:00.000Z'
146125

147126
opts = {'usecache': True, 'logging': True}
148127
data, meta = hapi(server, dataset, parameters, start, stop, **opts)

hapiclient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Allow "from hapiclient import HAPIError"
1111
from hapiclient.util import HAPIError
1212

13-
__version__ = '0.2.7'
13+
__version__ = '0.2.8b0'
1414

1515
import sys
1616
import platform

hapiclient/hapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def hapiopts():
177177
def hapi(*args, **kwargs):
178178
"""Request data from a HAPI server.
179179
180-
Version: 0.2.7
180+
Version: 0.2.8b0
181181
182182
183183
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.2.7',
35+
version='0.2.8b0',
3636
author='Bob Weigel',
3737
author_email='rweigel@gmu.edu',
3838
packages=find_packages(),

0 commit comments

Comments
 (0)