Skip to content

Commit 866a57b

Browse files
committed
Last 0.2.8 commit
1 parent 6a40ab4 commit 866a57b

7 files changed

Lines changed: 17 additions & 8 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.2.8b2",
5+
"version": "0.2.8",
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
@@ -118,3 +118,5 @@ v0.2.8b1:
118118
2026-05-19 -- Better response error messages
119119
v0.2.8b2:
120120
2026-05-20 -- Refactor
121+
v0.2.8:
122+
2026-06-04 -- Compat. fixes for hapiplot package.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ PYTHONVERS=python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 pyth
5050

5151
# VERSION is updated in "make version-update" step and derived
5252
# from CHANGES.txt. Do not edit.
53-
VERSION=0.2.8b2
53+
VERSION=0.2.8
5454
SHELL:= /bin/bash
5555

5656
LONG_TESTS=false

hapiclient/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Allow "from hapiclient import hapi"
22
from hapiclient.hapi import hapi
33

4+
# Allow "from hapiclient import request2path"
5+
from hapiclient.hapi import request2path
6+
47
# Allow "from hapiclient import hapitime2datetime"
58
from hapiclient.hapitime import hapitime2datetime
69

@@ -10,7 +13,7 @@
1013
# Allow "from hapiclient import HAPIError"
1114
from hapiclient.util import HAPIError
1215

13-
__version__ = '0.2.8b2'
16+
__version__ = '0.2.8'
1417

1518
import sys
1619
import platform

hapiclient/hapi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
from hapiclient.info import info
77
from hapiclient.data import data
88

9+
# Backward compatibility: older code imports request2path from hapiclient.hapi
10+
from hapiclient.cache import request2path
11+
912

1013

1114
def hapiopts():
@@ -42,7 +45,7 @@ def hapiopts():
4245
def hapi(*args, **kwargs):
4346
"""Request data from a HAPI server.
4447
45-
Version: 0.2.8b2
48+
Version: 0.2.8
4649
4750
4851
Examples

hapiclient/log.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ def configure_logging(opts):
4040
setattr(_logger, _INTERNAL_LEVEL_ATTR, _logging.WARNING)
4141

4242

43-
def log(msg):
44-
"""Log message using the 'hapiclient' logger."""
43+
def log(msg, opts=None):
44+
"""Log message using the 'hapiclient' logger.
45+
"""
4546

47+
# opts is not used but kept for backward compatibility
4648
import sys
4749

4850
pre = sys._getframe(1).f_code.co_name + '(): '
49-
5051
_logger.info("hapiclient." + pre + msg)

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.8b2',
35+
version='0.2.8',
3636
author='Bob Weigel',
3737
author_email='rweigel@gmu.edu',
3838
packages=find_packages(),

0 commit comments

Comments
 (0)