Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDM list command sorts by name is case sensitive manner #1973

Closed
1 task done
dbalabka opened this issue Jun 4, 2023 · 0 comments · Fixed by #1974
Closed
1 task done

PDM list command sorts by name is case sensitive manner #1973

dbalabka opened this issue Jun 4, 2023 · 0 comments · Fixed by #1974
Labels
🐛 bug Something isn't working

Comments

@dbalabka
Copy link
Contributor

dbalabka commented Jun 4, 2023

  • 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

  1. Install packages that start with a capital letter and lowercase letter: Jinja2, Pillow, PyYAML, accelerate, aiofiles, aiohttp
  2. Run pdm list --sort name

Actual behavior

❯ pdm list --sort name
╭──────────────────────────┬──────────────┬───────────────────────────────────────╮
│ name                     │ version      │ location                              │
├──────────────────────────┼──────────────┼───────────────────────────────────────┤
│ Jinja2                   │ 3.1.2        │                                       │
│ MarkupSafe               │ 2.1.3        │                                       │
│ Pillow                   │ 9.5.0        │                                       │
│ PyYAML                   │ 6.0          │                                       │
│ Pygments                 │ 2.15.1       │                                       │
│ accelerate               │ 0.19.0       │                                       │
│ aiofiles                 │ 23.1.0       │                                       │
│ aiohttp                  │ 3.8.4        │                                       │

Expected behavior

Sorting should not be case sensetive

Environment Information

❯ pdm info && pdm info --env
PDM version:
  2.7.0
Python Interpreter:
  /home/username/src/project/.venv/bin/python (3.10)
Project Root:
  /home/username/src/project
Local Packages:

{
  "implementation_name": "cpython",
  "implementation_version": "3.10.11",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "5.15.90.1-microsoft-standard-WSL2",
  "platform_system": "Linux",
  "platform_version": "#1 SMP Fri Jan 27 02:56:13 UTC 2023",
  "python_full_version": "3.10.11",
  "platform_python_implementation": "CPython",
  "python_version": "3.10",
  "sys_platform": "linux"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant