17
0

4 Commits

Author SHA256 Message Date
6413cf655b Accepting request 1317570 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1317570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=16
2025-11-14 15:11:49 +00:00
401e75f3b2 - Update to 1.3.1
* Restore missing source distribution (``.tar.gz``) that
    was not included in v1.3.0.
- from version 1.3.0
  * Add compatibility tests and adjustments for Wrapt v2.0.
    See PR #88 (musicinmybrain).
  * Add experimental `@deprecated_params` decorator to mark
    function parameters as deprecated at call-time; emits
    warnings when deprecated parameters are used with optional
    messages and configurable warning categories. See PR #93.
  * Update the Wrapt compatibility matrix to include Python
    3.13 and 3.14. See PR #91
  * Limit test coverage collection to the dedicated ``coverage``
    tox environment to avoid collecting coverage across all test
    environments and reduce cross-environment coverage noise.
    See PR #92.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=30
2025-11-13 12:05:05 +00:00
fbd7e8f56f Accepting request 1282967 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=15
2025-06-10 06:57:10 +00:00
7bc591def1 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=28
2025-06-05 06:05:43 +00:00
4 changed files with 34 additions and 13 deletions

Binary file not shown.

3
deprecated-1.3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223
size 2932523

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Thu Nov 13 07:46:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.1
* Restore missing source distribution (``.tar.gz``) that
was not included in v1.3.0.
- from version 1.3.0
* Add compatibility tests and adjustments for Wrapt v2.0.
See PR #88 (musicinmybrain).
* Add experimental `@deprecated_params` decorator to mark
function parameters as deprecated at call-time; emits
warnings when deprecated parameters are used with optional
messages and configurable warning categories. See PR #93.
* Update the Wrapt compatibility matrix to include Python
3.13 and 3.14. See PR #91
* Limit test coverage collection to the dedicated ``coverage``
tox environment to avoid collecting coverage across all test
environments and reduce cross-environment coverage noise.
See PR #92.
-------------------------------------------------------------------
Thu Jun 5 06:01:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Feb 3 13:19:39 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,18 +16,19 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-Deprecated
Version: 1.2.18
Version: 1.3.1
Release: 0
Summary: Python @deprecated decorator
License: MIT
Group: Development/Languages/Python
URL: https://github.com/tantale/deprecated
Source: https://files.pythonhosted.org/packages/source/d/deprecated/deprecated-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module wrapt >= 1.10}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -44,15 +45,10 @@ you can use the ``@deprecated`` decorator.
%setup -q -n deprecated-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
python%python_bin_suffix -m compileall *.py ';'
popd
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -62,6 +58,6 @@ popd
%doc CHANGELOG.rst README.md
%license LICENSE.rst
%{python_sitelib}/deprecated
%{python_sitelib}/Deprecated-%{version}*-info
%{python_sitelib}/[Dd]eprecated-%{version}.dist-info
%changelog