Skip to content

Commit f4e924a

Browse files
authored
Merge pull request #40 from Mathics3/release-8.0.0
Release 8.0.0 * Update version * Go over dependencies * Use PyPI wheels
2 parents 023cc82 + 5be1910 commit f4e924a

File tree

6 files changed

+29
-12
lines changed

6 files changed

+29
-12
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 1 addition & 1 deletion
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.10']
14+
python-version: ['3.11']
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 4 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.9', '3.10', '3.11']
14+
python-version: ['3.9', '3.10', '3.11', '3.12']
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
@@ -23,10 +23,10 @@ jobs:
2323
python -m pip install --upgrade pip
2424
python -m pip install pytest
2525
# Can comment out when next Mathics 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]
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]
2828
python -m pip install -e .
29-
(cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
29+
# (cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
3030
- name: install pymathics graph
3131
run: |
3232
make develop

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ repos:
77
- id: check-merge-conflict
88
- id: debug-statements
99
stages: [pre-commit]
10+
exclude: ChangeLog-spell-corrected.diff
1011
- id: end-of-file-fixer
1112
stages: [pre-commit]
13+
exclude: ChangeLog-spell-corrected.diff
14+
- id: trailing-whitespace
15+
exclude: ChangeLog-spell-corrected.diff
1216
- repo: https://github.com/pycqa/isort
1317
rev: 5.13.2
1418
hooks:

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1+
8.0.0
2+
-----
3+
4+
Jan 26, 2025
5+
6+
This release tracks the API changes in the Mathics Kernel.
7+
8+
* Added builtin function `GraphQ[]`. (Combinatorica uses this)
9+
* Redo `DirectedEdge` and `UndirectedEdge` as operators
10+
111
7.0.0
212
-----
313

14+
Aug 10, 2025
15+
16+
417
* Revise for 7.0.0 Mathics3 API; we need to explicilty load builtins
518
* Newer matplotlib requires a plot close.
619
* Networkx 3.3 supported

pymathics/graph/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__="7.0.1dev0" # noqa
8+
__version__="8.0.0" # noqa

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
import sys
5-
import platform
64
import os.path as osp
7-
from setuptools import setup, find_namespace_packages
5+
import platform
6+
import sys
7+
8+
from setuptools import find_namespace_packages, setup
89

910
# Ensure user has the correct Python version
1011
if sys.version_info < (3, 8):
@@ -32,7 +33,7 @@ def read(*rnames):
3233
version=__version__, # noqa
3334
packages=find_namespace_packages(include=["pymathics.*"]),
3435
install_requires=[
35-
"Mathics3>=7.0.0.dev0",
36+
"Mathics3>=8.0.0",
3637
"networkx>=3.0.0",
3738
"pydot",
3839
"matplotlib",
@@ -54,12 +55,11 @@ def read(*rnames):
5455
"Programming Language :: Python :: 3.9",
5556
"Programming Language :: Python :: 3.10",
5657
"Programming Language :: Python :: 3.11",
58+
"Programming Language :: Python :: 3.12",
5759
"Programming Language :: Python :: Implementation :: CPython",
5860
"Programming Language :: Python :: Implementation :: PyPy",
5961
"Topic :: Scientific/Engineering",
60-
"Topic :: Scientific/Engineering :: Bio-Informatics",
6162
"Topic :: Scientific/Engineering :: Mathematics",
62-
"Topic :: Scientific/Engineering :: Physics",
6363
"Topic :: Software Development :: Interpreters",
6464
],
6565
# TODO: could also include long_description, download_url,

0 commit comments

Comments
 (0)