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

Can't add VCS package as depedency #3163

Closed
1 task done
ridv opened this issue Sep 15, 2024 · 1 comment
Closed
1 task done

Can't add VCS package as depedency #3163

ridv opened this issue Sep 15, 2024 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@ridv
Copy link

ridv commented Sep 15, 2024

  • 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

Attempt to add VCS dependency on version v2.18.2:

pdm add "venmo-api-unoffical @ git+https://github.com/evanpurkhiser/venmo-api-unofficial.git@main" 

Actual behavior

Dependency fails to be added with an error about the Version being None:

[RequirementError]: Invalid version for venmo-api-unoffical @ git+https://github.com/evanpurkhiser/venmo-api-unofficial.git@main: Invalid version:
'None'

This change in behavior seems to have been introduced by 00de69c .

Expected behavior

According to the docs this should result in the package being added as a dependency.

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
PDM version:
  2.18.2
Python Interpreter:
  /home/ridv/git/venmo-auto-cashout/.venv/bin/python (3.12)
Project Root:
  /home/ridv/git/venmo-auto-cashout
Local Packages:

{
  "implementation_name": "cpython",
  "implementation_version": "3.12.3",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "5.15.153.1-microsoft-standard-WSL2",
  "platform_system": "Linux",
  "platform_version": "#1 SMP Fri Mar 29 23:14:13 UTC 2024",
  "python_full_version": "3.12.3",
  "platform_python_implementation": "CPython",
  "python_version": "3.12",
  "sys_platform": "linux"
}
@ridv ridv added the 🐛 bug Something isn't working label Sep 15, 2024
@ridv ridv changed the title Can't add VCS package as depdency Can't add VCS package as depedency Sep 16, 2024
@ridv
Copy link
Author

ridv commented Sep 20, 2024

Thank you so much for looking at this! Appreciate it!

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

No branches or pull requests

1 participant