← All tasks
pythontestcontainers/testcontainers-python #94Not a task: already works

Installation with poetry on python > 3.5

envgap__testcontainers__testcontainers-python-94

01 / FAILURE SIGNATURE

As reported upstream

Poetry fails with an error message like so:
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
48ea7b8f66fd843043c120a5291bd0bd5635f1e5
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

testcontainers/testcontainers-python #94 · read the original issue
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.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]