Revert "Version 0.19.0 (#2099)"

This reverts commit 276d396fff.
This commit is contained in:
Hood Chatham 2022-01-10 15:44:13 -08:00
parent 276d396fff
commit cd1971ca0f
10 changed files with 19 additions and 19 deletions

View File

@ -127,7 +127,7 @@ htmlhelp_basename = "Pyodidedoc"
epub_exclude_files = ["search.html"]
if "READTHEDOCS" in os.environ:
env = {"PYODIDE_BASE_URL": "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/"}
env = {"PYODIDE_BASE_URL": "https://cdn.jsdelivr.net/pyodide/dev/full/"}
os.makedirs("_build/html", exist_ok=True)
res = subprocess.check_output(
["make", "-C", "..", "docs/_build/html/console.html"],

View File

@ -163,7 +163,7 @@ The following environment variables additionally impact the build:
- `PYODIDE_BASE_URL`: Base URL where Pyodide packages are deployed. It must end
with a trailing `/`. Default: `./` to load Pyodide packages from the same
base URL path as where `pyodide.js` is located. Example:
`https://cdn.jsdelivr.net/pyodide/v0.18.0/full/`
`https://cdn.jsdelivr.net/pyodide/v0.19.0/full/`
- `EXTRA_CFLAGS` : Add extra compilation flags.
- `EXTRA_LDFLAGS` : Add extra linker flags.

View File

@ -12,13 +12,13 @@ Pyodide with {any}`loadPyodide <globalThis.loadPyodide>` specifying an index URL
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
</head>
<body>
<script type="text/javascript">
async function main(){
let pyodide = await loadPyodide({
indexURL : "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/"
indexURL : "https://cdn.jsdelivr.net/pyodide/dev/full/"
});
console.log(pyodide.runPython("1 + 2"));
}
@ -39,7 +39,7 @@ application.
```{note}
To avoid confusion, note that:
- `cdn.jsdelivr.net/pyodide/` distributes Python packages built with Pyodide as well as `pyodide.js`
- `cdn.jsdelivr.net/npm/pyodide@0.18.0/` is a mirror of the Pyodide NPM package, which includes none of the WASM files
- `cdn.jsdelivr.net/npm/pyodide@0.19.0/` is a mirror of the Pyodide NPM package, which includes none of the WASM files
```
### Supported browsers

View File

@ -129,12 +129,12 @@ installs from PyPI.
<body>
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js"
src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"
></script>
<script type="text/javascript">
async function main() {
let pyodide = await loadPyodide({
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/",
indexURL: "https://cdn.jsdelivr.net/pyodide/dev/full/",
});
await pyodide.loadPackage("micropip");
await pyodide.runPythonAsync(`

View File

@ -11,7 +11,7 @@ Try Pyodide in a [REPL](https://pyodide.org/en/latest/console.html) directly in
To include Pyodide in your project you can use the following CDN URL:
```text
https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js
https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js
```
You can also download a release from [GitHub
@ -24,7 +24,7 @@ and returns {js:mod}`the Pyodide top level namespace <pyodide>`.
```pyodide
async function main() {
let pyodide = await loadPyodide({ indexURL : "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/" });
let pyodide = await loadPyodide({ indexURL : "https://cdn.jsdelivr.net/pyodide/dev/full/" });
// Pyodide is now ready to use...
console.log(pyodide.runPython(`
import sys
@ -60,7 +60,7 @@ Create and save a test `index.html` page with the following contents:
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
</head>
<body>
Pyodide test page <br>
@ -68,7 +68,7 @@ Create and save a test `index.html` page with the following contents:
<script type="text/javascript">
async function main(){
let pyodide = await loadPyodide({
indexURL : "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/"
indexURL : "https://cdn.jsdelivr.net/pyodide/dev/full/"
});
console.log(pyodide.runPython(`
import sys
@ -88,7 +88,7 @@ Create and save a test `index.html` page with the following contents:
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
</head>
<body>
@ -115,7 +115,7 @@ Create and save a test `index.html` page with the following contents:
// init Pyodide
async function main() {
let pyodide = await loadPyodide({
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/",
indexURL: "https://cdn.jsdelivr.net/pyodide/dev/full/",
});
output.value += "Ready!\n";
return pyodide;

View File

@ -105,11 +105,11 @@ shown below:
// 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:
importScripts("https://cdn.jsdelivr.net/pyodide/v0.19.0/full/pyodide.js");
importScripts("https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js");
async function loadPyodideAndPackages() {
self.pyodide = await loadPyodide({
indexURL: "https://cdn.jsdelivr.net/pyodide/v0.19.0/full/",
indexURL: "https://cdn.jsdelivr.net/pyodide/dev/full/",
});
await self.pyodide.loadPackage(["numpy", "pytz"]);
}

View File

@ -1,6 +1,6 @@
[metadata]
name = pyodide-build
version = 0.19.0
version = 0.19.0dev0
author = Pyodide developers
description = "Tools for building Pyodide"
long_description = file: README.md

View File

@ -1,6 +1,6 @@
{
"name": "pyodide",
"version": "0.19.0",
"version": "0.19.0-dev.0",
"description": "The Pyodide JavaScript package",
"keywords": [
"python",

View File

@ -40,7 +40,7 @@ if IN_BROWSER:
asyncio.set_event_loop_policy(WebLoopPolicy())
__version__ = "0.19.0"
__version__ = "0.19.0dev0"
__all__ = [
"open_url",

View File

@ -1,6 +1,6 @@
[metadata]
name = pyodide
version = 0.19.0
version = 0.19.0dev0
author = Pyodide developers
description = "A Python package providing core interpreter functionality for Pyodide."
long_description = file: README.md