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

Support for Python 3.12 #978

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
4 changes: 3 additions & 1 deletion .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macOS]
python-version: ['3.9', '3.10']
python-version: ['3.9', '3.10', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,6 +26,8 @@ jobs:
run: |
brew install llvm@14 tesseract
python -m pip install --upgrade pip
pip install --upgrade setuptools
pip install --upgrade distribute
- name: Install Mathics3 with full Python dependencies
run: |
# We can comment out after next Mathics-Scanner release
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.11', '3.8', '3.9', '3.10']
python-version: ['3.12', '3.8', '3.9', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -24,6 +24,9 @@ jobs:
- name: Install Mathics3 with full dependencies
run: |
python -m pip install --upgrade pip
# Python 3.12 seems to require this
python -m pip install --upgrade setuptools
# python -m pip install --upgrade distutils
# 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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [windows]
# "make doctest" on MS Windows fails without showing much of a
# trace of where things went wrong on Python before 3.11.
python-version: ['3.11']
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -24,6 +24,8 @@ jobs:
- name: Install OS dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools
pip install --upgrade distribute
python -m pip install wheel
# 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
Expand Down
Loading