Bruno Oliveira
415a62e373
Fix typo in PytestExperimentalApiWarning
2018-09-04 11:35:35 -03:00
Bruno Oliveira
8ce3aeadbf
Move PytestExerimentalApiWarning to warning_types
2018-09-04 11:35:35 -03:00
Bruno Oliveira
19a01c9849
Make PytestWarning and RemovedInPytest4Warning part of the public API
2018-09-04 11:35:34 -03:00
Bruno Oliveira
78ac7d99f5
Deprecate Config.warn and Node.warn, replaced by standard warnings
2018-09-04 11:35:34 -03:00
Daniel Hahler
417516c378
squash! Travis: report coverage with all builds
...
doctesting: remove changedir
With coverage 5 we could use COVERAGE_RCFILE to make it find the
.coveragerc, or we could add `--rcfile` to _PYTEST_TOX_COVERAGE_RUN, but
I've thought that this should not be the job that has to test if
`--pyargs` actually works.
2018-08-29 22:53:20 +02:00
Daniel Hahler
f730291e67
Travis: report coverage with all builds
...
- Skips pypy for coverage, reports only py37 to coveralls
- tox: allow for TOXENV=py37-coverage
- tracks coverage in subprocesses, using coverage-enable-subprocess, and
parallel=1
- removes usedevelop with doctesting to match `--source` being used with
coverage
- keep coveralls for now, used with AppVeyor
2018-08-29 22:30:28 +02:00
Bruno Oliveira
4d19b94347
Merge pull request #3877 from blueyed/codecov-master
...
tox: coveralls: also report to codecov
2018-08-26 09:19:03 -03:00
Daniel Hahler
d3f5324386
tox: coveralls: also report to codecov
...
This is meant to get base coverage on master for codecov.
2018-08-26 02:14:22 +02:00
Anthony Sottile
3da88d794f
Use skip_install for testing tox env
2018-08-25 16:48:01 -07:00
Daniel Hahler
b88e09a697
Merge pull request #3548 from blueyed/fix-docs
...
tox: clean up docs target
2018-08-14 15:22:46 +02:00
Daniel Hahler
dff7b203f7
tox: clean up docs target
2018-08-02 13:07:03 +02:00
Bruno Oliveira
d461e931dd
Use python 3.6 for regendoc
2018-07-30 20:12:52 +00:00
Bruno Oliveira
ac9ceaacd8
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-07-15 11:54:14 -03:00
Bruno Oliveira
a0b0c37feb
Revamp the release script: drop invoke and use tox directly
...
Following the lead from tox, use a simple Python script instead of depending
on ``invoke``.
Other changes:
* Some colors using ``colorama``.
* Run ``pre-commit`` before the final commit to ensure everything is neatly
formatted.
* Drop generating local tag: legacy from the time we used ``devpi`` as staging
area, currently we no longer use it, and we should push a
tag from the last HEAD of the PR always to ensure it is correct.
2018-07-14 11:35:37 -03:00
Anthony Sottile
af0059079c
Remove unused fix-lint tox environment
2018-07-08 17:05:01 -07:00
Ronny Pfannschmidt
581d49635e
add docs and changelog
2018-06-27 06:52:36 +02:00
Ronny Pfannschmidt
0672bc633f
enable pytester to run examples copied from the cwd
2018-06-26 22:48:33 +02:00
Ronny Pfannschmidt
89e0a3ec27
merge from master to features
2018-06-26 17:01:05 +02:00
Anthony Sottile
cbaa7dd56a
Upgrade pre-commit hooks except pyupgrade
2018-06-26 06:35:27 -07:00
Anthony Sottile
17985b893d
Remove warning filter as well
2018-06-23 10:22:09 -07:00
Anthony Sottile
8e9f1d2417
Use --show-diff-on-failure for pre-commit CI invocation
2018-06-18 18:27:48 -07:00
Ronny Pfannschmidt
c081c5ee23
add example scripts for issue #519
2018-06-15 18:04:24 +02:00
Bruno Oliveira
88ae21f2cc
Add mock dependency to py27-nobyte
2018-06-12 18:07:40 -03:00
Ronny Pfannschmidt
df17bb2bd3
switch linting tox env to use pre-commit, clean out travis linting env as unneeded
2018-05-24 14:17:09 +02:00
Bruno Oliveira
f5361a302c
Use a more recent hypothesis version on CI
2018-05-16 07:35:02 -03:00
Bruno Oliveira
888fcbc4b4
Simplify tox to avoid repetition
...
Also took the opportunity to:
* Use more cores for py*-xdist environments
* Update freeze test to use py36
2018-04-11 18:30:15 -03:00
Stefan Scherfke
9aa2a83785
Use correct spelling for "more-itertools"
2018-04-03 16:48:32 +02:00
Bruno Oliveira
f3c87a77a7
Merge remote-tracking branch 'upstream/master' into release-3.5.0
2018-03-21 20:39:44 +00:00
Jeffrey Rackauckas
a4cf380343
Fix tests to not fail when running from root.
2018-03-18 21:23:39 -07:00
Bruno Oliveira
1fff81e21d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2018-03-16 18:15:28 -03:00
Bruno Oliveira
e7bce90d29
Remove basepython from testenv:docs so it can be built with Python 3
2018-03-06 20:41:19 -03:00
Bruno Oliveira
6fa9768545
Use sphinxcontrib-trio extension
...
This adds some more capabilities to sphinx, like marking
functions as decorators or with contexts
2018-03-06 20:41:19 -03:00
Jeffrey Rackauckas
e42fe5f0f9
Add doc to norecursedirs in tox.ini
2018-03-05 19:35:41 -08:00
Bruno Oliveira
93306f6a5e
Merge remote-tracking branch 'upstream/master' into features
2018-01-09 18:41:00 -02:00
Bruno Oliveira
3dd24f8d21
Ignore ImportWarnings regarding package resolution
...
The problem is described/discussed in #3061
Ideally this should be a temporary solution until we find a proper one
which gets rid of the warning
2018-01-08 21:11:08 -02:00
Ronny Pfannschmidt
afc607cfd8
move node base classes from main to nodes
2017-12-18 11:08:20 +01:00
Jurko Gospodnetić
dd64f1a4a9
fix tox.ini comment typos
2017-12-09 13:34:57 +01:00
Bruno Oliveira
983a09a2d4
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-11-10 18:33:02 -02:00
Bruno Oliveira
b11640c1eb
Fix linting E722: do not use bare except
2017-11-04 13:59:10 -02:00
Bruno Oliveira
03829fde8a
Fix linting E741: ambiguous variable name
2017-11-04 13:59:10 -02:00
Bruno Oliveira
f3a119c06a
Merge upstream/master into features
2017-11-03 16:37:18 -02:00
Bruno Oliveira
c3ba9225ef
Change directory for py27 xdist-related envs
...
The "filter_traceback" function was not filtering the frames
that belonged to the pytest internals.
"filter_traceback" was receiving *relative* paths when running with
xdist, and full paths in non-distributed runs; for this reason
the traceback function did not consider the received path to be
relative to the pytest internal modules.
Fix #2843
2017-10-26 21:34:41 -02:00
Bruno Oliveira
6821d36ca5
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-10-24 19:57:14 -02:00
Bruno Oliveira
a3ec3df0c8
Add E722 and E741 flake errors to the ignore list
...
Also fixed 'E704 multiple statements on one line (def)' in python_api
2017-10-23 18:19:15 -02:00
Ronny Pfannschmidt
73ff53c742
remove eol python from the ci config
2017-10-09 16:36:41 +02:00
Ronny Pfannschmidt
88366b393c
start the removal of python 2.6/3.3 support
2017-10-09 16:35:33 +02:00
Daniel Hahler
87596714bf
minor: cleanup tox.ini
2017-09-27 00:45:10 +02:00
Bruno Oliveira
3ebfb881c9
Merge remote-tracking branch 'upstream/master' into features
2017-09-18 19:10:31 -03:00
Bruno Oliveira
9933635cf7
Change to py36 as main environment for Python 3 environments in tox
...
This also has the benefit of working around Travis recent failures
in Python 3.5 environments.
2017-09-16 19:18:07 -03:00
Bruno Oliveira
d01f08e96f
Merge branch 'features' into pluggy-master
2017-09-06 13:13:35 -03:00
Bruno Oliveira
10d43bd3bf
Set xfail_strict=True in pytest's own test suite
...
Fix #2722
2017-09-05 19:57:26 -03:00
Bruno Oliveira
f825b4979b
Merge remote-tracking branch 'upstream/master' into features
2017-09-05 19:44:33 -03:00
Bruno Oliveira
d9992558fc
Refactor tox.ini so pluggymaster envs share definitions
2017-09-05 19:04:58 -03:00
Bruno Oliveira
9bbf14d0f6
Create explicit 'pluggymaster' env definitions
...
For some reason, the previous approach brakes 'coveralls' because
pip still tries to install the 'pluggy' master requirement
(git+https://...)
2017-09-01 20:40:14 -03:00
Bruno Oliveira
c42d966a40
Change all pytest report options to the more concise '-ra' in tox.ini
2017-09-01 18:57:42 -03:00
Bruno Oliveira
11ec6aeafb
Add test environment using pluggy from master branch
...
Fix #2737
2017-09-01 18:33:30 -03:00
Tyler Goodlet
756db2131f
Drop vendoring from packaging
2017-08-24 16:53:24 -04:00
Bruno Oliveira
7b5d26c1a8
Use py36 as preferred Python 3 interpreter for CI testing
2017-08-14 20:27:28 -03:00
Bruno Oliveira
73c6122f35
Merge remote-tracking branch 'upstream/master' into features
2017-07-24 21:12:51 -03:00
Bruno Oliveira
0726d9a09f
Turn warnings into errors in pytest's own test suite
...
Fix #2588
2017-07-22 21:44:18 -03:00
Kale Kundert
4c45bc9971
Add the numpy tests back into tox.ini
...
I'm not sure why they were removed...
2017-07-22 08:24:45 -07:00
Bruno Oliveira
22f54784c2
Add "fix-lint" tox environment to fix linting errors
2017-07-20 22:12:15 -03:00
Bruno Oliveira
26ee2355d9
Merge remote-tracking branch 'upstream/features' into fix-flake8-errors
2017-07-19 17:09:05 -03:00
Bruno Oliveira
d7f182ac4f
Remove SETUPTOOLS_SCM_PRETEND_VERSION during linting
...
It was needed because of check-manifest, but we no longer have a
MANIFEST file so it is not necessary
2017-07-19 10:02:13 -03:00
Bruno Oliveira
4fd92ef9ba
Merge branch 'fix-flake8-issues' into features
2017-07-17 21:05:39 -03:00
Andras Tim
b49e8baab3
Fixed E731 flake8 errors
...
do not assign a lambda expression, use a def
2017-07-17 01:44:23 +02:00
Andras Tim
15610289ac
Fixed E712 flake8 errors
...
comparison to True should be ‘if cond is True:’ or ‘if cond:’
2017-07-17 01:44:23 +02:00
Andras Tim
5ae59279f4
Fixed E704 flake8 errors
...
multiple statements on one line (def)
2017-07-17 01:44:23 +02:00
Andras Tim
bf259d3c93
Fixed E702 flake8 errors
...
multiple statements on one line (semicolon)
2017-07-17 01:44:23 +02:00
Andras Tim
85141a419f
Fixed E701 flake8 errors
...
multiple statements on one line (colon)
2017-07-17 01:44:23 +02:00
Andras Tim
7d2ceb7872
Fixed E501 flake8 errors
...
line too long (> 120 characters)
2017-07-17 01:44:23 +02:00
Andras Tim
b9e318866e
Fixed E402 flake8 errors
...
module level import not at top of file
2017-07-17 01:44:23 +02:00
Andras Tim
45ac863069
Fixed E401 flake8 errors
...
multiple imports on one line
2017-07-17 01:44:23 +02:00
Andras Tim
7248b759e8
Fixed E303 flake8 errors
...
too many blank lines (3)
2017-07-17 01:44:23 +02:00
Andras Tim
b840622819
Fixed E302 flake8 errors
...
expected 2 blank lines, found 0
2017-07-17 01:44:23 +02:00
Andras Tim
17a21d540b
Fixed E301 flake8 errors
...
expected 1 blank line, found 0
2017-07-17 01:44:23 +02:00
Andras Tim
9bad9b53d8
Fixed E293 flake8 errors
2017-07-17 01:44:23 +02:00
Andras Tim
4730c6d99d
Fixed E272 flake8 errors
...
multiple spaces before keyword
2017-07-17 01:44:23 +02:00
Andras Tim
c9a081d1a3
Fixed E271 flake8 errors
...
multiple spaces after keyword
2017-07-17 01:44:22 +02:00
Andras Tim
195a816522
Fixed E265 flake8 errors
...
block comment should start with ‘# ‘
2017-07-17 01:44:22 +02:00
Andras Tim
eae8b41b07
Fixed E262 flake8 errors
...
inline comment should start with ‘# ‘
2017-07-17 01:44:22 +02:00
Andras Tim
8f3eb6dfc7
Fixed E261 flake8 errors
...
at least two spaces before inline comment
2017-07-17 01:44:22 +02:00
Andras Tim
b226454582
Fixed E251 flake8 errors
...
unexpected spaces around keyword / parameter equals
2017-07-17 01:44:22 +02:00
Andras Tim
4c24947785
Fixed E241 flake8 errors
...
multiple spaces after ‘,’
2017-07-17 01:44:22 +02:00
Andras Tim
617e510b6e
Fixed E231 flake8 errors
...
missing whitespace after ‘,’, ‘;’, or ‘:’
2017-07-17 01:44:22 +02:00
Andras Tim
4b22f270a3
Fixed E226 flake8 errors
...
missing whitespace around arithmetic operator
2017-07-17 01:44:22 +02:00
Andras Tim
2e8caefcab
Fixed E225 flake8 errors
...
missing whitespace around operator
2017-07-17 01:44:22 +02:00
Andras Tim
3fabc4d219
Fixed E222 flake8 errors
...
multiple spaces after operator
2017-07-17 01:44:22 +02:00
Andras Tim
f640e0cb04
Fixed E221 flake8 errors
...
multiple spaces before operator
2017-07-17 01:44:22 +02:00
Andras Tim
ebb6d0650b
Fixed E203 flake8 errors
...
whitespace before ‘:’
2017-07-17 01:44:22 +02:00
Andras Tim
ba0a4d0b2e
Fixed E202 flake8 errors
...
whitespace before ‘)’
2017-07-17 01:28:17 +02:00
Andras Tim
1ff54ba205
Fixed E201 flake8 errors
...
whitespace after ‘(‘
2017-07-17 01:28:17 +02:00
Andras Tim
df54bf0db5
Fixed E131 flake8 errors
...
continuation line unaligned for hanging indent
2017-07-17 01:28:16 +02:00
Andras Tim
1c935db571
Fixed E129 flake8 errors
...
visually indented line with same indent as next logical line
2017-07-17 01:28:16 +02:00
Andras Tim
cf97159009
Fixed E128 flake8 errors
...
continuation line under-indented for visual indent
2017-07-17 01:28:16 +02:00
Andras Tim
57438f3efe
Fixed E127 flake8 errors
...
continuation line over-indented for visual indent
2017-07-17 01:28:16 +02:00
Andras Tim
e855a79dd4
Fixed E126 flake8 errors
...
continuation line over-indented for hanging indent
2017-07-17 01:28:16 +02:00
Andras Tim
92e2cd9c68
Fixed E125 flake8 errors
...
continuation line with same indent as next logical line
2017-07-17 01:28:16 +02:00
Andras Tim
051d76a63f
Fixed E124 flake8 errors
...
closing bracket does not match visual indentation
2017-07-17 01:28:16 +02:00
Andras Tim
4b20b9d8d9
Fixed E123 flake8 errors
...
closing bracket does not match indentation of opening bracket’s line
2017-07-17 01:28:16 +02:00
Andras Tim
425665cf25
Fixed E122 flake8 errors
...
continuation line missing indentation or outdented
2017-07-17 01:28:16 +02:00
Andras Tim
0be97624b7
Fixed E121 flake8 errors
...
continuation line under-indented for hanging indent
2017-07-17 01:28:16 +02:00
Andras Tim
64a4b9058c
Fixed E113 flake8 errors
...
unexpected indentation
2017-07-17 01:28:16 +02:00
Andras Tim
8de49e8742
Fixed E111 flake8 errors
...
indentation is not a multiple of four
2017-07-17 01:28:16 +02:00
Andras Tim
6146ac97d9
Fixed E101 flake8 errors
...
indentation contains mixed spaces and tabs
2017-07-17 01:28:16 +02:00
Andras Tim
6af2abdb53
Fixed flake8 warnings
...
W191 indentation contains tabs
W292 no newline at end of file
W293 blank line contains whitespace
W391 blank line at end of file
2017-07-17 01:28:16 +02:00
Andras Tim
796ffa5123
reformatted tox.ini
2017-07-17 01:27:37 +02:00
Ronny Pfannschmidt
ef62b86335
Merge pull request #2492 from kalekundert/features
...
Add support for numpy arrays (and dicts) to approx.
2017-07-06 11:46:51 +02:00
Kale Kundert
5d2496862a
Only test numpy with py27 and py35.
...
Travis was not successfully installing numpy with python<=2.6,
python<=3.3, or PyPy. I decided that it didn't make sense to use numpy
for all the tests, so instead I made new testing environments
specifically for numpy.
2017-06-15 18:46:58 -07:00
Kale Kundert
8badb47db6
Implement suggestions from code review.
...
- Avoid importing numpy unless necessary.
- Mention numpy arrays and dictionaries in the docs.
- Add numpy to the list of tox dependencies.
- Don't unnecessarily copy arrays or allocate empty space for them.
- Use code from compat.py rather than writing py2/3 versions of things
myself.
- Avoid reimplementing __repr__ for built-in types.
- Add an option to consider NaN == NaN, because sometimes people use NaN
to mean "missing data".
2017-06-15 09:19:10 -07:00
Bruno Oliveira
731c35fcab
Remove MANIFEST.in and related lint check
...
Because setuptools_scm already includes all version-controlled files
in an sdist, we don't need to maintain a MANIFEST.in file and anymore
See pytest-dev/pytest-xdist#161
2017-06-14 07:43:21 -04:00
Bruno Oliveira
32e2642233
No longer override existing warning filters during warnings capture
...
Fix #2430
2017-05-30 17:17:36 -03:00
Ronny Pfannschmidt
b74c626026
switch changelog management to towncrier
2017-05-30 15:54:15 +02:00
Bruno Oliveira
313a884459
Warn that warning-capture can break existing suites in the docs and CHANGELOG
...
Related to discussion in #2430
2017-05-25 21:19:08 -03:00
Bruno Oliveira
00e7ee532e
Fix minor regendoc issues
2017-05-15 21:57:04 -03:00
Bruno Oliveira
f3b359f5b8
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
...
# Conflicts:
# _pytest/capture.py
# _pytest/compat.py
# _pytest/python.py
# testing/python/collect.py
# testing/test_mark.py
2017-05-03 19:04:53 -03:00
Ronny Pfannschmidt
2cf422733c
restore linting, drop _pytest._version for check-manifest
2017-04-19 20:25:53 +02:00
Ronny Pfannschmidt
c0a51f5662
restore check-manifst functionality
2017-04-19 20:12:38 +02:00
Bruno Oliveira
2c730743f1
Fix errors related to warnings raised by xdist
...
- pytester was creating a 'pexpect' directory to serve as temporary dir, but due to the fact that
xdist adds the current directory to sys.path, that directory was being considered as candidate
for import as a package. The directory is empty and a warning was being raised about
it missing __init__ file, which is now turned into an error by our filterwarnings config
in pytest.ini.
- Decided to play it safe and ignore any warnings during `pytest.importorskip`.
- pytest-xdist and execnet raise two warnings which should be fixed upstream:
pytest-dev/pytest-xdist/issues/133
2017-03-21 22:17:07 -03:00
Bruno Oliveira
fa56114115
Clean up warnings generated by pytest's own suite
2017-03-20 22:13:17 -03:00
Bruno Oliveira
841f731707
Attempt to clarify the confusion regarding __init__ files and unique test names
...
Fix #529
2017-03-09 20:41:33 -03:00
Ville Skyttä
ede4e9171f
Spelling fixes
2017-02-15 17:00:58 +02:00
Victor Uriarte
902fd2ff6a
Add py37-nightly to travis
2017-01-22 17:20:15 -07:00
Ronny Pfannschmidt
403122281a
fix devpi test for doctesting env
...
due to a devpi bug, we always get a sdist install which in turn triggers
the pytest issue #2042 / #726
going for pyargs and a changed folder, it should no longer happen
(and will be tested firther after rebasing the release branch)
2017-01-22 11:48:05 +01:00
Miro Hrončok
6b24ce2a9d
Test Python 3.6 on Travis CI
...
Partial fix for https://github.com/pytest-dev/pytest/issues/2134
2016-12-27 23:16:25 +01:00
Bruno Oliveira
5566b3ccb6
Remove setuptools pin now that upstream has been fixed
...
Related to pypa/setuptools#861
2016-11-27 03:30:23 -02:00
Bruno Oliveira
6120570198
Pin setuptools to < 29 because of AppVeyor failures
...
Related to pypa/setuptools#861
Remove the pin when we have a new setuptools release
2016-11-26 14:49:31 -02:00
Bruno Oliveira
1eb5a690d4
Fix flake8 E305 and E306 errors
...
These errors started to appear with flake8-3.1.1, while they don't appear with
version 3.1.0 (weird).
2016-11-20 18:59:15 -02:00
Bruno Oliveira
351395b7ea
Use a wrapper script to bypass check-manifest if not under git
...
Related to comment in #2051
2016-11-12 11:39:41 -02:00
Ronny Pfannschmidt
6c8c1da428
add pygments dependency because of rst-lint
2016-11-11 14:25:53 -02:00
Bruno Oliveira
b8c6f13b37
Check README.rst with rst-lint
2016-11-11 12:56:07 -02:00
Bruno Oliveira
84d7068723
Add "check-manifest" to linting and remove unused scripts from root
...
Fix #1
2016-11-09 20:42:28 -02:00
Bruno Oliveira
37dcdfbc58
Re-enable docstring testing of _pytest modules on CI
...
* Fix doctests
* List one env per line in tox.ini
* "doctesting" tox env now also tests docstrings using doctest
2016-10-21 08:55:53 -02:00
Bruno Oliveira
f31447b82b
Use hypothesis >= 3.5.2
...
Related to #1962
2016-09-26 09:08:30 -03:00
Bruno Oliveira
73cab77249
Pin hypothesis to 3.5.0 because 3.5.1 breaks the test suite
...
Related to HypothesisWorks/hypothesis-python#368
2016-09-25 18:52:27 -03:00
Bruno Oliveira
519f02b014
docs warnings as errors and initial page similar to README
...
* Changed "index" to be more similar to the README (#1708 ).
* Fixes numerous issues like missing documents, syntax errors, etc (#1829 , #432 ).
* Mention all docs in "contents.rst" so it's easier for users to locate (#1112 ).
* Add doc generation and checking to Travis and AppVeyor, to avoid re-introducing errors.
Fixes #432 , Fixes #1112 , Fixes #1708 , Fixes #1829
2016-08-26 17:47:18 -03:00
Bruno Oliveira
6a0e849067
Update HOWTORELEASE based on the 3.0.0 release
2016-08-20 15:47:34 -03:00
Bruno Oliveira
0334e75c30
Use "pytest" instead of "py.test" on trial environments
2016-08-18 08:37:55 -03:00
Bruno Oliveira
463e6572c5
Merge branch 'master' into merge-master-into-features
...
Preparing for 3.0
2016-08-17 22:39:23 -03:00
Bruno Oliveira
92498109e4
Enable py35-trial testenv on Windows
2016-08-17 21:20:12 -03:00
Bruno Oliveira
802755ceed
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2016-08-06 17:58:17 -03:00
Bruno Oliveira
ed36d627e4
Use PyInstaller for freeze test env
...
cx_freeze doesn't seem to be very well supported in Python 3.5.
Using pyinstaller instead and rename environment to "freeze" which
is a more generic term for freezing python code into standalone
executables.
Fix #1769
2016-07-26 22:02:37 -03:00
Ronny Pfannschmidt
b9a91dc112
merge from master to features
2016-07-06 11:51:48 +02:00
Bruno Oliveira
10c5e6fd9c
Split AppVeyor test runs in multiple jobs to avoid timeout issues
...
Some of our builds have been timing out (over 1 hour),
on AppVeyor
2016-07-04 21:54:21 -03:00
Dave Hunt
ef9dd14963
Introduce pytest command as recommended entry point
...
Fixes #1629
2016-06-21 16:16:57 +02:00
Bruno Oliveira
92323895c9
Use same python which invoked tox for "doctesting" env
...
This will work for Travis and AppVeyor because both start tox using Python 3
2016-06-08 21:06:19 -03:00
Bruno Oliveira
2c4b76b754
Use same python which invoked tox for "doctesting" env
...
This will work for Travis and AppVeyor because both start tox using Python 3
2016-06-01 20:30:26 -03:00
Ronny Pfannschmidt
b5bd4d959d
merge master to features
2016-06-01 08:13:26 +02:00
Ronny Pfannschmidt
978bb190a1
add release announcement
2016-05-31 19:06:29 +02:00
Ronny Pfannschmidt
d3dcc2b8f1
bump regendoc python version to 3.5
2016-05-31 19:05:36 +02:00
Ronny Pfannschmidt
26b526967e
merge from master again
2016-05-23 22:33:00 +02:00
Bruno Oliveira
561a5fb558
Move comment in tox.ini due to recent bug in pip
...
As discussed in #1554
* https://bitbucket.org/hpk42/tox/issues/332/
* https://github.com/pypa/pip/issues/3667
2016-05-18 16:15:29 -03:00
Ceridwen
23a8e2b469
Add .hypothesis to .gitignore and try an older version of Hypothesis for 2.6
2016-04-02 11:47:37 -04:00
Ceridwen
08671fcf4a
Fix the changelog and dependencies for tox
2016-04-02 10:52:28 -04:00
Ceridwen
491b30c5d9
Add Hypothesis test for _idval and fix bug it found
2016-04-01 22:45:44 -04:00
Bruno Oliveira
89c75b2c91
Fix tox doc task
2016-02-13 02:09:25 -02:00
Ronny Pfannschmidt
7b2956e10b
merge latest master into features as well
2016-02-05 00:13:48 +01:00
Ronny Pfannschmidt
de1a9f574c
merge from master
2016-02-05 00:10:28 +01:00
Bruno Oliveira
30e61f2777
Test with pypy and enable coveralls in AppVeyor
...
* Install pypy using chocolatey
* Enable coveralls test environment in AppVeyor
* Suggest maintaining build matrix in .travis.yml by using "tox --listenvs"
Fix #1254
2016-02-01 17:40:30 -02:00
Ronny Pfannschmidt
56c5db6e12
add requests dependency to tox.ini to ensure all monkeypatch tests run
2016-01-24 12:30:38 +01:00
Bruno Oliveira
199fcf93d4
Merge branch 'master' into 'features'
2016-01-22 18:32:45 -02:00
Bruno Oliveira
7b13c4bec0
Fix flakes
2016-01-14 21:01:57 -02:00
Bruno Oliveira
3daa0756eb
Add CHANGELOG.rst to MANIFEST and small format fix
2016-01-05 20:01:41 -02:00
Bruno Oliveira
3e34db50fb
Rename "flakes" testenv to "linting" as requested in review
2016-01-05 18:18:29 -02:00
Bruno Oliveira
02dd6df6e6
Changelog now in rst format (2.9.0 and onward) and add rst-lint check
...
Fix #1274
2016-01-03 23:09:24 -02:00
Bruno Oliveira
031a20699c
Use py35 as preferred py3 interpreter for special test environments
2015-09-26 03:37:21 -03:00
Ronny Pfannschmidt
c3588b545f
generate docs on python3.4
2015-09-22 16:52:35 +02:00
Ronny Pfannschmidt
89badfec0c
update regendoc, substitutes PYTHON_PREFIX
2015-09-22 14:48:04 +02:00
Ronny Pfannschmidt
662d755974
fix documentation gegeneration, kill Makefile
2015-09-22 14:22:37 +02:00
Bruno Oliveira
546093175e
White list rm for cxfreeze env
2015-09-17 23:34:09 -03:00
Ronny Pfannschmidt
1de38a25fc
use flake8 in the flakes testenv
...
and extend the ignored errors list so pytest is clean
we def have to trim down that one
2015-09-13 19:55:44 +02:00
Bruno Oliveira
359f248729
Force to use xdist >= 1.13
2015-08-18 07:35:03 -03:00
Bruno Oliveira
df29120abe
Merge branch 'pytest-2.7'
...
Conflicts:
_pytest/config.py
_pytest/genscript.py
_pytest/mark.py
tox.ini
2015-07-23 22:35:51 -03:00
Bruno Oliveira
5a17e797c7
Fix basepython for tox envs "doctesting" and "coveralls"
...
Because we are currently using "nighly" python for travis, which
uses python 3.6 as the default interpreter. This breaks the environments
listed above because "inspect.getargspec" has been removed in py36.
2015-07-23 21:15:45 -03:00
Anatoly Bubenkov
045274e647
remove merge artifact
2015-07-19 15:49:43 +02:00
Anatoly Bubenkov
6af7172204
Merge branch 'pytest-2.7'
2015-07-19 15:25:04 +02:00
Thomas Kluyver
15497dcd77
OK, try running flakes with 2.7
2015-07-18 13:16:47 -03:00
Thomas Kluyver
8a0867c580
Try running flakes tests with Python 3.4
2015-07-18 13:16:47 -03:00
Matthias Bussonnier
195afa0733
try isntall 35 on tox
2015-07-18 13:16:08 -03:00
Bruno Oliveira
330de0a93d
Use a subdirectory in the TEMP directory to speed up tmpdir creation
...
Fix #105
2015-07-16 19:50:49 -03:00
Thomas Kluyver
4e98d2b7f1
OK, try running flakes with 2.7
2015-07-15 15:52:28 -07:00
Thomas Kluyver
d73c8e6a5e
Try running flakes tests with Python 3.4
2015-07-15 15:49:15 -07:00
Matthias Bussonnier
71a00c3223
try isntall 35 on tox
2015-07-15 13:49:40 -07:00
Bruno Oliveira
7a71b69a87
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
Conflicts:
tox.ini
2015-07-13 13:43:03 -03:00
Bruno Oliveira
65c56d4c00
Pinning mock module to < 1.1 fo py26
...
It has been announced that mock>=1.1 will be
supported for python 2.7 only.
2015-07-10 19:57:48 -03:00
holger krekel
01f5913826
try to fix coveralls env
2015-06-23 23:25:19 +02:00
holger krekel
ee40ea5f6d
Merge branch 'pytest-2.7'
...
Conflicts:
AUTHORS
_pytest/__init__.py
setup.py
testing/conftest.py
tox.ini
2015-06-23 16:49:05 +02:00
holger krekel
e84c00efae
finish pytest-2.7.2 release
2015-06-23 16:31:24 +02:00
Anatoly Bubenkov
73f37d0989
split travis jobs
...
Conflicts:
README.rst
2015-06-17 00:22:34 -03:00
Anatoly Bubenkov
b38cadbecd
pass coveralls env
2015-06-16 02:38:52 +02:00
Anatoly Bubenkov
edfadf3a7c
pass coveralls env
2015-06-16 01:12:24 +02:00
Anatoly Bubenkov
f2494ecb3d
split travis jobs
2015-06-16 00:49:55 +02:00
holger krekel
c4bd3c672b
another try at ignoring cx_freeze during other tox envs
2015-05-07 12:19:35 +02:00
holger krekel
52354b9ab5
try to ignore cx_freeze from regular pytest runs and see if travis is happy
2015-05-07 12:02:14 +02:00
holger krekel
db5649ec6a
streamline pytester API majorly:
...
- integrate conftest into pytester plugin
- introduce runpytest() to either call runpytest_inline (default) or
runpytest_subprocess (python -m pytest)
- move testdir.inline_runsource1 to pdb tests
- strike some unneccessary methods.
- a new section "writing plugins" and some better pytester docs
--HG--
branch : testrefactor
2015-04-28 11:54:53 +02:00
holger krekel
424e5d1394
make test suite more tolerable against xdist causing warnings itself (which it does
...
currently)
--HG--
branch : plugtestfix
2015-04-27 15:06:47 +02:00
Bruno Oliveira
6fe5493c3c
Fix py27-cxfreeze tox environment
...
Use a custom script to install a patched version of cx_freeze,
as required in Ubuntu 14.04 systems
--HG--
branch : cx_freeze_ubuntu
2015-04-22 19:46:06 -03:00
holger krekel
d2a8866bce
bump verrsion to python2.7, fix a too precise test for windows, regen docs
2015-03-26 09:34:10 +01:00
Anatoly Bubenkov
c69978fbb0
revert verbosity
2015-03-24 13:41:49 +01:00
Anatoly Bubenkov
c1eaa72883
correct config
2015-03-24 11:56:59 +01:00