Skip to content

Commit 8161460

Browse files
committed
Last 0.1.9b3 commit
1 parent 5b64867 commit 8161460

File tree

6 files changed

+54
-52
lines changed

6 files changed

+54
-52
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,6 @@ v0.1.9b1:
7474
2020-01-20 -- d3625e3 Fix for wrong error message (#24)
7575
v0.1.9b2:
7676
2020-05-25 -- 23b659c Simplify dtype/length code
77+
v0.1.9b3:
78+
2020-05-25 --
7779

Makefile

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PYTHONVERS=python3.8 python3.7 python3.6 python3.5 python2.7
4848

4949
# VERSION is updated in "make version-update" step and derived
5050
# from CHANGES.txt. Do not edit.
51-
VERSION=0.1.9b2
51+
VERSION=0.1.9b3
5252
SHELL:= /bin/bash
5353

5454
LONG_TESTS=false
@@ -128,6 +128,22 @@ $(CONDA)/envs/$(PYTHON): ./anaconda3
128128
curl https://repo.anaconda.com/miniconda/$(CONDA_PKG) > /tmp/$(CONDA_PKG)
129129
################################################################################
130130

131+
################################################################################
132+
venv-test:
133+
cp hapi_demo.py /tmp # TODO: Explain why needed.
134+
cp hapi_demo.py /tmp
135+
source env-$(PYTHON)/bin/activate && \
136+
pip install pytest deepdiff ipython && \
137+
pip uninstall -y hapiplot && \
138+
pip install --pre hapiplot && \
139+
pip uninstall -y hapiclient && \
140+
pip install --pre '$(PACKAGE)' \
141+
--index-url $(URL)/simple \
142+
--extra-index-url https://pypi.org/simple && \
143+
env-$(PYTHON)/bin/pytest -v -m 'short' hapiclient/test/test_hapi.py
144+
env-$(PYTHON)/bin/ipython /tmp/hapi_demo.py
145+
################################################################################
146+
131147
################################################################################
132148
# Packaging
133149
package:
@@ -148,15 +164,7 @@ env-$(PYTHON):
148164
package-test:
149165
make package
150166
make env-$(PYTHON)
151-
cp hapi_demo.py /tmp
152-
source env-$(PYTHON)/bin/activate && \
153-
pip install pytest && \
154-
pip install deepdiff && \
155-
pip uninstall -y hapiclient && \
156-
pip install dist/hapiclient-$(VERSION).tar.gz \
157-
--index-url $(URL)/simple \
158-
--extra-index-url https://pypi.org/simple && \
159-
env-$(PYTHON)/bin/pytest -v -m 'short' hapiclient/test/test_hapi.py
167+
make venv-test PACKAGE='dist/hapiclient-$(VERSION).tar.gz'
160168
################################################################################
161169

162170
################################################################################
@@ -181,15 +189,7 @@ release-test-all:
181189
release-test:
182190
rm -rf env
183191
source activate $(PYTHON); pip install virtualenv; $(PYTHON) -m virtualenv env
184-
cp hapi_demo.py /tmp
185-
source env/bin/activate && \
186-
pip install pytest && \
187-
pip install deepdiff && \
188-
pip install 'hapiclient==$(VERSION)' \
189-
--index-url $(URL)/simple \
190-
--extra-index-url https://pypi.org/simple && \
191-
env/bin/pytest -v hapiclient/test/test_hapi.py && \
192-
env/bin/python /tmp/hapi_demo.py
192+
make venv-test PACKAGE='dist/hapiclient-$(VERSION).tar.gz'
193193
################################################################################
194194

195195
################################################################################

hapiclient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
# Allow "from hapiclient import HAPIError"
88
from hapiclient.util import HAPIError
99

10-
__version__ = '0.1.9b2'
10+
__version__ = '0.1.9b3'

hapiclient/hapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def hapiopts():
144144
def hapi(*args, **kwargs):
145145
"""Request data from a HAPI server.
146146
147-
Version: 0.1.9b2
147+
Version: 0.1.9b3
148148
149149
150150
Examples

hapiclient/test/readcompare.log

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,58 @@ Parameter(s) = scalar; run = short. cache = False; usecache = False
33
___________________________________________________________
44
Method total d/l->buff parse buff
55
___________________________________________________________
6-
csv; numpy; no len. 0.2200 0.1984 0.0003
7-
csv; pandas; no len. 0.2166 0.1931 0.0021
8-
csv; numpy 0.2104 0.1892 0.0002
9-
csv; pandas 0.2242 0.2013 0.0015
10-
binary 0.2038 0.1591 0.0000
6+
csv; numpy; no len. 0.2053 0.1830 0.0003
7+
csv; pandas; no len. 0.2085 0.1850 0.0021
8+
csv; numpy 0.2111 0.1868 0.0003
9+
csv; pandas 0.2204 0.1948 0.0016
10+
binary 0.2093 0.1659 0.0000
1111

1212
Parameter(s) = scalar,vector; run = short. cache = False; usecache = False
1313
___________________________________________________________
1414
Method total d/l->buff parse buff
1515
___________________________________________________________
16-
csv; numpy; no len. 0.2176 0.1952 0.0004
17-
csv; pandas; no len. 0.4133 0.3865 0.0027
18-
csv; numpy 0.2166 0.1921 0.0002
19-
csv; pandas 0.2177 0.1949 0.0017
20-
binary 0.1857 0.1499 0.0000
16+
csv; numpy; no len. 0.2238 0.2003 0.0007
17+
csv; pandas; no len. 0.2318 0.2049 0.0017
18+
csv; numpy 0.2149 0.1926 0.0002
19+
csv; pandas 0.2284 0.2018 0.0020
20+
binary 0.2165 0.1702 0.0000
2121

2222
Parameter(s) = ; run = short. cache = False; usecache = False
2323
___________________________________________________________
2424
Method total d/l->buff parse buff
2525
___________________________________________________________
26-
csv; numpy; no len. 0.1760 0.1498 0.0042
27-
csv; pandas; no len. 0.1928 0.1570 0.0118
28-
csv; numpy 0.2229 0.1960 0.0018
29-
csv; pandas 0.2369 0.2003 0.0116
30-
binary 0.3107 0.2641 0.0000
26+
csv; numpy; no len. 0.2429 0.2124 0.0056
27+
csv; pandas; no len. 0.2334 0.1999 0.0118
28+
csv; numpy 0.2172 0.1928 0.0018
29+
csv; pandas 0.2203 0.1845 0.0117
30+
binary 0.2046 0.1627 0.0000
3131

3232
Parameter(s) = scalar; run = short. cache = True; usecache = False
3333
_____________________________________________________________
3434
Method total d/l->file read & parse file
3535
_____________________________________________________________
36-
csv; numpy; no len. 0.2337 0.1919 0.0009
37-
csv; pandas; no len. 0.2223 0.1971 0.0016
38-
csv; numpy 0.1955 0.1694 0.0004
39-
csv; pandas 0.1994 0.1732 0.0018
40-
binary 0.2105 0.1651 0.0001
36+
csv; numpy; no len. 0.2297 0.1895 0.0008
37+
csv; pandas; no len. 0.2299 0.2044 0.0017
38+
csv; numpy 0.2295 0.2036 0.0004
39+
csv; pandas 0.2127 0.1839 0.0016
40+
binary 0.2056 0.1616 0.0001
4141

4242
Parameter(s) = scalar,vector; run = short. cache = True; usecache = False
4343
_____________________________________________________________
4444
Method total d/l->file read & parse file
4545
_____________________________________________________________
46-
csv; numpy; no len. 0.2109 0.1879 0.0006
47-
csv; pandas; no len. 0.2068 0.1818 0.0025
48-
csv; numpy 0.2132 0.1904 0.0004
49-
csv; pandas 0.2160 0.1892 0.0019
50-
binary 0.2190 0.1761 0.0002
46+
csv; numpy; no len. 0.2212 0.1962 0.0011
47+
csv; pandas; no len. 0.2251 0.1991 0.0019
48+
csv; numpy 0.2408 0.2164 0.0004
49+
csv; pandas 0.2328 0.2068 0.0018
50+
binary 0.2058 0.1591 0.0002
5151

5252
Parameter(s) = ; run = short. cache = True; usecache = False
5353
_____________________________________________________________
5454
Method total d/l->file read & parse file
5555
_____________________________________________________________
56-
csv; numpy; no len. 0.1994 0.1687 0.0045
57-
csv; pandas; no len. 0.2024 0.1667 0.0124
58-
csv; numpy 0.1830 0.1567 0.0017
59-
csv; pandas 0.2034 0.1662 0.0116
60-
binary 0.2211 0.1770 0.0002
56+
csv; numpy; no len. 0.2237 0.1948 0.0044
57+
csv; pandas; no len. 0.2287 0.1872 0.0132
58+
csv; numpy 0.2111 0.1862 0.0017
59+
csv; pandas 0.2265 0.1898 0.0120
60+
binary 0.2234 0.1792 0.0002

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# version is modified by misc/version.py (executed from Makefile). Do not edit.
3030
setup(
3131
name='hapiclient',
32-
version='0.1.9b2',
32+
version='0.1.9b3',
3333
author='Bob Weigel',
3434
author_email='rweigel@gmu.edu',
3535
packages=find_packages(),

0 commit comments

Comments
 (0)