Skip to content

Commit 47cef09

Browse files
committed
Roll in Python 3.14 and out 3.10
1 parent bfb66f0 commit 47cef09

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.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@v6
13-
- name: Set up Python 3.13
13+
- name: Set up Python 3.14
1414
uses: actions/setup-python@v6
1515
with:
16-
python-version: 3.13
16+
python-version: 3.14
1717
- name: Install click, black and isort
1818
run: pip install 'click==8.2.1' 'black==25.11.0' 'isort==5.13.2'
1919
- name: Run black --check --diff .

.github/workflows/macos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: mathicsscript (OSX)
1+
name: mathicsscript (MacOS)
22

33
on:
44
push:
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macOS]
15-
python-version: ['3.11', '3.12', '3.13']
15+
python-version: ['3.11', '3.12', '3.13', '3.14']
1616
steps:
1717
- uses: actions/checkout@v6
1818
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.13', '3.10', '3.11', '3.12']
14+
python-version: ['3.13', '3.11', '3.12', '3.14']
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies

.github/workflows/windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Mathics (Windows)
1+
name: mathicsscript (Windows)
22

33
on:
44
push:
@@ -12,11 +12,11 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [windows]
15-
python-version: ['3.11', '3.13']
15+
python-version: ['3.11', '3.14']
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v6
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
@@ -29,12 +29,12 @@ jobs:
2929
pip install -e .
3030
git clone --depth 1 https://github.com/Mathics3/Mathics3-scanner.git
3131
cd Mathics3-scanner/
32-
pip install -e .
32+
pip install --no-build-isoloation -e .
3333
bash -x admin-tools/make-JSON-tables.sh
3434
cd ..
3535
git clone --depth 1 https://github.com/Mathics3/mathics-core.git
3636
cd mathics-core/
37-
pip install -e .
37+
pip install --no-build-isolation -e .
3838
bash -x admin-tools/make-JSON-tables.sh
3939
cd ..
4040
- name: Install mathicsscript

mathicsscript/termshell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from mathics.core.atoms import String
1414
from mathics.core.attributes import attribute_string_to_number
1515
from mathics.core.expression import Expression, from_python # strip_context,
16+
from mathics.core.parser import MathicsLineFeeder
1617
from mathics.core.rules import Rule
1718
from mathics.core.symbols import Symbol, SymbolNull
1819
from mathics.core.systemsymbols import SymbolMessageName
@@ -28,6 +29,7 @@
2829
# FIXME: __main__ shouldn't be needed. Fix term_background
2930
from term_background.__main__ import is_dark_background
3031

32+
3133
mma_lexer = MathematicaLexer()
3234

3335
ALL_PYGMENTS_STYLES = list(get_all_styles()) + ["None"]
@@ -55,8 +57,6 @@
5557
if not osp.isfile(HISTFILE):
5658
pathlib.Path(HISTFILE).touch()
5759

58-
from mathics.core.parser import MathicsLineFeeder
59-
6060
SymbolPygmentsStylesAvailable = Symbol("Settings`PygmentsStylesAvailable")
6161

6262

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
1111
name = "mathicsscript"
1212
description = "Command-line interface to Mathics3"
1313
dependencies = [
14-
"Mathics_Scanner>2.0.0",
14+
"Mathics_Scanner>9.0.0",
1515
"Mathics3 >= 9.0.0",
1616
"click >= 8.0.0",
1717
"colorama",
@@ -22,7 +22,7 @@ dependencies = [
2222
"mathics_pygments>=1.0.2",
2323
"term-background >= 1.0.1",
2424
]
25-
requires-python = ">=3.10"
25+
requires-python = ">=3.11"
2626
readme = "README.rst"
2727
license = "GPL-3.0-or-later"
2828
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]

0 commit comments

Comments
 (0)