Skip to content

Commit 54d2658

Browse files
committed
Use github mathics-core for testing...
Until the next release
1 parent f850036 commit 54d2658

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
python -m pip install --upgrade setuptools>=70.0.0
2524
python -m pip install pytest
25+
python -m pip install Mathics3-Module-Base
2626
# Can comment out when next Mathics3 core and Mathics-scanner are released
2727
# 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-
# (cd src/mathics3 && 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
28+
# Until the next mathics-core release
29+
git clone https://github.com/Mathics3/mathics-core
30+
(cd mathics-core && python -m pip install -e .[full])
31+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
32+
3133
- name: Install Mathics3 Module nltk
3234
run: |
3335
python -m pip install --no-build-isolation setuptools Mathics3[full] nltk PatternLite enchant

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
# Required for some kind of conflict with stopit...
25-
python -m pip install --upgrade setuptools>=70.0.0
2624
python -m pip install pytest
2725
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
2826
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[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)
32-
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
27+
# Until the next mathics-core release
28+
git clone https://github.com/Mathics3/mathics-core
29+
(cd mathics-core && python -m pip install -e .[full])
30+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
31+
3332
- name: Install Mathics3 Module nltk
3433
run: |
3534
python -m pip install --no-build-isolation setuptools Mathics3[full] nltk PatternLite enchant

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ pytest:
6767
#: Run tests that appear in docstring in the code.
6868

6969

70-
#: Make distirbution: wheels, eggs, tarball
70+
#: Make distribution: wheels, eggs, tarball
7171
dist:
7272
./admin-tools/make-dist.sh
7373

74+
#: Run tests that appear in docstring in the code.
7475
doctest:
7576
MATHICS_CHARACTER_ENCODING="ASCII" $(PYTHON) -m mathics.docpipeline -l pymathics.natlang -c 'Natural Language Processing' $o
7677

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"setuptools",
44
"Mathics3-Module-Base",
5-
"Mathics3>=9.0.0",
5+
"Mathics3>9.0.0",
66
"PatternLite",
77
"langid", # replace with a supported newer package, e.g. via spacy
88
"matplotlib",

0 commit comments

Comments
 (0)