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

Improving guide handling #203

Merged
merged 23 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/osx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
run: |
brew install llvm@11 nodejs npm tesseract
brew install llvm nodejs npm tesseract
python -m pip install --upgrade pip
LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite
- name: Install Python dependencies
Expand All @@ -30,7 +30,7 @@ jobs:
# For testing 3.11 we need to do something like the below until the next Mathics3 is released
# 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-core#egg=Mathics3[full]
git clone https://github.com/Mathics3/mathics-core
git clone --branch docpipeline_django_compat https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-op-tables.sh)
- name: Install Mathics3 Django
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -29,7 +29,7 @@ jobs:
# For testing 3.11 we need to do something like the below until the next Mathics3 is released
# 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-core#egg=Mathics3[full]
git clone https://github.com/Mathics3/mathics-core
git clone --branch docpipeline_django_compat https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-op-tables.sh)
- name: Install Mathics3 Django
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [windows]
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -32,7 +32,7 @@ jobs:
# For testing 3.11 we need to do something like the below until the next Mathics3 is released
# 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-core#egg=Mathics3[full]
git clone https://github.com/Mathics3/mathics-core
git clone --branch docpipeline_django_compat https://github.com/Mathics3/mathics-core
bash -c '(cd mathics-core && pip3 install -e .[full])'
bash -c '(cd mathics-core && bash ./admin-tools/make-op-tables.sh)'
- name: Install Mathics3 Django
Expand Down
4 changes: 2 additions & 2 deletions mathics_django/doc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
import_and_load_builtins()

# FIXME: should we really do this here?
from mathics_django.doc.django_doc import MathicsDjangoDocumentation
from mathics_django.doc.django_doc import DjangoDocumentation

documentation = MathicsDjangoDocumentation()
documentation = DjangoDocumentation()
Loading
Loading