nat-n / poethepoet

A task runner that works well with poetry.
https://poethepoet.natn.io/
MIT License
1.46k stars 59 forks source link

Warnings when pip installing #8

Closed TheCleric closed 4 years ago

TheCleric commented 4 years ago

I just added poetry (latest, 1.0.10) and poethepoet (latest, 0.8.0) to a virtualenv, and after installing poethepoet I get the following message:

$ pip install poethepoet
Collecting poethepoet
  Downloading poethepoet-0.8.0-py3-none-any.whl (23 kB)
Collecting tomlkit<0.8.0,>=0.7.0
  Downloading tomlkit-0.7.0-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: pastel<0.3.0,>=0.2.0 in ./venv/lib/python3.8/site-packages (from poethepoet) (0.2.1)
Installing collected packages: tomlkit, poethepoet
  Attempting uninstall: tomlkit
    Found existing installation: tomlkit 0.5.11
    Uninstalling tomlkit-0.5.11:
      Successfully uninstalled tomlkit-0.5.11
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

poetry 1.0.10 requires tomlkit<0.6.0,>=0.5.11, but you'll have tomlkit 0.7.0 which is incompatible.
nat-n commented 4 years ago

Thanks for reporting this. Maybe dependencies specification could be loosened to avoid this sort of thing.

As it happens poetry specifies tomlkit = ">=0.7.0,<1.0.0" on master so this particular warning should go away on its own soon enough.