SHA256
1
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:
Daniel Garcia 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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2897996453bbc834841ab0160f9d90d47744f8c585ee814fa2ee91d3c7840921
size 2877675

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

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

View File

@ -1,3 +1,104 @@
-------------------------------------------------------------------
Tue Apr 4 06:45:30 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- 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
* Don't crash when trying to update the shebang in a binary script.
#1709
* Handle the legacy specifiers that is unable to parse with
packaging>22.0. #1719
* Fix the setup.py parser to ignore the expressions unable to parse
as a string. This is safe for initializing a requirement. #1720
* Fix a bug converting from flit metadata when the source file can't
be found. #1726
* Add config example for Emacs using eglot + pyright #1721
* Use ruff as the linter. #1715
* Document installation via asdf. #1725
- Release v2.4.5 (2023-02-10)
* Fix a bug that built wheels are prioritized over source
distributions with higher version number. #1698
- Release v2.4.4 (2023-02-10)
* Add more intuitive error message when the requires-python doesn't
work for all dependencies. #1690
* Prefer built distributions when finding packages for metadata
extraction. #1535
- Release v2.4.3 (2023-02-06)
* Allow creating venv in project forcely if it already exists. #1666
* Always ignore remembered selection in pdm init. #1672
* Fix the fallback build backend to pdm-pep517 instead of
setuptools. #1658
* Eliminate the deprecation warnings from importlib.resources. #1660
* Don't crash when failed to get the latest version of PDM for
checking update. #1663
* Fix the priorities of importable formats to make sure the correct
format is used. #1669
* Import editable requirements into dev dependencies. #1674
- Release v2.4.2 (2023-01-31)
* Skip some tests on packaging < 22. #1649
* Fix a bug that sources from the project config are not loaded. #1651
* Set VIRTUAL_ENV in pdm run. #1652
- Release v2.4.1 (2023-01-28)
* Add proper display for the extra pypi sources in pdm config. #1622
* Support running python scripts without prefixing with python. #1626
* Ignore the python requirement for overriden packages. #1575
* Fix the wildcards in requirement specifiers to make it pass the
new parser of packaging>=22. #1619
* Add the missing subdirectory attribute to the lockfile entry.
#1630
* Fix a bug that VCS locks don't update when the rev part changes.
#1640
* Redirect the spinner output to stderr. #1646
* Ensure the destination directory exists before building the
packages. #1647
- Release v2.4.0 (2023-01-12)
* Support multiple PyPI indexes in the configuration. They will be
tried after the sources in pyproject.toml. #1310
* Accept yanked versions when the requirement version is pinned.
#1575
* Expose PDM fixtures as a pytest plugin pdm.pytest for plugin
developers. #1594
* Show message in the status when fetching package hashes. Fetch
hashes from the JSON API response as well. #1609
* Mark pdm.lock with an @generated comment. #1611
* Exclude site-packages for symlinks of the python interpreter as
well. #1598
* Fix a bug that error output can't be decoded correctly on Windows.
#1602
- Release v2.3.4 (2022-12-27)
* Detect PDM inside a zipapp and disable some functions. #1578
* Don't write sitecustomize to the home directory if it exists in
the filesystem(not packed in a zipapp). #1572
* Fix a bug that a directory is incorrectly marked as to be deleted
when it contains symlinks. #1580
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 20 17:57:35 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com> Tue Dec 20 17:57:35 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

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