Skip to content

Commit b0302bd

Browse files
committed
Get ready for release 4.0.0
1 parent 6fe9de7 commit b0302bd

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

NEWS.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
4.0.0
2+
-----
3+
4+
# PyPI
5+
6+
Revised for Mathics 4.0.0. See the respective changes in Mathics3, Mathics-Django, and mathicsscript for changes there.
7+
8+
# Docker
9+
10+
11+
* we now use `llvm12` and a more recent `gv`
12+
* there is an `--upgrade` command added to all docker scripts to retrieve/updagte to the latest version
13+
* More environment variables can be passed through.
14+
* You can set environment variable `APP_DATADIR` to a directory outside Django to have data persist there. You may want to use this with `MATHIC_DJANGO_PATH` below...
15+
* In `dmathicsscript`, if you set `MATHICS_DJANGO_DB_PATH` and that file doesn't exist, the system database will be copied to that location. This gives a way for persisting sessions outside of docker.
16+
17+
There is be interaction between `MATHICS_DJANGO_DB_PATH` and `APP_DATADIR` to get the database to persist.
18+
19+
As a simple example, run:
20+
21+
```
22+
$ MATHICS_DJANGO_DB_PATH=/usr/src/app/data/foo.sqlite dmathicsserver
23+
```
24+
25+
Above, since by default `APP_DATADIR` maps `/usr/src/app/data` to `/tmp`, on the host filesystem in `/tmp/mathics-django.sqlite` workspace sessions can be saved.
26+
127
3.1.0
228
-----
329

__pkginfo__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def read(*rnames):
4242
IS_PYPY = "__pypy__" in sys.builtin_module_names
4343

4444
install_requires = [
45-
"Mathics3 >= 3.1.0",
46-
"mathicsscript >= 3.2.1",
47-
"Mathics-Django >= 3.1.0",
45+
"Mathics3 >= 4.0.0",
46+
"mathicsscript >= 4.0.0",
47+
"Mathics-Django >= 4.0.1",
4848
"pymathics-natlang >= 2.2.0",
4949
"pymathics-graph >= 2.3.0",
5050
]

admin-tools/pyenv-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
55
echo "This script should be *sourced* rather than run directly through bash"
66
exit 1
77
fi
8-
export PYVERSIONS='3.6.13 3.7.10 3.8.10 3.9.5'
8+
export PYVERSIONS='3.6.14 3.7.11 3.8.11 pyston-2.3 pypy3.7-7.3.5 3.9.6'

mathics_omnibus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# well as importing into Python. That's why there is no
66
# space around "=" below.
77
# fmt: off
8-
__version__="4.0.0.dev0" # noqa
8+
__version__="4.0.0" # noqa

0 commit comments

Comments
 (0)