Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.14' # Just check against the current Python version.

Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install Mathics3
run: |
python -m pip install --no-build-isolation -e .[dev]
remake -x develop-full
remake -x develop
# Run the benchmarks and save into a JSON
- name: Run benchmarks
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/consistency-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.14']
python-version: ['3.15']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install Mathics3 dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/isort-and-black-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python 3.14
uses: actions/setup-python@v6
- uses: actions/checkout@v7
- name: Set up Python 3.15
uses: actions/setup-python@v7
with:
python-version: 3.14
python-version: 3.15
- name: Install click, black and isort
run: pip install 'click==8.2.1' 'black==25.11.0' 'isort==8.0.1'
- name: Run isort --check .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [master]
pull_request:
branches: '**'
branches: ['**']

jobs:
build:
Expand All @@ -18,9 +18,9 @@ jobs:
os: [macOS]
python-version: ['3.14', '3.13']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.14']
python-version: ['3.15']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Mathics3 Packages (ubuntu)

on:
push:
branches: [master]
branches: ['master']
pull_request:
branches: '**'
branches: ['**']

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.14']
python-version: ['3.15']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/plot-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [master]
pull_request:
branches: '**'
branches: ['**']

jobs:
build:
Expand All @@ -14,9 +14,9 @@ jobs:
matrix:
python-version: ['3.14']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pyodide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
NODE_VERSION: 24
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ env.PYTHON_VERSION }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu-cython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
matrix:
python-version: ['3.14']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install Mathics3 dependencies
Expand All @@ -32,7 +32,7 @@ jobs:
# bash -x admin-tools/make-JSON-tables.sh
# cd ..

- name: Install Mathics3 with full dependencies
- name: Install Mathics3 with Cython and full dependencies
run: |
make develop-full-cython
- name: Test Mathics
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [master]
pull_request:
branches: '**'
branches: ['**']

jobs:
build:
Expand All @@ -14,9 +14,9 @@ jobs:
matrix:
python-version: ['3.14', '3.13', '3.12', '3.11']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
os: [windows]
# "make doctest" on MS Windows fails without showing much of a
# trace of where things went wrong on Python before 3.11.
python-version: ['3.12']
python-version: ['3.15', '3.12']

# Setting the environment variable globally for all steps in this job
env:
MATHICS_CHARACTER_ENCODING: "ASCII"

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
Expand Down
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,22 @@ full-benchmarks:
build:
$(PYTHON) ./setup.py build

# Note that we need ./setup.py develop
# because pip install doesn't handle
# INSTALL_REQUIRES properly
#: Set up to run from the source tree
develop:
$(PIP) install --no-build-isolation -e .[dev]

# See note above on ./setup.py
#: Set up to run from the source tree with full dependencies
develop-full:
$(PIP) install --no-build-isolation -e .[dev,full]

# See note above on ./setup.py
#: Set up to run from the source tree with Cython
develop-cython:
$(PIP) install --no-build-isolation -e .[dev,cython]

#: Set up to run from the source tree with full dependencies and Cython
develop-full-cython:
$(PIP) install --no-build-isolation -e .[dev,full,cython]


#: Make distribution: wheels, eggs, tarball
dist:
./admin-tools/make-dist.sh
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
Expand Down
Loading