3 ms·
Just to note, dev dependencies in Poetry is still rather flaky vis-à-vis projects forever in pre-release mode e.g. Black. Consider sticking with Pipenv if you h
by sansnomme 7y ago
Just to note, dev dependencies in Poetry is still rather flaky vis-à-vis projects forever in pre-release mode e.g. Black. Consider sticking with Pipenv if you have heavy dev dependencies requirements.
- djrobstep 7y agoIt definitely was in the past, but I haven't had any troubles recently. Are you still experiencing issues?
- aprdm 7y agoIsn't that Black fault more than Poetry fault? They do not have a non alpha release.
- j88439h84 7y agoNowadays its just --allow-prerelease
- hobofan 7y agoIf I read the 1.0 changelog correctly, I think you don't need that flag anymore
- fermigier 7y agoI have been bitten by this. I love Black to death, but I don't understand why they're still tagging their project as bêta when it's been so stable over the last year, at least. Anyway, the solution is simple: put black = { version = "*", allows-prereleases = true } in your pyproject.toml file. Or use --allow-prerelease as suggested by others.