From ceb383c65c7d4b37aba63e3b08f9668b8547438c12ac3332a9bf30f149ccfa19 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 19:10:49 +0000 Subject: [PATCH 1/2] - update to 16.9.0: * Features - Added Path.iterdir() and deprecated Path.listdir(). * Use '.' as the default path. * Set stacklevel=2 in deprecation warning for .text. * Added .permissions attribute. * Require Python 3.8 or later. - Update to version 16.6.0 - Update to version 16.5.0 * Removed path.path. Clients must now refer to the canonical * Added support for resolving certain directories on a system to * In order to support "multipath" results, where multiple paths OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-path?expand=0&rev=15 --- path-16.6.0.tar.gz | 3 --- path-16.9.0.tar.gz | 3 +++ python-path.changes | 21 ++++++++++++++++----- python-path.spec | 11 +++++------ 4 files changed, 24 insertions(+), 14 deletions(-) delete mode 100644 path-16.6.0.tar.gz create mode 100644 path-16.9.0.tar.gz diff --git a/path-16.6.0.tar.gz b/path-16.6.0.tar.gz deleted file mode 100644 index adaacb2..0000000 --- a/path-16.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bea3816e1d54f4e33aac78d2031a0b0ed2f95e69db85b45d51f17df97071da69 -size 49670 diff --git a/path-16.9.0.tar.gz b/path-16.9.0.tar.gz new file mode 100644 index 0000000..a20b14f --- /dev/null +++ b/path-16.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfd31c2af60e8889a13538bef302ade7adacdb5351836be22638e2349ddd5d7b +size 48850 diff --git a/python-path.changes b/python-path.changes index 350aa0d..1f3bd7e 100644 --- a/python-path.changes +++ b/python-path.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jan 2 19:09:13 UTC 2024 - Dirk Müller + +- update to 16.9.0: + * Features - Added Path.iterdir() and deprecated + Path.listdir(). + * Use '.' as the default path. + * Set stacklevel=2 in deprecation warning for .text. + * Added .permissions attribute. + * Require Python 3.8 or later. + ------------------------------------------------------------------- Fri Apr 21 12:29:04 UTC 2023 - Dirk Müller @@ -11,13 +22,13 @@ Thu Apr 13 22:42:55 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Wed Dec 7 20:00:17 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 16.6.0 +- Update to version 16.6.0 * .mtime and .atime are now settable. ------------------------------------------------------------------- Wed Oct 12 13:55:19 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 16.5.0 +- Update to version 16.5.0 * Refreshed packaging. #197: Fixed default argument rendering in docs. #209: Refactored write_lines to re-use open semantics. Deprecated the linesep parameter. @@ -193,11 +204,11 @@ Wed Sep 16 15:02:34 UTC 2015 - toddrme2178@gmail.com - Update to version 8.1.1 * Restored path.path with a DeprecationWarning. - * Removed path.path. Clients must now refer to the canonical + * Removed path.path. Clients must now refer to the canonical name, path.Path as introduced in 6.2. - * Added support for resolving certain directories on a system to + * Added support for resolving certain directories on a system to platform-friendly locations using the appdirs library. - * In order to support "multipath" results, where multiple paths + * In order to support "multipath" results, where multiple paths are returned in a single, os.pathsep-separated string, a new class MultiPath now represents those special results. This functionality is experimental and may change. Feedback is diff --git a/python-path.spec b/python-path.spec index 072ba7c..4364098 100644 --- a/python-path.spec +++ b/python-path.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,17 +24,17 @@ %define psuffix %{nil} %bcond_with test %endif -%define skip_python2 1 %define modname path %{?sle15_python_module_pythons} Name: python-path%{psuffix} -Version: 16.6.0 +Version: 16.9.0 Release: 0 Summary: A module wrapper for os.path License: MIT URL: https://github.com/jaraco/path Source: https://files.pythonhosted.org/packages/source/p/path/%{modname}-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools_scm >= 3.4.1} @@ -83,7 +82,7 @@ export LANG=en_US.UTF-8 %if !%{with test} %files %{python_files} %license LICENSE -%doc CHANGES.rst README.rst +%doc NEWS.rst README.rst %{python_sitelib}/path %{python_sitelib}/path-%{version}*-info %endif From 196ca7c8196eab18a1e541ad6468a248da4ef02526e633cf11e6c24247014782 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 19:11:31 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-path?expand=0&rev=16 --- python-path.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-path.spec b/python-path.spec index 4364098..7bc99f5 100644 --- a/python-path.spec +++ b/python-path.spec @@ -36,7 +36,6 @@ Source: https://files.pythonhosted.org/packages/source/p/path/%{modname} BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools_scm >= 3.4.1} BuildRequires: %{python_module tomli} BuildRequires: %{python_module wheel} @@ -84,7 +83,7 @@ export LANG=en_US.UTF-8 %license LICENSE %doc NEWS.rst README.rst %{python_sitelib}/path -%{python_sitelib}/path-%{version}*-info +%{python_sitelib}/path-%{version}.dist-info %endif %changelog