Commit Graph

32 Commits

Author SHA256 Message Date
Dominique Leuenberger
35068c2d37 Accepting request 602321 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/602321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=36
2018-05-06 12:55:08 +00:00
Dominique Leuenberger
be7246d36d Accepting request 593001 from devel:languages:python
- add python3-sphinxcontrib-trio to BuildRequires 

- update to 3.5.0
- new install dependency python-more-itertools
- more changes in CHANGELOG.rst

- update to 3.5.0
- new install dependency python-more-itertools
- more changes in CHANGELOG.rst

OBS-URL: https://build.opensuse.org/request/show/593001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=35
2018-04-02 20:48:47 +00:00
Dominique Leuenberger
a1b7ffd6d0 Accepting request 584625 from devel:languages:python
- update to 3.4.2
- more in python-pytest.changes

- update to 3.4.2
* Removed progress information when capture option is no.
* Refactor check of bindir from exists to isdir.
* Fix TypeError issue when using approx with a Decimal value. 
* Fix reference cycle generated when using the request fixture. 
* [tool:pytest] sections in *.cfg files passed by the
   -c option are now properly recognized.

OBS-URL: https://build.opensuse.org/request/show/584625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=34
2018-03-12 11:01:55 +00:00
Dominique Leuenberger
e0c397d8eb Accepting request 581941 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/581941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=33
2018-03-06 09:43:54 +00:00
Dominique Leuenberger
f71322f608 Accepting request 579198 from devel:languages:python
- update to 3.4.1
* Move import of doctest.UnexpectedException to top-level to avoid possible
  errors when using --pdb.
* Added printing of captured stdout/stderr before entering pdb, and improved a
  test which was giving false negatives about output capturing.
* Fix ordering of tests using parametrized fixtures which can lead to fixtures
  being created more than necessary.
* Fix bug where logging happening at hooks outside of "test run" hooks would
  cause an internal error.
* Detect arguments injected by unittest.mock.patch decorator correctly when
  pypi mock.patch is installed and imported.
* Errors shown when a pytest.raises() with match= fails are now cleaner
  on what happened: When no exception was raised, the "matching '...'" part got
  removed as it falsely implies that an exception was raised but it didn't
  match. When a wrong exception was raised, it's now thrown 
  instead of complaining about the unmatched text.
* Add Sphinx parameter docs for match and message args to pytest.raises
* Rename ParameterSet._for_parameterize() to _for_parametrize() in
    order to comply with the naming convention.

- update to 3.4.1
* Move import of doctest.UnexpectedException to top-level to avoid possible
  errors when using --pdb.
* Added printing of captured stdout/stderr before entering pdb, and improved a
  test which was giving false negatives about output capturing.
* Fix ordering of tests using parametrized fixtures which can lead to fixtures
  being created more than necessary.
* Fix bug where logging happening at hooks outside of "test run" hooks would
  cause an internal error.
* Detect arguments injected by unittest.mock.patch decorator correctly when (forwarded request 579197 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/579198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=32
2018-02-24 15:37:21 +00:00
Dominique Leuenberger
7aea8b952d Accepting request 575840 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/575840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=31
2018-02-15 12:20:39 +00:00
Dominique Leuenberger
adaecf3396 Accepting request 562163 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/562163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=30
2018-01-16 08:25:01 +00:00
Dominique Leuenberger
800e9991a2 Accepting request 556675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/556675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=29
2017-12-15 13:01:40 +00:00
Dominique Leuenberger
17090bdd9a Accepting request 542013 from devel:languages:python
- update to 3.2.5
* don't limit py<1.5

- update to 3.2.5
* don't limit py<1.5 (forwarded request 542012 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/542013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=28
2017-11-19 10:05:58 +00:00
Dominique Leuenberger
d658ec082f Accepting request 537603 from devel:languages:python
- update to version 3.2.3:
  * Bug Fixes
    + Fix crash in tab completion when no prefix is given. (#2748)
    + The equality checking function (__eq__) of MarkDecorator returns
      False if one object is not an instance of MarkDecorator. (#2758)
    + When running pytest --fixtures-per-test: don’t crash if an item
      has no _fixtureinfo attribute (e.g. doctests) (#2788)
  * Improved Documentation
    + In help text of -k option, add example of using not to not
      select certain tests whose names match the provided
      expression. (#1442)
    + Add note in parametrize.rst about calling metafunc.parametrize
      multiple times. (#1548)
  * Trivial/Internal Changes
    + Set xfail_strict=True in pytest’s own test suite to catch
      expected failures as soon as they start to pass. (#2722)
    + Fix typo in example of passing a callable to markers (in
      example/markers.rst) (#2765)

- Fix python-py version requirement.
- Update to 3.2.2:
  * Bug Fixes
    - Calling the deprecated request.getfuncargvalue() now shows the
      source of the call. (#2681)
    - Allow tests declared as @staticmethod to use fixtures. (#2699)
    - Fixed edge-case during collection: attributes which raised
      pytest.fail when accessed would abort the entire collection.
      (#2707)
    - Fix ReprFuncArgs with mixed unicode and UTF-8 args. (#2731)
  * Improved Documentation

OBS-URL: https://build.opensuse.org/request/show/537603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=27
2017-11-02 09:24:10 +00:00
Dominique Leuenberger
c83e0c9223 Accepting request 527316 from devel:languages:python
- skip creating a python3 symlink when only python2.x is being built

OBS-URL: https://build.opensuse.org/request/show/527316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=26
2017-09-21 10:28:12 +00:00
Dominique Leuenberger
63c64a5255 Accepting request 483801 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/483801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=25
2017-04-19 16:05:53 +00:00
Dominique Leuenberger
cfc0981802 Accepting request 460258 from devel:languages:python
first batch of singlespec packages

OBS-URL: https://build.opensuse.org/request/show/460258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=24
2017-02-27 17:33:58 +00:00
Dominique Leuenberger
3216e6dfdd Accepting request 428222 from devel:languages:python
update to version 3.0.2

OBS-URL: https://build.opensuse.org/request/show/428222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=23
2016-09-20 11:23:40 +00:00
Dominique Leuenberger
e3989164ed Accepting request 424253 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/424253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=22
2016-09-05 19:18:43 +00:00
Dominique Leuenberger
2fc705bf21 Accepting request 357125 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=21
2016-02-16 08:27:13 +00:00
Dominique Leuenberger
6f77c06a4a Accepting request 337397 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/337397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=20
2015-10-19 20:47:20 +00:00
Dominique Leuenberger
f0f3fc7c4d Accepting request 319403 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/319403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=19
2015-08-06 22:20:39 +00:00
Stephan Kulow
55ea99eb6a Accepting request 315284 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/315284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=18
2015-07-16 15:13:54 +00:00
Dominique Leuenberger
04bc457b90 Accepting request 308505 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/308505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=17
2015-05-25 21:05:14 +00:00
Dominique Leuenberger
da98f5ec86 Accepting request 261690 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/261690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=16
2014-11-15 10:41:01 +00:00
Stephan Kulow
852d5e04ce Accepting request 254343 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/254343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=15
2014-10-09 10:52:02 +00:00
Stephan Kulow
63864fe7b7 Accepting request 242963 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/242963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=13
2014-07-31 08:04:04 +00:00
Stephan Kulow
487959f8f1 Accepting request 237622 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/237622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=12
2014-06-19 11:08:39 +00:00
Stephan Kulow
779112c8f0 Accepting request 225731 from devel:languages:python
- Update to version 2.5.2:
  - fix issue409 -- better interoperate with cx_freeze by not
    trying to import from collections.abc which causes problems 
    for py27/cx_freeze.  Thanks Wolfgang L. for reporting and tracking it down.
  - fixed docs and code to use "pytest" instead of "py.test" almost everywhere.
    Thanks Jurko Gospodnetic for the complete PR.  
  - fix issue425: mention at end of "py.test -h" that --markers
    and --fixtures work according to specified test path (or current dir)
  - 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)
  - copy, cleanup and integrate py.io capture
    from pylib 1.4.20.dev2 (rev 13d9af95547e)
  - address issue416: clarify docs as to conftest.py loading semantics
  - fix issue429: comparing byte strings with non-ascii chars in assert
    expressions now work better.  Thanks Floris Bruynooghe.
  - make capfd/capsys.capture private, its unused and shouldnt be exposed

OBS-URL: https://build.opensuse.org/request/show/225731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=11
2014-03-18 12:38:18 +00:00
Stephan Kulow
bc6c9be058 Accepting request 220367 from devel:languages:python
- Re-add python-argparse requirement for SP3

OBS-URL: https://build.opensuse.org/request/show/220367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=10
2014-01-30 16:44:56 +00:00
Stephan Kulow
04c38081af Accepting request 212740 from devel:languages:python
- Update to 2.5.1: 
  + merge new documentation styling PR from Tobias Bieniek.
  + fix issue403: allow parametrize of multiple same-name functions within
    a collection node.
  + Allow parameterized fixtures to specify the ID of the parameters by
    adding an ids argument to pytest.fixture() and pytest.yield_fixture().
  + fix issue404 by always using the binary xml escape in the junitxml
    plugin.
  + fix issue407: fix addoption docstring to point to argparse instead of
    optparse.
  * 2.5.0:
  + dropped python2.5 from automated release testing of pytest itself
    which means it's probably going to break soon
  + simplified and fixed implementation for calling finalizers when
    parametrized fixtures or function arguments are involved.  finalization
    is now performed lazily at setup time instead of in the "teardown phase".
  + PR90: add --color=yes|no|auto option to force terminal coloring
    mode ("auto" is default).
  + fix issue319 - correctly show unicode in assertion errors. Also means
    we depend on py>=1.4.19 now.
  + fix issue396 - correctly sort and finalize class-scoped parametrized
    tests independently from number of methods on the class.
  + refix issue323 in a better way -- parametrization should now never
    cause Runtime Recursion errors because the underlying algorithm
    for re-ordering tests per-scope/per-fixture is not recursive
    anymore
  + fix issue290 - there is preliminary support now for parametrizing
    with repeated same values (sometimes useful to to test if calling
    a second time works as with the first time).
  + close issue240 - document precisely how pytest module importing (forwarded request 212738 from mvyskocil)

OBS-URL: https://build.opensuse.org/request/show/212740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=9
2014-01-07 15:27:10 +00:00
Stephan Kulow
e0217a57be Accepting request 200749 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/200749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=8
2013-09-27 16:02:27 +00:00
Stephan Kulow
79f3013ee1 Accepting request 179972 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=6
2013-06-25 05:42:24 +00:00
Stephan Kulow
9f41ffa471 Accepting request 174888 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/174888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=5
2013-05-13 13:26:53 +00:00
Stephan Kulow
41dd743111 Accepting request 172888 from devel:languages:python
Ok, %defattr was an oversight; removed bcond, so it's fixed (forwarded request 172823 from thomas-schraitle)

OBS-URL: https://build.opensuse.org/request/show/172888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=4
2013-04-23 09:39:08 +00:00
Stephan Kulow
9b3b0a1d60 Accepting request 106138 from devel:languages:python
Please add

OBS-URL: https://build.opensuse.org/request/show/106138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=1
2012-03-05 17:01:42 +00:00