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

[InvalidPyVersion]: Invalid specifier: '>=3.7.*' #1719

Closed
1 task done
Wurstnase opened this issue Feb 17, 2023 · 0 comments · Fixed by j178/pdm#1
Closed
1 task done

[InvalidPyVersion]: Invalid specifier: '>=3.7.*' #1719

Wurstnase opened this issue Feb 17, 2023 · 0 comments · Fixed by j178/pdm#1
Labels
🐛 bug Something isn't working

Comments

@Wurstnase
Copy link

  • 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

> pdm init
> pdm add -v --pre semver

Adding packages to default dependencies: semver
STATUS: Resolving dependencies
pdm.termui: ======== Start resolving requirements ========
pdm.termui:   semver
pdm.termui:   python>=3.11
pdm.termui:   Adding requirement semver
pdm.termui:   Adding requirement python>=3.11
pdm.termui: ======== Starting round 0 ========
STATUS: Resolving: new pin python>=3.11
pdm.termui: Pinning: python None
pdm.termui: ======== Ending round 0 ========
pdm.termui: ======== Starting round 1 ========
[InvalidPyVersion]: Invalid specifier: '>=3.7.*'

Actual behavior

Can't install semver. It's currently in a preview (3.0.0-dev.4)

Expected behavior

It should be installable.

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
PDM version:
  2.4.5
Python Interpreter:
  /Users/<user>/project/.venv/bin/python
(3.11)
Project Root:
  /Users/<user>/project
Project Packages:
  None
{
  "implementation_name": "cpython",
  "implementation_version": "3.11.1",
  "os_name": "posix",
  "platform_machine": "arm64",
  "platform_release": "22.3.0",
  "platform_system": "Darwin",
  "platform_version": "Darwin Kernel Version 22.3.0: Thu Jan  5 20:50:21 PST
2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T8112",
  "python_full_version": "3.11.1",
  "platform_python_implementation": "CPython",
  "python_version": "3.11",
  "sys_platform": "darwin"
}
@Wurstnase Wurstnase added the 🐛 bug Something isn't working label Feb 17, 2023
frostming added a commit that referenced this issue Feb 18, 2023
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