forked from pool/python-pdm
Accepting request 948281 from home:mcepl:branches:devel:languages:python
Required for python-flufl.* updates. ------------------------------------------------------------------- Sun Jan 23 20:56:10 UTC 2022 - Matej Cepl <mcepl@suse.com> - By downgrading python-installer to 0.3 we have eliminated number of failed tests. ------------------------------------------------------------------- Sun Jan 23 00:55:41 UTC 2022 - Matej Cepl <mcepl@suse.com> - Replacing mark-network-tests.patch with the upstream PR (gh#pdm-project/pdm#864), which unfortunately leaves a lot of tests still failing. ------------------------------------------------------------------- Fri Jan 21 01:35:33 UTC 2022 - Matej Cepl <mcepl@suse.com> - Add mark-network-tests.patch for skipping network-requiring tests (gh#pdm-project/pdm#858). This is a very shotgun approach, just mark everything which fails. - Add sys-exec-failures.patch to fix problems with the version number of Python 3.10 (gh#pdm-project/pdm#865). ------------------------------------------------------------------- Thu Jan 20 18:51:14 UTC 2022 - Matej Cepl <mcepl@suse.com> - Initial packaging effort for pdm 1.12.6 OBS-URL: https://build.opensuse.org/request/show/948281 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=1
This commit is contained in:
17
failed_test_use_command.patch
Normal file
17
failed_test_use_command.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
tests/cli/test_use.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/tests/cli/test_use.py
|
||||
+++ b/tests/cli/test_use.py
|
||||
@@ -11,8 +11,8 @@ from pdm.models.caches import JSONFileCa
|
||||
|
||||
|
||||
def test_use_command(project, invoke):
|
||||
- python_path = Path(shutil.which("python")).as_posix()
|
||||
- result = invoke(["use", "-f", "python"], obj=project)
|
||||
+ python_path = Path(shutil.which("python3")).as_posix()
|
||||
+ result = invoke(["use", "-f", "python3"], obj=project)
|
||||
assert result.exit_code == 0
|
||||
config_content = project.root.joinpath(".pdm.toml").read_text()
|
||||
assert python_path in config_content
|
Reference in New Issue
Block a user