Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ce8b829f73 | |||
| 1d9297754a | |||
| 9043138fbf | |||
| 984a0e26da | |||
| 1be3e9babf | |||
| 4c1ae88c27 | |||
| 0d1f1243f4 | |||
| 3cde9e90b9 | |||
| 8cd8076ad1 | |||
| 96eda5ff87 | |||
| dbbfbdfa37 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d04877362f95cf9ffc1d2c38b851f693706e4928840e48986ae576dad5741496
|
|
||||||
size 2598160
|
|
||||||
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,326 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- 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>
|
||||||
|
|
||||||
|
- Fix build on Leap 15.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 2 08:11:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.16.1
|
||||||
|
* Fix new interface from pbs_installer regarding build_dir and best
|
||||||
|
match auto-install strategy for pdm use
|
||||||
|
(same as for pdm python install --list) (#2943)
|
||||||
|
* Fix crash when pdm is used with importlib-metadata version 8.0.
|
||||||
|
(#2974)
|
||||||
|
- 2.16.0
|
||||||
|
* Add --no-extras to pdm export to strip extras from the
|
||||||
|
requirements. Now the default behavior is to keep extras. (#2519)
|
||||||
|
* Support PEP 723: running scripts with inline metadata in
|
||||||
|
standalone environment with dependencies. (#2924)
|
||||||
|
* pdm use and pdm python install now take requires-python into
|
||||||
|
account (incl. from pyproject.toml) if python version not
|
||||||
|
specified and pdm use provides auto installation by that. (#2943)
|
||||||
|
* --no-isolation no longer installs build-requires nor dynamic build
|
||||||
|
dependencies, to be consistent with pip. (#2944)
|
||||||
|
* Add notifiers in CLI output when global project is being used.
|
||||||
|
(#2952)
|
||||||
|
* Use tool.pdm.resolution table when calculating the content hash of
|
||||||
|
project file, previously only overrides table was used.
|
||||||
|
* This will change the hash already stored in the lockfile, so bump
|
||||||
|
the lockfile version to 4.4.2. (#2956)
|
||||||
|
* Add max retries on read timeout or bad connection. (#2914)
|
||||||
|
* Don't update local files if they don't change. (#2966)
|
||||||
|
* Don't list python versions that don't have any installation link
|
||||||
|
for the current platform. (#2970)
|
||||||
|
* Clarify the purposes of pdm outdated and --unconstrained option.
|
||||||
|
(#2965)
|
||||||
|
* Some clarifications on the interpreter selection and central
|
||||||
|
package cache. (#2967)
|
||||||
|
- 2.15.4
|
||||||
|
* Build wheel from sdist if available, to make sure sdist is built
|
||||||
|
properly. This behavior is consistent with pypa/build. (#2843)
|
||||||
|
* Fix the issue of self-referencing extra dependencies failing to be
|
||||||
|
resolved for local packages. (#2898)
|
||||||
|
* Fix an issue of max recursion depth error when parsing a poetry
|
||||||
|
project with circular dependencies on local packages. (#2900)
|
||||||
|
* Fix a bug that VCS dependencies and --self don't work in the
|
||||||
|
exported requirements.txt with hashes. (#2908)
|
||||||
|
* Fix a cache miss when there exist built wheels for a given link.
|
||||||
|
(#2912)
|
||||||
|
* Don't try to store caches when --no-cache is given. (#2913)
|
||||||
|
- 2.15.3
|
||||||
|
* Fixed pdm venv activate, to also work for windows. And added
|
||||||
|
documentation on how to authenticate to Azure Artifacts (#2851)
|
||||||
|
* Don't show unsupported formats in pdm export. (#2877)
|
||||||
|
* Proxy (HTTP_PROXY env vars) settings are ignored for custom
|
||||||
|
indexes. (#2880)
|
||||||
|
* Fix the quoting of venv activate command for powershell. (#2881)
|
||||||
|
* Raise an error if the package given by pdm update does not exist
|
||||||
|
in the select dependency group but in other groups. (#2885)
|
||||||
|
- 2.15.2
|
||||||
|
* Use get_runner() method to build the task runner in run command.
|
||||||
|
runner_cls attribute is deprecated. (#2872)
|
||||||
|
* Expand ${PROJECT_ROOT} in source URLs. (#2846)
|
||||||
|
* Fix env and other options being inherited in nested composite
|
||||||
|
scripts. (#2849)
|
||||||
|
* Keep the ${PROJECT_ROOT} variable in dependencies after running
|
||||||
|
pdm lock --update-reuse. (#2852)
|
||||||
|
* Make direct_minimal_versions work on newly added dependencies.
|
||||||
|
(#2853)
|
||||||
|
* Fix a syntax error in the zsh completion script. (#2868)
|
||||||
|
- 2.15.1
|
||||||
|
* Disable check update in zsh completion script. (#2838)
|
||||||
|
* Fixes cached packages metadata files (.referrers) collisions on
|
||||||
|
sync when using a venv with symlink cache method. (#2839)
|
||||||
|
* Build docs with object inventory to support cross references from
|
||||||
|
Sphinx documentation projects. (#2841)
|
||||||
|
- 2.15.0
|
||||||
|
* Packages format preferences can now be defined in the project
|
||||||
|
pyproject.toml using the no-binary, only-binary and prefer-binary
|
||||||
|
keys of the tool.pdm.resolution section. (#2656)
|
||||||
|
* Don't create project and virtualenv when running pdm python
|
||||||
|
install. (#2809)
|
||||||
|
* Clean up the python installation directory if a previous download
|
||||||
|
was unsuccessful. (#2810)
|
||||||
|
* Don't cache editable installations. (#2816)
|
||||||
|
* Fix a bug that installing in-project plugins with editable local
|
||||||
|
paths doesn't work. (#2820)
|
||||||
|
* Don't create log directory until it's needed, to fix a
|
||||||
|
PermissionError in docker environment. (#2825)
|
||||||
|
* Fix recursive script detection on multiple invocations. (#2829)
|
||||||
|
- 2.14.0
|
||||||
|
* Revert the package cache introduced in 2.13. Don't cache the
|
||||||
|
decompressed contents of wheels unless being told so. (#2803)
|
||||||
|
* Fix inconsistent logging when pdm use a different python
|
||||||
|
interpreter (#2776)
|
||||||
|
* Fix PDM unable to find Python interpreters when
|
||||||
|
PDM_IGNORE_ACTIVE_VENV is set (#2779)
|
||||||
|
* Check verify_ssl when trusting each source. (#2784)
|
||||||
|
* Fix name check for project itself in pdm outdated (#2785)
|
||||||
|
* Fix a regression that proxy env vars are not respected. (#2788)
|
||||||
|
* Fix an issue that venv provider can't be found when providers are
|
||||||
|
explicitly configured. (#2792)
|
||||||
|
* Fix a bug that [tool.pdm.options] are ignored if -c/--config
|
||||||
|
CONFIG is given. (#2793)
|
||||||
|
* Make --without respect groups in dev-dependencies (#2799)
|
||||||
|
- 2.13.3
|
||||||
|
* Per-source configuration for ca-certs and client-cert. #2754
|
||||||
|
* Remove all caches by removing individual cache types one by one.
|
||||||
|
#2757
|
||||||
|
* Use the default HTTP client when downloading the pythons, to use
|
||||||
|
the certificates settings. #2759
|
||||||
|
* Fix a race condition where pth files take effect when multiple
|
||||||
|
packages are installed in parallel. #2762
|
||||||
|
* Refuse to run recursive composite scripts. #2766
|
||||||
|
- 2.13.2
|
||||||
|
* Fix errors when parsing poetry format that contains special
|
||||||
|
characters in author name.
|
||||||
|
* Poetry-specific parse_name_email and NAME_EMAIL_RE moved from
|
||||||
|
pdm.formats.base to pdm.formats.poetry. #2665
|
||||||
|
* Fix a race condition in cached packages. When a cached package is
|
||||||
|
being created it shouldn't be used for installation. #2739
|
||||||
|
* Add back PreparedCandidate.build() for backward-compatibility.
|
||||||
|
#2747
|
||||||
|
* Fixed a small non-code typo in docs and prodivded better wording.
|
||||||
|
#2740
|
||||||
|
- 2.13.1
|
||||||
|
* Fix a bug that PDM couldn't find interpreters for global project.
|
||||||
|
#2726
|
||||||
|
* Make the cache package path shorter to solve the Windows path
|
||||||
|
problem. #2730
|
||||||
|
* Extract "Lock file" doc from "Manage Dependencies" doc. #2725
|
||||||
|
- 2.13.0
|
||||||
|
* Add option to exclude group(s) when running pdm sync/install
|
||||||
|
-G:all by adding flag --without group1,group2,... #2258
|
||||||
|
* Default to log to user home and make logs directory configurable.
|
||||||
|
#2398
|
||||||
|
* Add an option keep_going to continue on errors for composite
|
||||||
|
scripts and return the last failing exit code. #2582
|
||||||
|
* Add an option working_dir for PDM's scripts to set the current
|
||||||
|
working directory. #2620
|
||||||
|
* Allow updating specific sub-dependencies (i.e., transitive
|
||||||
|
dependencies) in the lock file. #2628
|
||||||
|
* Add --config-setting option to
|
||||||
|
add/install/sync/update/remove/export commands, the config
|
||||||
|
settings dictionary will be shared by all packages. #2636
|
||||||
|
* Cache the decompressed contents of wheels for faster access. #2660
|
||||||
|
* Add configuration for timeout for network requests. #2680
|
||||||
|
* Reuse the request sesison within the environment. #2697
|
||||||
|
* Caches can be disabled by using the --no-cache option or setting
|
||||||
|
the PDM_NO_CACHE environment variable. #2702
|
||||||
|
* Switch to httpx.Client for HTTP requests, drop requests
|
||||||
|
dependency. #2709
|
||||||
|
* We have timemachine now! You can exclude packages published newer
|
||||||
|
than a certain date via pdm lock --exclude-newer=<date>, allowing
|
||||||
|
reproduction of resolutions regardless of new package releases.
|
||||||
|
#2712
|
||||||
|
* Add command pdm outdated to check the outdated packages and list
|
||||||
|
the latest versions. #2718
|
||||||
|
* When python.use_venv is on, always try to create a virtualenv when
|
||||||
|
using pdm use to switch the Python interpreter. #2720
|
||||||
|
* Support installing Pythons from python-build-standalone. Add
|
||||||
|
command group pdm python to manage Python installations. And pdm
|
||||||
|
use can automatically install the Python interpreter if it's not
|
||||||
|
found. #2721
|
||||||
|
* Supports custom distribution files path via -d/--dest option for
|
||||||
|
pdm publish. #2723
|
||||||
|
* Don't modify TOML tables that are not related to PDM. #2666
|
||||||
|
* Made --without imply --with :all. #2670
|
||||||
|
* Expand user path for venv.location and other path-like config
|
||||||
|
values. #2672
|
||||||
|
* Give a default version when it's missing in pyproject.toml when
|
||||||
|
parsing candidate's metadata. #2677
|
||||||
|
* Fix the issue that ANSI codes are shown in the output of pdm
|
||||||
|
--help on Windows. #2678
|
||||||
|
* Don't show empty configuration sections in pdm config. #2683
|
||||||
|
* Document the difference between [tool.pdm.scripts] and
|
||||||
|
[project.scripts] #2121
|
||||||
|
* Remove the support of pth cache method. And symlink cache method
|
||||||
|
now behaves the same as symlink_individual cache method. #2660
|
||||||
|
* Remove pdm.models.environment module deprecated before. Also
|
||||||
|
remove the renamed members from pdm.environments. #2710
|
||||||
|
* Delete setup.cfg, move tool configurations under it to pyproject.toml #2703
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 28 13:23:05 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
Wed Feb 28 13:23:05 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pdm
|
# 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
|
# 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
|
||||||
@@ -27,38 +27,39 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pdm%{psuffix}
|
Name: python-pdm%{psuffix}
|
||||||
Version: 2.12.4
|
Version: 2.22.3
|
||||||
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-certifi
|
Requires: python-certifi
|
||||||
Requires: python-dep-logic
|
Requires: python-dep-logic >= 0.4.4
|
||||||
Requires: python-findpython >= 0.4
|
Requires: python-filelock >= 3.13
|
||||||
Requires: python-installer
|
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
|
||||||
Requires: python-packaging >= 20.9
|
Requires: python-packaging >= 20.9
|
||||||
Requires: python-pdm-backend
|
Requires: python-pbs-installer >= 2024.4.18
|
||||||
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
|
||||||
@@ -92,6 +93,7 @@ doesn't need to create a virtualenv at all!
|
|||||||
%autosetup -p1 -n pdm-%{version}
|
%autosetup -p1 -n pdm-%{version}
|
||||||
# we don't care about certifi version, the distro package replaces the certificates with system ones anyway
|
# 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
|
sed -i 's/"certifi>=[0-9.]*"/"certifi"/' pyproject.toml
|
||||||
|
find . -name ".gitignore" -print -delete
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@@ -121,6 +123,34 @@ donttest="$donttest or test_list_dependency_graph_include_exclude or test_list_c
|
|||||||
donttest="$donttest or test_list_csv_include_exclude or test_remove_editable_packages_while_keeping_normal or test_project_backend"
|
donttest="$donttest or test_list_csv_include_exclude or test_remove_editable_packages_while_keeping_normal or test_project_backend"
|
||||||
# Requires network
|
# Requires network
|
||||||
donttest="$donttest or test_build_with_no_isolation"
|
donttest="$donttest or test_build_with_no_isolation"
|
||||||
|
# Requires network
|
||||||
|
donttest="$donttest or test_find_candidates_from_find_links"
|
||||||
|
donttest="$donttest or test_build_single_module"
|
||||||
|
donttest="$donttest or test_build_single_module_with_readme"
|
||||||
|
donttest="$donttest or test_build_package"
|
||||||
|
donttest="$donttest or test_build_src_package"
|
||||||
|
donttest="$donttest or test_build_package_include"
|
||||||
|
donttest="$donttest or test_build_src_package_by_include"
|
||||||
|
donttest="$donttest or test_build_with_config_settings"
|
||||||
|
donttest="$donttest or test_cli_build_with_config_settings"
|
||||||
|
donttest="$donttest or test_build_ignoring_pip_environment"
|
||||||
|
donttest="$donttest or test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV"
|
||||||
|
donttest="$donttest or test_hooks[build] or test_hooks[publish]"
|
||||||
|
donttest="$donttest or test_skip_option_from_signal"
|
||||||
|
donttest="$donttest or test_skip_all_option_from_signal"
|
||||||
|
donttest="$donttest or test_skip_pre_post_option_from_signal"
|
||||||
|
donttest="$donttest or test_build_distributions"
|
||||||
|
donttest="$donttest or test_show_self_package"
|
||||||
|
donttest="$donttest or test_publish_and_build_in_one_run"
|
||||||
|
donttest="$donttest or test_expand_project_root_in_url"
|
||||||
|
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)"
|
%pytest -v -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user