Skip to content

Commit 4539281

Browse files
committed
Release 9.0.0 (#8)
* Use PyPI in CI * Update dependencies * Try to get CI working
1 parent 81f5f50 commit 4539281

File tree

5 files changed

+32
-27
lines changed

5 files changed

+32
-27
lines changed

.github/workflows/osx.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macOS]
15-
python-version: ['3.11', '3.12', '3.13']
15+
python-version: ['3.12', '3.13']
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
@@ -24,15 +24,16 @@ jobs:
2424
brew install llvm
2525
python -m pip install --upgrade pip
2626
python -m pip install pytest
27-
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
28-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
29-
git clone https://github.com/Mathics3/mathics-core
30-
(cd mathics-core && pip3 install -e .[full])
31-
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
32-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
27+
# # Go over and comment out stuff when next Mathics core and Mathics-scanner are released
28+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
29+
# git clone https://github.com/Mathics3/mathics-core
30+
# (cd mathics-core && pip3 install -e .[full])
31+
# (cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
32+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
3333
- name: Install Mathic3 Hello Module
3434
run: |
35-
python -m pip install -e .
35+
python -m pip install Mathics3
36+
python -m pip install --no-build-isolation -e .
3637
- name: Test Mathics3 Hello Module
3738
run: |
3839
make check

.github/workflows/ubuntu.yml

Lines changed: 9 additions & 8 deletions
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.10', '3.11', '3.12', '3.13']
14+
python-version: ['3.12', '3.13']
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
@@ -22,15 +22,16 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
python -m pip install pytest
25-
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
26-
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
25+
# # Go over and comment out stuff when next Mathics core and Mathics-scanner are released
26+
# 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
3131
- name: install Mathic3 Hello Module
3232
run: |
33-
python -m pip install -e .
33+
python -m pip install Mathics3
34+
python -m pip install --no-build-isolation -e .
3435
- name: Test Mathics3 Hello Module
3536
run: |
3637
make check

.github/workflows/windows.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [windows]
15-
python-version: ['3.10', '3.11', '3.12']
15+
python-version: ['3.12', '3.13']
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
@@ -23,16 +23,17 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
python -m pip install pytest
26-
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner
27-
git clone --depth 1 https://github.com/Mathics3/mathics-core mathics-core
28-
cd mathics-core
29-
python -m pip install -e .
30-
bash admin-tools/make-JSON-tables.sh
31-
cd ..
32-
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
26+
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner
27+
# git clone --depth 1 https://github.com/Mathics3/mathics-core mathics-core
28+
# cd mathics-core
29+
# python -m pip install -e .
30+
# bash admin-tools/make-JSON-tables.sh
31+
# cd ..
32+
# python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
3333
- name: Install Mathic3 Hello Module
3434
run: |
35-
python -m pip install -e .
35+
python -m pip install Mathics3
36+
python -m pip install --no-build-isolation -e .
3637
- name: Test Mathics
3738
run: |
3839
make check

pymathics/hello/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__="7.0.1dev0" # noqa
8+
__version__="9.0.0" # noqa

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
33
"setuptools",
4+
"Mathics3>=9.0.0",
45
"mpmath>=1.2.0",
56
"numpy<1.27",
67
"matplotlib",
@@ -13,7 +14,8 @@ build-backend = "setuptools.build_meta"
1314
name = "Mathics3-hello"
1415
description = 'Mathics3 Hello, World! module'
1516
dependencies = [
16-
"Mathics3-Module-Base",
17+
"Mathics3-Module-Base >= 9.0.0",
18+
"Mathics3 >= 9.0.0",
1719
]
1820
requires-python = ">=3.10"
1921
readme = "README.rst"

0 commit comments

Comments
 (0)