Skip to content

Commit e09f8da

Browse files
authored
Release 8.0.0 (#1319)
Perform mostly administrative stuff that is needed for release. Change version number, use PyPI mathics-scanner, update CHANGES.rst, etc.
1 parent e1bd5dc commit e09f8da

File tree

12 files changed

+685
-1016
lines changed

12 files changed

+685
-1016
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222
run: |
2323
sudo apt update -qq && sudo apt install llvm-dev remake
2424
python -m pip install --upgrade pip
25-
# We can comment out after next Mathics-Scanner release
26-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27-
git clone https://github.com/Mathics3/mathics-scanner.git
28-
cd mathics-scanner/
2925
pip install -e .
30-
cd ..
26+
# We can comment out after next Mathics-Scanner release
27+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
28+
# git clone https://github.com/Mathics3/mathics-scanner.git
29+
# cd mathics-scanner/
30+
# pip install -e .
31+
# cd ..
3132
3233
- name: Install Mathics with minimum dependencies
3334
run: |

.github/workflows/mypy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,21 @@ jobs:
2222
run: |
2323
sudo apt update -qq && sudo apt install llvm-dev remake
2424
python -m pip install --upgrade pip
25-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
26-
# We can comment out after next Mathics-Scanner release
27-
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
28-
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
29-
cd mathics-scanner/
3025
pip install -e .
31-
cd ..
26+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27+
# We can comment out after next Mathics-Scanner release
28+
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
29+
# cd mathics-scanner/
30+
# pip install -e .
31+
# cd ..
3232
3333
- name: Install Mathics with minimum dependencies
3434
run: |
3535
make develop
3636
- name: Run mypy
3737
run: |
3838
pip install mypy==1.13 sympy==1.12
39+
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
3940
touch ./mathics-scanner/mathics_scanner/py.typed
4041
pip install ./mathics-scanner/
4142
mypy --install-types --non-interactive mathics

.github/workflows/pyodide.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
pip install "setuptools>=70.0.0" PyYAML click packaging pytest
5656
5757
# We can comment out after next Mathics-Scanner release
58-
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
58+
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
5959
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
60-
cd mathics-scanner/
61-
pip install --no-build-isolation -e .
62-
cd ..
60+
# cd mathics-scanner/
61+
# pip install --no-build-isolation -e .
62+
# cd ..
6363
64-
make mathics/data/op-tables.json mathics/data/operator-tables.json
6564
pip install --no-build-isolation -e .
65+
make mathics/data/op-tables.json mathics/data/operator-tables.json
6666
make -j3 check

.github/workflows/ubuntu-cython.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
pip install -e .
3131
cd ..
3232
# We can comment out after next Mathics-Scanner release
33-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
34-
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
33+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
34+
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
3535
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
36-
cd mathics-scanner/
36+
# cd mathics-scanner/
3737
pip install -e .
3838
cd ..
3939

.github/workflows/ubuntu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
cd ..
3232
# We can comment out after next Mathics-Scanner release
3333
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
34-
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
34+
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
3535
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
36-
cd mathics-scanner/
37-
pip install -e .
38-
python -m mathics_scanner.generate.build_tables
39-
cd ..
36+
# cd mathics-scanner/
37+
# pip install -e .
38+
# python -m mathics_scanner.generate.build_tables
39+
# cd ..
4040
41-
# python -m pip install Mathics-Scanner[full]
41+
python -m pip install Mathics-Scanner[full]
4242
remake -x develop-full
4343
- name: Test Mathics
4444
run: |

.github/workflows/windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ jobs:
3939
pip install -e .
4040
cd ..
4141
# We can comment out after next Mathics-Scanner release
42-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
43-
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
42+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
43+
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
4444
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
45-
cd mathics-scanner
45+
# cd mathics-scanner
46+
# pip install -e .
47+
# python -m mathics_scanner.generate.build_tables
48+
# cd ..
4649
pip install -e .
47-
python -m mathics_scanner.generate.build_tables
48-
cd ..
4950
5051
# python -m pip install Mathics-Scanner[full]
5152
make develop-full

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ repos:
77
- id: check-merge-conflict
88
- id: debug-statements
99
stages: [pre-commit]
10+
exclude: ChangeLog-spell-corrected.diff
1011
- id: end-of-file-fixer
1112
stages: [pre-commit]
13+
exclude: ChangeLog-spell-corrected.diff
1214
- repo: https://github.com/pycqa/isort
1315
rev: 5.13.2
1416
hooks:
@@ -19,4 +21,5 @@ repos:
1921
hooks:
2022
- id: black
2123
language_version: python3
24+
exclude: 'mathics/version.py'
2225
stages: [pre-commit]

CHANGES.rst

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@ CHANGES
44
8.0.0
55
-----
66

7+
Jan 26, 2025
8+
79
This release is to get out some of the major changes that have gone on
810
already in advance of redoing Boxing and Formatting.
911

12+
Code now supports the emscripten platform, so this code can be installed
13+
in pyodide using ``micropip.install``.
14+
1015
Operators are now controlled from a new operators YAML table from the
1116
``mathics-scanner`` repository. A pass was made over the Mathics parser
1217
to handle box operators more properly. More work is needed here.
1318

14-
We started adding more debugging capabilites:
19+
We started adding more debugging capabilities:
1520

1621
* ``Breakpoint[]``
1722
* ``Stack[]``, and
@@ -23,12 +28,12 @@ And in the ``Mathics3-Trepan`` repository:
2328
* ``Debugger[]``, and
2429
* ``TraceActivate[]``
2530

26-
Option ``--post-mortem`` was added which goes into the `trepan3k debugger <https https://pypi.org/project/trepan3k/>`_ on an unrecoverable error. This option is available on other front-ends..
31+
Option ``--post-mortem`` was added which goes into the `trepan3k debugger <https https://pypi.org/project/trepan3k/>`_ on an unrecoverable error. This option is available on other front ends..
2732

28-
This debuggign code is very much alpha quality, but it greatly
33+
This debugging code is very much alpha quality, but it greatly
2934
improves the ability to debug problems in loading existing packages
3035
written from Mathematica. So packages ``BoolEval`` and ``CleanSlate``
31-
were added to the repostiory.
36+
were added to the repository.
3237

3338
Also as a result of the improved ability to debug Mathics3, we now
3439
provide a version of Rubi 4.17 using git submodules . To use this you
@@ -85,6 +90,12 @@ By `@davidar <https://github.com/davidar>`_:
8590
* ``SquaresR``
8691
* ``Subfactorial``
8792

93+
Documentation
94+
+++++++++++++
95+
96+
* Unicode operators appears in Django documentation. In the PDF, AMSLaTeX is used.
97+
* Summaries of builtin functions have been improved and regularized
98+
8899
``mathics`` command line
89100
++++++++++++++++++++++++
90101

@@ -98,14 +109,19 @@ WMA Compatibility
98109
* ``GetEnvironment`` expanded to handle ``[]`` and ``{var1, var2,...}`` forms
99110
* The system ``packages`` directory has been renamed ``Packages`` to conformance with WMA.
100111
* ``$Path`` now includes a ``Packages`` directory under ``$HOME``.
112+
* All of the 100 or so Unicode operators without a pre-defined meaning are now supported
101113

102114
Internals
103115
---------
104116

105117
* More of the on-OO evaluation code that forms what might be an
106-
instruction evaluator has been moved out of module
118+
instruction evaluator has been moved out of the module
107119
``mathics.builtins`` put in ``mathics.eval``. This includes code for
108120
plotting, and making boxes.
121+
* nested ``TimeConstraint[]`` works via external Python module ``stopit``.
122+
* ``Pause[]`` is more interuptable
123+
* More code has been linted, more type errors removed, and docstrings added/improved
124+
109125

110126
Performance
111127
-----------
@@ -133,6 +149,8 @@ Bugs
133149
----
134150

135151
* Fix infinite recursion when formatting ``Sequence[...]``
152+
* Parsing ``\(`` ... ``\)`` improved
153+
* Fixed #1105, #1106, #1107, #1172 #1173, #1195, #1205, #1221, #1223, and #1228 among others
136154

137155
Mathics3 Packages
138156
+++++++++++++++++
@@ -159,6 +177,8 @@ Python Package Updates
159177
7.0.0
160178
-----
161179

180+
Aug 9, 2024
181+
162182
Some work was done here in support of planned future improvements like
163183
lazy loading of builtin functions. A bit of effort was also spent to
164184
modernize Python code and style, add more type annotations, remove

0 commit comments

Comments
 (0)