Skip to content

Commit a3d99c7

Browse files
ConchylicultorThe dataclass_array Authors
authored andcommitted
Release dataclass_array 1.4.1 (Pytorch 2.0 support)
PiperOrigin-RevId: 517983642
1 parent 883a220 commit a3d99c7

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ To release a new version (e.g. from `1.0.0` -> `2.0.0`):
2323

2424
## [Unreleased]
2525

26+
## [1.4.1] - 2023-03-20
27+
2628
* Add `torch==2.0.0` support
2729

2830
## [1.4.0] - 2023-03-13
@@ -63,7 +65,8 @@ To release a new version (e.g. from `1.0.0` -> `2.0.0`):
6365

6466
* Initial release
6567

66-
[Unreleased]: https://github.com/google-research/dataclass_array/compare/v1.4.0...HEAD
68+
[Unreleased]: https://github.com/google-research/dataclass_array/compare/v1.4.1...HEAD
69+
[1.4.1]: https://github.com/google-research/dataclass_array/compare/v1.4.0...v1.4.1
6770
[1.4.0]: https://github.com/google-research/dataclass_array/compare/v1.3.0...v1.4.0
6871
[1.3.0]: https://github.com/google-research/dataclass_array/compare/v1.2.1...v1.3.0
6972
[1.2.1]: https://github.com/google-research/dataclass_array/compare/v1.2.0...v1.2.1

dataclass_array/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343

4444
# A new PyPI release will be pushed everytime `__version__` is increased
4545
# When changing this, also update the CHANGELOG.md
46-
__version__ = '1.4.0'
46+
__version__ = '1.4.1'
4747

4848
del sys, pytest

dataclass_array/conftest.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2022 The dataclass_array Authors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
"""Pytest configuration."""
16+
17+
# Pytest crash when the lazy-imports are triggered inside the tests. Likely
18+
# due to xdist. Instead, import them during collect.
19+
# pylint: disable=unused-import
20+
import jax
21+
import tensorflow
22+
import torch
23+
# pylint: enable=unused-import

0 commit comments

Comments
 (0)