17
0

92 Commits

Author SHA256 Message Date
516fa8cd4d Accepting request 1305067 from devel:languages:python
- Add patch resolve-testcase-eq-deprecation-warning.patch:
  * Don't rely on bool(NotImplemented) which is now a TypeError in
    Python 3.14.

OBS-URL: https://build.opensuse.org/request/show/1305067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=37
2025-09-17 14:37:11 +00:00
41d2530fbc - Add patch resolve-testcase-eq-deprecation-warning.patch:
* Don't rely on bool(NotImplemented) which is now a TypeError in
    Python 3.14.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=88
2025-09-16 05:42:34 +00:00
84d777ba6c Accepting request 1202888 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1202888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=36
2024-09-26 16:52:43 +00:00
4eb9026b99 Accepting request 1202887 from home:mcalabkova:branches:devel:languages:python
- Update to 2.7.2
  * Treat methodName="runTest" similar to unittest.TestCase,
    fixes compatibility with pytest 8.3. (Natanael Copa, #372)
  * Use ruff for linting. (Jelmer Vernooij)
  * Fix compatibility with Python 3.12.1. (Matthew Treinish)
  * Deprecate SkippedTest exception. (Stephen Finucane)
  * Drop support for Python 3.7. (Jelmer Vernooij)
- Drop merged pytest82.patch
- Add upstream twisted.patch to fix tests with new Twisted

OBS-URL: https://build.opensuse.org/request/show/1202887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=86
2024-09-24 09:58:23 +00:00
2d2630b283 Accepting request 1175385 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1175385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=35
2024-05-21 16:34:39 +00:00
f1f5658c47 Accepting request 1174877 from home:mcalabkova:branches:devel:languages:python:pytest
- Add pytest82.patch to fix functionality with the new pytest.

OBS-URL: https://build.opensuse.org/request/show/1174877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=84
2024-05-20 18:22:14 +00:00
dc052de17b Accepting request 1172636 from devel:languages:python
- Drop the now unneeded rpmlintrc.
- Clean up BuildRequires and Requires to match reality.
- Add missing _multibuild file.

OBS-URL: https://build.opensuse.org/request/show/1172636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=34
2024-05-09 10:07:49 +00:00
2057afd9c2 - Add missing _multibuild file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=82
2024-05-08 06:42:55 +00:00
b433016fc2 - Drop the now unneeded rpmlintrc.
- Clean up BuildRequires and Requires to match reality.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=81
2024-05-08 02:59:17 +00:00
aed21e2277 Accepting request 1135792 from devel:languages:python
- update to 2.7.1:
  * Remove various unused imports.
  * Fix build backend. This should prevent version from being set
    when building wheels.
  * Fix compatibility with Python 3.12.
  * Add typing in various modules (still lacking full coverage).
  * Drop the 'test' command for distutils. This has been
    deprecated since 2.6.0. (Jelmer Vernooij)
  * Drop support for Python 3.6.

- remove python-testtools-no-unittest2.patch (upstream)
- BuildRequires also using extras>=1.0.0
- fix typo in last change
  supposed to do just that.
- add python-mmimeparse dependency
  * testtools.run discover will now sort the tests it discovered. This is a
    fixes testr run of streams containing progress markers (by discarding the

OBS-URL: https://build.opensuse.org/request/show/1135792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=33
2024-01-05 21:58:35 +00:00
0fb7a00a15 - update to 2.7.1:
* Remove various unused imports.
  * Fix build backend. This should prevent version from being set
    when building wheels.
  * Fix compatibility with Python 3.12.
  * Add typing in various modules (still lacking full coverage).
  * Drop the 'test' command for distutils. This has been
    deprecated since 2.6.0. (Jelmer Vernooij)
  * Drop support for Python 3.6.
- remove python-testtools-no-unittest2.patch (upstream)
- BuildRequires also using extras>=1.0.0
- fix typo in last change
  supposed to do just that.
- add python-mmimeparse dependency
  * testtools.run discover will now sort the tests it discovered. This is a
    fixes testr run of streams containing progress markers (by discarding the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=79
2023-12-30 20:40:23 +00:00
2177fc4c14 Accepting request 1084879 from devel:languages:python
- update to 2.6.0:
  * Add support for Python 3.10 and 3.11.
  * Drop support for Python 3.5 (EOL).
  * Use ``CompoundFixture`` from ``fixtures>=2.0`` rather than
    rolling our own.
  * Make ``TestCase`` hashable.
  * Prevent ``AttributeError`` in ``TestCase.__eq__`` for objects
    lacking a ``__dict__`` attribute.
  * Replace deprecated ``cgi`` module usage with ``email``.

OBS-URL: https://build.opensuse.org/request/show/1084879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=32
2023-05-09 11:06:12 +00:00
fea9399bbb - update to 2.6.0:
* Add support for Python 3.10 and 3.11.
  * Drop support for Python 3.5 (EOL).
  * Use ``CompoundFixture`` from ``fixtures>=2.0`` rather than
    rolling our own.
  * Make ``TestCase`` hashable.
  * Prevent ``AttributeError`` in ``TestCase.__eq__`` for objects
    lacking a ``__dict__`` attribute.
  * Replace deprecated ``cgi`` module usage with ``email``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=77
2023-05-04 21:21:15 +00:00
b7fee5a8ee Accepting request 1082306 from devel:languages:python
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=31
2023-04-24 20:30:49 +00:00
80f5784eb6 - add sle15_python_module_pythons (jsc#PED-68)
- Make calling of %{sle15modernpython} optional.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=75
2023-04-23 19:57:06 +00:00
bf110bf750 Accepting request 1037124 from devel:languages:python
- Skip rpmlint error python-tests-in-package.

OBS-URL: https://build.opensuse.org/request/show/1037124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=30
2022-11-22 15:09:47 +00:00
60f4d68eda - Skip rpmlint error python-tests-in-package.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=73
2022-11-21 14:19:57 +00:00
ad097e5bde Accepting request 1035284 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=29
2022-11-12 16:40:21 +00:00
6541a49e52 Accepting request 1035270 from home:pgajdos:python
- silent rpmlint

- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1035270
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=71
2022-11-11 13:47:06 +00:00
b9564a23bb Accepting request 925738 from devel:languages:python
- update to 2.5.0:
  * Update testtools/compat.py
  * Note Python 3.5 is EOL and will be dropped after the next release
  * Fix for Python 3.10
  * Add python 3.10 to ci configuration
  * testtools.compat: provide BytesIO, StringIO again
  * Add support for Python 3.9
  * Update and simplify workflow
  * Fix UserWarning: Usage of dash-separated ...
  * Fix tests with Python 3.10
  * Remove mimeparse dependency
  * trivial: Cleanup imports
  * Re-introduce 'try\_imports'
  * Remove use of 'try\_imports'
  * tox: Don't skip sdist
  * Remove use of 'safe\_hasattr'
  * NEWS: Add note about unittest2 removal
  * Fix github actions
  * Update testtools/content.py
  * Update tox.ini
  * Update github actions config to use release 3.9
  * Drop traceback2 in favor of traceback and remove unused linecache2
  * Update tox.ini
  * Add tox.ini file
  * Remove tox.ini file
  * restore testtools/tests/test\_testcase.py
  * Remove unittest2 from setup.cfg and add tox.ini file
  * Remove unrelated change
  * Restore test\_spinner.py
  * Remove unused try\_import

OBS-URL: https://build.opensuse.org/request/show/925738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=28
2021-10-20 18:23:27 +00:00
45bd82c08d - update to 2.5.0:
* Update testtools/compat.py
  * Note Python 3.5 is EOL and will be dropped after the next release
  * Fix for Python 3.10
  * Add python 3.10 to ci configuration
  * testtools.compat: provide BytesIO, StringIO again
  * Add support for Python 3.9
  * Update and simplify workflow
  * Fix UserWarning: Usage of dash-separated ...
  * Fix tests with Python 3.10
  * Remove mimeparse dependency
  * trivial: Cleanup imports
  * Re-introduce 'try\_imports'
  * Remove use of 'try\_imports'
  * tox: Don't skip sdist
  * Remove use of 'safe\_hasattr'
  * NEWS: Add note about unittest2 removal
  * Fix github actions
  * Update testtools/content.py
  * Update tox.ini
  * Update github actions config to use release 3.9
  * Drop traceback2 in favor of traceback and remove unused linecache2
  * Update tox.ini
  * Add tox.ini file
  * Remove tox.ini file
  * restore testtools/tests/test\_testcase.py
  * Remove unittest2 from setup.cfg and add tox.ini file
  * Remove unrelated change
  * Restore test\_spinner.py
  * Remove unused try\_import

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=70
2021-10-16 19:31:23 +00:00
4432239d28 Accepting request 813502 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/813502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=27
2020-06-21 16:50:26 +00:00
Tomáš Chvátal
23ee7f12ed Accepting request 813499 from home:pgajdos:python
- move testsuite run to main package, remove -doc
- added patches
  unittest2 is not neccessary to run testsuite
  + python-testtools-no-unittest2.patch

OBS-URL: https://build.opensuse.org/request/show/813499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=68
2020-06-11 12:11:48 +00:00
Tomáš Chvátal
e28478e9c4 Accepting request 813210 from home:pgajdos:python
- remove unittest2 runtime dependency

OBS-URL: https://build.opensuse.org/request/show/813210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=67
2020-06-10 11:52:46 +00:00
c02c79541b Accepting request 785593 from devel:languages:python
- update to 2.4.0:
  * Release 2.4.0
  * Add myself to contributors list
  * Add support for Python 3.7 and 3.8
  * Cache pip directory
  * Test CI on PyPy3
  * Tell pip not to install for Python 3.4
  * Drop support for EOL Python 3.4
  * Extra space expected in PyPy output
  * PyCharm IDE unittest detection compatibility fix
  * Don't use eval()
  * Fix the tests on Python 3.7
  * Drop support for EOL Python 3.3
  * Ignore IDE metadata
  * Update classifiers
  * Remove old Python 2.6 code
  * Spelling fixes (#261)
  * Python 3.6 invalid escape sequence deprecation fixes (#262)
- remove testtools-py37.patch: merged upstream

OBS-URL: https://build.opensuse.org/request/show/785593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=26
2020-03-26 23:25:59 +00:00
51f72a4e6f - update to 2.4.0:
* Release 2.4.0
  * Add myself to contributors list
  * Add support for Python 3.7 and 3.8
  * Cache pip directory
  * Test CI on PyPy3
  * Tell pip not to install for Python 3.4
  * Drop support for EOL Python 3.4
  * Extra space expected in PyPy output
  * PyCharm IDE unittest detection compatibility fix
  * Don't use eval()
  * Fix the tests on Python 3.7
  * Drop support for EOL Python 3.3
  * Ignore IDE metadata
  * Update classifiers
  * Remove old Python 2.6 code
  * Spelling fixes (#261)
  * Python 3.6 invalid escape sequence deprecation fixes (#262)
- remove testtools-py37.patch: merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=65
2020-03-16 11:00:06 +00:00
9aee900f16 Accepting request 739072 from devel:languages:python
superseding as discussed with dimstar

OBS-URL: https://build.opensuse.org/request/show/739072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=25
2019-11-04 16:06:17 +00:00
a5151579ce - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=63
2019-10-14 14:47:25 +00:00
Tomáš Chvátal
4874608941 Accepting request 649240 from devel:languages:python
Revert for now, breaks packages depending on this

OBS-URL: https://build.opensuse.org/request/show/649240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=62
2018-11-15 11:40:30 +00:00
Tomáš Chvátal
44750edf86 Accepting request 645918 from home:mcepl:work
- Remove requirements of unittest2 and linecache2 adding two
  additional patches remove-linecache2.patch and
  remove-unittest2.patch.

OBS-URL: https://build.opensuse.org/request/show/645918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=61
2018-11-02 08:20:44 +00:00
acd35b1210 Accepting request 628734 from devel:languages:python
- Really run the tests
- Add patch to build with python 3.7:
  * testtools-py37.patch

OBS-URL: https://build.opensuse.org/request/show/628734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=24
2018-08-15 08:30:55 +00:00
Tomáš Chvátal
56dc88b5e6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=59 2018-08-11 08:39:24 +00:00
Tomáš Chvátal
41b66437a9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=58 2018-08-11 08:06:17 +00:00
Tomáš Chvátal
4654015c88 - Really run the tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=57
2018-08-11 08:05:17 +00:00
Tomáš Chvátal
577e4da085 - Add patch to build with python 3.7:
* testtools-py37.patch
- Remove unittest2 dependency, it is needed only on python2.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=56
2018-08-10 11:27:57 +00:00
f888da3d86 Accepting request 584290 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/584290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=23
2018-03-09 09:45:29 +00:00
Tomáš Chvátal
7b0a1c3822 Accepting request 584257 from home:aplanas:branches:devel:languages:python
- Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/584257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=54
2018-03-08 10:51:57 +00:00
48c50289fc Accepting request 580793 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=22
2018-03-05 12:36:58 +00:00
878984967c Accepting request 580762 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE

OBS-URL: https://build.opensuse.org/request/show/580762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=52
2018-02-27 21:29:55 +00:00
cd3852ed7b Accepting request 507964 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=21
2017-07-11 06:24:56 +00:00
aa36c0bdae Accepting request 507958 from home:tbechtold:branches:devel:languages:python
- update to 2.3.0:
  * Release 2.3.0
  * Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)
  * Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241)
  * Add testtools.assertions to the documented API modules (#257)
  * Add Python 3.6 to the list of Travis targets (#255)
  * Don't add file details without content (#252)
  * Don't run Sphinx on Travis Python 3.3 target (#250)
  * Make twistedsupport and tests work on Python 3

- update to 2.3.0:
  * Release 2.3.0
  * Add ResourcedToStreamDecorator test result decorator for testresources integration (#243)
  * Make KeysEqual usable with no arguments, i.e. match a dict with no keys. (#241)
  * Add testtools.assertions to the documented API modules (#257)
  * Add Python 3.6 to the list of Travis targets (#255)
  * Don't add file details without content (#252)
  * Don't run Sphinx on Travis Python 3.3 target (#250)
  * Make twistedsupport and tests work on Python 3

OBS-URL: https://build.opensuse.org/request/show/507958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=50
2017-07-04 05:19:08 +00:00
9bc72e8ad2 Accepting request 499451 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/499451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=20
2017-05-31 10:19:28 +00:00
OBS User buildservice-autocommit
6e4bb5d538 Accepting request 497138 from devel:languages:python
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/497138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=48
2017-05-22 16:08:25 +00:00
f97e2a8d4a Accepting request 497138 from devel:languages:python
- Require python-unittest2 only for python2

OBS-URL: https://build.opensuse.org/request/show/497138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=19
2017-05-22 16:08:25 +00:00
OBS User buildservice-autocommit
52035f8533 Updating link to change in openSUSE:Factory/python-testtools revision 19.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=ab651eaf806471157cd1f7e9f7345971
2017-05-22 16:08:25 +00:00
88d2256317 - Revert "Require python-unittest2 only for python2". We have now
a python3-unittest2 package which should be used.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=47
2017-05-22 08:08:57 +00:00
75450f5a82 - Require python-unittest2 only for python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=46
2017-05-22 06:29:53 +00:00
b3c2d524a7 Accepting request 487995 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/487995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=18
2017-05-06 16:26:54 +00:00
Todd R
67f705ea20 Accepting request 487994 from home:TheBlackCat:branches:devel:languages:python
Fix python-fixtures dependency loop.

OBS-URL: https://build.opensuse.org/request/show/487994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=44
2017-04-14 16:46:59 +00:00
Todd R
befb5fb6e6 Accepting request 486868 from home:TheBlackCat:branches:devel:languages:python
+- Split documentation and tests into separate .spec file to avoid dependency cycle with python-extras/python-testrepositories.

OBS-URL: https://build.opensuse.org/request/show/486868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=43
2017-04-12 14:49:51 +00:00