Skip to content

Commit ed12715

Browse files
committed
Get ready for release 10.0.0 (#116)
Release 10.0.0!
1 parent ccd2e8b commit ed12715

14 files changed

Lines changed: 123 additions & 815 deletions

File tree

.github/workflows/macos.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
python3 -m pip install --upgrade pip
2626
python3 -m pip install setuptools
2727
# We can comment out after next Mathics3-Scanner release
28-
git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
29-
cd Mathics3-scanner/
30-
pip install --no-build-isolation -e .
31-
bash -x admin-tools/make-JSON-tables.sh
32-
cd ..
28+
# git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
29+
# cd Mathics3-scanner/
30+
# pip install --no-build-isolation -e .
31+
# bash -x admin-tools/make-JSON-tables.sh
32+
# cd ..
3333
# We can comment out after next Mathics3-pygments release
34-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
34+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
3535
# We can comment out after next mathics-core release
36-
git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37-
cd mathics-core/
38-
pip install --no-build-isolation -e .
39-
bash -x admin-tools/make-JSON-tables.sh
40-
cd ..
36+
# git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37+
# cd mathics-core/
38+
# pip install --no-build-isolation -e .
39+
# bash -x admin-tools/make-JSON-tables.sh
40+
# cd ..
4141
- name: Install mathicsscript
4242
run: |
4343
make

.github/workflows/ubuntu.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ jobs:
2424
python3 -m pip install --upgrade pip
2525
python3 -m pip install setuptools
2626
# We can comment out after next Mathics3-Scanner release
27-
git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
28-
cd Mathics3-scanner/
29-
pip install --no-build-isolation -e .
30-
bash -x admin-tools/make-JSON-tables.sh
31-
cd ..
27+
# git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
28+
# cd Mathics3-scanner/
29+
# pip install --no-build-isolation -e .
30+
# bash -x admin-tools/make-JSON-tables.sh
31+
# cd ..
3232
# We can comment out after next Mathics3-pygments release
33-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
33+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
3434
# We can comment out after next mathics-core release
35-
cd ..
36-
git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37-
cd mathics-core/
38-
pip install --no-build-isolation -e .
39-
bash -x admin-tools/make-JSON-tables.sh
40-
cd ..
35+
# cd ..
36+
# git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37+
# cd mathics-core/
38+
# pip install --no-build-isolation -e .
39+
# bash -x admin-tools/make-JSON-tables.sh
40+
# cd ..
4141
- name: Install mathicsscript
4242
run: |
4343
make

.github/workflows/windows.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ jobs:
2525
python3 -m pip install wheel setuptools
2626
set LLVM_DIR="C:\Program Files\LLVM"
2727
# We can comment out after next Mathics-Scanner release
28-
git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
29-
cd Mathics3-scanner/
30-
pip install --no-build-isolation -e .
31-
bash -x admin-tools/make-JSON-tables.sh
32-
cd ..
28+
# git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
29+
# cd Mathics3-scanner/
30+
# pip install --no-build-isolation -e .
31+
# bash -x admin-tools/make-JSON-tables.sh
32+
# cd ..
3333
# We can comment out after next Mathics3-pygments release
34-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
34+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-pygments#egg=Mathics3-pygments
3535
# We can comment out after next mathics-core release
36-
git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37-
cd mathics-core/
38-
pip install --no-build-isolation -e .
39-
bash -x admin-tools/make-JSON-tables.sh
40-
cd ..
36+
# git clone --depth 1 https://github.com/Mathics3/mathics-core.git
37+
# cd mathics-core/
38+
# pip install --no-build-isolation -e .
39+
# bash -x admin-tools/make-JSON-tables.sh
40+
# cd ..
4141
- name: Install mathicsscript
4242
run: |
4343
make

CHANGES.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Aug 10, 2025
9494
* Handle images via PNG and matplotlib
9595
* Packaging: include matplotlib in full install
9696
* Customize Asymptote configuration and add a psviewer that removes eps trash
97-
* Bump minimum Mathics core version to 4.0.0
97+
* Bump minimum Mathics3 core version to 4.0.0
9898
* Bug fix: Check if ``self`` has ``session`` attribute in ``asy.__del__``
9999

100100
3.3.1
@@ -200,13 +200,13 @@ the GNU Readline inputrc files from getting created properly.
200200
-----
201201

202202
* All escape sequence for unicode and letter names added for GNU Readline
203-
* Use Mathics Scanner package
203+
* Use Mathics3 Scanner package
204204
* Support XDG-style configuration files
205205

206206
1.1.2
207207
-----
208208

209-
* Fix ```Settings`$ShowFullForm``` now that we use Mathics supports Booleans better
209+
* Fix ```Settings`$ShowFullForm``` now that we use Mathics3 supports Booleans better
210210
* Show mathicsscript version on startup
211211
* Add ```Settings`MathicsScriptVersion``
212212
* Add all of the WL escape sequences

Makefile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ PYTHON ?= python3
99
PIP ?= pip3
1010
RM ?= rm
1111

12-
.PHONY: all build check clean inputrc develop dist doc pytest sdist test rmChangeLog
12+
.PHONY: all build \
13+
ChangeLog-without-corrections \
14+
check clean inputrc develop dist doc \
15+
pytest sdist test \
16+
rmChangeLog runner
1317

1418
#: Default target - same as "develop"
1519
all: develop
@@ -52,15 +56,18 @@ clean:
5256
@find . -name "*.pyc" -type f -delete
5357
@rm mathicsscript/inputrc-no-unicode mathicsscript/inputrc-unicode || true
5458

59+
#: Create source tarball
60+
sdist: check-rst
61+
$(PYTHON) ./setup.py sdist
62+
5563
#: Remove ChangeLog
5664
rmChangeLog:
5765
$(RM) ChangeLog || true
5866

59-
#: Create source tarball
60-
sdist: check-rst
61-
$(PYTHON) ./setup.py sdist
67+
#: Create ChangeLog from version control without corrections
68+
ChangeLog-without-corrections:
69+
git log --pretty --numstat --summary | $(GIT2CL) >ChangeLog
6270

6371
#: Create a ChangeLog from git via git log and git2cl
6472
ChangeLog: rmChangeLog ChangeLog-without-corrections
65-
git log --pretty --numstat --summary | $(GIT2CL) >$@
6673
patch ChangeLog < ChangeLog-spell-corrected.diff

README.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Features
1616
- saving command history between sessions.
1717
- variable completion, even for symbol names like ``\\[Sigma]``
1818
- limited ESC keyboard input; for example *esc* ``p`` *esc* is π
19-
* Syntax highlighting using `mathics-pygments <https://pypi.org/project/mathics-pygments/>`_ which includes dynamically created variables and functions.
19+
* Syntax highlighting using `Mathics3-pygments <https://pypi.org/project/Mathics3-pygments/>`_ which includes dynamically created variables and functions.
2020
* Automatic detection of light or dark `terminal background color <https://pypi.org/project/term-background/>`_.
2121
* Optional Graphics rendering via `matplotlib <https://matplotlib.org/>`_ for 2D graphics, and `Asymptote <https://asymptote.sourceforge.io>`_ for 3D and 2D graphics.
22-
* Entering and displaying Unicode symbols such as used for Pi or Rule arrows
23-
* Provision for running in non-interactive batch mode which an be used inside POSIX shells
22+
* Entering and displaying Unicode symbols, such as those used for Pi or Rule arrows
23+
* Provision for running in non-interactive batch mode, which can be used inside POSIX shells
2424

2525
Installing
2626
----------
@@ -30,7 +30,7 @@ To install with the full dependencies, run:
3030

3131
$ make install[full]
3232

33-
To install from git sources so that you run from the git source tree:
33+
To install from git sources, so that you run from the git source tree:
3434

3535

3636
::
@@ -41,19 +41,21 @@ To install from git sources so that you run from the git source tree:
4141
Running
4242
-------
4343

44-
Once install run using ``mathicsscript``:
44+
Once installed, run using ``mathicsscript``:
4545

4646
::
4747

48+
4849
$ mathicsscript
49-
Mathicscript: 7.0.0, Mathics 7.0.0
50-
on CPython 3.11.9 (main, May 6 2024, 12:58:03) [GCC 13.2.0]
50+
Mathicscript: 10.0.0, Mathics3 10.0.0
51+
on CPython 3.14.3 (main, Mar 30 2026, 06:42:16) [GCC 13.3.0]
52+
5153
Using:
52-
SymPy 1.12.1, mpmath 1.3.0, numpy 1.26.4
53-
cython 3.0.10, matplotlib 3.8.4,
54-
Asymptote version 2.87
54+
SymPy 1.13.3, mpmath 1.3.0, numpy 2.4.4
55+
cython 3.2.4, matplotlib 3.10.8,
56+
Asymptote version 2.95
5557

56-
Copyright (C) 2011-2024 The Mathics Team.
58+
Copyright (C) 2011-2026 The Mathics3 Team.
5759
This program comes with ABSOLUTELY NO WARRANTY.
5860
This is free software, and you are welcome to redistribute it
5961
under certain conditions.
@@ -67,12 +69,10 @@ Once install run using ``mathicsscript``:
6769
For batch use:
6870
::
6971

70-
$ mathicsscript -c "N[Pi, 30]"
71-
3.14159265358979323846264338328
72-
73-
To read from a file
72+
$ mathicsscript -c "N[Pi]"
73+
3.14159
7474

75-
In file ``/tmp/test.m``:
75+
To read from a file, in file ``/tmp/test.m``:
7676

7777
::
7878

@@ -126,17 +126,17 @@ doc under `8.29 three
126126
Why not IPython via Jupyter?
127127
----------------------------
128128

129-
There will always be a need for simple terminal-like
130-
interaction. Although there is IPython support via Jupyter all of this
131-
is pretty heavy-weight. To code to this protocol, a developer needs to
132-
write a kernel, and use a wire protocol. This adds complexity not
129+
There will always be a need for a simple terminal-like
130+
interaction. Although there is IPython support via Jupyter, all of this
131+
is pretty heavyweight. To code to this protocol, a developer needs to
132+
write a kernel and use a wire protocol. This adds complexity not
133133
only for the person developing this package, but also for the user who
134134
needs to load the extra layers that aren't used. And when something
135135
goes wrong, it is harder to track down problems.
136136

137137
At the other end of the spectrum, if the dependencies of this package
138138
are too onerous and you want even simpler, lighter-weight terminal interaction *without*
139-
any of the features mentioned above, use ``mathics`` which is distributed as part of
139+
any of the features mentioned above, use ``mathics3`` which is distributed as part of
140140
the core Mathic3 package.
141141

142142

admin-tools/make-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ if ! pyenv local $pyversion ; then
2424
exit $?
2525
fi
2626
rm -fr build
27-
python setup.py bdist_wheel
27+
python -m build --wheel
2828
python ./setup.py sdist
2929
finish

admin-tools/pyenv-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
66
exit 1
77
fi
88

9-
export PYVERSIONS='3.8 3.9 3.10 3.11'
9+
export PYVERSIONS='3.11 3.12 3.13 3.14'

mathicsscript/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def fmt_fun(query: Any) -> Any:
246246

247247
# Should we test exit code for adding to history?
248248
GNU_readline.add_history(source_code.rstrip())
249-
# FIXME add this... when in Mathics core updated
250-
# shell.definitions.increment_line(1)
249+
# FIXME add this... when in Mathics3 core updated
250+
shell.definitions.increment_line(1)
251251

252252
except KeyboardInterrupt:
253253
shell.errmsg("\nKeyboardInterrupt")

mathicsscript/autoload/settings.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
Settings`MathicsScriptVersion::usage = "This string is the version of MathicsScript we are running."
4242

43-
System`$Notebooks::usage = "Set True if the Mathics is being used with a notebook-based front end."
43+
System`$Notebooks::usage = "Set True if the Mathics3 is being used with a notebook-based front end."
4444
System`$Notebooks = False
4545

4646
Settings`$GroupAutocomplete::usage = "This Boolean variable sets whether mathicsscript should automatically close braces."

0 commit comments

Comments
 (0)