Skip to content

Update setup instructions #149

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

Merged
merged 3 commits into from
Mar 20, 2025
Merged

Update setup instructions #149

merged 3 commits into from
Mar 20, 2025

Conversation

tobyhodges
Copy link
Member

This updates the setup instructions for Python, to use Miniforge instead of Anaconda. A recent blog post provides more context for this change.

Two major changes have been made:

  1. the page now points to the central Python setup instructions that we maintain as part of the workshop website template repository.
  2. The instructions now reflect that we recommend Miniforge instead of Anaconda Python. This means that learners need to activate a carpentries environment before they can launch JupyterLab.

Copy link

github-actions bot commented Mar 14, 2025

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/LibraryCarpentry/lc-python-intro/compare/md-outputs..md-outputs-PR-149

The following changes were observed in the rendered markdown documents:

 data-visualisation.md |  8 +-------
 getting-started.md    | 31 +++++++++++++++----------------
 index.md              |  2 +-
 libraries.md          |  4 ++--
 md5sum.txt            | 10 +++++-----
 setup.md              | 46 +++++++++-------------------------------------
 6 files changed, 33 insertions(+), 68 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2025-03-18 15:55:06 +0000

github-actions bot pushed a commit that referenced this pull request Mar 14, 2025
@chennesy chennesy self-requested a review March 16, 2025 18:28
@chennesy chennesy self-assigned this Mar 16, 2025
@chennesy
Copy link
Contributor

chennesy commented Mar 16, 2025

Thanks @tobyhodges! A few updates I need to make before merging:

  • Update getting-started episode to:
    • remove Anaconda instructions
    • test and then add conda activate carpentries before jupyter lab command for Windows
    • test and add conda activate carpentries for Mac
  • Update data-visualisation episode to remove pip install for plotly (plotly is included in env already)

@chennesy chennesy added the status:in progress Contributor working on issue label Mar 16, 2025
github-actions bot pushed a commit that referenced this pull request Mar 16, 2025
github-actions bot pushed a commit that referenced this pull request Mar 18, 2025
@chennesy
Copy link
Contributor

@tobyhodges Did the task force experience or have guidance related to conda hangups with "Solving Environment..." taking forever? I didn't have any issues on Mac but had to try two or three different workarounds on Windows to get the conda activate carpentries to finish running. Setting the channel priority to strict is what worked for me, but no idea how common this is or if that would help others.

Copy link
Contributor

@chennesy chennesy left a comment

Choose a reason for hiding this comment

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

Thanks @tobyhodges and thanks to the task force for setting up clear guidelines for setting up Python across Carpentries' lessons! This will be a big help, and I hope we've adjusted the lesson as needed to reflect the switch away from Anaconda to Miniforge.

@chennesy chennesy merged commit 4515a95 into main Mar 20, 2025
3 checks passed
@chennesy chennesy deleted the use-miniforge branch March 20, 2025 19:50
github-actions bot pushed a commit that referenced this pull request Mar 20, 2025
Auto-generated via `{sandpaper}`
Source  : 4515a95
Branch  : main
Author  : Cody Hennesy <[email protected]>
Time    : 2025-03-20 19:50:02 +0000
Message : Merge pull request #149 from LibraryCarpentry/use-miniforge

Update setup instructions
github-actions bot pushed a commit that referenced this pull request Mar 20, 2025
Auto-generated via `{sandpaper}`
Source  : 1f975b6
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-03-20 19:51:17 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4515a95
Branch  : main
Author  : Cody Hennesy <[email protected]>
Time    : 2025-03-20 19:50:02 +0000
Message : Merge pull request #149 from LibraryCarpentry/use-miniforge

Update setup instructions
github-actions bot pushed a commit that referenced this pull request Mar 25, 2025
Auto-generated via `{sandpaper}`
Source  : 1f975b6
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-03-20 19:51:17 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4515a95
Branch  : main
Author  : Cody Hennesy <[email protected]>
Time    : 2025-03-20 19:50:02 +0000
Message : Merge pull request #149 from LibraryCarpentry/use-miniforge

Update setup instructions
github-actions bot pushed a commit that referenced this pull request Apr 1, 2025
Auto-generated via `{sandpaper}`
Source  : 1f975b6
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-03-20 19:51:17 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4515a95
Branch  : main
Author  : Cody Hennesy <[email protected]>
Time    : 2025-03-20 19:50:02 +0000
Message : Merge pull request #149 from LibraryCarpentry/use-miniforge

Update setup instructions
github-actions bot pushed a commit that referenced this pull request Apr 8, 2025
Auto-generated via `{sandpaper}`
Source  : 1f975b6
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2025-03-20 19:51:17 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : 4515a95
Branch  : main
Author  : Cody Hennesy <[email protected]>
Time    : 2025-03-20 19:50:02 +0000
Message : Merge pull request #149 from LibraryCarpentry/use-miniforge

Update setup instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:in progress Contributor working on issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants