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
This commit is contained in:
Matej Cepl 2024-02-29 09:04:45 +00:00 committed by Git OBS Bridge
parent a34df3f2d6
commit b3cbcd25de
4 changed files with 30 additions and 6 deletions

View File

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

3
pdm-2.12.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Feb 28 13:23:05 UTC 2024 - Markéta Machová <mmachova@suse.com>
- 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 <dmueller@suse.com> Fri Jan 5 17:45:28 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package python-pdm
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -27,7 +27,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pdm%{psuffix} Name: python-pdm%{psuffix}
Version: 2.10.4 Version: 2.12.4
Release: 0 Release: 0
Summary: Python Development Master Summary: Python Development Master
License: MIT License: MIT
@ -42,6 +42,7 @@ BuildRequires: python-rpm-macros
Requires: python-blinker Requires: python-blinker
Requires: python-cachecontrol >= 0.12.11 Requires: python-cachecontrol >= 0.12.11
Requires: python-certifi Requires: python-certifi
Requires: python-dep-logic
Requires: python-findpython >= 0.4 Requires: python-findpython >= 0.4
Requires: python-installer Requires: python-installer
Requires: python-packaging >= 20.9 Requires: python-packaging >= 20.9
@ -69,7 +70,7 @@ Requires: python-typing-extensions
Requires: python-truststore Requires: python-truststore
%endif %endif
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
%if %{with test} %if %{with test}