Skip to content

Commit 657c179

Browse files
committed
Get ready for release 9.0.0
1 parent 9ec0091 commit 657c179

File tree

6 files changed

+28
-31
lines changed

6 files changed

+28
-31
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.12']
14+
python-version: ['3.13']
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
@@ -20,16 +20,16 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies
2222
run: |
23-
# python -m pip install --upgrade pip
23+
python -m pip install --upgrade pip
2424
python -m pip install pytest
2525
# Can comment out when next Mathics3 core and Mathics-scanner are released
26-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27-
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
28-
(cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
29-
# python -m pip install Mathics3[full]
30-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
31-
- name: Install Pymathics.natlang
26+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
27+
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
28+
# (cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
29+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
30+
- name: Install Mathics3 natlang Module
3231
run: |
32+
python -m pip install --no-build-isolation setuptools Mathics3[full] nltk PatternLite enchant
3333
make develop
3434
- name: Test Mathics Consistency and Style
3535
run: |

.github/workflows/isort-and-black-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.9
13+
- name: Set up Python 3.13
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.9
16+
python-version: 3.13
1717
- name: Install click
1818
run: pip install 'click==8.0.4'
1919
- name: Install Black

.github/workflows/ubuntu.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
# 3.9 works but it takes a long time to gather dependencies
15-
python-version: ['3.10', '3.11', '3.12', '3.13']
14+
python-version: ['3.12', '3.13']
1615
steps:
1716
- uses: actions/checkout@v4
1817
- name: Set up Python ${{ matrix.python-version }}
@@ -24,14 +23,14 @@ jobs:
2423
python -m pip install --upgrade pip
2524
python -m pip install pytest
2625
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
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-core
29-
(cd mathics-core && pip3 install -e .[full])
30-
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
31-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
32-
python -m pip install -e .
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-core
28+
# (cd mathics-core && pip3 install -e .[full])
29+
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
30+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
3331
- name: Install Mathics3 natlang Module
3432
run: |
33+
python -m pip install --no-build-isolation setuptools Mathics3[full] nltk PatternLite enchant
3534
make develop
3635
- name: Test natlang Mathics3 Module
3736
run: |

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ wordlist:
3333
$(PYTHON) -m nltk.downloader wordnet2022 omw-1.4
3434
$(PYTHON) -m spacy download $(SPACY_DOWNLOAD)
3535

36-
#: build everything needed to install
37-
build: pypi-setup
38-
$(PYTHON) ./setup.py build
39-
4036
#: Check Python version, and install PyPI dependencies
4137
pypi-setup:
42-
$(PIP) install -e .
38+
$(PIP) install --no-build-isolation -e .
4339

4440
#: Set up to run from the source tree
4541
develop: pypi-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__="8.0.2.dev0" # noqa
8+
__version__="9.0.0" # noqa

pyproject.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,34 @@
11
[build-system]
22
requires = [
3-
"setuptools",
4-
"sympy>=1.11,<1.13",
3+
"setuptools",
4+
"Mathics3-Module-Base",
5+
"Mathics3>=9.0.0",
56
"PatternLite",
67
"langid", # replace with a supported newer package, e.g. via spacy
78
"matplotlib",
89
"mpmath>=1.2.0",
10+
"nltk>=3.8.0",
911
"numpy",
1012
"pycountry>=3.2.0",
1113
"pyenchant>=3.2.0",
1214
"scipy>=1.10.0",
1315
"spacy>=3.4",
1416
"wasabi<1.1.0,>=0.8.2",
1517
]
16-
build-backend = "setuptools.build_meta"
18+
# build-backend = "setuptools.build_meta"
1719

1820
[project]
1921
name = "Mathics3-natlang"
2022
description = "Mathics3 Natural Language Toolkit module"
2123
dependencies = [
22-
"Mathics3>=8.0.1",
23-
"Mathics3-Module-Base",
24+
"Mathics3>=9.0.0",
25+
"Mathics3-Module-Base>=9.0.0",
2426
"click>=8.0",
2527
"joblib>=1.0.1",
2628
"langid", # replace with a supported newer package, e.g. via spacy
2729
"llvmlite>=0.36",
2830
"nltk>=3.8.0",
31+
"mpmath>=1.2.0",
2932
"PatternLite",
3033
"pyenchant>=3.2.0",
3134
"pycountry>=3.2.0",
@@ -34,15 +37,14 @@ dependencies = [
3437
]
3538
requires-python = ">=3.10"
3639
readme = "README.rst"
37-
license = {text = "GPL"}
40+
license = "GPL-3.0-or-later"
3841
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
3942
maintainers = [
4043
{name = "Mathics Group", email = "mathics-devel@googlegroups.com"},
4144
]
4245
classifiers = [
4346
"Intended Audience :: Developers",
4447
"Intended Audience :: Science/Research",
45-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
4648
"Programming Language :: Python",
4749
"Programming Language :: Python :: 3.10",
4850
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)