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
2 changes: 1 addition & 1 deletion .github/workflows/consistency-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -23,10 +23,10 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest
# Can comment out when next Mathics core and Mathics-scanner are released
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
python -m pip install -e .
(cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
# (cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
- name: install pymathics graph
run: |
make develop
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ repos:
- id: check-merge-conflict
- id: debug-statements
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
- id: end-of-file-fixer
stages: [pre-commit]
exclude: ChangeLog-spell-corrected.diff
- id: trailing-whitespace
exclude: ChangeLog-spell-corrected.diff
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
8.0.0
-----

Jan 26, 2025

This release tracks the API changes in the Mathics Kernel.

* Added builtin function `GraphQ[]`. (Combinatorica uses this)
* Redo `DirectedEdge` and `UndirectedEdge` as operators

7.0.0
-----

Aug 10, 2025


* Revise for 7.0.0 Mathics3 API; we need to explicilty load builtins
* Newer matplotlib requires a plot close.
* Networkx 3.3 supported
Expand Down
2 changes: 1 addition & 1 deletion pymathics/graph/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# well as importing into Python. That's why there is no
# space around "=" below.
# fmt: off
__version__="7.0.1dev0" # noqa
__version__="8.0.0" # noqa
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import platform
import os.path as osp
from setuptools import setup, find_namespace_packages
import platform
import sys

from setuptools import find_namespace_packages, setup

# Ensure user has the correct Python version
if sys.version_info < (3, 8):
Expand Down Expand Up @@ -32,7 +33,7 @@ def read(*rnames):
version=__version__, # noqa
packages=find_namespace_packages(include=["pymathics.*"]),
install_requires=[
"Mathics3>=7.0.0.dev0",
"Mathics3>=8.0.0",
"networkx>=3.0.0",
"pydot",
"matplotlib",
Expand All @@ -54,12 +55,11 @@ def read(*rnames):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Interpreters",
],
# TODO: could also include long_description, download_url,
Expand Down
Loading