Skip to content

Download several copies of packages for different environments if needed #46

@KarlOfDuty

Description

@KarlOfDuty

@grische in #42:

That seems like intended behaviour:

  • Ansible 8.7.0 and earlier requires only '>=3.9' according to pypi and hence is considered compatible with all your envs.
  • Ansible 9.0.1 (the one after 8.7.0) requires '>=3.10' which does not match your first few envs, so it is being dropped.
  • Ansible 12.0.0 requires '>=3.11' which does not match many of your environments, so it is also being dropped.

There is another issue about a feature request to have an "matches either environment" and not "matches all environments", if that's what you're looking for: #21 (comment)

In the example above I would expect getting version 8.7.0 for my python 3.9 environment, 9.0.1 for my 3.10 environment, and 12.0.0 for my python 3.12 environment but I only get 8.7.0 as that is the only version that works for all. I am not downloading it as a dependency for a specific package, I want the latest version to be available in the air-gapped environment for each python version we have.

Could a flag be added for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions