Skip to content

Commit

Permalink
Release 8.0.0 (#30)
Browse files Browse the repository at this point in the history
Release 8.0.0

* Upate version number,
* Use PyPI wheel in CI
* Go over release notes
  • Loading branch information
rocky committed Jan 27, 2025
1 parent 62735cf commit 015f3b4
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
# python -m pip install --upgrade pip
python -m pip install pytest
# Can comment out when next Mathics3 core and Mathics-scanner are released
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
# git clone https://github.com/Mathics3/mathics-core
# (cd mathics-core && pip3 install -e .[full])
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
python -m pip install Mathics3[full]
- name: install pymathics natlang
run: |
Expand Down
12 changes: 7 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ default_language_version:
python: python
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: debug-statements
stages: [commit]
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
- id: end-of-file-fixer
stages: [commit]
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
- id: trailing-whitespace
exclude: 'ChangeLog-spell-corrected.diff'
exclude: ChangeLog-spell-corrected.diff
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 24.10.0
hooks:
- id: black
language_version: python3
Expand Down
12 changes: 12 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
CHANGES
=======

8.0.0
-----

Jan 26, 2025

This release tracks the API changes in the Mathics Kernel.

Use PyPI package `PatternLite` instead of defunct 3.6-ish `pattern` (which now has been replaced with something totally not NLP).


7.0.0
-----

Aug 10, 2025

* Revise for 7.0.0 Mathics3 API; we need to explicilty load builtins


Expand Down
29 changes: 19 additions & 10 deletions ChangeLog-spell-corrected.diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
--- ChangeLog 2024-08-11 09:56:49.699104043 -0400
+++ ChangeLog-spell-corrected 2024-08-11 09:56:29.505207062 -0400
@@ -7,8 +7,8 @@
--- ChangeLog 2025-01-26 10:40:02.719673478 -0500
+++ ChangeLog-spell-corrected 2025-01-26 10:40:22.032686996 -0500
@@ -15,7 +15,7 @@
2024-12-29 rocky <[email protected]>

* pymathics/natlang/linguistic_data.py: fix an import ... We were importing it from a module that was also importing it (but
- no longer exists). Instead, we shoudl have been importing from the
+ no longer exists). Instead, we should have been importing from the
place it is defined.

2024-08-11 R. Bernstein <[email protected]>
@@ -28,8 +28,8 @@

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

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

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

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

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

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

* .github/workflows/osx.yml, Makefile, README.rst,
Expand All @@ -29,7 +38,7 @@
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
information * main.py: numerous small doc changes; fix some type errors. * setup.py and spacy, langid, and pyenchant are no longer optional.
Note pyenchant rather than enchant is now used.
@@ -274,7 +274,7 @@
@@ -295,7 +295,7 @@

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

Expand All @@ -38,7 +47,7 @@
Update README.rst, remove a deprecation warning

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

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

Expand All @@ -47,7 +56,7 @@
Get ready for release 1.1.0

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

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

Expand All @@ -56,7 +65,7 @@
Administrivia

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

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

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

* Initial natlang setup
Expand Down
2 changes: 1 addition & 1 deletion pymathics/natlang/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# well as importing into Python. That's why there is no
# space around "=" below.
# fmt: off
__version__="7.0.0" # noqa
__version__="8.0.0" # noqa
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from setuptools import find_namespace_packages, setup

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


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

0 comments on commit 015f3b4

Please sign in to comment.