8000 Bump optree version to 0.13.0 to enable Python 3.13 and Python 3.13t … · pytorch/pytorch@59cdd8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 59cdd8d

Browse files
XuehaiPanpytorchmergebot
authored andcommitted
Bump optree version to 0.13.0 to enable Python 3.13 and Python 3.13t support (#137396)
Pull Request resolved: #137396 Approved by: https://github.com/albanD
1 parent 493d0ee commit 59cdd8d

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.ci/docker/requirements-ci.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ opt-einsum==3.3
139139
#Pinned versions: 3.3
140140
#test that import: test_linalg.py
141141

142-
optree==0.12.1
142+
optree==0.13.0
143143
#Description: A library for tree manipulation
144-
#Pinned versions: 0.12.1
144+
#Pinned versions: 0.13.0
145145
#test that import: test_vmap.py, test_aotdispatch.py, test_dynamic_shapes.py,
146146
#test_pytree.py, test_ops.py, test_control_flow.py, test_modules.py,
147147
#common_utils.py, test_eager_transforms.py, test_python_dispatch.py,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# iOS simulator requirements
22
coremltools==5.0b5
33
protobuf==3.20.2
4-
optree==0.12.1
4+
optree==0.13.0

.github/requirements/pip-requirements-macOS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pytest-cpp==2.3.0
2727
rockset==1.0.3
2828
z3-solver==4.12.2.0
2929
tensorboard==2.13.0
30-
optree==0.12.1
30+
optree==0.13.0
3131
# NB: test_hparams_* from test_tensorboard is failing with protobuf 5.26.0 in
3232
# which the stringify metadata is wrong when escaping double quote
3333
protobuf==3.20.2

.github/workflows/_win-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
run: |
190190
pushd "${PYTORCH_FINAL_PACKAGE_DIR}"
191191
# shellcheck disable=SC2046,SC2102
192-
python3 -mpip install $(echo *.whl)[opt-einsum,optree] optree==0.12.1
192+
python3 -mpip install $(echo *.whl)[opt-einsum,optree] optree==0.13.0
193193
popd
194194
195195
.ci/pytorch/win-test.sh

.lintrunner.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ init_command = [
153153
'junitparser==2.1.1',
154154
'rich==10.9.0',
155155
'pyyaml==6.0.1',
156-
'optree==0.12.1',
156+
'optree==0.13.0',
157157
]
158158

159159
[[linter]]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ fsspec
2121
lintrunner
2222
ninja
2323
packaging
24-
optree>=0.12.0 ; python_version <= "3.12"
24+
optree>=0.13.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ def main():
12031203
install_requires += extra_install_requires
12041204

12051205
extras_require = {
1206-
"optree": ["optree>=0.12.0"],
1206+
"optree": ["optree>=0.13.0"],
12071207
"opt-einsum": ["opt-einsum>=3.3"],
12081208
}
12091209

0 commit comments

Comments
 (0)
0