14
0
forked from pool/python-pdm

- Update to 2.10.4:

* Do not detect as requirements.txt if the file is a python script.
  * Provide information of the original line when parsing requirement fails.
  * Resolve `-r` requirements paths relative to the requirement file they
    are specified in.
  * Updating package now overwrites the old files instead of removing
    before installing.
  * Improve the error message when a specific package can't be found in the
    lockfile.
  * Add lock option to resolve direct dependencies to the minimal versions
    available.
  * Fix a bug that build requirements are installed into wrong location
    when using `--venv` option.
  * Officially supports python3.12 now.
  * Fix an issue that `--no-lock` option doesn't work as expected. Also
    support `--no-lock` option for `add`, `remove` and `update` commands.
  * Use `findpython` to find pythons with the spec given by the user.
  * Support passing filter patterns as positional arguments to `pdm list`
    command.  Add `--tree` as an alias and preferred name of `--graph` option.
  * Switch to truststore by default.
  * Allow `pdm run` to run a script with the relative or absolute path.
  * Fix the compatibility issue with copier 8.0+.
  * Makes `comarable_version("1.2.3+local1") == Version("1.2.3")`.
  * Default behavior for pdm venv activate when shell detection fails.
  * Handle parsing errors when converting from poetry-style metadata.
  * Remove the legacy build backend `pdm-pep517`.
  * Fix the comparison of the candidate keys in the lockfile.
  * Don't update `pyproject.toml` if both `--unconstrained` and `--dry-run`
    are passed to `pdm update`.
  * Skip sources with empty URL when merging sources.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=34
This commit is contained in:
2023-12-13 03:00:32 +00:00
committed by Git OBS Bridge
parent 43885484af
commit 7ddde4c7e7
4 changed files with 75 additions and 8 deletions

View File

@@ -27,7 +27,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pdm%{psuffix}
Version: 2.7.4
Version: 2.10.4
Release: 0
Summary: Python Development Master
License: MIT
@@ -43,7 +43,7 @@ BuildRequires: python-rpm-macros
Requires: python-blinker
Requires: python-cachecontrol >= 0.12.11
Requires: python-certifi
Requires: python-findpython >= 0.2.2
Requires: python-findpython >= 0.4
Requires: python-installer
Requires: python-packaging >= 20.9
Requires: python-pdm-backend
@@ -51,12 +51,12 @@ Requires: python-platformdirs
Requires: python-pyproject-hooks
Requires: python-python-dotenv >= 0.15
Requires: python-requests-toolbelt
Requires: python-resolvelib >= 1.0.1
Requires: python-rich >= 12.3.0
Requires: python-shellingham >= 1.3.2
Requires: python-unearth >= 0.6.3
Requires: python-unearth >= 0.12.1
Requires: python-virtualenv >= 20
Requires: (python-resolvelib >= 0.8 with python-resolvelib < 0.9)
Requires: (python-tomlkit >= 0.8.0 with python-tomlkit < 1)
Requires: (python-tomlkit >= 0.11.1 with python-tomlkit < 1)
# from python-cachecontrol[filecache]
Requires: python-lockfile >= 0.9
%if 0%{?python_version_nodots} < 311
@@ -66,6 +66,9 @@ Requires: python-tomli >= 1.1.0
Requires: python-importlib-metadata
Requires: python-typing-extensions
%endif
%if 0%{?python_version_nodots} >= 310
Requires: python-truststore
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
@@ -116,6 +119,8 @@ donttest="$donttest or test_add_editable_package or test_non_editable_override_e
donttest="$donttest or test_list_dependency_graph_include_exclude or test_list_csv_include_exclude_valid"
# Unable to find a resolution for setuptools
donttest="$donttest or test_list_csv_include_exclude or test_remove_editable_packages_while_keeping_normal or test_project_backend"
# Requires network
donttest="$donttest or test_build_with_no_isolation"
%pytest -v -k "not ($donttest)"
%endif