Skip to content

Commit 9695fc8

Browse files
committed
Release 8.0.0 (#30)
Release 8.0.0 * Upate version number, * Use PyPI wheel in CI * Go over release notes
1 parent 62735cf commit 9695fc8

File tree

6 files changed

+49
-24
lines changed

6 files changed

+49
-24
lines changed

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
# python -m pip install --upgrade pip
2525
python -m pip install pytest
2626
# Can comment out when next Mathics3 core and Mathics-scanner are released
27-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
28-
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
29-
git clone https://github.com/Mathics3/mathics-core
30-
(cd mathics-core && pip3 install -e .[full])
31-
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
27+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
28+
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
29+
# git clone https://github.com/Mathics3/mathics-core
30+
# (cd mathics-core && pip3 install -e .[full])
31+
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
3232
python -m pip install Mathics3[full]
3333
- name: install pymathics natlang
3434
run: |

.pre-commit-config.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@ default_language_version:
22
python: python
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.0.1
5+
rev: v4.5.0
66
hooks:
77
- id: check-merge-conflict
88
- id: debug-statements
9-
stages: [commit]
9+
stages: [pre-commit]
10+
exclude: ChangeLog-spell-corrected.diff
1011
- id: end-of-file-fixer
11-
stages: [commit]
12+
stages: [pre-commit]
13+
exclude: ChangeLog-spell-corrected.diff
1214
- id: trailing-whitespace
13-
exclude: 'ChangeLog-spell-corrected.diff'
15+
exclude: ChangeLog-spell-corrected.diff
1416
- repo: https://github.com/psf/black
15-
rev: 22.3.0
17+
rev: 24.10.0
1618
hooks:
1719
- id: black
1820
language_version: python3

CHANGES.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
CHANGES
22
=======
33

4+
8.0.0
5+
-----
6+
7+
Jan 26, 2025
8+
9+
This release tracks the API changes in the Mathics Kernel.
10+
11+
12+
Use the PyPI package `PatternLite` instead of the defunct 3.6-ish `pattern` (which has now been replaced with something totally different from NLP).
13+
14+
15+
416
7.0.0
517
-----
618

19+
Aug 10, 2025
20+
721
* Revise for 7.0.0 Mathics3 API; we need to explicilty load builtins
822

923

ChangeLog-spell-corrected.diff

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
--- ChangeLog 2024-08-11 09:56:49.699104043 -0400
2-
+++ ChangeLog-spell-corrected 2024-08-11 09:56:29.505207062 -0400
3-
@@ -7,8 +7,8 @@
1+
--- ChangeLog 2025-01-26 10:40:02.719673478 -0500
2+
+++ ChangeLog-spell-corrected 2025-01-26 10:40:22.032686996 -0500
3+
@@ -15,7 +15,7 @@
4+
2024-12-29 rocky <[email protected]>
5+
6+
* pymathics/natlang/linguistic_data.py: fix an import ... We were importing it from a module that was also importing it (but
7+
- no longer exists). Instead, we shoudl have been importing from the
8+
+ no longer exists). Instead, we should have been importing from the
9+
place it is defined.
10+
11+
2024-08-11 R. Bernstein <[email protected]>
12+
@@ -28,8 +28,8 @@
413

514
2024-08-11 R. Bernstein <[email protected]>
615

@@ -11,7 +20,7 @@
1120
installed... Or make that optional in mathics-core.
1221

1322
2024-08-08 rocky <[email protected]>
14-
@@ -24,7 +24,7 @@
23+
@@ -45,7 +45,7 @@
1524

1625
2024-08-08 Juan Mauricio Matera <[email protected]>
1726

@@ -20,7 +29,7 @@
2029
</dl> and the examples in docstrings (#25)
2130

2231
2024-08-06 rocky <[email protected]>
23-
@@ -132,7 +132,7 @@
32+
@@ -153,7 +153,7 @@
2433
2023-02-19 R. Bernstein <[email protected]>
2534

2635
* .github/workflows/osx.yml, Makefile, README.rst,
@@ -29,7 +38,7 @@
2938
Make a pass over setup, docs, and top-level things (#9) * README.rst: move customization from main.py here * Makefile: LoadModule name has changes * __init__.py: list imports, go over docstring which forms chapter
3039
information * main.py: numerous small doc changes; fix some type errors. * setup.py and spacy, langid, and pyenchant are no longer optional.
3140
Note pyenchant rather than enchant is now used.
32-
@@ -274,7 +274,7 @@
41+
@@ -295,7 +295,7 @@
3342

3443
2020-12-22 rocky <[email protected]>
3544

@@ -38,7 +47,7 @@
3847
Update README.rst, remove a deprecation warning
3948

4049
2020-12-22 rocky <[email protected]>
41-
@@ -296,7 +296,7 @@
50+
@@ -317,7 +317,7 @@
4251

4352
2020-12-22 rocky <[email protected]>
4453

@@ -47,7 +56,7 @@
4756
Get ready for release 1.1.0
4857

4958
2020-11-15 rocky <[email protected]>
50-
@@ -310,7 +310,7 @@
59+
@@ -331,7 +331,7 @@
5160

5261
2020-11-14 rocky <[email protected]>
5362

@@ -56,7 +65,7 @@
5665
Administrivia
5766

5867
2020-11-14 rocky <[email protected]>
59-
@@ -337,7 +337,7 @@
68+
@@ -358,7 +358,7 @@
6069

6170
2020-10-31 rocky <[email protected]>
6271

@@ -65,7 +74,7 @@
6574
Working better now... setup.py: Use namespace packages. Put this under namespace
6675
PyMathics. natlang/__main__.py: With next round of changes, we
6776
don't need to set "context".
68-
@@ -345,4 +345,3 @@
77+
@@ -366,4 +366,3 @@
6978
2020-10-31 rocky <[email protected]>
7079

7180
* Initial natlang setup

pymathics/natlang/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__="7.0.0" # noqa
8+
__version__="8.0.0" # noqa

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from setuptools import find_namespace_packages, setup
1010

1111
# Ensure user has the correct Python version
12-
if sys.version_info < (3, 7):
13-
print("Mathics support Python 3.7 and above; you have %d.%d" % sys.version_info[:2])
12+
if sys.version_info < (3, 8):
13+
print("Mathics support Python 3.8 and above; you have %d.%d" % sys.version_info[:2])
1414
sys.exit(-1)
1515

1616

@@ -53,7 +53,7 @@ def read(*rnames):
5353
version=__version__,
5454
packages=find_namespace_packages(include=["pymathics.*"]),
5555
install_requires=[
56-
"Mathics3>=7.0.0.dev0",
56+
"Mathics3>=8.0.0",
5757
"click>=8.0",
5858
"joblib>=1.0.1",
5959
"langid", # replace with a supported newer package, e.g. via spacy

0 commit comments

Comments
 (0)