Skip to content

Sync numpy-tutorial with the updated tutorial - #886

Merged
martin-martin merged 1 commit into
masterfrom
maintenance/numpy-tutorial-20261014
Oct 14, 2026
Merged

martin-martin merged 1 commit into
masterfrom
maintenance/numpy-tutorial-20261014

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Syncs numpy-tutorial/ with the maintenance update of NumPy Tutorial: Your First Steps Into Data Science in Python.

What changed

  • requirements.txt: replaced the 2020 full pip freeze (NumPy 1.19.1, Matplotlib 3.3.0, notebook 6.1.4, and 50 transitive pins that no longer install on current Python) with direct pins that match the article's updated dependencies field: numpy==2.5.4, matplotlib==3.11.2, plus notebook==7.6.3 for the README's jupyter notebook step.
  • No notebook code changes were needed. None of the notebooks use APIs that NumPy 2 removed.

Article draft: https://realpython.com/pbjt/blog/post/2529/change/
Maintenance card: https://trello.com/c/9Ws9hFuf

Verification

  • Fresh Python 3.14 venv from the new requirements.txt.
  • Ran all five notebooks end to end with MPLBACKEND=Agg jupyter nbconvert --execute, with no errors. The stored outputs still match apart from random draws in normal.ipynb and JPEG-decoder pixel noise in image_mod.ipynb, so I didn't commit re-executed notebooks.
  • ruff@0.14.1 format --check and ruff@0.14.1 check both pass.

🤖 Generated with Claude Code

…ur First Steps Into Data Science in Python

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@martin-martin
martin-martin merged commit 5f208f1 into master Oct 14, 2026
1 check passed
@martin-martin
martin-martin deleted the maintenance/numpy-tutorial-20261014 branch October 14, 2026 16:50
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