diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml deleted file mode 100644 index 391c406cc..000000000 --- a/.github/workflows/osx.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Mathics3 (OSX) - -on: - push: - branches: [ master ] - pull_request: - branches: '**' - -jobs: - build: - env: - LDFLAGS: "-L/usr/local/opt/llvm@14/lib" - CPPFLAGS: "-I/usr/local/opt/llvm@14/include" - runs-on: macos-latest - strategy: - matrix: - os: [macOS] - python-version: ['3.9', '3.10'] - steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install OS dependencies - run: | - brew install llvm@14 tesseract remake - python -m pip install --upgrade pip - - 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] - git clone https://github.com/Mathics3/mathics-scanner.git - cd mathics-scanner/ - pip install -e . - cd .. - # python -m pip install Mathics-Scanner[full] - remake -x develop-full - - name: Test Mathics3 - run: | - make -j3 check diff --git a/CHANGES.rst b/CHANGES.rst index e7b23fa00..f75db030e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -25,6 +25,13 @@ Performance * ``Blank*`` patterns without arguments are now singletons. +API Incompatibility +------------- + +* ``Matcher`` now requires an additional ``evaluation`` parameter + + + 7.0.0 ----- diff --git a/mathics/builtin/box/compilation.py b/mathics/builtin/box/compilation.py index 8fc6a82de..065c47fb5 100644 --- a/mathics/builtin/box/compilation.py +++ b/mathics/builtin/box/compilation.py @@ -2,11 +2,12 @@ """ Boxing Symbols for compiled code """ -# Docs are not yet ready for prime time. Maybe after release 6.0.0. -no_doc = True from mathics.builtin.box.expression import BoxExpression +# Docs are not yet ready for prime time. Maybe after release 6.0.0. +no_doc = True + class CompiledCodeBox(BoxExpression): """ diff --git a/mathics/core/pattern.py b/mathics/core/pattern.py index c96166b28..c8d2cf2da 100644 --- a/mathics/core/pattern.py +++ b/mathics/core/pattern.py @@ -92,9 +92,7 @@ class BasePattern(ABC): expr: BaseElement - # this attribute allows for a faster match algorithm based on sameq. - # Probably we should split ExpressionPattern into two different classes, - # one for literal patterns and the other for "Regular" ExpressionPatterns. + # This attribute facilitates a faster match algorithm based on sameQ. isliteral: bool = False # TODO: In WMA, when a BasePattern is created, the attributes