14
0
forked from pool/python-ddt

Compare commits

...

27 Commits

Author SHA256 Message Date
b4fe54000c Accepting request 1280149 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=23
2025-05-27 16:50:32 +00:00
4bff8826df - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=48
2025-05-26 11:45:46 +00:00
3605bbac71 Accepting request 1158948 from devel:languages:python
- update to 1.7.2:
  * Github actions to use tox for tests

OBS-URL: https://build.opensuse.org/request/show/1158948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=22
2024-03-20 20:10:20 +00:00
be23a0b24a - update to 1.7.2:
* Github actions to use tox for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=46
2024-03-18 10:29:29 +00:00
c8efa529f0 Accepting request 1137643 from devel:languages:python
- update to 1.7.1:
  * Update flake8 configuration
  * Remove Python 2.7 classifiers as the project is now Python 3+
    only

OBS-URL: https://build.opensuse.org/request/show/1137643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=21
2024-01-09 19:49:08 +00:00
c4e23f8c4a - update to 1.7.1:
* Update flake8 configuration
  * Remove Python 2.7 classifiers as the project is now Python 3+
    only

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=44
2024-01-06 17:16:36 +00:00
bb0e0ecfec Accepting request 1129175 from devel:languages:python
- update to 1.7.0:
  * Add async flag when wrapping async function (#111)
  * Dropping support for Python 2.7

- add six dependency
  * Fix zero padding issue
- fix python 2.x build
- add 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch
  * Allow index-only test names
  * Added individual test case docstring support and tests

OBS-URL: https://build.opensuse.org/request/show/1129175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=20
2023-12-01 20:24:33 +00:00
6a947cba6b - update to 1.7.0:
* Add async flag when wrapping async function (#111)
  * Dropping support for Python 2.7
- add six dependency
  * Fix zero padding issue
- fix python 2.x build
- add 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch
  * Allow index-only test names
  * Added individual test case docstring support and tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=42
2023-11-27 15:43:05 +00:00
91873ff2dc Accepting request 1081948 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=19
2023-04-22 20:01:24 +00:00
46f29d68b4 Accepting request 1081384 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=40
2023-04-21 14:45:09 +00:00
a9b8221846 Accepting request 1036272 from devel:languages:python
- Add remove-six.patch to remove six dependency
- Remove python_module macro definition
- More specific python_sitelib in %files

OBS-URL: https://build.opensuse.org/request/show/1036272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=18
2022-11-17 16:23:30 +00:00
5bbbaa79bc Accepting request 1006090 from devel:languages:python
- update to 1.6.0:
  * Moved @named_data into main ddt.py module so it can be imported
  * Enable usage of Sequence in named_data.py
  * @named_data decorator to give tests with @DaTa custom names
  * End support for 3.5
  * Add new Python versions support

OBS-URL: https://build.opensuse.org/request/show/1006090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=17
2022-09-27 18:13:14 +00:00
2e483bb39e Accepting request 930120 from devel:languages:python
- add six dependency

OBS-URL: https://build.opensuse.org/request/show/930120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=16
2021-11-10 20:45:50 +00:00
3f24b0ea18 Accepting request 925752 from devel:languages:python
- update to 1.4.4:
  * Fix the ddt.idata signature issue introduced in 1.4.3
  * Fix zero padding issue

OBS-URL: https://build.opensuse.org/request/show/925752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=15
2021-10-20 18:23:31 +00:00
b897b3a47a Accepting request 883686 from devel:languages:python
- fix python 2.x build

OBS-URL: https://build.opensuse.org/request/show/883686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=14
2021-04-12 10:33:41 +00:00
Richard Brown
1db7c713c1 Accepting request 880822 from devel:languages:python
- update to 1.4.2:
  * Fix test failure with PyYAML 5.4.1
- rm 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch:
  merged upstream

OBS-URL: https://build.opensuse.org/request/show/880822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=13
2021-04-01 12:15:51 +00:00
1f59e38510 Accepting request 866682 from devel:languages:python
- add 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch

OBS-URL: https://build.opensuse.org/request/show/866682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=12
2021-02-01 12:26:42 +00:00
892b90d1f7 Accepting request 809724 from devel:languages:python
- Update to 1.4.1:
  * Remove nose dependency for good
  * Require enum34 for Python 2.x.
  * Improved code comments and renamed the test name format enum class
  * Use enum instead of bool to allow easier future changes
  * Allow index-only test names 
- Switch to using %pytest macro now that nose is not required

OBS-URL: https://build.opensuse.org/request/show/809724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=11
2020-06-05 17:59:18 +00:00
bdde2fec0a Accepting request 790849 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=10
2020-04-07 08:23:39 +00:00
88fe469963 Accepting request 785070 from devel:languages:python
- update to 1.3.0:
  * Added the ability to specify the YAML loader in the file_data decorator (#77)
  * Dropped Python 3.4 support

OBS-URL: https://build.opensuse.org/request/show/785070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=9
2020-03-26 23:24:14 +00:00
9f603801a2 Accepting request 766250 from devel:languages:python
- Update to 1.2.2:
  * use mock only when it is really needed

OBS-URL: https://build.opensuse.org/request/show/766250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=8
2020-01-24 13:21:06 +00:00
b38ae2e41c Accepting request 682478 from devel:languages:python
- Update to 1.2.1:
  * Merge pull request #68 from datadriventests/fix-docstring-behavior

OBS-URL: https://build.opensuse.org/request/show/682478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=7
2019-03-12 08:44:48 +00:00
71ad935349 Accepting request 654006 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=6
2018-12-06 11:14:35 +00:00
1b8ae8ad21 Accepting request 627903 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/627903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=5
2018-08-08 12:53:45 +00:00
c7dec0cc05 Accepting request 514463 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/514463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=4
2017-08-24 16:45:02 +00:00
56c62df103 Accepting request 424130 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/424130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=3
2016-09-01 12:03:43 +00:00
010f9a9fe4 Accepting request 350431 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/350431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ddt?expand=0&rev=2
2015-12-23 08:57:28 +00:00
4 changed files with 53 additions and 18 deletions

BIN
ddt-1.6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
ddt-1.7.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Mon May 26 11:45:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Mar 18 10:29:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.7.2:
* Github actions to use tox for tests
-------------------------------------------------------------------
Sat Jan 6 17:15:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.7.1:
* Update flake8 configuration
* Remove Python 2.7 classifiers as the project is now Python 3+
only
-------------------------------------------------------------------
Mon Nov 27 15:42:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.7.0:
* Add async flag when wrapping async function (#111)
* Dropping support for Python 2.7
-------------------------------------------------------------------
Fri Apr 21 12:24:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:51 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Wed Nov 16 17:20:57 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
@@ -18,19 +54,19 @@ Mon Sep 26 10:38:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Mon Nov 8 10:11:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add six dependency
- add six dependency
-------------------------------------------------------------------
Sat Oct 16 21:01:08 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.4.4:
* Fix the ddt.idata signature issue introduced in 1.4.3
* Fix zero padding issue
* Fix zero padding issue
-------------------------------------------------------------------
Wed Apr 7 20:25:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
- fix python 2.x build
- fix python 2.x build
-------------------------------------------------------------------
Tue Mar 23 21:06:40 UTC 2021 - Dirk Müller <dmueller@suse.com>
@@ -43,7 +79,7 @@ Tue Mar 23 21:06:40 UTC 2021 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Mon Jan 25 21:52:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch
- add 0001-Use-Yaml-s-UnsafeLoader-for-Python-embedding-tests.patch
-------------------------------------------------------------------
Thu May 28 03:09:23 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
@@ -53,7 +89,7 @@ Thu May 28 03:09:23 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
* Require enum34 for Python 2.x.
* Improved code comments and renamed the test name format enum class
* Use enum instead of bool to allow easier future changes
* Allow index-only test names
* Allow index-only test names
- Switch to using %pytest macro now that nose is not required
-------------------------------------------------------------------
@@ -90,7 +126,7 @@ Tue Dec 4 12:47:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
Tue Aug 7 14:48:44 UTC 2018 - toddrme2178@gmail.com
- update to 1.2.0
* Added individual test case docstring support and tests
* Added individual test case docstring support and tests
* Add nested dict example to docs and cosmetic adjustments
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ddt
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
#
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-ddt
Version: 1.6.0
Version: 1.7.2
Release: 0
Summary: Data-Driven/Decorated Tests
License: MIT
@@ -26,17 +26,16 @@ URL: https://github.com/txels/ddt
Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz
# PATCH-FIX-UPSTREAM remove-six.patch gh#datadriventests/ddt#110
Patch0: remove-six.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module aiounittest}
BuildRequires: %{python_module pytest}
%if %{with python2}
BuildRequires: python2-enum34
BuildRequires: python2-mock
%endif
# /SECTION
%python_subpackages
@@ -47,10 +46,10 @@ A library to multiply test cases.
%autosetup -p1 -n ddt-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check