Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail in appveyor for Python 3.5, 3.6 and 3.7 #4

Closed
videlec opened this issue Jul 19, 2019 · 1 comment
Closed

tests fail in appveyor for Python 3.5, 3.6 and 3.7 #4

videlec opened this issue Jul 19, 2019 · 1 comment

Comments

@videlec
Copy link

videlec commented Jul 19, 2019

The master branch is also failing the testsuite on appveyor (see #1 where this has also been encountered). The problem is simply a non supported option of py.test

[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/417b02aa-2ee9-4d00-becc-a515a96ad954.sh
py35 create: /home/vsts/work/1/s/.tox/py35
py35 installdeps: hypothesis, pytest, pytest-cov
py35 develop-inst: /home/vsts/work/1/s
py35 installed: atomicwrites==1.3.0,attrs==19.1.0,coverage==4.5.3,cypari==2.3.0,future==0.17.1,hypothesis==4.26.3,importlib-metadata==0.18,more-itertools==7.1.0,mpmath==1.1.0,packaging==19.0,pathlib2==2.3.4,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,pytest-cov==2.7.1,-e git+https://github.com/MarkCBell/realalg@e8d0a0e722dec47bac02e502165f229f71faffe2#egg=realalg,six==1.12.0,sympy==1.4,wcwidth==0.1.7,zipp==0.5.1
py35 run-test-pre: PYTHONHASHSEED='294238053'
py35 run-test: commands[0] | py.test --hypothesis-profile=ci --duration=20 --junitxml=results.xml
ERROR: usage: py.test [options] [file_or_dir] [file_or_dir] [...]
py.test: error: unrecognized arguments: --duration=20
 inifile: /home/vsts/work/1/s/tox.ini
 rootdir: /home/vsts/work/1/s

ERROR: InvocationError for command /home/vsts/work/1/s/.tox/py35/bin/py.test --hypothesis-profile=ci --duration=20 --junitxml=results.xml (exited with code 4)
@MarkCBell
Copy link
Owner

Thank you very much for letting me know. The issue comes from py.test having recently switched from using the --duration flag to the --durations flag (although they don't appear to have documented this anywhere). Originally I caught this for travis but missed appveyor and azure. The same issue affected flipper and curver but all three have now had this fixed in their dev branches and the master will be updated at the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants