Skip to content

Commit de7f474

Browse files
authored
Prepare PyNWB 2.3.2 (#1672)
1 parent d4e946d commit de7f474

File tree

6 files changed

+22
-19
lines changed

6 files changed

+22
-19
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyNWB Changelog
22

3-
## PyNWB 2.3.2 (Upcoming)
3+
## PyNWB 2.3.2 (April 10, 2023)
44

55
### Enhancements and minor changes
66
- Fixed typos and added codespell GitHub action to check spelling in the future. @yarikoptic [#1648](https://github.com/NeurodataWithoutBorders/pynwb/pull/1648)
@@ -10,10 +10,13 @@
1010
- Add tutorial for optogenetics. @bendichter [#1657](https://github.com/NeurodataWithoutBorders/pynwb/pull/1657)
1111
- Update testing of gallery examples and disable testing of the allensdk tutorial.
1212
[#1680](https://github.com/NeurodataWithoutBorders/pynwb/pull/1680)
13+
- Updated tutorials to follow best practices. @bendichter [#1656](https://github.com/NeurodataWithoutBorders/pynwb/pull/1656)
1314

1415
### Bug fixes
16+
- Fixed bug when initializing ``OnePhotonSeries`` with no value for ``binning``. @bendichter [#1660](https://github.com/NeurodataWithoutBorders/pynwb/pull/1660)
1517
- Fixed bug in ``NWBHDF5IO.nwb_version`` property to support files written by third-party software with a fixed-length ``nwb_version`` attribute. @oruebel [#1669](https://github.com/NeurodataWithoutBorders/pynwb/pull/1669)
1618
- Fixed search bar and missing jquery in ReadTheDocs documentation. @rly [#1671](https://github.com/NeurodataWithoutBorders/pynwb/pull/1671)
19+
- Requires [HDMF 3.5.4](https://github.com/hdmf-dev/hdmf/releases/tag/3.5.4) which includes bug fixes. @rly [#1672](https://github.com/NeurodataWithoutBorders/pynwb/pull/1672)
1720
- Fixed issue with deprecated pkg_resources. @rly [#1678](https://github.com/NeurodataWithoutBorders/pynwb/pull/1678)
1821

1922
## PyNWB 2.3.1 (February 24, 2023)

docs/gallery/general/add_remove_containers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
# create a TimeSeries and add it to the file under the acquisition group
4848
data = list(range(100, 200, 10))
49-
timestamps = np.arange(10, dtype=np.float)
49+
timestamps = np.arange(10, dtype=float)
5050
test_ts = TimeSeries(
5151
name="test_timeseries", data=data, unit="m", timestamps=timestamps
5252
)
@@ -112,7 +112,7 @@
112112
session_start_time=datetime.datetime.now(datetime.timezone.utc),
113113
)
114114
data1 = list(range(100, 200, 10))
115-
timestamps1 = np.arange(10, dtype=np.float)
115+
timestamps1 = np.arange(10, dtype=float)
116116
test_ts1 = TimeSeries(
117117
name="test_timeseries1", data=data1, unit="m", timestamps=timestamps1
118118
)
@@ -123,7 +123,7 @@
123123
name="behavior", description="processed behavioral data"
124124
)
125125
data2 = list(range(100, 200, 10))
126-
timestamps2 = np.arange(10, dtype=np.float)
126+
timestamps2 = np.arange(10, dtype=float)
127127
test_ts2 = TimeSeries(
128128
name="test_timeseries2", data=data2, unit="m", timestamps=timestamps2
129129
)
@@ -141,7 +141,7 @@
141141

142142
# add a new TimeSeries to the behavior processing module
143143
data3 = list(range(100, 200, 10))
144-
timestamps3 = np.arange(10, dtype=np.float)
144+
timestamps3 = np.arange(10, dtype=float)
145145
test_ts3 = TimeSeries(
146146
name="test_timeseries3", data=data3, unit="m", timestamps=timestamps3
147147
)

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ codecov==2.1.12
77
codespell==2.2.4
88
coverage==7.2.2
99
flake8==6.0.0; python_version >= "3.8"
10-
flake8==5.0.4; python_version == "3.8"
10+
flake8==5.0.4; python_version < "3.8"
1111
flake8-debugger==4.1.2
1212
flake8-print==5.0.0
1313
isort==5.12.0; python_version >= "3.8"
14-
isort==5.11.5; python_version == "3.8"
14+
isort==5.11.5; python_version < "3.8"
1515
pytest==7.1.2
1616
pytest-cov==4.0.0
1717
tox==4.4.8; python_version >= "3.8"
18-
tox==3.28.0; python_version == "3.8"
18+
tox==3.28.0; python_version < "3.8"

requirements-min.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# minimum versions of package dependencies for installing PyNWB
22
h5py==2.10 # support for selection of datasets with list of indices added in 2.10
3-
hdmf==3.5.1
3+
hdmf==3.5.4
44
numpy==1.16
55
pandas==1.1.5
66
python-dateutil==2.7.3

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# pinned dependencies to reproduce an entire development environment to use PyNWB
22
h5py==3.7.0
3-
hdmf==3.5.1
4-
numpy==1.23.3;python_version>='3.8'
5-
numpy==1.21.5;python_version<'3.8' # note that numpy 1.22 dropped python 3.7 support
6-
pandas==1.5.0;python_version>='3.8'
7-
pandas==1.3.5;python_version<'3.8' # note that pandas 1.4 dropped python 3.7 support
3+
hdmf==3.5.4
4+
numpy==1.23.3; python_version >= "3.8"
5+
numpy==1.21.5; python_version < "3.8" # note that numpy 1.22 dropped python 3.7 support
6+
pandas==1.5.0; python_version >= "3.8"
7+
pandas==1.3.5; python_version < "3.8" # note that pandas 1.4 dropped python 3.7 support
88
python-dateutil==2.8.2
99
setuptools==65.5.1

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
schema_dir = 'nwb-schema/core'
2020

2121
reqs = [
22-
'h5py>=2.10,<4',
23-
'hdmf>=3.5.1,<4',
24-
'numpy>=1.16,<1.24',
25-
'pandas>=1.1.5,<2',
26-
'python-dateutil>=2.7.3,<3',
22+
'h5py>=2.10',
23+
'hdmf>=3.5.4',
24+
'numpy>=1.16',
25+
'pandas>=1.1.5',
26+
'python-dateutil>=2.7.3',
2727
'setuptools'
2828
]
2929

0 commit comments

Comments
 (0)