-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Labels
Description
Hi,
It is currently impossible to install this library using poetry that has python version requirements of > 3.5.
This is due to the python_requires in your setup.py of '~=3.5',: https://github.com/testcontainers/testcontainers-python/blob/master/setup.py#L64
Poetry fails with an error message like so:
[SolverProblemError]
The current project's Python requirement (>=3.7) is not compatible with some of the required packages Python requirement:
- testcontainers requires Python ~=3.5
Because testcontainers (3.0.0) requires Python ~=3.5
and no versions of testcontainers match >3.0.0,<4.0.0, testcontainers is forbidden.
So, because data-upload depends on testcontainers (^3.0.0), version solving failed.
Given that this library is tested with versions 3.5 -> 3.8 in travis, i think this python requirement is incorrect.