Skip to content

Commit 0583031

Browse files
committed
Use mathics-core from git until release
1 parent 7f14a0b commit 0583031

File tree

4 files changed

+23
-20
lines changed

4 files changed

+23
-20
lines changed

.github/workflows/consistency-checks.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pymathics-Graph (Consistency Checks)
1+
name: Mathics3-Module-networkx (Consistency Checks)
22

33
on:
44
push:
@@ -23,13 +23,15 @@ jobs:
2323
python -m pip install --upgrade pip
2424
python -m pip install pytest
2525
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
26-
# git clone https://github.com/Mathics3/mathics-core
27-
# (cd mathics-core && make)
28-
# (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
30-
- name: Install Pymathics.graph with minimum dependencies
26+
# Until the next mathics-core release
27+
git clone https://github.com/Mathics3/mathics-core
28+
(cd mathics-core && make)
29+
(cd mathics-core && python -m pip install -e .[full])
30+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
31+
32+
- name: Install Mathics3-Module-Networkx.graph with minimum dependencies
3133
run: |
32-
make develop
34+
python -m pip install -e . --no-build-isolation
3335
- name: Test Mathics Consistency and Style
3436
run: |
3537
make check-consistency-and-style

.github/workflows/ubuntu.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Mathic3 Graph Module (ubuntu)
1+
name: Mathic3 Module networkx (ubuntu)
22

33
on:
44
push:
@@ -24,14 +24,15 @@ jobs:
2424
python -m pip install pytest
2525
# Go over and comment out stuff 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]
27-
# git clone https://github.com/Mathics3/mathics-core
28-
# (cd mathics-core && pip3 install -e .[full])
29-
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
30-
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
31-
- name: install pymathics graph
27+
# Until the next mathics-core release
28+
git clone https://github.com/Mathics3/mathics-core
29+
(cd mathics-core && pip3 install -e .[full])
30+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
31+
32+
- name: install Mathics3 Module networkx
3233
run: |
33-
python -m pip install -e .[full]
34+
python -m pip install -e .[full] --no-build-isolation
3435
# make develop
35-
- name: Test Mathics3 Module Graph
36+
- name: Test Mathics3 Module networkx
3637
run: |
3738
make -j3 check

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dist:
3838

3939
#: Install pymathics.graph
4040
install: pypi-setup
41-
$(PYTHON) setup.py install
41+
$(PYTHON) -m pip install -e . --no-build-isolation
4242

4343
# Run tests
4444
test check: pytest doctest

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"setuptools", # CVE-2024-38335 recommends this
4-
"Mathics3>9.0.0",
4+
"mathics3>9.0.0",
55
"networkx>=3.0.0",
66
"matplotlib",
77
"Mathics3-Module-Base",
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
1212
name = "Mathics3-graph"
1313
description = "Mathics3 Graph Module using NetworkX"
1414
dependencies = [
15-
"Mathics3>=9.0.0",
15+
"mathics3>=9.0.0",
1616
"Mathics3-Module-Base",
1717
"mpmath>=1.2.0",
1818
"networkx>=3.0.0",
@@ -45,8 +45,8 @@ classifiers = [
4545
dynamic = ["version"]
4646

4747
[project.urls]
48-
Homepage = "https://github.com/Mathics3/pymathics-graph"
49-
Downloads = "https://github.com/Mathics3/pymathics-graph/releases"
48+
Homepage = "https://github.com/Mathics3/Mathics3-Module-networkx-graph"
49+
Downloads = "https://github.com/Mathics3/Mathics3-Module-networkx/releases"
5050

5151
[project.optional-dependencies]
5252
dev = [

0 commit comments

Comments
 (0)