Skip to content

Commit 5d98bdf

Browse files
committed
Yet another try
1 parent fff09d5 commit 5d98bdf

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
(cd mathics-core && pip3 install -e .[full])
2929
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
3030
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
31-
python -m pip install -e .
32-
- name: install Mathics3 module Hello
31+
- name: install Mathic3 Hello Module
3332
run: |
34-
pip install -e .
35-
- name: Test Mathics
33+
python -m pip install -e .
34+
- name: Test Mathics3 Hello Module
3635
run: |
3736
make check

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ repos:
66
hooks:
77
- id: check-merge-conflict
88
- id: debug-statements
9-
stages: [commit]
9+
stages: [pre-commit]
1010
- id: end-of-file-fixer
11-
stages: [commit]
11+
stages: [pre-commit]
1212
# - repo: https://github.com/pycqa/isort
1313
# rev: 5.10.1
1414
# hooks:
@@ -20,9 +20,9 @@ repos:
2020
- id: black
2121
language_version: python3
2222
exclude: 'pymathics/hello/version.py'
23-
stages: [commit]
23+
stages: [pre-commit]
2424
- repo: https://github.com/pycqa/flake8
2525
rev: 3.9.2
2626
hooks:
2727
- id: flake8
28-
stages: [commit]
28+
stages: [pre-commit]

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=70.0.0", # CVE-2024-38335 recommends this
4+
"mpmath>=1.2.0",
5+
"numpy<1.27",
6+
"matplotlib",
7+
"scipy>=1.10.0",
8+
"sympy>=1.11,<1.13",
9+
]
10+
build-backend = "setuptools.build_meta"
11+
112
[project]
213
name = "Mathics3-hello"
314
description = 'Mathics3 Hello, World! module'

0 commit comments

Comments
 (0)