Skip to content

Commit 3d8fa7f

Browse files
authored
Merge pull request #5248 from RasaHQ/pin-gym
Pin gym
2 parents 086c724 + b7558ad commit 3d8fa7f

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

changelog/5231.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix segmentation fault when running ``rasa train`` or ``rasa shell``.

rasa/core/training/generator.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from collections import defaultdict, namedtuple, deque
22

33
import copy
4-
import warnings
54
import logging
65
import random
76
from tqdm import tqdm

requirements.txt

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ absl-py>=0.8.0
1515
setuptools >= 41.0.0
1616
tensorflow-probability==0.7.0
1717
tensor2tensor==1.14.0
18+
# fixes https://github.com/RasaHQ/rasa/issues/5231
19+
# remove when removing `tensor2tensor`
20+
gym==0.15.4
1821
apscheduler==3.6.0
1922
tqdm==4.31.0
2023
networkx==2.4.0

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
"setuptools >= 41.0.0",
4747
"tensorflow-probability~=0.7.0",
4848
"tensor2tensor~=1.14.0",
49+
# fixes https://github.com/RasaHQ/rasa/issues/5231
50+
# remove when removing `tensor2tensor`
51+
"gym<=0.15.4",
4952
"apscheduler~=3.0",
5053
"tqdm~=4.0",
5154
"networkx~=2.4.0",

0 commit comments

Comments
 (0)