Skip to content

Commit

Permalink
Release 0.16.1 (pyodide#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
rth authored Dec 25, 2020
1 parent bc8d17a commit 0d10cfa
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults: &defaults
environment:
- EMSDK_NUM_CORES: 4
EMCC_CORES: 4
PYODIDE_BASE_URL: https://cdn.jsdelivr.net/pyodide/v0.16.0/full/
PYODIDE_BASE_URL: https://cdn.jsdelivr.net/pyodide/v0.16.1/full/

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ browser**.
## Try Pyodide (no installation needed)

Try the [iodide demo notebook](https://alpha.iodide.io/notebooks/300/) or fire
up a [Python REPL](https://pyodide-cdn2.iodide.io/latest/full/console.html) directly in your
up a [Python REPL](https://pyodide-cdn2.iodide.io/v0.16.1/full/console.html) directly in your
browser.

For further information, look through the [documentation](https://pyodide.readthedocs.io/).
Expand Down
8 changes: 5 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
(changelog)=
# Release notes

## Version 0.16.0
*December 24, 2020*
## Version 0.16.1
*December 25, 2020*

Note: due to a CI deployment issue the 0.16.0 release was skipped and replaced
by 0.16.1 with identical contents.

- Pyodide files are distributed by [JsDelivr](https://www.jsdelivr.com/),
`https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js`
`https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js`
The previous CDN `pyodide-cdn2.iodide.io` still works and there
are no plans for deprecating it. However please use
JsDelivr as a more sustainable solution, including for earlier pyodide
Expand Down
4 changes: 2 additions & 2 deletions docs/loading_packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ a complete example would be,
<body>
<script type="text/javascript">
// set the pyodide files URL (packages.json, pyodide.asm.data etc)
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.0/full/';
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.1/full/';
</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js"></script>
<script type="text/javascript">
pythonCode = `
def do_work(*args):
Expand Down
10 changes: 5 additions & 5 deletions docs/using_pyodide_from_javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This document describes using Pyodide directly from Javascript. For information

To include Pyodide in your project you can use the following CDN URL,

https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js
https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js

You can also download a release from
[Github releases](https://github.com/iodide-project/pyodide/releases)
Expand Down Expand Up @@ -55,9 +55,9 @@ Create and save a test `index.html` page with the following contents:
<head>
<script type="text/javascript">
// set the pyodide files URL (packages.json, pyodide.asm.data etc)
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.0/full/';
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.1/full/';
</script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js"></script>
</head>
<body>
Pyodide test page <br>
Expand All @@ -83,9 +83,9 @@ Create and save a test `index.html` page with the following contents:
<html>
<head>
<script type="text/javascript">
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.0/full/';
window.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.1/full/';
</script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js"></script>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions docs/using_pyodide_from_webworker.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ lines `pythonLoading = self.pyodide.loadPackage(['numpy', 'pytz'])` and
// Setup your project to serve `py-worker.js`. You should also serve
// `pyodide.js`, and all its associated `.asm.js`, `.data`, `.json`,
// and `.wasm` files as well:
self.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.0/full/';
importScripts('https://cdn.jsdelivr.net/pyodide/v0.16.0/full/pyodide.js');
self.languagePluginUrl = 'https://cdn.jsdelivr.net/pyodide/v0.16.1/full/';
importScripts('https://cdn.jsdelivr.net/pyodide/v0.16.1/full/pyodide.js');

let pythonLoading;
async function loadPythonPackages(){
Expand Down
2 changes: 1 addition & 1 deletion src/pyodide-py/pyodide/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ._base import open_url, eval_code, find_imports, as_nested_list, JsException
from .console import get_completions

__version__ = "0.16.0"
__version__ = "0.16.1"

__all__ = [
"open_url",
Expand Down

0 comments on commit 0d10cfa

Please sign in to comment.