You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
project bump is changing format of dependencies that causes upstream poetry projects to break.
Command in question:
dephell project bump --from-format=poetry --from-path=pyproject.toml minor
I am not sure if I am doing something wrong. I tried to find any flag that should help in this behaviour but could not.
I even tried to remove python from dependencies. In that case it adds a '*' dependency for python.
Short description
project bump
is changing format of dependencies that causes upstream poetry projects to break.Command in question:
dephell project bump --from-format=poetry --from-path=pyproject.toml minor
I am not sure if I am doing something wrong. I tried to find any flag that should help in this behaviour but could not.
I even tried to remove python from dependencies. In that case it adds a '*' dependency for python.
Output
Originally I have:
After running:
dephell project bump --from-format=poetry --from-path=pyproject.toml minor
I have:
The real problem is
python = "^3.8"
getting converted topython = "==3.*,>=3.8.0"
Since this is a library, the upstream poetry fails as 3.* does not meets minimum requirement of 3.8. It works when I run the original.
Steps to reproduce
In any project that is based on pyproject.toml with poetry, use the python line:
Then run:
$ dephell project bump init $ dephell project bump --from-format=poetry --from-path=pyproject.toml minor`
Config
Versions
Please help.
The text was updated successfully, but these errors were encountered: