From b3cbcd25de9ba03b75a0c1ec2e65016d6f4d9ce5e1189118c7f5c4454b69989a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 29 Feb 2024 09:04:45 +0000 Subject: [PATCH] Accepting request 1152936 from home:mcalabkova:branches:devel:languages:python - Update to 2.12.4 * Officially drop the support for Python 3.7. * Allow exporting current project as editable dependency with pdm export. * Use ==major.minor.* as default requires python for application projects. * We now use the package-type field in the tool.pdm table to differentiate between library and application projects. * pdm lock now supports --update-reuse option to keep the pinned versions in the lockfile if possible. * Introduce a new lock strategy inherit_metadata to inherit and merge markers from parent requirements. This is enabled by default when creating a new lockfile. * Allow excluding packages from the lockfile via tool.pdm.resolution.excludes setting, the dependencies will also be skipped. * Rename --no-lock option to --frozen-lockfile. * Add --no-markers to export command to exclude markers from the output. * Change the warning category emitted by deprecated_warning() to PDMDeprecationWarning. * Rename the preferred_pins argument of provider classes to locked_candidates, and deprecate the old name. * Use env PDM_NO_EDITABLE as the default value for --no-editable option. OBS-URL: https://build.opensuse.org/request/show/1152936 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=38 --- pdm-2.10.4.tar.gz | 3 --- pdm-2.12.4.tar.gz | 3 +++ python-pdm.changes | 23 +++++++++++++++++++++++ python-pdm.spec | 7 ++++--- 4 files changed, 30 insertions(+), 6 deletions(-) delete mode 100644 pdm-2.10.4.tar.gz create mode 100644 pdm-2.12.4.tar.gz diff --git a/pdm-2.10.4.tar.gz b/pdm-2.10.4.tar.gz deleted file mode 100644 index bf49bcf..0000000 --- a/pdm-2.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6dfd9d4cb59043edecb2d0b47d208e55d89d333ba7197deb05cca2dfbc7a4bfb -size 2589461 diff --git a/pdm-2.12.4.tar.gz b/pdm-2.12.4.tar.gz new file mode 100644 index 0000000..b1526e6 --- /dev/null +++ b/pdm-2.12.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d04877362f95cf9ffc1d2c38b851f693706e4928840e48986ae576dad5741496 +size 2598160 diff --git a/python-pdm.changes b/python-pdm.changes index e4b12b2..386e64f 100644 --- a/python-pdm.changes +++ b/python-pdm.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Feb 28 13:23:05 UTC 2024 - Markéta Machová + +- Update to 2.12.4 + * Officially drop the support for Python 3.7. + * Allow exporting current project as editable dependency with pdm export. + * Use ==major.minor.* as default requires python for application projects. + * We now use the package-type field in the tool.pdm table to differentiate + between library and application projects. + * pdm lock now supports --update-reuse option to keep the pinned versions + in the lockfile if possible. + * Introduce a new lock strategy inherit_metadata to inherit and merge + markers from parent requirements. This is enabled by default when + creating a new lockfile. + * Allow excluding packages from the lockfile via tool.pdm.resolution.excludes + setting, the dependencies will also be skipped. + * Rename --no-lock option to --frozen-lockfile. + * Add --no-markers to export command to exclude markers from the output. + * Change the warning category emitted by deprecated_warning() to PDMDeprecationWarning. + * Rename the preferred_pins argument of provider classes to locked_candidates, + and deprecate the old name. + * Use env PDM_NO_EDITABLE as the default value for --no-editable option. + ------------------------------------------------------------------- Fri Jan 5 17:45:28 UTC 2024 - Dirk Müller diff --git a/python-pdm.spec b/python-pdm.spec index af056e1..41b515e 100644 --- a/python-pdm.spec +++ b/python-pdm.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-pdm # # Copyright (c) 2024 SUSE LLC # @@ -27,7 +27,7 @@ %endif %{?sle15_python_module_pythons} Name: python-pdm%{psuffix} -Version: 2.10.4 +Version: 2.12.4 Release: 0 Summary: Python Development Master License: MIT @@ -42,6 +42,7 @@ BuildRequires: python-rpm-macros Requires: python-blinker Requires: python-cachecontrol >= 0.12.11 Requires: python-certifi +Requires: python-dep-logic Requires: python-findpython >= 0.4 Requires: python-installer Requires: python-packaging >= 20.9 @@ -69,7 +70,7 @@ Requires: python-typing-extensions Requires: python-truststore %endif Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements %if %{with test}