Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change reported when no update - conda ignores trailing ".0"s #17

Open
colin-nolan opened this issue Aug 15, 2017 · 0 comments
Open

Change reported when no update - conda ignores trailing ".0"s #17

colin-nolan opened this issue Aug 15, 2017 · 0 comments

Comments

@colin-nolan
Copy link
Contributor

colin-nolan commented Aug 15, 2017

If a version number has extra ".0" precision - e.g. only version 0.8 exists, yet version 0.8.0 is requested - conda happily ignores the extra ".0"s.

However, this module still reports a change when this happens, e.g.:

TASK [hail : install conda prerequisites] ******************************************************************************************************************************************************************
changed: [localhost] => {
    "changed": true,
    "invocation": {
        "module_args": {
            "channels": null,
            "executable": "/usr/local/anaconda-4.4.0/bin/conda",
            "extra_args": null,
            "name": "seaborn",
            "state": "present",
            "version": "0.8.0"
        }
    },
    "name": "seaborn",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "Fetching package metadata .........\nSolving package specifications: .\n\n# All requested packages already installed.\n# packages in environment at /usr/local/Anaconda2-4.4.0-Linux-x86_64:\n#\nseaborn                   0.8                      py27_0  \n",
    "stdout_lines": [
        "Fetching package metadata .........",
        "Solving package specifications: .",
        "",
        "# All requested packages already installed.",
        "# packages in environment at /usr/local/Anaconda2-4.4.0-Linux-x86_64:",
        "#",
        "seaborn                   0.8                      py27_0  "
    ],
    "version": "0.8.0"
}

It's worth noting that conda install seaborn=0.8.1 leads to a PackageNotFoundError error.

@colin-nolan colin-nolan changed the title Changed reported when no update - conda ignores trailing ".0"s Change reported when no update - conda ignores trailing ".0"s Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant