forked from pool/python-pdm
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
5e41aee2d1 | ||
ecf4b2335d | |||
|
10e1f506b1 | ||
|
3e6eb602ed |
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b8680028b3aff3af8e15b483467da36bb9f02fcd402cf939da8ab6375d955131
|
|
||||||
size 2618476
|
|
3
pdm-2.21.0.tar.gz
Normal file
3
pdm-2.21.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c928d6db62d104ab86318fe09aaf9bdfc6f616176af407e4df00f59e001930f
|
||||||
|
size 2643561
|
@ -1,3 +1,86 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 27 12:46:38 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.21.0
|
||||||
|
* Support dependency groups as standardized by PEP 735. By default, dev
|
||||||
|
dependencies will be written to [dependency-groups] table.
|
||||||
|
* Fix a bug that strategy.inherit_metadata config is not honored when using
|
||||||
|
--lockfile option.
|
||||||
|
* Update resolvelib to 1.1.0.
|
||||||
|
* Add a fixer to remove the deprecated cross_platform strategy from lock file.
|
||||||
|
* Pass original working directory as env variable to pdm scripts.
|
||||||
|
* Output similar commands or script command when the input command is not
|
||||||
|
correct.
|
||||||
|
* Print task name by default when using pdm run
|
||||||
|
* Make OrderedSet.__contains__ run in O(1)
|
||||||
|
* Drop support of Python 3.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 04:52:45 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.19.1:
|
||||||
|
* Features & Improvements:
|
||||||
|
+ Respect certificates in env vars REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE
|
||||||
|
when verifying SSL certificates.
|
||||||
|
+ Improve the installation progress output to show the time elapsed
|
||||||
|
+ Support reading requirement constraints from pip-style requirement
|
||||||
|
files for "overriding" via --override option.
|
||||||
|
+ Add a --non-interactive option for automation scenarios, also
|
||||||
|
interactive prompts will not show up when not running in an
|
||||||
|
interactive terminal.
|
||||||
|
+ Add --license and --project-version as CLI options to control and
|
||||||
|
streamline them during pdm init.
|
||||||
|
+ Run pdm sync in "post-rewrite" stage of pre-commit
|
||||||
|
+ Project.get_dependencies() now returns a list of Requirement instead
|
||||||
|
of a mapping. The old usage will be kept working for a short period of
|
||||||
|
time and will be removed in the future.
|
||||||
|
+ Support locking for specific target, which is a combination of (python,
|
||||||
|
platform, implementation) triple.
|
||||||
|
+ Rename --reuse-env to --recreate for run command, and reverse the
|
||||||
|
behavior.
|
||||||
|
* Bug Fixes
|
||||||
|
+ Fallback version to 0.0.0 when the version is not specified or empty.
|
||||||
|
+ Ensures that / is URL encoded in sources URL environment variables.
|
||||||
|
+ Respect the excludes and overrides settings when installing packages.
|
||||||
|
+ Fix a bug of export command that packages with extras are included
|
||||||
|
twice.
|
||||||
|
+ Remove empty groups when removing packages with pdm remove.
|
||||||
|
+ When running pdm venv purge, if the current project's python version
|
||||||
|
had been referencing the removed venv then clear it out.
|
||||||
|
+ Fix command pdm config to not show site configuration file path if it
|
||||||
|
doesn't exist.
|
||||||
|
+ Now when --no-markers is used, the exported requirements can only work
|
||||||
|
on the current platform.
|
||||||
|
+ Skip checking project.name if it is absent when running pdm outdated.
|
||||||
|
+ Don't remove the cross_platform strategy from old lock files.
|
||||||
|
+ Fixed pdm venv activate to remove quotes
|
||||||
|
+ Don't fail install-pdm.py if there is an invalid pyproject.toml file
|
||||||
|
under the current directory.
|
||||||
|
+ Fix a bug that Python markers from the existing locked packages are
|
||||||
|
considered when locking with --append option.
|
||||||
|
+ Fix a crash issue when requires-python is absent in the project
|
||||||
|
metadata.
|
||||||
|
+ Ignore invalid requires-python values from index.
|
||||||
|
+ Fix the group selection logic, to make --without GROUP work as
|
||||||
|
expected.
|
||||||
|
+ Raise dep-logic lower bound to 0.4.2 to fix issues with pdm lock
|
||||||
|
+ When locking dependencies that references the self project, the
|
||||||
|
referenced groups should also be recorded in the lockfile.
|
||||||
|
+ Retry failed installation jobs if they are run sequentially, such as
|
||||||
|
for editable dependencies.
|
||||||
|
+ Fix the local path issue when -p is passed to change the project root.
|
||||||
|
+ Fix a bug that PDM can't install editable self package with
|
||||||
|
non-isolated build in one go.
|
||||||
|
+ Add context when parsing version failed.
|
||||||
|
* Removals and Deprecations
|
||||||
|
+ Remove the deprecation warning of BaseCommand.__init__() method. Now
|
||||||
|
it doesn't take any arguments.
|
||||||
|
+ Provider.get_reuse_candidate() method is deprecated in favor of
|
||||||
|
Provider.iter_reuse_candidates(), to return an iterable of reuse
|
||||||
|
candidates.
|
||||||
|
+ --no-markers option in pdm export command becomes a no-op and is
|
||||||
|
marked as deprecated, because it doesn't make sense anymore.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 5 09:17:36 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Thu Sep 5 09:17:36 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -27,40 +27,37 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pdm%{psuffix}
|
Name: python-pdm%{psuffix}
|
||||||
Version: 2.16.1
|
Version: 2.21.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Development Master
|
Summary: Python Development Master
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pdm-project/pdm/
|
URL: https://github.com/pdm-project/pdm/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pdm/pdm-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pdm/pdm-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module importlib-metadata if %python-base <= 3.9}
|
BuildRequires: %{python_module importlib-metadata if %python-base <= 3.9}
|
||||||
BuildRequires: %{python_module pdm-backend}
|
BuildRequires: %{python_module pdm-backend}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-blinker
|
Requires: python-blinker
|
||||||
Requires: python-cachecontrol >= 0.12.11
|
Requires: python-dep-logic >= 0.4.4
|
||||||
Requires: python-certifi
|
Requires: python-filelock >= 3.13
|
||||||
Requires: python-dep-logic
|
Requires: python-findpython >= 0.6
|
||||||
Requires: python-findpython >= 0.4
|
Requires: python-hishel >= 0.0.24
|
||||||
Requires: python-hishel
|
Requires: python-httpx >= 0.20
|
||||||
Requires: python-installer
|
Requires: python-installer >= 0.7
|
||||||
|
Requires: python-msgpack >= 1.0
|
||||||
Requires: python-packaging >= 20.9
|
Requires: python-packaging >= 20.9
|
||||||
Requires: python-pbs-installer
|
Requires: python-pbs-installer >= 2024.4.18
|
||||||
Requires: python-pdm-backend
|
|
||||||
Requires: python-platformdirs
|
Requires: python-platformdirs
|
||||||
Requires: python-pyproject-hooks
|
Requires: python-pyproject-hooks
|
||||||
Requires: python-python-dotenv >= 0.15
|
Requires: python-python-dotenv >= 0.15
|
||||||
Requires: python-requests-toolbelt
|
|
||||||
Requires: python-resolvelib >= 1.0.1
|
Requires: python-resolvelib >= 1.0.1
|
||||||
Requires: python-rich >= 12.3.0
|
Requires: python-rich >= 12.3.0
|
||||||
Requires: python-shellingham >= 1.3.2
|
Requires: python-shellingham >= 1.3.2
|
||||||
Requires: python-unearth >= 0.12.1
|
Requires: python-unearth >= 0.17.0
|
||||||
Requires: python-virtualenv >= 20
|
Requires: python-virtualenv >= 20
|
||||||
Requires: (python-tomlkit >= 0.11.1 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
|
%if 0%{?python_version_nodots} < 311
|
||||||
Requires: python-tomli >= 1.1.0
|
Requires: python-tomli >= 1.1.0
|
||||||
%endif
|
%endif
|
||||||
@ -76,15 +73,11 @@ Requires(postun): update-alternatives
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module hishel}
|
|
||||||
BuildRequires: %{python_module httpx}
|
|
||||||
BuildRequires: %{python_module pbs-installer}
|
|
||||||
BuildRequires: %{python_module pdm = %{version}}
|
BuildRequires: %{python_module pdm = %{version}}
|
||||||
BuildRequires: %{python_module pytest-httpserver}
|
BuildRequires: %{python_module pytest-httpserver}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module unearth}
|
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Loading…
Reference in New Issue
Block a user