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
3 changes: 2 additions & 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.11']
python-version: ['3.13']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,6 +26,7 @@ jobs:
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && make)
(cd mathics-core && python -m pip install -e .[full])
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
- name: Install Pymathics.graph with minimum dependencies
run: |
make develop
Expand Down
12 changes: 7 additions & 5 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', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -22,11 +22,13 @@ jobs:
run: |
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]
# Go over and comment out stuff 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]
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
python -m pip install -e .
# (cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
- name: install pymathics graph
run: |
make develop
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.hypothesis
/.python-version
/ChangeLog
/ChangeLog.spell-corrected
/Mathics3_graph.egg-info
/build
/dist
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__="8.0.1" # noqa
__version__="8.0.2dev0" # noqa
66 changes: 66 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[build-system]
requires = [
"setuptools>=70.0.0", # CVE-2024-38335 recommends this
"networkx>=3.0.0",
"pydot",
"mpmath>=1.2.0",
"numpy<1.27",
"matplotlib",
"scipy>=1.10.0",
"sympy>=1.11,<1.13",
]
build-backend = "setuptools.build_meta"

[project]
name = "Mathics3-graph"
description = "Mathics3 Graph Module using NetworkX"
dependencies = [
"Mathics3>=8.0.1",
"Mathics3-Module-Base",
"networkx>=3.0.0",
"pydot",
"matplotlib",
"scipy>=1.10.0",
]
requires-python = ">=3.9" # Sympy 1.11 is supported only down to 3.8
readme = "README.rst"
license = {text = "GPL"}
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
maintainers = [
{name = "Mathics Group", email = "[email protected]"},
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Interpreters",
]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/Mathics3/pymathics-graph"
Downloads = "https://github.com/Mathics3/pymathics-graph/releases"

[project.optional-dependencies]
dev = [
"pytest",
]

[tool.setuptools]
packages = [
"pymathics.graph",
]

[tool.setuptools.dynamic]
version = {attr = "pymathics.graph.__version__"}
66 changes: 0 additions & 66 deletions setup.py

This file was deleted.