Skip to content

Commit 89a5f07

Browse files
Merge pull request #220 from pyscript/2026-6-2
Bump version to 2026.6.2
2 parents d447b81 + 3a82b4e commit 89a5f07

19 files changed

Lines changed: 166 additions & 42 deletions

File tree

docs/beginning-pyscript.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ module, and a `<link>` to some PyScript specific CSS, in the document's
118118
<meta charset="utf-8" />
119119
<meta name="viewport" content="width=device-width,initial-scale=1" />
120120
<title>🦜 Polyglot - Piratical PyScript</title>
121-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
122-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
121+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
122+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
123123
</head>
124124
<body>
125125

@@ -165,8 +165,8 @@ In the end, our HTML should look like this:
165165
<meta charset="utf-8" />
166166
<meta name="viewport" content="width=device-width,initial-scale=1" />
167167
<title>🦜 Polyglot - Piratical PyScript</title>
168-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
169-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
168+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
169+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
170170
</head>
171171
<body>
172172
<h1>Polyglot 🦜 💬 🇬🇧 ➡️ 🏴‍☠️</h1>
@@ -308,7 +308,7 @@ To run PyScript offline, without the need of a CDN or internet connection, read
308308
the [offline guide](user-guide/offline.md) section of the user guide.
309309

310310
We also provide an `offline.zip` file with
311-
[each release](https://pyscript.net/releases/2026.6.1/). This file contains
311+
[each release](https://pyscript.net/releases/2026.6.2/). This file contains
312312
everything you need for an offline version of PyScript: PyScript itself,
313313
versions of Pyodide and MicroPython, and an index.html page from which you
314314
could create your offline-first PyScript work.

docs/developers.md

Lines changed: 126 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,132 @@ terminal will change to include the name of your conda environment indicating th
283283
in a separate repository:
284284
[https://github.com/pyscript/docs](https://github.com/pyscript/docs)
285285
286-
* The documentation's `README` file contains instructions for setting up a
287-
development environment and contributing.
286+
* The project's homepage ([pyscript.net](https://pyscript.net/)) contains links
287+
and signposts for help and documentation. This is also found in a separate
288+
repository:
289+
[https://github.com/pyscript/pyscript.net](https://github.com/pyscript/pyscript.net)
290+
291+
## Release PyScript
292+
293+
This is the procedure for cutting a new release of PyScript. To follow it you
294+
need the correct permissions on GitHub (you're a PyScript core maintainer /
295+
admin).
296+
297+
The steps below must be done in order. Each phase depends on the GitHub release
298+
created in the first phase already existing, so don't skip ahead.
299+
300+
Throughout, the version number for a release uses
301+
[calver](https://calver.org/) in the form `YYYY.M.N` (year, month, and the
302+
release number within that month). For example, the first release in June 2026
303+
is `2026.6.1`. Wherever you see `2026.6.1` in the examples below, substitute the
304+
actual calver of the release you are cutting.
305+
306+
### 1. Cut the GitHub release
307+
308+
* Navigate to the [GitHub page for PyScript releases](https://github.com/pyscript/pyscript/releases).
309+
* Click the "Draft a new release" button, which will [take you here](https://github.com/pyscript/pyscript/releases/new),
310+
where you can fill in the details of the new release of PyScript.
311+
- Create a new tag. This should be the calver for the new release.
312+
- Set the target to `main`.
313+
- Set the release title to the calver for the new release (the same value
314+
as the new tag).
315+
- Write the release notes as a Markdown bulleted list of the changes, along
316+
with references to the related pull requests and the GitHub usernames of
317+
those who contributed.
318+
- Set the release label to "Latest".
319+
* Once you're happy with the draft release, click the "Publish release" button.
320+
At this point the [prepare-release.yml](https://github.com/pyscript/pyscript/blob/main/.github/workflows/prepare-release.yml)
321+
and then the [publish-release.yml](https://github.com/pyscript/pyscript/blob/main/.github/workflows/publish-release.yml)
322+
GitHub actions will run, to generate the assets needed for the release.
323+
You'll be able to [observe this process here](https://github.com/pyscript/pyscript/actions).
324+
325+
**Verify:** there should be two outcomes.
326+
327+
1. A new latest release listed on GitHub, containing the description and
328+
related assets. For example: [https://github.com/pyscript/pyscript/releases/tag/2026.6.1](https://github.com/pyscript/pyscript/releases/tag/2026.6.1).
329+
2. A page describing the release at `pyscript.net/releases/<CALVER>`. For
330+
example: [https://pyscript.net/releases/2026.6.1/](https://pyscript.net/releases/2026.6.1/).
331+
332+
You're not done yet. Now the release exists in GitHub, further changes to
333+
related repositories need to be made.
334+
335+
### 2. Update the docs
336+
337+
Each release of PyScript has its own version of the docs. The generation of the
338+
docs is handled automatically by GitHub actions. Inside the
339+
[documentation repository](https://github.com/pyscript/docs), the process is:
340+
341+
* Create a new branch whose name is that of the new calver release (but use `-`
342+
instead of `.` between the numbers, e.g. `2026-6-1`).
343+
* Update the [`version.json`](https://github.com/pyscript/docs/blob/main/version.json)
344+
file to the new calver.
345+
* Run `node version-update.js`. This will automatically update all the
346+
references to the old calver to the new calver. It also downloads the new
347+
version's Python API and auto-builds the API docs.
348+
* If you have outstanding PRs for updates to the documentation, merge or resolve
349+
them into this branch at this moment in time.
350+
* Once you're happy with the state of the documentation for this new version,
351+
create a PR for your branch in GitHub.
352+
* Once the PR is approved and merged, a GitHub action based on
353+
[`update_docs.yml`](https://github.com/pyscript/docs/blob/main/.github/workflows/update_docs.yml)
354+
will run to generate the new version of the documentation in the `gh-pages`
355+
branch.
356+
357+
**Verify:** once the `gh-pages` branch is updated, GitHub's own automatic
358+
deployment action will kick in, making the new version of the documentation
359+
live. You'll be able to [observe this process here](https://github.com/pyscript/docs/actions).
360+
Check the updated docs at
361+
[docs.pyscript.net](https://docs.pyscript.net) (and remember to clear your
362+
browser cache).
363+
364+
### 3. Update the homepage
365+
366+
Update two files in the
367+
[homepage repository](https://github.com/pyscript/pyscript.net) to use the
368+
latest calver:
369+
370+
1. In [`index.html`](https://github.com/pyscript/pyscript.net/blob/main/index.html),
371+
update ALL references to the old calver with the new version's calver. This
372+
includes the `<link>` and `<script>` tags in the `<head>` of the document,
373+
along with the content of the `<span class="subhead">` tag in the `<header>`
374+
tag in the `<body>` of the document.
375+
2. Update the [`version.json`](https://github.com/pyscript/pyscript.net/blob/main/version.json)
376+
file to a JSON string containing the new calver.
377+
378+
Bundle these changes into a single PRi (named in the same way as the PR for
379+
PyScript's docs), to be reviewed and approved by someone
380+
else.
381+
[This pull request](https://github.com/pyscript/pyscript.net/pull/104/changes)
382+
is a good historical example of the changes described above.
383+
384+
**Verify**: Once your PR is reviewed and merged GitHub automatically deploys
385+
the changes.
386+
[Observe this process here](https://github.com/pyscript/pyscript.net/actions).
387+
Once deployed, check your changes at [pyscript.net](https://pyscript.net)
388+
(you may need to clear your browser cache).
389+
390+
### 4. Update the README
391+
392+
Update the opening HTML example in
393+
[PyScript's README](https://github.com/pyscript/pyscript/blob/main/README.md)
394+
to reference the new latest version.
395+
396+
### 5. Announce the release
397+
398+
**Verify first:** visit the new release's page on pyscript.net (for example,
399+
[https://pyscript.net/releases/2026.6.1/](https://pyscript.net/releases/2026.6.1/))
400+
and ensure the "Home", "Docs", "Code" and "Changes" links all point to the
401+
pages and assets you've just updated.
402+
403+
Now all the pieces are in place, visit the
404+
[`#announcements`](https://discord.com/channels/972017612454232116/1028271951082442832)
405+
channel on the PyScript Discord server, and post a message along the lines of:
406+
407+
> @here we have a new release of PyScript! All the details can be found here:
408+
> https://pyscript.net/releases/2026.6.1/ As always, feedback welcome. 🎉
409+
410+
Remember to substitute the actual new calver, not the `2026.6.1` used in these
411+
examples.
288412

289413
## Contributing
290414

docs/example-apps/bouncing-ball/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1.0">
66
<title>PyGame-CE Bouncing Ball</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, sans-serif;

docs/example-apps/colour-picker/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Interactive Colour Picker</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, -apple-system, sans-serif;

docs/example-apps/display-demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Display Demo</title>
77
<link rel="stylesheet"
8-
href="https://pyscript.net/releases/2026.6.1/core.css">
8+
href="https://pyscript.net/releases/2026.6.2/core.css">
99
<script type="module"
10-
src="https://pyscript.net/releases/2026.6.1/core.js"></script>
10+
src="https://pyscript.net/releases/2026.6.2/core.js"></script>
1111
<style>
1212
body {
1313
font-family: system-ui, -apple-system, sans-serif;

docs/example-apps/note-taker/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Note Taker</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, sans-serif;

docs/example-apps/photobooth/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Photobooth</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, sans-serif;

docs/example-apps/pirate-translator/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>🦜 Polyglot - Piratical PyScript</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
</head>
1010
<body>
1111
<h1>Polyglot 🦜 💬 🇬🇧 ➡️ 🏴‍☠️</h1>

docs/example-apps/prime-worker/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Prime Numbers with Workers</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, sans-serif;

docs/example-apps/task-board-ffi/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1" />
66
<title>Task Board - FFI</title>
7-
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.1/core.css">
8-
<script type="module" src="https://pyscript.net/releases/2026.6.1/core.js"></script>
7+
<link rel="stylesheet" href="https://pyscript.net/releases/2026.6.2/core.css">
8+
<script type="module" src="https://pyscript.net/releases/2026.6.2/core.js"></script>
99
<style>
1010
body {
1111
font-family: system-ui, -apple-system, sans-serif;

0 commit comments

Comments
 (0)