diff --git a/plumbum-1.7.2.tar.gz b/plumbum-1.7.2.tar.gz deleted file mode 100644 index 14c2346..0000000 --- a/plumbum-1.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa82147485b7346509ba30c64a19b4204b994b15a0f056ab007505ea087fd2e2 -size 317365 diff --git a/plumbum-1.8.2.tar.gz b/plumbum-1.8.2.tar.gz new file mode 100644 index 0000000..823b067 --- /dev/null +++ b/plumbum-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d092d6d829055579a332e0a4c5f3b3e843d7c5d9a8e30b508511f4d2e35f53e0 +size 321794 diff --git a/python-plumbum.changes b/python-plumbum.changes index 4a44499..acbe8ff 100644 --- a/python-plumbum.changes +++ b/python-plumbum.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sat Jan 13 20:53:04 UTC 2024 - Dirk Müller + +- update to 1.8.2: + * Fix author metadata on PyPI package and add static check + * Add testing for Python 3.12 beta 1 + * Use Ruff for linting + * Paths: Add type hinting for Path + * Accept path-like objects + * Move the build backend to hatchling and hatch-vcs. Users + should be unaffected. Third-party packaging may need to adapt + to the new build system. + * Drop Python 2.7 and 3.5 support, add 3.11 support + * Lots of extended checks and fixes for problems exposed. + * Color: support NO_COLOR/FORCE_COLOR + * Commands: New iter_lines buffer_size parameter + * Commands: cache remote commands + * SSH: Support reverse tunnels and dynamically allocated ports + * CLI: add Set(..., all_markers={"*", "all"}) and fix support + for other separators + * CLI: support future annotations + * Color: fix the ABC + * Exceptions: fix for exception pickling + * Fix for StdinDataRedirection and modifiers + ------------------------------------------------------------------- Wed Jan 19 22:56:55 UTC 2022 - Ben Greiner diff --git a/python-plumbum.spec b/python-plumbum.spec index 2abe6db..64efe4e 100644 --- a/python-plumbum.spec +++ b/python-plumbum.spec @@ -1,7 +1,7 @@ # # spec file for package python-plumbum # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-plumbum -Version: 1.7.2 +Version: 1.8.2 Release: 0 Summary: Shell combinators library License: MIT URL: https://github.com/tomerfiliba/plumbum Source: https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz#/plumbum-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module paramiko} BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} @@ -55,11 +57,11 @@ sed -i '/addopts/d' setup.cfg %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} -%python_build +%pyproject_wheel %install export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check