Bruno Oliveira
e289c60c3a
Support py37 officially
...
Python 3.7.0b1 has been released:
https://www.python.org/downloads/release/python-370b1/
Fix #3168
2018-02-02 17:15:16 -02:00
Tzu-ping Chung
b256cd2a6a
Add support for new environment marker usages
2018-01-09 21:34:11 +08:00
Bruno Oliveira
0de1a65644
Update pluggy pin to pluggy>=0.5,<0.7 after pluggy-0.6 release
2017-11-24 14:42:25 -02:00
Bruno Oliveira
7a7cb8c8c5
Require py>=1.5.0
2017-11-21 21:01:41 -02:00
Bruno Oliveira
c7be83ac47
Update pluggy pin to 0.5.*
2017-11-15 13:00:29 -02:00
Florian Bruhin
1aeb58b531
Merge pull request #2928 from nicoddemus/python-requires
...
Prevent pip from installing pytest in unsupported Python versions
2017-11-15 09:46:04 +01:00
Bruno Oliveira
e87ff07370
Prevent pip from installing pytest in unsupported Python versions
...
Fix #2922
2017-11-14 22:27:15 -02:00
Bruno Oliveira
3b3bf9f53d
Merge remote-tracking branch 'upstream/master' into merge-master-into-features
2017-11-14 18:42:29 -02:00
Bruno Oliveira
d26c1e3ad9
Pin py<1.5 as 1.5 drops py26 and py33 support
2017-11-12 21:50:11 -02:00
Ronny Pfannschmidt
07b2b18a01
introduce attrs as dependency and use it
...
for FixtureFunctionMarker and marks
2017-10-30 17:04:42 +01:00
Ceridwen
3da28067f3
Replace introspection in compat.getfuncargnames() with inspect/funcsigs.signature
2017-10-19 16:01:26 -07:00
Ronny Pfannschmidt
c750a5beec
Merge pull request #2794 from thisch/catchlog
...
Merge pytest-catchlog plugin
2017-10-12 09:02:46 +02:00
hugovk
ef732fc51d
Remove code for unsupported Python versions
2017-10-10 08:54:56 +03:00
Ronny Pfannschmidt
88366b393c
start the removal of python 2.6/3.3 support
2017-10-09 16:35:33 +02:00
Thomas Hisch
a8e3effb6c
Upgrade py
2017-09-22 22:27:49 +02:00
Bruno Oliveira
11ec6aeafb
Add test environment using pluggy from master branch
...
Fix #2737
2017-09-01 18:33:30 -03:00
Tyler Goodlet
fe415e3ff8
Use latest patch release
2017-08-25 11:49:02 -04:00
Tyler Goodlet
756db2131f
Drop vendoring from packaging
2017-08-24 16:53:24 -04:00
Tyler Goodlet
333a9ad7fa
Stop vendoring pluggy
...
Resolves #2716
2017-08-24 15:54:33 -04:00
Ronny Pfannschmidt
9e62a31b63
Merge pull request #2650 from srinivasreddy/2642
...
Fixed#2642: Convert py module references to six module
2017-08-04 09:21:51 +02:00
Srinivas Reddy Thatiparthy
dc563e4954
convert py module references to six module
2017-08-04 08:05:03 +05:30
Lawrence Mitchell
f8bd693f83
Add ordereddict to install_requires for py26
2017-07-26 14:41:10 +01:00
Andreas Pelme
c98ad2a0a0
Install py 1.4.33 that contains the fnmatch py.std import fix.
2017-05-31 08:32:51 +02:00
Ronny Pfannschmidt
e02cb6d7ce
restore setuptools_scm write_to usage
2017-04-23 16:59:08 +02:00
Ronny Pfannschmidt
2cf422733c
restore linting, drop _pytest._version for check-manifest
2017-04-19 20:25:53 +02:00
Ronny Pfannschmidt
c3aee4b1e6
second take at setuptools_scm
...
since setuptools 18.6 fixes the issues with develop installs
https://github.com/pypa/setuptools/blob/master/CHANGES.rst#186
https://github.com/pypa/setuptools/issues/439
2017-04-19 19:40:42 +02:00
Victor Uriarte
839aa963a1
Add py36 identifier
...
and order AUTHORS
2017-01-22 17:13:17 -07:00
Ronny Pfannschmidt
0e64cd045c
take off author_email after pypi rejects
2017-01-22 22:14:54 +01:00
Stefan Scherfke
3f5edc705a
Explicitly add setuptools to install_requires
...
Setuptools is used in `_pytest/config.py` but was not explicitly listed as requirement. This led to an error when creating a Conda package for pytest since setuptools is not necessarily installed by default in Conda envs.
2016-12-19 13:22:25 +01:00
Bruno Oliveira
26b1519534
Add keywords to setup.py as suggested by pyroma
...
Related to #1
2016-11-09 20:47:14 -02:00
Ronny Pfannschmidt
e877e25587
drop python 3.0-3.2 support code from setup.py
...
addresses #1627
2016-06-27 17:55:37 +02:00
Oliver Bestwalter
891e1677b6
Remove all py.test-X* entry points.
...
The versioned, suffixed entry points are not documented and a leftover from a pre-virtualenv world. They also are broken for wheels.
2016-06-25 12:27:05 +02:00
Dave Hunt
ef9dd14963
Introduce pytest command as recommended entry point
...
Fixes #1629
2016-06-21 16:16:57 +02:00
Adam Chainz
8a39869347
Convert readthedocs link for their .org -> .io migration for hosted projects
...
As per their email ‘Changes to project subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified. One was not modified - `http://media.readthedocs.org/epub/pytest/latest/pytest.epub ` - since it doesn't work on `readthedocs.io`.
2016-05-18 17:12:39 +01:00
Bruno Oliveira
a912d3745b
Moved py.code code over to py.test
...
Fix #103
2016-01-25 23:18:04 -02:00
holger krekel (rather uses bitbucket/hpk42)
f32f3f1980
Merge pull request #1019 from mdboom/python3.5-docs
...
Various updates to the docs to mention support for Python 3.5
2015-09-17 13:45:35 +02:00
holger krekel
baf5b5d005
update changelog/author info, bump version number
2015-09-17 13:43:39 +02:00
Michael Droettboom
16f90ffc92
Various Python 3.5 documentation mentions
2015-09-17 07:32:52 -04:00
holger krekel
7eb1211192
revert setuptools_scm addition introduced with f22d14b105
2015-09-17 12:58:04 +02:00
Bruno Oliveira
0b3f1b4a7c
Create `_pytest.vendored_packages` and _pytest._pluggy
...
- Replace imports from "pluggy" to "_pytest._pluggy"
- Fallback to import "pluggy" from global namespace if
not found in _pytest.vendored_packges
2015-09-07 13:01:54 -03:00
Ronny Pfannschmidt
a060b8ff73
use setuptools_scm to determine the version
2015-07-25 10:44:18 +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
cdd25c9512
bump version to 2.7, depend on py-1.4.29
2015-06-22 23:53:41 +02:00
holger krekel
3c187c844e
make default depend on just published py/pluggy releases
2015-05-07 11:50:08 +02:00
holger krekel
d9a44098ce
use new pluggy api (now at 0.3.0) for adding hookcall monitoring
...
and reraise real keyboard interrupts during inline pytest runs
to allow for better stopping of the pytest tests.
--HG--
branch : plug30
2015-05-07 11:02:55 +02:00
holger krekel
bb8141e27c
- make sure sub pytest runs use the same basetemp
...
- depend on pluggy < 0.3
--HG--
branch : pluggy1
2015-05-06 14:58:46 +02:00
holger krekel
23538bcd31
- some more adaptation to most recent pluggy API
...
- avoid using pluggin underscore api
- show pluggy version in header
--HG--
branch : pluggy1
2015-05-05 21:53:04 +02:00
holger krekel
5ee7ee0850
adapt pytest to using pluggy (current master)
...
--HG--
branch : pluggy1
2015-04-29 16:40:51 +02:00
holger krekel
5c8e5acf9d
change test module importing behaviour to append to sys.path
...
instead of prepending. This better allows to run test modules
against installated versions of a package even if the package
under test has the same import root. In this example::
testing/__init__.py
testing/test_pkg_under_test.py
pkg_under_test/
the tests will preferrably run against the installed version
of pkg_under_test whereas before they would always pick
up the local version.
--HG--
branch : prefer_installed
2015-04-17 22:25:35 +02:00
Floris Bruynooghe
129bb5393b
Do imports at the head of the file
...
--HG--
branch : pytest-2.7
2015-04-12 23:36:28 +01:00
Ionel Cristian Maries
db08dcab14
Rename function and add nice docstring.
...
--HG--
branch : pytest-2.7
2015-04-10 22:11:17 +03:00
Ionel Cristian Maries
edd6c0f9b3
Make argpase a dependency for python 3.0 and 3.1 too.
...
--HG--
branch : pytest-2.7
2015-04-10 21:59:47 +03:00
Ionel Cristian Maries
a58cb3b95c
Test for setuptools 0.7.2, turns out there's no 0.7 release on pypi.
...
--HG--
branch : pytest-2.7
2015-04-10 21:58:59 +03:00
Ionel Cristian Maries
40a682476d
Improve version test (use pkg_resources to compare versions). Also log failures to stderr.
...
--HG--
branch : pytest-2.7
2015-04-10 21:44:27 +03:00
Ionel Cristian Maries
b7d43c5a5d
Add support for building proper wheels (universal and proper dependency evnironment markers for argparse/colorama if setuptools is new-ish).
...
--HG--
branch : pytest-2.7
2015-04-10 21:08:50 +03:00
holger krekel
b55d66d0cf
- avoid setting of versions and targets in conf.py and Makefile
...
as discussed on pytest-dev
- "make help" now prints pytest specific information.
- add a "_getdoctarget.py" helper
- make ``setup.py`` read the version from ``_pytest/__init__.py``
--HG--
branch : release-checklist
2015-04-02 10:38:25 +02:00
holger krekel
e16983d265
bump versions to dev, including changing the doc-install target to "dev"
...
instead of "latest"
2015-03-26 13:48:59 +01: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
060609317a
allow to override parametrized fixtures with non-parametrized ones and vice versa
...
--HG--
branch : parametrized-fixture-override
2015-03-01 13:54:43 +01:00
holger krekel
f2cdbe776e
bump version to 2.7 on default
2014-10-26 10:52:04 +01:00
holger krekel
49b7237581
bump version to 2.6.4.dev
2014-09-24 16:27:34 +02:00
holger krekel
2eef674615
regen and fix some docs (tox -e regen)
...
bump versions, depend on already released py-1.4.25
2014-09-24 14:46:56 +02:00
holger krekel
b6dcfd4377
fix conftest related fixture visibility issue: when running with a
...
CWD outside a test package pytest would get fixture discovery wrong.
Thanks to Wolfgang Schnerring for figuring out a reproducable example.
--HG--
branch : conftest-nodeid
2014-09-15 12:44:16 +02:00
holger krekel
1a80487e71
fix issue589: fix bad interaction with numpy and others when showing
...
exceptions. check for precise "maximum recursion depth exceed" exception
instead of presuming any RuntimeError is that one (implemented in py dep)
Thanks Charles Cloud for analysing the issue.
2014-09-14 17:24:27 +02:00
holger krekel
09a44f4cac
fix issue582: fix setuptools example, thanks Laszlo Papp and Ronny
...
Pfannschmidt.
2014-09-05 15:34:01 +02:00
holger krekel
7dad3cb157
prepare 2.6.2, release announcement, also add HOWTORELEASE.rst
2014-09-05 13:13:23 +02:00
Floris Bruynooghe
98dcd764bc
Depend on newer version of py
...
This fixes issue560, a test for which is included here as well.
2014-08-14 23:23:04 +01:00
holger krekel
e98f77037e
fix issue561 example adapted to python3.
2014-08-08 15:20:37 +02:00
holger krekel
e5eaf02e19
finalize pytest-2.6.1 release, regen docs
2014-08-07 21:41:51 +02:00
holger krekel
1d7b574b31
fix issue555: just add "errors" attribute to internal Capture stream.
2014-08-07 11:05:42 +02:00
holger krekel
97b671057d
put some imports back to function-level and streamline py2/py3 compat in one place
2014-08-01 10:12:53 +02:00
holger krekel
c2ed29070a
address issue170 by merging David Mohr's PR on adding "raises" as an optional
...
argument to pytest.mark.xfail.
2014-07-28 09:59:22 +02:00
holger krekel
ff2c18fedb
bump version, preliminary announcement
2014-07-17 16:38:54 +02:00
holger krekel
bf64a800d6
pytest depends on the freshly released 1.4.22 to function properly
2014-07-17 10:55:52 +02:00
holger krekel
07e76cbef2
fix issue364: shorten and enhance tracebacks representation by default.
...
The new "--tb=auto" option (default) will only display long tracebacks
for the first and last entry. You can get the old behaviour of printing
all entries as long entries with "--tb=long". Also short entries by
default are now printed very similarly to "--tb=native" ones.
2014-06-29 13:32:53 +02:00
Jurko Gospodnetić
8f9a88ef7a
update the list of officially supported Python versions in setup.py
...
Removed Python 3.0 & 3.1 off the list and added Python 3.4.
--HG--
branch : setup cleanup
2014-05-13 19:03:17 +02:00
Jurko Gospodnetić
c64af0d9ce
stylistic setup.py code cleanup
...
--HG--
branch : setup cleanup
2014-05-13 19:02:02 +02:00
Marc Abramowitz
24744cf5cf
setup.py: Require argparse for PY3 < 3.2
...
E.g.: python3.1; noticed py31 failure while running tox for six
--HG--
branch : require_argparse_for_py3_lt_32
2014-05-09 23:40:06 -07:00
holger krekel
28aa4c891e
bump version to 2.6.0.dev1 because i think we are going for a 2.6.0 release next
...
and not just a 2.5 maintenance one.
2014-04-03 22:27:04 +02:00
holger krekel
36288c5134
fix issue493: don't run tests in doc directory with ``python setup.py test``
...
(use tox -e doctesting for that)
2014-04-02 12:48:35 +02:00
holger krekel
cfd43a9b02
add changelog for warning system, bump internal version
2014-03-14 08:15:38 +01:00
holger krekel
25ab906b8b
add release announcement, bump version to 2.5.2,
...
add links to plugins index, regenerate doc examples.
2014-01-29 13:47:11 +01:00
holger krekel
8a3b4b9c37
require py>=1.2.20
2014-01-29 13:11:40 +01:00
holger krekel
cccfaa81fb
fix issue413: exceptions with unicode attributes are now printed
...
correctly also on python2 and with pytest-xdist runs. (the fix
requires py-1.4.20)
2014-01-22 17:48:56 +01:00
Jurko Gospodnetić
9fb2079458
replace py.test module references with pytest
...
The only remaining 'py.test' references are:
* those referring to the 'py.test' executable
* those in code explicitly testing py.test/pytest module compatibility
* those in old CHANGES documentation
* those in documentation generated based on external data
* those in seemingly unfinished & unmaintained Japanese documentation
Minor stylistic changes and typo corrections made to documentation next to
several applied py.test --> pytest content changes.
2014-01-18 12:31:33 +01:00
holger krekel
699892bd03
fix issue409 -- better interoperate with cx_freeze by not
...
trying to import from collections.abc which causes problems for py27/cx_freeze.
2013-12-18 14:56:45 +01:00
holger krekel
5a13f31bce
fix issue407: fix addoption docstring to point to argparse instead of
...
optparse. Thanks Daniel D. Wright.
2013-12-16 18:07:05 +01:00
holger krekel
1644cd2da5
don't declare py25 as supported anymore.
2013-12-12 07:30:34 +01:00
holger krekel
bfa53811d3
regen docs and bump version to 2.5.0
2013-12-11 12:20:19 +01:00
holger krekel
fa80b8ad17
add changelog: fix issue319 - correctly show unicode in assertion errors. Many
...
thanks to Floris Bruynooghe for the complete PR. Also means
we depend on py>=1.4.19 now.
2013-12-11 11:28:06 +01:00
holger krekel
9dec27371d
change metadata
2013-10-24 15:08:50 +02:00
holger krekel
cf9d345382
fix unicode handling with junitxml, fixes issue368.
2013-10-21 16:54:25 +02:00
holger krekel
a5d4c20905
make "--runxfail" turn imperative pytest.xfail calls into no ops
...
(it already did neutralize pytest.mark.xfail markers)
2013-10-09 22:55:20 +02:00
holger krekel
0335c6d750
bump version to 2.3.3.dev1
2013-10-05 21:39:16 +02:00
holger krekel
19a76337a4
add pluginmanager.do_configure(config) as a link to
...
config.do_configure() for plugin-compatibility
add some more plugins to plugin-test.sh
2013-10-04 11:36:45 +02:00
holger krekel
cb65c56037
fix issue365 and depend on a newer py versions which uses colorama
...
for coloring instead of its own ctypes hacks.
2013-10-03 17:46:36 +02:00
holger krekel
071960250f
avoid "IOError: Bad Filedescriptor" on pytest shutdown by not closing
...
the internal dupped stdout (fix is slightly hand-wavy but work).
2013-10-02 12:39:01 +02:00
holger krekel
2b8f4214c3
2.4.1 release preps
2013-10-02 09:16:51 +02:00
holger krekel
895d52471b
bump version to dev again, new CHANGELOG section for 2.4.1.dev.
2013-10-01 12:51:52 +02:00
holger krekel
f9927e457b
bump version to 2.4.0
2013-10-01 10:43:36 +02:00