14
0
forked from pool/python-pdm

- Remove python-installer version limit in requires

- Disable broken tests
- Update to 2.4.9:
  * Fix a bug of synchronization of not considering the revision of
    VCS requirement in comparison. #1762
  * Improve the error message when parsing an invalid requirement
    string. #1765
  * Fix a bug that pdm export output doesn't include the extras of the
    dependencies. #1767
- Release v2.4.8 (2023-03-09)
  * Fix the resolution order to prefer the packages causing the
    conflict. This can make the resolution reach a solution faster.
    #1752
  * Fix a bug that embedded credentials in URL are not respected for
    the default source. #1757
- Release v2.4.7 (2023-03-02)
  * Abort if lockfile isn't generated when executing pdm export. #1730
  * Ignore venv.prompt configuration when using conda as the backend.
    #1734
  * Fix a bug of finding local packages in the parent folder when it
    exists in the current folder. #1736
  * Ensure UTF-8 encoding when generating README.md. #1739
  * Fix a bug of show command not showing metadata of the current
    project. #1740
  * Replace . with - when normalizing package name. #1745
  * Support using pdm venv activate without specifying env_name to
    activate in project venv created by conda #1735
- Release v2.4.6 (2023-02-20)
  * Fix a resolution failure when the project has cascading relative
    path dependencies. #1702

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=27
This commit is contained in:
2023-04-04 09:38:11 +00:00
committed by Git OBS Bridge
parent e762b41777
commit 4e7f617d6e
4 changed files with 115 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-pdm%{psuffix}
Version: 2.3.3
Version: 2.4.9
Release: 0
Summary: Python Development Master
License: MIT
@@ -41,6 +41,7 @@ Requires: python-blinker
Requires: python-cachecontrol >= 0.12.11
Requires: python-certifi
Requires: python-findpython >= 0.2.2
Requires: python-installer
Requires: python-packaging >= 20.9
Requires: python-pep517 >= 0.11.0
Requires: python-platformdirs
@@ -51,7 +52,6 @@ Requires: python-rich >= 12.3.0
Requires: python-shellingham >= 1.3.2
Requires: python-unearth >= 0.6.3
Requires: python-virtualenv >= 20
Requires: (python-installer >= 0.6 with python-installer < 0.7)
Requires: (python-resolvelib >= 0.8 with python-resolvelib < 0.9)
Requires: (python-tomlkit >= 0.8.0 with python-tomlkit < 1)
# from python-cachecontrol[filecache]
@@ -105,7 +105,14 @@ donttest="network"
# mock testing finds the wrong python versions in our multiflavor setup
donttest="$donttest or test_project_packages_path or test_conda_backend_create"
donttest="$donttest or test_init_non_interactive"
%pytest -k "not ($donttest)"
# Broken test trying to find a resolution to a git repository
donttest="$donttest or test_add_editable_package or test_non_editable_override_editable"
# Broken test unable to find a resolution for wheel
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"
%pytest -v -k "not ($donttest)"
%endif
%post