Skip to content

Installation with poetry on python > 3.5 #94

Closed

Description

@dlmiddlecote

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions