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

Running "pdm update --unconstrained --dry-run" will modufy pyproject.toml #2125

Closed
1 task done
jmfederico opened this issue Jul 23, 2023 · 0 comments · Fixed by j178/pdm#1
Closed
1 task done

Running "pdm update --unconstrained --dry-run" will modufy pyproject.toml #2125

jmfederico opened this issue Jul 23, 2023 · 0 comments · Fixed by j178/pdm#1
Labels
🐛 bug Something isn't working

Comments

@jmfederico
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 --save-compatible boto3
pdm update --unconstrained --dry-run

Actual behavior

Version specifier for boto3 is changed in pyproject.toml to >=.

Expected behavior

No changes should have been made to pyproject.toml, version specifier for boto3 should be kept as ~=.

Environment Information

PDM version:
  2.8.0
Python Interpreter:
  /Volumes/Utveckling/testpdm/.venv/bin/python (3.9)
Project Root:
  /Volumes/Utveckling/testpdm
Local Packages:

{
  "implementation_name": "cpython",
  "implementation_version": "3.9.6",
  "os_name": "posix",
  "platform_machine": "arm64",
  "platform_release": "22.5.0",
  "platform_system": "Darwin",
  "platform_version": "Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT
2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000",
  "python_full_version": "3.9.6",
  "platform_python_implementation": "CPython",
  "python_version": "3.9",
  "sys_platform": "darwin"
}
@jmfederico jmfederico added the 🐛 bug Something isn't working label Jul 23, 2023
frostming added a commit that referenced this issue Jul 24, 2023
Fix #2125

Signed-off-by: Frost Ming <me@frostming.com>
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