Skip to content

Commit 6852d4e

Browse files
committed
Administrivia pip to use toml
This is needed for Python 3.13+
1 parent 8021701 commit 6852d4e

File tree

6 files changed

+71
-68
lines changed

6 files changed

+71
-68
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
git clone https://github.com/Mathics3/mathics-core
2727
(cd mathics-core && make)
2828
(cd mathics-core && python -m pip install -e .[full])
29+
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
2930
- name: Install Pymathics.graph with minimum dependencies
3031
run: |
3132
make develop

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 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.9', '3.10', '3.11', '3.12']
14+
python-version: ['3.9', '3.10', '3.11', '3.12' '3.13']
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
@@ -25,6 +25,7 @@ jobs:
2525
# Can comment out when next Mathics core and Mathics-scanner are released
2626
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
2727
# python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
28+
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
2829
python -m pip install -e .
2930
# (cd src/mathics3 && bash ./admin-tools/make-JSON-tables.sh)
3031
- name: install pymathics graph

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.hypothesis
33
/.python-version
44
/ChangeLog
5+
/ChangeLog.spell-corrected
56
/Mathics3_graph.egg-info
67
/build
78
/dist

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__="8.0.1" # noqa
8+
__version__="8.0.2dev0" # noqa

pyproject.toml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=70.0.0", # CVE-2024-38335 recommends this
4+
"networkx>=3.0.0",
5+
"pydot",
6+
"mpmath>=1.2.0",
7+
"numpy<1.27",
8+
"matplotlib",
9+
"scipy>=1.10.0",
10+
"sympy>=1.11,<1.13",
11+
]
12+
build-backend = "setuptools.build_meta"
13+
14+
[project]
15+
name = "Mathics3-graph"
16+
description = "Mathics3 Graph Module using NetworkX"
17+
dependencies = [
18+
"Mathics3>=8.0.1",
19+
"Mathics3-Module-Base",
20+
"networkx>=3.0.0",
21+
"pydot",
22+
"matplotlib",
23+
"scipy>=1.10.0",
24+
]
25+
requires-python = ">=3.9" # Sympy 1.11 is supported only down to 3.8
26+
readme = "README.rst"
27+
license = {text = "GPL"}
28+
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
29+
maintainers = [
30+
{name = "Mathics Group", email = "[email protected]"},
31+
]
32+
classifiers = [
33+
"Intended Audience :: Developers",
34+
"Intended Audience :: Science/Research",
35+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
36+
"Programming Language :: Python",
37+
"Programming Language :: Python :: 3.9",
38+
"Programming Language :: Python :: 3.10",
39+
"Programming Language :: Python :: 3.11",
40+
"Programming Language :: Python :: 3.12",
41+
"Programming Language :: Python :: 3.13",
42+
"Programming Language :: Python :: 3.14",
43+
"Programming Language :: Python :: Implementation :: CPython",
44+
"Programming Language :: Python :: Implementation :: PyPy",
45+
"Topic :: Scientific/Engineering",
46+
"Topic :: Scientific/Engineering :: Mathematics",
47+
"Topic :: Software Development :: Interpreters",
48+
]
49+
dynamic = ["version"]
50+
51+
[project.urls]
52+
Homepage = "https://github.com/Mathics3/pymathics-graph"
53+
Downloads = "https://github.com/Mathics3/pymathics-graph/releases"
54+
55+
[project.optional-dependencies]
56+
dev = [
57+
"pytest",
58+
]
59+
60+
[tool.setuptools]
61+
packages = [
62+
"pymathics.graph",
63+
]
64+
65+
[tool.setuptools.dynamic]
66+
version = {attr = "pymathics.graph.__version__"}

setup.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)