Skip to content

support pyyaml 6.0 in docker-compose v1 #9114

Closed

Description

@PJ-Schulz

Hello

I want to install docker-compose and pyyaml=6.0 with poetry. However, when I run poetry add docker-compose pyyaml, I get a dependency error:

Steps to reproduce the issue:
poetry add docker-compose pyyaml

Using version ^1.29.2 for docker-compose
Using version ^6.0 for PyYAML

Updating dependencies
Resolving dependencies... (0.0s)

  SolverProblemError

  Because docker-compose (1.29.2) depends on PyYAML (>=3.10,<6)
   and no versions of docker-compose match >1.29.2,<2.0.0, docker-compose (>=1.29.2,<2.0.0) requires PyYAML (>=3.10,<6).
  So, because dockerpytest depends on both docker-compose (^1.29.2) and PyYAML (^6.0), version solving failed.

Problem:
docker-compose==1.29.2 uses a pyyaml version: PyYAML >= 3.10, < 6

Request:
Can this dependency be updated for using version 6.0?

Additional environment details:

  • python version: Python 3.9.4
  • poetry version Poetry .1.8

Activity

  1. stale commented on Jul 31, 2022

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. renefritze commented on Jul 31, 2022

    @renefritze

    Not stale

  3. stale commented on Aug 13, 2022

    @stale

    This issue has been automatically closed because it had not recent activity during the stale period.

  4. aguckenber-chwy commented on Sep 30, 2022

    @aguckenber-chwy

    Not stale

  5. jnawk commented on Jul 21, 2023

    @jnawk

    What a hostile bot to have in your repository - ignore a problem for long enough and it'll go away!

  6. glours commented on Jul 21, 2023

    @glours
    Contributor

    @jnawk Compose v1 is EOL, we don't do any support to the Python version anymore
    We communicate a lot for more than a year about this, see the README of the python branch or the different blog posts here or here

  7. jnawk commented on Jul 21, 2023

    @jnawk

    see, that was all that was necessary to say. it wasn't too hard, was it?
    closing issues without even ever saying anything, while convenient for you is a toxic user experience.

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