Skip to content

Commit

Permalink
Merge pull request #275 from carpentries-incubator/issue-274
Browse files Browse the repository at this point in the history
Switch to Python 3.11 and refresh of relevant screenshots
  • Loading branch information
anenadic authored Nov 21, 2023
2 parents 4f6f95a + 036063f commit d92b661
Show file tree
Hide file tree
Showing 23 changed files with 204 additions and 228 deletions.
2 changes: 1 addition & 1 deletion _episodes/10-section1-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ and [`pip`](https://pip.pypa.io/en/stable/)
to set up a Python virtual development environment
and isolate our software project from other Python projects we may work on.

**Note:** *some Windows users experience the issue where Python hangs from Git Bash
***Note:** some Windows users experience the issue where Python hangs from Git Bash
(i.e. typing `python` causes it to just hang with no error message or output) -
[see the solution to this issue](../common-issues/index.html#python-hangs-in-git-bash).*

Expand Down
58 changes: 28 additions & 30 deletions _episodes/12-virtual-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,15 +414,15 @@ To display information about a particular installed package do:
{: .language-bash}
~~~
Name: numpy
Version: 1.21.2
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Version: 1.26.2
Summary: Fundamental package for array computing in Python
Home-page: https://numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: /Users/alex/work/SSI/Carpentries/python-intermediate-inflammation/inflammation/lib/python3.9/site-packages
Requires:
Required-by: matplotlib
Author-email:
License: Copyright (c) 2005-2023, NumPy Developers.
All rights reserved.
...
Required-by: contourpy, matplotlib
~~~
{: .output}
Expand All @@ -435,20 +435,19 @@ To list all packages installed with `pip` (in your current virtual environment):
~~~
Package Version
--------------- -------
cycler 0.11.0
fonttools 4.28.1
kiwisolver 1.3.2
matplotlib 3.5.0
numpy 1.21.4
packaging 21.2
Pillow 8.4.0
pip 21.1.3
pyparsing 2.4.7
contourpy 1.2.0
cycler 0.12.1
fonttools 4.45.0
kiwisolver 1.4.5
matplotlib 3.8.2
numpy 1.26.2
packaging 23.2
Pillow 10.1.0
pip 23.0.1
pyparsing 3.1.1
python-dateutil 2.8.2
setuptools 57.0.0
setuptools-scm 6.3.2
setuptools 67.6.1
six 1.16.0
tomli 1.2.2
~~~
{: .output}
Expand All @@ -473,18 +472,17 @@ A common convention is to put this list in a `requirements.txt` file:
~~~
{: .language-bash}
~~~
cycler==0.11.0
fonttools==4.28.1
kiwisolver==1.3.2
matplotlib==3.5.0
numpy==1.21.4
packaging==21.2
Pillow==8.4.0
pyparsing==2.4.7
contourpy==1.2.0
cycler==0.12.1
fonttools==4.45.0
kiwisolver==1.4.5
matplotlib==3.8.2
numpy==1.26.2
packaging==23.2
Pillow==10.1.0
pyparsing==3.1.1
python-dateutil==2.8.2
setuptools-scm==6.3.2
six==1.16.0
tomli==1.2.2
~~~
{: .output}
Expand Down
Loading

0 comments on commit d92b661

Please sign in to comment.