Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6413cf655b | |||
| 401e75f3b2 | |||
| fbd7e8f56f | |||
| 7bc591def1 |
BIN
deprecated-1.2.18.tar.gz
LFS
BIN
deprecated-1.2.18.tar.gz
LFS
Binary file not shown.
3
deprecated-1.3.1.tar.gz
Normal file
3
deprecated-1.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223
|
||||
size 2932523
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user