Skip to content

Request for fixing dependencies on major versions only #192

@michaelaye

Description

@michaelaye

This is a request to trust the social contract of semantic versioning and not fix your dependencies on the minor but major version only.

Case in point is that a pip install just messed up my conda environment, because the package wasn't happy with my newer versions:

  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.26.3
    Uninstalling urllib3-1.26.3:
      Successfully uninstalled urllib3-1.26.3
  Attempting uninstall: requests
    Found existing installation: requests 2.25.1
    Uninstalling requests-2.25.1:
      Successfully uninstalled requests-2.25.1
  Attempting uninstall: PyYAML
    Found existing installation: PyYAML 5.4.1
    Uninstalling PyYAML-5.4.1:
      Successfully uninstalled PyYAML-5.4.1
  Attempting uninstall: Click
    Found existing installation: click 7.1.2
    Uninstalling click-7.1.2:
      Successfully uninstalled click-7.1.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
conda 4.9.2 requires ruamel_yaml>=0.11.14, which is not installed.
spicer 0.6.0 requires planetarypy>=0.7, but you have planetarypy 0.5.1 which is incompatible.
black 20.8b1 requires click>=7.1.2, but you have click 7.0 which is incompatible.
Successfully installed Click-7.0 PyYAML-5.3.1 future-0.18.2 humanize-1.0.0 panoptes-client-1.3.0 panoptescli-1.1.3 pathvalidate-0.29.1 python-magic-0.4.18 redo-2.0.4 requests-2.24.0 urllib3-1.25.11

Thanks for this great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions