Accepting request 1242801 from devel:languages:python
- Update 2.22.3 * Don't validate local file requirements that are not used. (#3376) * Don't set "dependencies" as empty list for uv toml if there is no dependencies in the raw toml file. (#3378) * Add a dummy project name to the script environment pyproject.toml. (#3382) - 2.22.2 * Write installer metadata like INSTALLER and REQUESTED to dist-info directory when installing packages. (#3359) * Respect .python-version file in the project root directory when selecting the Python interpreter. By default, it will be written when running pdm use command. (#3367) * Fix a problem of missing dependencies when adding to dev dependencies if both editable and non-editable dependencies exist. (#3361) * Use stdlib for URL <-> Path conversions. (#3362) * shellingham.detect_shell() returns ('tcsh', '/bin/tcsh') for tcsh on FreeBSD, so the current code tries to use the Bash venv activation script and fails due to syntax error. This change fixes the issue. (#3366) * Fix a performance issue because pypi source credentials were being queried many times from keyring. (#3368) - 2.22.1 * Fix zsh hanging issue by removing PyPI package completion. (#3329) * Write dev dependencies to dependency-groups section when importing project from other package managers. (#3354) - 2.22.0 * Use minimal template if the project is an application. (#3295) * Add one safe_compatible version specifiers saving strategy. (#3301) OBS-URL: https://build.opensuse.org/request/show/1242801 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pdm?expand=0&rev=18
This commit is contained in:
commit
4461ef87aa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c928d6db62d104ab86318fe09aaf9bdfc6f616176af407e4df00f59e001930f
|
||||
size 2643561
|
3
pdm-2.22.3.tar.gz
Normal file
3
pdm-2.22.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f409d37b44f6b9938e4eed0bd0ca8016d15cd4514337640d6f962a74d022b412
|
||||
size 2647179
|
@ -1,3 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 11:11:24 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update 2.22.3
|
||||
* Don't validate local file requirements that are not used. (#3376)
|
||||
* Don't set "dependencies" as empty list for uv toml if there is no
|
||||
dependencies in the raw toml file. (#3378)
|
||||
* Add a dummy project name to the script environment pyproject.toml.
|
||||
(#3382)
|
||||
- 2.22.2
|
||||
* Write installer metadata like INSTALLER and REQUESTED to dist-info
|
||||
directory when installing packages. (#3359)
|
||||
* Respect .python-version file in the project root directory when
|
||||
selecting the Python interpreter. By default, it will be written
|
||||
when running pdm use command. (#3367)
|
||||
* Fix a problem of missing dependencies when adding to dev
|
||||
dependencies if both editable and non-editable dependencies exist.
|
||||
(#3361)
|
||||
* Use stdlib for URL <-> Path conversions. (#3362)
|
||||
* shellingham.detect_shell() returns ('tcsh', '/bin/tcsh') for tcsh
|
||||
on FreeBSD, so the current code tries to use the Bash venv
|
||||
activation script and fails due to syntax error. This change fixes
|
||||
the issue. (#3366)
|
||||
* Fix a performance issue because pypi source credentials were being
|
||||
queried many times from keyring. (#3368)
|
||||
- 2.22.1
|
||||
* Fix zsh hanging issue by removing PyPI package completion. (#3329)
|
||||
* Write dev dependencies to dependency-groups section when importing
|
||||
project from other package managers. (#3354)
|
||||
- 2.22.0
|
||||
* Use minimal template if the project is an application. (#3295)
|
||||
* Add one safe_compatible version specifiers saving strategy.
|
||||
(#3301)
|
||||
* Allow customizing scripts display with scripts.show_header
|
||||
settings. (#3313)
|
||||
* Speed up the resolution by only resolving wheel candidates if
|
||||
possible. (#3319)
|
||||
* Drop version from the search result, following the change of
|
||||
warehouse. (#3328)
|
||||
* Support overrides settings under [tool.pdm.resolution] with use_uv
|
||||
(#3330)
|
||||
* No longer requires wheel to build a setuptools-backed package.
|
||||
(#3320)
|
||||
* Fix an inconsistent behavior when running pdm remove <package>
|
||||
with uv enabled. (#3323)
|
||||
* Fix: uninstallation error when pdm is not installed before.
|
||||
(#3325)
|
||||
* Fix a bug in uv mode that direct URL dependencies can't be
|
||||
installed. (#3332)
|
||||
* Fix a crash issue when rewriting dependency groups with
|
||||
include-group items. (#3333)
|
||||
* Also read username from keyring if missing in source/repository
|
||||
config. (#3334)
|
||||
* Allow configuring repositories in project. (#3335)
|
||||
* Mark tests that require uv and skip them if uv is not found.
|
||||
(#3324)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 12:46:38 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pdm
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pdm%{psuffix}
|
||||
Version: 2.21.0
|
||||
Version: 2.22.3
|
||||
Release: 0
|
||||
Summary: Python Development Master
|
||||
License: MIT
|
||||
@ -40,10 +40,12 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-blinker
|
||||
Requires: python-certifi
|
||||
Requires: python-dep-logic >= 0.4.4
|
||||
Requires: python-filelock >= 3.13
|
||||
Requires: python-findpython >= 0.6
|
||||
Requires: python-hishel >= 0.0.24
|
||||
Requires: python-httpcore
|
||||
Requires: python-httpx >= 0.20
|
||||
Requires: python-installer >= 0.7
|
||||
Requires: python-msgpack >= 1.0
|
||||
@ -91,6 +93,7 @@ doesn't need to create a virtualenv at all!
|
||||
%autosetup -p1 -n pdm-%{version}
|
||||
# we don't care about certifi version, the distro package replaces the certificates with system ones anyway
|
||||
sed -i 's/"certifi>=[0-9.]*"/"certifi"/' pyproject.toml
|
||||
find . -name ".gitignore" -print -delete
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
@ -144,6 +147,9 @@ donttest="$donttest or test_init_validate_python_requires"
|
||||
donttest="$donttest or test_init_command"
|
||||
donttest="$donttest or test_init_command_library"
|
||||
donttest="$donttest or test_use_command"
|
||||
donttest="$donttest or test_init_project_respect_version_file"
|
||||
donttest="$donttest or test_resolve_local_artifacts or test_resolve_two_extras_from_the_same_package or test_resolve_file_req_with_prerelease"
|
||||
donttest="$donttest or test_init_auto_create_venv"
|
||||
|
||||
%pytest -v -k "not ($donttest)"
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user