Skip to content

no output from pdm search #3674

@ZeeD

Description

@ZeeD

Describe the bug

It seems to me that there are issues with pdm search, as it doesn't seems to print anything when used. I tried to invoke it also with the -vv flag but it just doesn't show any information

To reproduce

search for anything. For example run pdm search -vv pdm

Expected Behavior

The output with the matching results (at least something pointing to https://pypi.org/project/pdm/ or similar )

Environment Information

I can reproduce the issue also outside of a pdm project, but in any case:

$ pdm info && pdm info --env
PDM version:
  2.23.1
Python Interpreter:
  /home/zed/eclipse-workspace/movslib/.venv/bin/python (3.13)
Project Root:
  /home/zed/eclipse-workspace/movslib
Local Packages:
  
{
  "implementation_name": "cpython",
  "implementation_version": "3.13.9",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "6.16.12+deb14+1-amd64",
  "platform_system": "Linux",
  "platform_version": "#1 SMP PREEMPT_DYNAMIC Debian 6.16.12-2 (2025-10-16)",
  "python_full_version": "3.13.9",
  "platform_python_implementation": "CPython",
  "python_version": "3.13",
  "sys_platform": "linux"
}

Verbose Command Output

still empty

Additional Context

I don't know if this is related, but I noticed while working on my personal project.

I have a library published on pypi and an application that use it.
If I publish a new release of my library, and then, in my application project I try to run pdm update it seems that there is some caching? or something else? that prevent pdm to notice the presence of the new version of my library.
I feared something was broken on the publishing side, and searched for my library... and found nothing.
However the web page on pypi was already updated.

Are you willing to submit a PR to fix this bug?

  • Yes, I would like to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions