Skip to content

Commit

Permalink
Merge pull request #569 from muupan/attrs-version2
Browse files Browse the repository at this point in the history
Use attrs<19.2.0 with pytest
  • Loading branch information
muupan authored Oct 18, 2019
2 parents d9036b5 + 8289787 commit a091e3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pfnci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ main() {

"${PYTHON}" -m pip install /chainerrl
# TODO(chainerrl): Prepare test target instead.
# pytest does not run with attrs==19.2.0 (https://github.com/pytest-dev/pytest/issues/3280) # NOQA
"${PYTHON}" -m pip install \
'pytest==4.1.1' 'pytest-xdist==1.26.1' 'mock' \
'pytest==4.1.1' 'attrs==19.1.0' 'pytest-xdist==1.26.1' 'mock' \
'atari_py==0.1.1' 'opencv-python'

git config --global user.email "you@example.com"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

test_requires = [
'pytest',
'attrs<19.2.0', # pytest does not run with attrs==19.2.0 (https://github.com/pytest-dev/pytest/issues/3280) # NOQA
]

if sys.version_info < (3, 2):
Expand Down

0 comments on commit a091e3f

Please sign in to comment.