Enrichment · STEM Explorations
A new release can change or remove something a project relies on. Before you upgrade, check six things against the release notes and the packages' pages: your system, the runtime version, your packages, your own code, your saved files and your tests, and mark each as working, unsure or breaking.
The worked example is made up: three checks of a class project moving to a new Python release, the share of parts that work going from 16.7% to 50% to 50% against a goal of 70 percent. Dates move with today. Version numbers are the kind you would write.
Loading the release form. If nothing appears, turn on JavaScript.
Enrichment · STEM ExplorationsOpen to everyone · no sign-in
Release notes list what changed, what was added and what was removed. For example, Python 3.12 removed the distutils package, so build scripts that import it need changes. The notes are the first place to look for what can break.
Semantic Versioning, a convention many projects follow, uses a major version number for changes that are not backward compatible, a minor number for added features that are, and a patch number for fixes. A jump in the major number is a signal to read the notes.
Running the new version on a copy, with your tests, shows what breaks without risking the version that works. Writing down the exact versions of your tools and packages makes it possible to go back.
The worked example is made up. Figures are worked out from what you record; the page does not assess, diagnose or decide eligibility. Nothing you type is sent to Caveat. Support: team@caveatacademic.com.