Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
9c5881c3
Commit
9c5881c3
authored
Aug 29, 2016
by
Jason R. Coombs
Committed by
GitHub
Aug 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #765 from timheap/bad-pytest-version
Install py.test>=2.8,<3
parents
f455ee4f
c7c65220
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
.travis.yml
.travis.yml
+1
-1
setup.py
setup.py
+1
-1
tox.ini
tox.ini
+4
-1
No files found.
.travis.yml
View file @
9c5881c3
...
...
@@ -12,7 +12,7 @@ env:
-
LC_ALL=C LC_CTYPE=C
script
:
# avoid VersionConflict when newer version is required
-
pip install -U
pytest
-
pip install -U
'pytest>=2.8,<3'
# Output the env, because the travis docs just can't be trusted
-
env
...
...
setup.py
View file @
9c5881c3
...
...
@@ -181,7 +181,7 @@ setup_params = dict(
tests_require
=
[
'setuptools[ssl]'
,
'pytest-flake8'
,
'pytest>=2.8,
!=3.0.0
'
,
'pytest>=2.8,
<3
'
,
]
+
([
'mock'
]
if
sys
.
version_info
[:
2
]
<
(
3
,
3
)
else
[]),
setup_requires
=
[
]
+
pytest_runner
+
wheel
,
...
...
tox.ini
View file @
9c5881c3
...
...
@@ -2,5 +2,8 @@
envlist
=
py26,py27,py33,py34,py35,pypy,pypy3
[testenv]
deps
=
pytest-flake8
pytest>=2.8,<3
passenv
=
APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir
commands
=
python setup.py test
commands
=
python setup.py test
--addopts='-rsx'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment