Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
f27d9ea
since Python 3.13, get_functions must check if the method is callable
mmatera Jan 28, 2025
bcd883a
In Python 3.13 margin spaces in docstrings are trimmed
mmatera Jan 28, 2025
eb2232e
Python 3.13 converts tabs into simple spaces in docstrings
mmatera Jan 28, 2025
f73364b
push workflows
mmatera Jan 28, 2025
48070e9
Merge branch 'master' into fixes_for_3_13
mmatera Jan 28, 2025
29706ae
Update windows.yml
mmatera Jan 28, 2025
b5b8857
Reinforce in get_functions that eval/format methods are indeed callab…
mmatera Jan 29, 2025
275a3b8
More robust docstring parsing (#1323)
mmatera Jan 29, 2025
d446ead
A couple of doc tagging corrections (#1324)
rocky Jan 29, 2025
df448b1
improve LaTeX processing. Fix inconsistencies in the docstring format…
mmatera Jan 31, 2025
cb97bd4
Improve cone rendering plus some lint... (#1326)
rocky Jan 31, 2025
70d245b
More about latex in online doc (#1329)
mmatera Jan 31, 2025
377ca28
Dd fixes 02 (#1330)
mmatera Jan 31, 2025
a663d11
Trailing changes (#1334)
mmatera Jan 31, 2025
1d8d2fc
5th bunch (#1333)
mmatera Jan 31, 2025
13e4e4f
<dd> fixes 06 (#1335)
mmatera Feb 1, 2025
cf7eca0
Dd fixes 07 (#1336)
mmatera Feb 1, 2025
7f6f7be
Dd fixes 08 (#1337)
mmatera Feb 1, 2025
74c8559
Adjust the plain-text form of documentation (#1340)
mmatera Feb 1, 2025
fe31042
Remove duplicated doctest (#1343)
mmatera Feb 1, 2025
4d29659
not show Out[]=Null as in wolframscript (#1344)
mmatera Feb 1, 2025
80b4bcb
Update procedural.py (#1342)L
mmatera Feb 1, 2025
6739cc4
More docstrings to TeX Math mode when appropriate (#1338)
rocky Feb 2, 2025
13975f6
Try using numpy < 2.3 (#1348)
rocky Feb 2, 2025
2472e56
doc tagging and links for combinatorial builtins (#1347)
rocky Feb 2, 2025
e2d2461
More doc fixes2 (#1349)
rocky Feb 2, 2025
77ca343
use eval_Close, and some fs lint (#1350
rocky Feb 3, 2025
aa326a4
Sort methods in DocElement classes. Add a base class. (#1352)
mmatera Feb 3, 2025
c720e12
removing <CON>...</CON> in favor of <CONSOLE>...</CONSOLE> and single…
mmatera Feb 3, 2025
fa44dfd
Another pass over the latex/mathml doc tagging (#1353)
rocky Feb 3, 2025
8e999f1
Last changes in documentation system (#1356)
mmatera Feb 4, 2025
8874890
Add asymptote-formatted dodecahedron, icosahedron, octahedron and tet…
rocky Feb 4, 2025
0809fcf
More doc tagging (#1357)
rocky Feb 4, 2025
ea44d3b
Update angular.py (#1359)
mmatera Feb 4, 2025
9fd4deb
Update bessel.py (#1360)
mmatera Feb 5, 2025
7108d16
Remove double loading of rules, from times of apply_ methods (#1361)
mmatera Feb 5, 2025
09c88dc
Update list_oriented.py (#1364)
mmatera Feb 5, 2025
0d2b4f9
Update list_oriented.py (#1363)
mmatera Feb 5, 2025
de9227c
Update zeta.py (#1362)
mmatera Feb 5, 2025
b973956
More links to Wiki descriptions (#1366)
rocky Feb 5, 2025
4f2a910
small fix to the CONSOLE_RE. Several fixes for typos in documentation…
mmatera Feb 5, 2025
2ae7b1e
Update expintegral.py (#1368)
mmatera Feb 5, 2025
5349006
More docfixes (#1369)
mmatera Feb 5, 2025
46521af
Fix handling subsection tags in input files (#1371)
mmatera Feb 6, 2025
33fd261
Add links to DLMF and add some more plots (#1370)
rocky Feb 6, 2025
28a130b
Add autoload/rules/*.m to package and other tweaks (#1372)
rocky Feb 7, 2025
ba90dfa
Note Mathics Live and Trepan Debugger (#1358)
rocky Feb 8, 2025
ec5dd08
Add more DMLF links and example plots (#1373)
rocky Feb 8, 2025
8829514
Adjust for type mismatch... (#1374)
rocky Feb 8, 2025
69d8b1f
Add mathics.pdf to wheel and tarball (#1375)
rocky Feb 8, 2025
bdc3cb7
Get ready for release 8.0.1 (#1376)
rocky Feb 8, 2025
1eb8cfc
Administrivia
rocky Feb 8, 2025
ccb933c
Merge branch 'master' of github.com:Mathics3/mathics-core
rocky Feb 8, 2025
367e5f0
Bump version
rocky Feb 8, 2025
513c5e8
Bug: an association was confused with an option (#1379)
rocky Feb 11, 2025
5c6e46a
Add $SessionID... (#1382)
rocky Feb 12, 2025
d641864
Option management tweaks (#1384)
rocky Feb 13, 2025
fea63df
Small lint-like changes to BinaryRead and Import (#1385)
rocky Feb 13, 2025
634dcbe
Revise Pochhammer for negative n values. (#1389)
rocky Feb 16, 2025
4643026
Split out eval_Open to mathics.eval.files (#1386)
rocky Feb 16, 2025
6edcf54
Add `BinaryReadList[]` (#1391)
rocky Feb 18, 2025
47e82c7
Go over docs for gamma and no-meaning infix ops (#1394)
rocky Feb 21, 2025
58457c3
Match WMA for Gamma[1+x] and Product[...] (#1395)
rocky Feb 21, 2025
414161b
Support for hypergeometric functions (#1383)
aravindh-krishnamoorthy Apr 22, 2025
e8b6e76
some fixes for rst syntax in core/ (#1399)
fchapoton May 23, 2025
b2c018a
fix encoding of one file and some typos (#1400)
fchapoton May 23, 2025
b3a7663
more typos fixed and no self-assignment (#1401)
fchapoton May 23, 2025
30d5759
typos in test and a few other details (#1402)
fchapoton May 24, 2025
9a2c3e2
Track scanner (partial) refactor changes (#1398)
rocky May 25, 2025
8485c2f
Adjustments for escape-sequence scanning changes (#1403)
rocky Jun 3, 2025
d936d73
In CI, go back to using master branch (#1404)
rocky Jun 3, 2025
5bc5311
remove unused parentheses in for etc (#1408)
fchapoton Jun 7, 2025
2d48746
Address bug in structure cache `None `accessed as a `dict` (#1406)
rocky Jun 7, 2025
867f623
Split out fn from print_evaluate (#1407)
rocky Jun 7, 2025
87f24f1
Add a couple of "See also" links. (#1409)
rocky Jun 8, 2025
0c1e8c1
More trace evaluation filtering (#1410)
rocky Jun 21, 2025
620049d
Adjust trace API to be able to set expr values (#1411)
rocky Jun 28, 2025
253e925
Lesser changes and possible bugs encountered adding location informat…
rocky Jul 4, 2025
454610e
Use solely or include 3.13 testing (#1416)
rocky Jul 4, 2025
39acb51
Use ".value" in expr.to_python() and more often (#1417)
rocky Jul 8, 2025
ae82c9f
Miscellaneous small evaluation improvements.. (#1418)
rocky Jul 10, 2025
2fba7db
Revise API for position tracking (#1413)
rocky Jul 12, 2025
b74fbde
Sync with mathics-scanner ...
rocky Jul 12, 2025
721a644
Save SymPy Integer value in Integer() and some lint. (#1420)
rocky Jul 14, 2025
5e21311
Merge branch 'master' into fixes_for_3_13
rocky Jul 16, 2025
b74ac00
Merge stuff
rocky Jul 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# THis is an EditorConfig file
# This is an EditorConfig file
# https://EditorConfig.org

root = true
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/consistency-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -22,13 +22,9 @@ jobs:
run: |
sudo apt update -qq && sudo apt install llvm-dev remake
python -m pip install --upgrade pip
pip install -e .
# We can comment out after next Mathics-Scanner release
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# git clone https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner/
# pip install -e .
# cd ..
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
pip install -e .

- name: Install Mathics with minimum dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/isort-and-black-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.13
- name: Install click, black and isort
run: pip install 'click==8.0.4' 'black==23.12.1' 'isort==5.13.2'
- name: Run isort --check .
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macOS]
python-version: ['3.10', '3.11']
python-version: ['3.13', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -33,14 +33,10 @@ jobs:
cd stopit/
pip install -e .
cd ..
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# We can comment out after next Mathics-Scanner release
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
cd mathics-scanner/
pip install -e .
cd ..
# python -m pip install Mathics-Scanner[full]
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
pip install -e .
remake -x develop-full
- name: Test Mathics3
run: |
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -22,21 +22,17 @@ jobs:
run: |
sudo apt update -qq && sudo apt install llvm-dev remake
python -m pip install --upgrade pip
pip install -e .
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# We can comment out after next Mathics-Scanner release
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner/
# pip install -e .
# cd ..

- name: Install Mathics with minimum dependencies
run: |
make develop
- name: Run mypy
run: |
pip install mypy==1.13 sympy==1.12
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# Adjust below for right branch
git clone --depth 1 https://github.com/Mathics3/mathics-scanner
cd mathics-scanner/
pip install -e .
bash ./admin-tools/make-JSON-tables.sh
pip install -e .
cd ..
touch ./mathics-scanner/mathics_scanner/py.typed
pip install ./mathics-scanner/
mypy --install-types --non-interactive mathics
make develop
mypy --install-types --ignore-missing-imports --non-interactive mathics
8 changes: 1 addition & 7 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,12 +26,6 @@ jobs:
python -m pip install --upgrade pip
# We can comment out after next Mathics-Scanner release
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
cd src/mathics-scanner/
pip install -e .
python -m mathics_scanner.generate.build_tables
cd ../..
- name: Run Mathics3 Combinatorica tests
run: |
git submodule init
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pyodide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ jobs:
pip install "setuptools>=70.0.0" PyYAML click packaging pytest

# We can comment out after next Mathics-Scanner release
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner/
python -m pip install --no-build-isolation -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner
# pip install --no-build-isolation -e .
# cd ..

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ubuntu-cython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -30,10 +30,7 @@ jobs:
pip install -e .
cd ..
# We can comment out after next Mathics-Scanner release
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner/
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
pip install -e .
cd ..

Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12', '3.11', '3.8', '3.9', '3.10']
python-version: ['3.13', '3.12', '3.11', '3.10', '3.9']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -30,15 +30,9 @@ jobs:
pip install -e .
cd ..
# We can comment out after next Mathics-Scanner release
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner/
# pip install -e .
# python -m mathics_scanner.generate.build_tables
# cd ..

python -m pip install Mathics-Scanner[full]
# python -m pip install Mathics-Scanner[full]
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
pip install -e .
remake -x develop-full
- name: Test Mathics
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [windows]
# "make doctest" on MS Windows fails without showing much of a
# trace of where things went wrong on Python before 3.11.
python-version: ['3.12']
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -39,13 +39,7 @@ jobs:
pip install -e .
cd ..
# We can comment out after next Mathics-Scanner release
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# git clone --depth 1 https://github.com/Mathics3/mathics-scanner.git
# git clone --single-branch --branch operator-refactor-part1.5 https://github.com/Mathics3/mathics-scanner.git
# cd mathics-scanner
# pip install -e .
# python -m mathics_scanner.generate.build_tables
# cd ..
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
pip install -e .

# python -m pip install Mathics-Scanner[full]
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
.vscode
/.cache
/.gdbinit
/.python-version
/.pyodide-xbuildenv-*
/.python-version
/ChangeLog.spell-corrected
/Mathics.egg-info
/Mathics3.egg-info
ChangeLog
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: check-merge-conflict
- id: debug-statements
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
exclude: ChangeLog-spell-corrected.diff|mathics/builtin/system.py
- id: end-of-file-fixer
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
Expand Down
54 changes: 53 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,59 @@
CHANGES
=======

8.0.0
New Builtins
++++++++++++

* ``$SessionID``
* ``BinaryReadList``

Internals
---------

Mathics scanner exceptions of class TranslateError are incompatible
with previous versions, and now store error parameters, "name", "tag", and
"args".

8.0.1
-----

Feb 8, 2025

Some work was made to the Mathics3 Kernel to work in Python 3.13.
The maximum version of numpy was increased to < 2.3 so as to allow marimo to work.


Bugs
----

Correct for mismatch between ListExpression and tuple in ``DispatchAtom``.
This is needed for PacletManager code to work better.


Compatibility
-------------

* When the result of an evaluation is ``Symbol`Null``, Mathics CLI
now does not show an ``Out[...]=`` line, following the behavior of
the WMA CLI.
* Asymptote rendering of platonic solids added.


Internals
---------

Document tagging code handles TeX math mode more completely. Image tags in PDF properly.

Documentation
-------------

* Documentation has been gone over so that expressions are tagged in TeX. As a result the user guide and reference manual render much nicer in the PDF as well as in Django.
* More links have been added. References to The Digital Library of Mathematical Functions https://dlmf.nist.gov/ have been added where appropriate.
* Add mention of MathicsLive
* Platonic solid render properly in PDF


8.0.0
-----

Jan 26, 2025
Expand Down
Loading
Loading