Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc part as separate files2 #833

Open
wants to merge 292 commits into
base: doc-part-as-separate-files
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
2fc148a
Make Expression Structure its own section...
rocky Jan 7, 2023
1846690
Correct title on Layout
rocky Jan 7, 2023
80f25f1
A doc format typo
rocky Jan 7, 2023
4cf2e04
Merge pull request #725 from Mathics3/Expression-Structure
rocky Jan 7, 2023
1c01937
More apply->eval conversions
rocky Jan 7, 2023
98a5db7
Back off `apply` a in one place
rocky Jan 7, 2023
c2e3b3e
Merge pull request #726 from Mathics3/apply-reduction
rocky Jan 7, 2023
c7ff11c
More of the same --
rocky Jan 7, 2023
dbbde85
Merge pull request #727 from Mathics3/apply_reduction2
rocky Jan 7, 2023
501b2c6
Optional software name: scikit-image -> skimage
rocky Jan 7, 2023
3a2e66e
ExampleData: fix spurious executable permissions
davide125 Jan 8, 2023
7f30407
Merge pull request #729 from davide125/executable
rocky Jan 8, 2023
46e8a07
Replace Lena image with Hedy Lamarr image
TiagoCavalcante Jan 8, 2023
bae6c5d
Correct doc environment variable name
rocky Jan 8, 2023
4d81a55
Merge branch 'master' of github.com:Mathics3/mathics-core
rocky Jan 8, 2023
e700a16
PCL path regularization and TEX->LATEX
rocky Jan 8, 2023
9a3e8ae
Another pass over the LaTeX doc generation mess
rocky Jan 8, 2023
3281e6b
Remove ubuntu 3.6 testing
rocky Jan 8, 2023
fdd29ec
ExampleData: update copyright byline for Namespaces.xml
davide125 Jan 8, 2023
a23b386
Merge pull request #733 from davide125/namespaces
rocky Jan 9, 2023
d416143
Clean up precedence testing ...
rocky Jan 9, 2023
04d0fa5
apply->eval ...
rocky Jan 9, 2023
013f511
Compute string values once
rocky Jan 9, 2023
7b196b4
NO_PARENTHESIS_EVER -> NEVER_ADD_PARENTHESIS
rocky Jan 9, 2023
0baf407
Merge pull request #734 from Mathics3/checkout-move-revise-precedence
rocky Jan 9, 2023
c850b39
Merge pull request #735 from Mathics3/apply-reduction2
rocky Jan 9, 2023
55b8a69
apply->eval go over trig fns & some hyperbolic...
rocky Jan 9, 2023
1a37d4c
apply->eval and minor tweaks
rocky Jan 9, 2023
65f6797
Update tests with Hedy Lamarr image
TiagoCavalcante Jan 10, 2023
888b4d7
Require newer PIL; handle Image failures
rocky Jan 10, 2023
568f547
Run some OS checks for all PR to any branch
rocky Jan 10, 2023
105073a
Remove Python 3.6 from full testing...
rocky Jan 10, 2023
079be84
Misc image tweaks
rocky Jan 10, 2023
66a4e26
Merge pull request #739 from Mathics3/require-big-tiff-support
rocky Jan 10, 2023
014d4d6
Merge branch 'master' into replace-lena
mmatera Jan 10, 2023
3e1420d
Merge pull request #738 from Mathics3/apply-reduction3
rocky Jan 10, 2023
5152d4f
Merge pull request #737 from Mathics3/apply-reduction2
rocky Jan 10, 2023
987a88b
Remove extraneous <url>
rocky Jan 10, 2023
7a2567c
Align Image failure message with WMA.
rocky Jan 10, 2023
5ee4034
Merge pull request #731 from Mathics3/replace-lena
rocky Jan 10, 2023
bfedec5
apply->eval and doc stuff
rocky Jan 10, 2023
5de07b4
Lots of little spelling corrections...
rocky Jan 11, 2023
a2b5749
correction caught by mmatera
rocky Jan 11, 2023
cc86cac
Merge pull request #742 from Mathics3/codespell-misspellings
rocky Jan 11, 2023
32dbaca
Merge pull request #740 from Mathics3/apply-reduction-4
rocky Jan 11, 2023
cc47de3
apply->eval, long lines, some annotations...
rocky Jan 11, 2023
e8fc237
Comment out auto-black commit to branch...
rocky Jan 11, 2023
8d9372c
Add Logic section head, isort it too
rocky Jan 11, 2023
138c965
Correct workflow stage run name
rocky Jan 11, 2023
213cfd7
Remove unicode in Logic testing...
rocky Jan 11, 2023
4d889f2
apply->eval + spelling, long lines, etc.
rocky Jan 12, 2023
54362bb
Add Random[]. We also assume some sort of NumPy
rocky Jan 12, 2023
29194d8
Merge pull request #745 from Mathics3/add-noarg-Random
rocky Jan 12, 2023
0e1b656
Merge pull request #744 from Mathics3/apply-reduction-6
rocky Jan 12, 2023
6dab518
Merge pull request #741 from Mathics3/apply-reduction-5
rocky Jan 12, 2023
ec9be8b
Make a small pass over CHANGES.rst
rocky Jan 12, 2023
c0ed19a
Note Units and Quantities reinstated
rocky Jan 12, 2023
612dd3c
Bump requirement on Pillow to 9.2.0
rocky Jan 12, 2023
892b134
Merge pull request #746 from Mathics3/require-Pilow-9.2+
rocky Jan 12, 2023
856f53b
Improving grid (#747)
mmatera Jan 12, 2023
8f5ab97
add missing colon
rocky Jan 13, 2023
e96b8d8
Last of the apply->eval conversions
rocky Jan 13, 2023
401eda3
Remove using "apply" in signature match ...
rocky Jan 13, 2023
14e1a7c
Last of the apply->eval conversions
rocky Jan 13, 2023
f63def3
Merge branch 'apply-reduction-7' into remove-apply-match-from-contribute
rocky Jan 13, 2023
fa69595
Add rudimentary NumberLinePlot
rocky Jan 13, 2023
6d6deec
Show comparison with square
rocky Jan 13, 2023
5cb2d5c
Merge pull request #748 from Mathics3/apply-reduction-7
rocky Jan 14, 2023
cc1491f
Fix doc typo
rocky Jan 14, 2023
aed01db
Merge pull request #750 from Mathics3/add-NumberLinePlot
rocky Jan 14, 2023
ac73d1e
Remove using "apply" in signature match ...
rocky Jan 13, 2023
ff7e46f
Last batch of eval->apply. Simplfy numpy..
rocky Jan 14, 2023
092e9c2
Merge branch 'remove-apply-match-from-contribute' of github.com:Mathi…
rocky Jan 14, 2023
9c34b41
Merge pull request #749 from Mathics3/remove-apply-match-from-contribute
rocky Jan 14, 2023
942b444
Start more Gudermannian tests and add some rules
rocky Jan 10, 2023
a48329b
Complex constructor allows Rational imag or real..
rocky Jan 15, 2023
c033f1f
IBesselI rules were multipy assigned - fix
rocky Jan 15, 2023
05dc703
Disallow complex in parts of Complex
rocky Jan 15, 2023
7d28466
Remove duplicate cancel and sympy_factor...
rocky Jan 15, 2023
03c43c0
Merge pull request #753 from Mathics3/remove-dup-fns
rocky Jan 15, 2023
1534c39
Add Guide section: Testing Expressions
rocky Jan 15, 2023
4c8411c
Merge pull request #754 from Mathics3/add-testing-expressions-section
rocky Jan 15, 2023
a40e7e7
Little things for making doc easier
rocky Jan 15, 2023
fbf4c15
Merge pull request #755 from Mathics3/latex-doc-tweaks
rocky Jan 16, 2023
ba85891
Spelling typo
rocky Jan 17, 2023
c224429
Add TextRecognize example...
rocky Jan 17, 2023
f38fd3f
Add OCR detection package for OSs...
rocky Jan 17, 2023
1ccbce6
Go over titles in Workflows sections
rocky Jan 17, 2023
a886bd1
Get Windows CI working?
rocky Jan 17, 2023
b6798af
Image2latex (#751)
mmatera Jan 17, 2023
310f3a0
Exclude TextRecognize on Windows...
rocky Jan 17, 2023
59300e8
Fix MathML image boxing
mmatera Jan 21, 2023
5f88cc0
Small typo uft8->utf8
rocky Jan 21, 2023
32ef372
Allow Boxing to appear in docs and ..
rocky Jan 18, 2023
c571366
Remove Boxing docs. Add Color Directive summaries
rocky Jan 20, 2023
c7e3763
Merge pull request #757 from Mathics3/box-and-doc-skipping
rocky Jan 21, 2023
6b94c4d
moving builtins to message
mmatera Jan 21, 2023
93101e2
Merge pull request #758 from Mathics3/moving_messages_section
rocky Jan 21, 2023
4619576
Merge pull request #756 from Mathics3/TextRecognize-tweaks
rocky Jan 21, 2023
21dedf6
Mostly go over Basic Arithmetic for docs
rocky Jan 21, 2023
b3e5e34
Add setuptools to install requirements
davide125 Jan 22, 2023
206e2ad
Merge pull request #761 from davide125/setuptools
rocky Jan 22, 2023
f5bd792
Move Rectangular fns into statistics...
rocky Jan 22, 2023
88e6971
mathics.algorithm.parts -> mathics.eval.parts
rocky Jan 22, 2023
ece31a8
Move Insert and Delete to mathics.list.eol and..
rocky Jan 22, 2023
424374f
Merge pull request #763 from Mathics3/reduce-misc-list
rocky Jan 22, 2023
08ac9cc
Set requires in builtins; adjust requirements-full.txt.
rocky Jan 22, 2023
5af7411
Remove Manipulate from docs...
rocky Jan 22, 2023
8c13d81
Bump version
rocky Jan 22, 2023
e929a32
More aggressive disabling of Manipulate
rocky Jan 22, 2023
00aa1b3
Reduce min Pillow version for 3.6
rocky Jan 22, 2023
3d0a71d
See if we can fix SameQ infinite recursion
rocky Jan 22, 2023
755ff01
Merge pull request #764 from Mathics3/go-over-requires
rocky Jan 22, 2023
fcbb6b1
Merge pull request #759 from Mathics3/doc-basic-arithmetic
rocky Jan 22, 2023
3690a83
Adjust test so it works on BigEndian systems
rocky Jan 22, 2023
c2c56c8
Merge branch 'master' into bigendian-test-adjustment
rocky Jan 22, 2023
da1e308
Merge pull request #762 from Mathics3/bigendian-test-adjustment
rocky Jan 22, 2023
e97bc7e
Merge pull request #752 from Mathics3/Gudermannian-tweaks
rocky Jan 23, 2023
bb8d3e6
Correct typo in Symbol name
rocky Jan 28, 2023
1b3641d
Improve infinity and Precision (#767)
mmatera Jan 28, 2023
df14a21
Changes needed to get Pymathics working again
rocky Jan 23, 2023
20d6845
Respect no_doc
rocky Jan 23, 2023
5e9fd1a
Start to fold in Pymathics document handling
rocky Jan 27, 2023
f643f32
Disable weird consistency check ...
rocky Jan 27, 2023
d7d2ee3
Tidy more
rocky Jan 27, 2023
c61d1d6
Small stuff..
rocky Jan 28, 2023
8a0e3e3
Merge pull request #765 from Mathics3/Pymathics-adjustments
rocky Jan 29, 2023
6b77948
evaluation.message now returns a value - adjust
rocky Jan 29, 2023
de71edc
Merge pull request #768 from Mathics3/message-and-svg-tweaking
rocky Jan 29, 2023
40a446d
More compatibility improvements in Accuracy and Precision. Adding tes…
mmatera Jan 30, 2023
59ef64d
Place options 'All' and 'None' in correct section
rocky Feb 1, 2023
b91f181
Merge pull request #770 from Mathics3/move-option-values-out-of-list-…
rocky Feb 1, 2023
01eefc1
renaming constants according to Python convension. (#771)
mmatera Feb 2, 2023
46a1fd3
mathics.eval eval_Capital fns
rocky Feb 2, 2023
f7f014e
improving precision handling in from_mpmath
mmatera Feb 4, 2023
4fcf8bf
removing prec and acc parameters from from_mpmath, becase are not used.
mmatera Feb 4, 2023
141222a
correct some typos
rocky Feb 4, 2023
51f63e3
Merge pull request #772 from Mathics3/eval_fn-uniformity
rocky Feb 5, 2023
6b8ab56
mathics.core.pymathics -> mathics.eval.pymathics
rocky Feb 5, 2023
a9741b3
Merge pull request #775 from Mathics3/from_mpmath_precision
rocky Feb 5, 2023
629275c
Merge pull request #776 from Mathics3/eval-pymathics
rocky Feb 5, 2023
3db075a
eval_LoadModule parameter Evaluation->Definitions
rocky Feb 5, 2023
f6a945c
Merge pull request #777 from Mathics3/eval_LoadModule-param-change
rocky Feb 5, 2023
df2882d
fix accuracy and precision for complex numbers (#774)
mmatera Feb 5, 2023
b35c220
Small bugs...
rocky Feb 5, 2023
02bb5dd
Merge pull request #779 from Mathics3/three-small-bugs
rocky Feb 5, 2023
ae60077
Add a couple more Abs tests...
rocky Feb 6, 2023
9303b3b
Merge pull request #780 from Mathics3/a-few-abs-tests
rocky Feb 6, 2023
12f6aa3
fix mpmath precision handling (#781)
mmatera Feb 7, 2023
ed84c68
DRY doc code ...
rocky Feb 5, 2023
e6cac70
DRY more moving code to Documentation..
rocky Feb 5, 2023
736fc8e
better LoadModule option processing in docpipeline
rocky Feb 5, 2023
de6d471
docpipeline works again
rocky Feb 5, 2023
69cd0b9
Revise --want-sorting help
rocky Feb 5, 2023
9712447
Reinstate x.is_private()
rocky Feb 5, 2023
5fe604f
Preserve summary text in guide sections
rocky Feb 6, 2023
3cbe6a0
Tweak docpipeline.py option
rocky Feb 6, 2023
cdcc00f
More COMMENTS!
rocky Feb 6, 2023
e62333f
Adjust LoadModule error reporting...
rocky Feb 6, 2023
9a7ed16
Merge pull request #778 from Mathics3/reinstate-pymathics-doc
rocky Feb 7, 2023
68ca41b
Move the last bit unsorted "list" functions
rocky Feb 9, 2023
e9bd6aa
Merge pull request #782 from Mathics3/final-misc-list-removal
rocky Feb 9, 2023
3073e6b
Small omission in not setting field - noticed in pymathics.graph
rocky Feb 10, 2023
15bb4be
Include Mathics3 modules in docs...
rocky Feb 12, 2023
21b3686
Windows CI woes ...
rocky Feb 12, 2023
8d20a5c
Better document what's up in the PCL file
rocky Feb 12, 2023
30a2e03
Comment reason behind windows "choco --force" ...
rocky Feb 12, 2023
caf7085
Merge pull request #783 from Mathics3/mathics3-module-into-latex
rocky Feb 12, 2023
dcfe909
removing the use of Evaluation.format_output in builtins (#786)
mmatera Feb 13, 2023
ab5c2f6
move basic arithmetic to mathics.eval.arithmetic (#789)
mmatera Feb 15, 2023
9c068b4
removing blanks from url (#790)
mmatera Feb 16, 2023
23ba3be
Flake8 cleans (#791)
mmatera Feb 16, 2023
a7cbbe3
Format to LaTeX when we are writing to LaTeX
rocky Feb 13, 2023
c93a4da
Tag LaTeX output as LaTeX...
rocky Feb 14, 2023
dbc883a
A bunch of documentation fixes/workarounds
rocky Feb 14, 2023
0fde948
More LaTeX doc unicode symbol adjustments
rocky Feb 14, 2023
51b9732
Use UTF-8 for LateX testdoc generation
rocky Feb 16, 2023
42256b4
Merge pull request #784 from Mathics3/correct-docpipeline-form-on-lat…
rocky Feb 17, 2023
d2b2f14
Use UTF-8 for MATHICS_ENCODING in LaTeX gneration
rocky Feb 18, 2023
831db8a
fix do_format_element (#792)
mmatera Feb 18, 2023
337a079
SymbolStringExpression is used in natlang
rocky Feb 19, 2023
1c35f0f
Merge pull request #794 from Mathics3/add-SymbolStringExpression
rocky Feb 19, 2023
b4657a5
spelling corrections, some type corrections & doc.
rocky Feb 19, 2023
5a21270
Merge pull request #795 from Mathics3/type-and-doc-tweaks
rocky Feb 19, 2023
dd61601
Revert get_section_test() addition (#796)
rocky Feb 20, 2023
a8020b4
Revise history and "what is offered?" sections
rocky Feb 20, 2023
e31b073
Go over history and features.
rocky Feb 24, 2023
474ed5a
Wolfram Alpha -> Wolfram Langauge Kernal
rocky Feb 24, 2023
cc72cc4
Start noting what's up and what goals have been met
rocky Feb 24, 2023
2640114
Add link to Mathics3 pattern-matching discussion
rocky Feb 24, 2023
3ccc09f
Mention Python 3.6 removal and 3.11 inclusion
rocky Feb 24, 2023
5e3eecc
Merge pull request #798 from Mathics3/intro-revision
rocky Feb 25, 2023
fb22d98
Note Python style improvements, and doc deferment ..
rocky Feb 25, 2023
8a0c707
Misc spelling corrections
rocky Feb 25, 2023
d799526
Merge pull request #799 from Mathics3/update-FUTURE
rocky Feb 25, 2023
b6761fd
Get ready for release 6.0.0
rocky Feb 25, 2023
08683f9
Some spelling corrections and link wrapping
rocky Feb 25, 2023
572d12b
What's new
rocky Feb 25, 2023
6e4a029
Use recently-released mathics-scanner 1.3.0
rocky Feb 25, 2023
fdab864
small typo
rocky Feb 25, 2023
e436501
Merge pull request #801 from Mathics3/release-6.0.0
rocky Feb 25, 2023
30b4c7c
Administriva: bump testing Python versions
rocky Feb 25, 2023
6bfaeb3
Pillow requirement for > 3.6 mistakenly omitted
rocky Feb 26, 2023
3533163
Use recently-found V0.91 m version
rocky Feb 26, 2023
c84e7a4
Update options.py
mmatera Feb 27, 2023
7cddefc
Merge branch 'master' into combinatorica-91
mmatera Feb 27, 2023
0eb406b
Small corrections
rocky Feb 27, 2023
285ffad
Reinstate a test; comment Combinatorica code
rocky Feb 27, 2023
9544aad
Go over Random builtins docs to get this standard
rocky Feb 27, 2023
d80fec1
Merge pull request #805 from Mathics3/go-over-random-docs
rocky Feb 27, 2023
acb3265
More docs and annotations about Pattern and Rules (#806)
mmatera Mar 2, 2023
a9c2abf
Merge pull request #803 from Mathics3/combinatorica-91
rocky Mar 2, 2023
3a8cba0
Get ready for release 6.0.1
rocky Mar 5, 2023
4d6cd4a
Merge pull request #807 from Mathics3/release-6.0.1
rocky Mar 5, 2023
0cc4c0e
Spelling
rocky Mar 5, 2023
62b8b7f
Administrivia doc->doctest
rocky Mar 5, 2023
182679a
Bump version to dev
rocky Mar 5, 2023
008141b
fix MakeBoxes[PrecedenceForm[...],form] (#808)
mmatera Mar 6, 2023
df2a9d1
Improve directed infinity (#809)
mmatera Mar 12, 2023
44788f5
Improving autoload (#814)
mmatera Mar 18, 2023
2ab7599
WIP - add some annotations
rocky Mar 18, 2023
fcb2efc
Modernize style...
rocky Mar 19, 2023
83e2683
Merge pull request #815 from Mathics3/parsing-annotations-and-moderni…
rocky Mar 19, 2023
b83d0f0
improving rules for Bessel functions with half integer indices (#816)
mmatera Mar 20, 2023
418251b
Start going over trig rules...
rocky Mar 19, 2023
4f3abdc
Merge pull request #817 from Mathics3/add-trig-rules
rocky Mar 20, 2023
fdd8291
Add CleanSlate package
rocky Mar 20, 2023
b79f495
Unprotect RealNumberQ -
rocky Mar 20, 2023
ff2a602
adding Elements. Local symbols in rules/Bessel.m inside a private co…
mmatera Mar 21, 2023
f42579e
Merge pull request #819 from Mathics3/add-CleanSlate
rocky Mar 21, 2023
31770b2
Refactor around RealNumberQ and {In,}ExactNumberQ...
rocky Mar 22, 2023
8c21eab
is_number() -> is_integer_rational_or_real()
rocky Mar 22, 2023
a18ce0d
Merge pull request #821 from Mathics3/reduce-RealNumberQ-and-refactor
rocky Mar 22, 2023
045de50
One more RealNumberQ removal and...
rocky Mar 22, 2023
b60f1b8
Merge pull request #822 from Mathics3/reduce-RealNumberQ-2
rocky Mar 22, 2023
f2d2f96
Reduce RealNumberQ in builtin.image.basic and ...
rocky Mar 23, 2023
01a4056
Tidy a little more
rocky Mar 23, 2023
4bf46e2
Remove RealNumberQ in Blurr rule
rocky Mar 23, 2023
24be2a8
Merge pull request #823 from Mathics3/reduce-RealNumberQ-3
rocky Mar 23, 2023
c8e7055
Go over colors.py
rocky Mar 23, 2023
4590b6b
Go over mathics.builtin.image.colors
rocky Mar 25, 2023
6d68cc3
Address test name conflict?
rocky Mar 25, 2023
0bc5924
Merge pull request #824 from Mathics3/reduce-RealNumberQ-4
rocky Mar 25, 2023
5ee43c2
fix name_is_builtin_symbol (#825)
mmatera Mar 25, 2023
c7af29e
improve from_mpmath. adding pytests (#827)
mmatera Mar 26, 2023
83d78f1
System`Element typos (#830)
mmatera Apr 1, 2023
586e5bb
Expression constants (#831)
mmatera Apr 6, 2023
6e44629
merge
mmatera Apr 6, 2023
65e804b
fix and test pickle
mmatera Apr 6, 2023
07c5194
more
mmatera Apr 7, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/consistency-checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Mathics (Consistency Checks)
name: Mathics3 (Consistency Checks)

on:
push:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/isort-and-black-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
run: pip install 'click==8.0.4' 'black==22.3.0' 'isort==5.10.1'
- name: Run isort --check .
run: isort --check .
- name: Run isort --check .
- name: Run black --check .
run: black --check .
- name: If needed, commit black changes to the pull request
if: failure()
run: |
black .
git config --global user.name 'autoblack'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git checkout $GITHUB_HEAD_REF
git commit -am "fixup: Format Python code with Black"
git push
# - name: If needed, commit black changes to the pull request
# if: failure()
# run: |
# black .
# git config --global user.name 'autoblack'
# git config --global user.email '[email protected]'
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
# git checkout $GITHUB_HEAD_REF
# git commit -am "fixup: Format Python code with Black"
# git push
19 changes: 10 additions & 9 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Mathics (OSX)
name: Mathics3 (OSX)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: '**'

jobs:
build:
Expand All @@ -15,23 +15,24 @@ jobs:
strategy:
matrix:
os: [macOS]
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install OS dependencies
run: |
brew install llvm@11
brew install llvm@11 tesseract
python -m pip install --upgrade pip
LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite
# We can comment out after next Mathics-Scanner release
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
- name: Install Mathics with full dependencies
- name: Install Mathics3 with full Python dependencies
run: |
# We can comment out after next Mathics-Scanner release
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
python -m pip install Mathics-Scanner
make develop-full
- name: Test Mathics
- name: Test Mathics3
run: |
make -j3 check
9 changes: 5 additions & 4 deletions .github/workflows/ubuntu-cython.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Mathics (ubuntu full with Cython)
name: Mathics3 (ubuntu full with Cython)

on:
push:
Expand All @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.9]
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -22,10 +22,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev
sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev tesseract-ocr
python -m pip install --upgrade pip
# We can comment out after next Mathics-Scanner release
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-scanner#egg=Mathics-Scanner[full]
python -m pip install Mathics-Scanner
- name: Install Mathics with full dependencies
run: |
make develop-full-cython
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
name: Mathics (ubuntu)
name: Mathics3 (ubuntu)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: '**'

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install OS dependencies
run: |
sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev tesseract-ocr
- name: Install Mathics3 with full dependencies
run: |
sudo apt-get update -qq && sudo apt-get install -qq liblapack-dev llvm-dev
python -m pip install --upgrade pip
# We can comment out after next Mathics-Scanner release
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
- name: Install Mathics with full dependencies
run: |
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
python -m pip install Mathics-Scanner
make develop-full
- name: Test Mathics
run: |
Expand Down
30 changes: 19 additions & 11 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Mathics (Windows)
name: Mathics3 (Windows)

on:
push:
Expand All @@ -12,26 +12,30 @@ jobs:
strategy:
matrix:
os: [windows]
python-version: [3.7, 3.8]
python-version: ['3.8', '3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install OS dependencies
run: |
python -m pip install --upgrade pip
python -m pip install wheel
choco install llvm
# use --force because llvm may already exist, but it also may not exist.
# so we will be safe here. Another possibility would be check and install
# conditionally.
choco install --force llvm
choco install tesseract
set LLVM_DIR="C:\Program Files\LLVM"
- name: Install Mathics3 with Python dependencies
run: |
# We can comment out after next Mathics-Scanner release
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-scanner#egg=Mathics-Scanner[full]
python -m pip install Mathics-Scanner
make develop-full
- name: Install Mathics
run: |
python setup.py install
- name: Test Mathics
- name: Test Mathics3
# Limit pip install to a basic install *without* full dependencies.
# Here is why:
# * Windows is the slowest CI build, this speeds up testing by about
Expand All @@ -40,6 +44,10 @@ jobs:
# we needs some CI that tests running when packages aren't available
# So "dev" only below, not "dev,full".
run: |
pip install pyocr # from full
pip install -e .[dev]
set PYTEST_WORKERS="-n3"
make check
# Until we can't figure out what's up with TextRecognize:
make pytest gstest
make doctest o="--exclude TextRecognize"
# make check
Loading