Commit Graph

17 Commits

Author SHA256 Message Date
1750e2966a - update to 2.0.2:
* 🐛`32` Fix dangling compatibility issues with pytest
    version 8.x. Thanks to Alex Gaynor for the patch!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=27
2024-04-06 12:11:49 +00:00
dd5b1a1797 - update to 2.0.1:
* Don't try loading Pytest fixture functions as if
    they were test functions. Classifying this as a bug even
    though it's a moderately sized change in behavior; 
    it's vanishingly unlikely anybody was relying on this
    somehow!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=25
2023-05-31 19:44:38 +00:00
ca06915cd9 Accepting request 1082417 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=23
2023-04-24 09:15:16 +00:00
Steve Kowalik
9c01b2bd65 - Removed six from BuildRequires, is no longer used.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=21
2023-01-11 01:54:04 +00:00
Steve Kowalik
714a259f83 And drop invoke from BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=20
2023-01-11 01:52:41 +00:00
Steve Kowalik
5ae025908a Drop invocations from BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=19
2023-01-10 06:34:30 +00:00
Steve Kowalik
8bdf5ad79a - Update to 2.0.0:
* Prior to version 2, we failed to correctly support true Pytest
    setup/teardown methods (i.e. setup_method and teardown_method) and
    these would not get copied to inner class scopes. This has been fixed.
    We still support old nose-style setup/teardown for now, despite them
    going away in Pytest 8.
  * Modernize codebase/project a bunch:
    + Dropped support for Python <3.6 (including 2.7)
    + Pytest support upgraded to support, and require, Pytest >=7.
    + Behavioral changes in Pytest internals have fixed a handful of
      sorta-bugs present in pytest-relaxed under Pytest versions 3 and 4.
- Dropped patches pytest-6.1-and-7.patch, pytest-relaxed-pr10.patch:
  * No longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=18
2023-01-05 03:29:55 +00:00
f73ca54193 Accepting request 969722 from home:bnavigator:branches:devel:languages:python:pytest
- Enhance no-makeitem-method.patch to pytest-6.1-and-7.patch
  gh#bitprophet/pytest-relaxed#21

OBS-URL: https://build.opensuse.org/request/show/969722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=16
2022-04-13 08:45:09 +00:00
Steve Kowalik
b2b7e12aed - Add patch no-makeitem-method.patch:
* Support pytest > 6.1 
- No longer skip python310.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=14
2022-03-10 06:06:44 +00:00
2a13cf7273 Accepting request 942987 from home:bnavigator:py310
- Skip python310 -- gh#bitprophet/pytest-relaxed#12

OBS-URL: https://build.opensuse.org/request/show/942987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=13
2021-12-29 00:59:53 +00:00
Steve Kowalik
626d3f14fd - Add missing BuildRequires on six.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=12
2021-11-17 03:46:27 +00:00
0d427716d3 Accepting request 841500 from home:bnavigator:branches:devel:languages:python:pytest
- Upper limit pytest 6.1 -- gh#bitprophet/pytest-relaxed#12

Resolve Staging:H blocker

OBS-URL: https://build.opensuse.org/request/show/841500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=10
2020-10-16 11:36:32 +00:00
Tomáš Chvátal
ac7fe56aef Accepting request 805936 from home:bnavigator:branches:devel:languages:python:pytest
- fix test failure by pytest-relaxed-pr10.patch
  gh#bitprophet/pytest-relaxed#10 

This patch fixes both the until now skipped color test as well
as the failure with new pytest versions because those
emit unexpected PytestDeprecationWarnings

OBS-URL: https://build.opensuse.org/request/show/805936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=8
2020-05-16 09:21:05 +00:00
Tomáš Chvátal
b1f6a32c99 - Skip test test_tests_are_colorized_by_test_result as pytest 5.3
tweaked color output a bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=6
2020-01-15 12:51:17 +00:00
Tomáš Chvátal
1991df8199 - Update to 1.1.5:
* Fix compatibility with pytest versions 3.3 and above.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=4
2019-06-17 10:52:19 +00:00
Dominique Leuenberger
91c1c69494 Accepting request 687591 from devel:languages:python:pytest
- Update to 1.1.4:
  * Various tiny fixes in formating/metadata/etc.
- Drop patch python3_fix.patch

OBS-URL: https://build.opensuse.org/request/show/687591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-relaxed?expand=0&rev=2
2019-03-26 14:36:59 +00:00
Dominique Leuenberger
f5bd7652c3 Accepting request 542123 from devel:languages:python
Pytest-relaxed for test discovery/organization

OBS-URL: https://build.opensuse.org/request/show/542123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-relaxed?expand=0&rev=1
2017-11-16 13:03:00 +00:00