Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Jan 28, 2021

Description of proposed changes

gmt is already listed as a dependency in environment.yml,
so running conda env create -f environment.yml already has gmt
installed. No need to install gmt again.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Notes

  • You can write /format in the first line of a comment to lint the code automatically

`gmt` is already listed as a dependency in
[environment.yml](https://github.com/GenericMappingTools/pygmt/blob/master/environment.yml),
so running `conda env create -f environment.yml` already has `gmt`
installed. No need to install `gmt` again.
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Jan 28, 2021
@seisman seisman added this to the 0.3.0 milestone Jan 28, 2021
@seisman seisman requested a review from weiji14 January 28, 2021 23:28
@seisman
Copy link
Member Author

seisman commented Jan 29, 2021

Tried mamba in commit d426c57. The building time is 5.5 minutes, compared to ~7 minutes using miniconda. micromamba (#817) has a similar building time (~6 minutes).

@weiji14
Copy link
Member

weiji14 commented Jan 29, 2021

Tried mamba in commit d426c57. The building time is 5.5 minutes, compared to ~7 minutes using miniconda. micromamba (#817) has a similar building time (~6 minutes).

What do you think? Close this in favour of #817? A minute saved over hundreds of CI builds with each PR commit is still a lot!

@seisman
Copy link
Member Author

seisman commented Jan 29, 2021

micromamba in #817 is still experimental. I prefer this PR.

Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, using conda install mamba does seem cleaner here than installing micromamba in #817. I would close #817 once this PR is merged.

P.S. Please change the PR title to mention mamba.

@seisman seisman changed the title Simplify the vercel build commands Speedup the Continuous Documentation using mamba Jan 29, 2021
@seisman seisman merged commit 7c35bb0 into master Jan 30, 2021
@seisman seisman deleted the vercel branch January 30, 2021 02:02
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
…#813)

* Simplify the vercel build commands

`gmt` is already listed as a dependency in
[environment.yml](https://github.com/GenericMappingTools/pygmt/blob/master/environment.yml),
so running `conda env create -f environment.yml` already has `gmt`
installed. No need to install `gmt` again.

* Use mamba

Co-authored-by: Wei Ji <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants