pdm icon indicating copy to clipboard operation
pdm copied to clipboard

Tests assume an x86_64/aarch64 environment with available pbs builds

Open ptrcnull opened this issue 1 year ago • 0 comments

  • [X] I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

  • Run the testsuite on any platform that isn't x86_64/aarch64, such as riscv64

Actual behavior

340 failed tests, some with 'riscv64' is not a valid Arch, some with ERROR: Failed to install Python : Could not find a version matching version='3.10.7', implementation=cpython

Expected behavior

Tests adapt to availability of prebuilts, whether it's wheels or Python versions, and skip accordingly

Environment Information

[ProjectError]: The pyproject.toml has not been initialized yet. You can do this by running `pdm init`.
[ProjectError]: The pyproject.toml has not been initialized yet. You can do this by running `pdm init`.

( and more seriously, don't you think info --env shouldn't depend on pyproject.toml? )

{
  "implementation_name": "cpython",
  "implementation_version": "3.12.3",
  "os_name": "posix",
  "platform_machine": "riscv64",
  "platform_release": "6.6.41-0-lts",
  "platform_system": "Linux",
  "platform_version": "#1-Alpine SMP PREEMPT_DYNAMIC 2024-07-18 19:41:25",
  "python_full_version": "3.12.3",
  "platform_python_implementation": "CPython",
  "python_version": "3.12",
  "sys_platform": "linux"
}

ptrcnull avatar Jul 28 '24 21:07 ptrcnull