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

explicitly specify the micromamba version #1118

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

finozzifa
Copy link
Contributor

@finozzifa finozzifa commented Sep 27, 2024

Closes # (if applicable).

Fix

  /home/runner/micromamba-bin/micromamba list -r /home/runner/micromamba -n pypsa-earth
  critical libmamba Error parsing MatchSpec "pypsa[version='>=0.24,',build='<0.25']": Error setting attribute "version" to value ">=0.24,": Version spec "" is an incorrect expression"
  List of packages in environment: "/home/runner/micromamba/envs/pypsa-earth"

As explained here, setting the micromamba version explicitly fixes the problem.

Changes proposed in this Pull Request

Checklist

  • I consent to the release of this PR's code under the AGPLv3 license and non-code contributions under CC0-1.0 and CC-BY-4.0.
  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Newly introduced dependencies are added to envs/environment.yaml and doc/requirements.txt.
  • Changes in configuration options are added in all of config.default.yaml and config.tutorial.yaml.
  • Add a test config or line additions to test/ (note tests are changing the config.tutorial.yaml)
  • Changes in configuration options are also documented in doc/configtables/*.csv and line references are adjusted in doc/configuration.rst and doc/tutorial.rst.
  • A note for the release notes doc/release_notes.rst is amended in the format of previous release notes, including reference to the requested PR.

@davide-f
Copy link
Member

Thanks @finozzifa :D

@davide-f davide-f merged commit 7ef7725 into pypsa-meets-earth:main Sep 27, 2024
4 checks passed
davide-f pushed a commit to davide-f/pypsa-earth that referenced this pull request Oct 10, 2024
* explicitly specify the micromamba version

* modify micromamba version to 1.5.9

* modify micromamba version to 1.5.9-1

* modify micromamba version to 1.5.9-1

---------

Co-authored-by: Fabrizio Finozzi <[email protected]>
davide-f pushed a commit to davide-f/pypsa-earth that referenced this pull request Oct 10, 2024
* explicitly specify the micromamba version

* modify micromamba version to 1.5.9

* modify micromamba version to 1.5.9-1

* modify micromamba version to 1.5.9-1

---------

Co-authored-by: Fabrizio Finozzi <[email protected]>
davide-f pushed a commit to davide-f/pypsa-earth that referenced this pull request Oct 10, 2024
* explicitly specify the micromamba version

* modify micromamba version to 1.5.9

* modify micromamba version to 1.5.9-1

* modify micromamba version to 1.5.9-1

---------

Co-authored-by: Fabrizio Finozzi <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants