Skip to content

Python 3.12 compat: replace pkg_resource module with duck-typing #167

Python 3.12 compat: replace pkg_resource module with duck-typing

Python 3.12 compat: replace pkg_resource module with duck-typing #167

Workflow file for this run

name: sage-test
on: [push, pull_request]
jobs:
test:
name: Test on Sage
runs-on: ubuntu-latest
strategy:
matrix:
version: [9.1, 9.3, 9.4, 9.5, 9.6, 9.7, 9.8, latest]
container:
image: sagemath/sagemath:${{ matrix.version }}
options: --user root
steps:
- name: Sage version
run: sage --version
- name: Checkout
uses: actions/checkout@v3
- name: Install snappy_manifolds
run: sage -pip install -U https://github.com/3-manifolds/snappy_manifolds/archive/master.zip
- name: Install spherogram
run: |
sage -pip install wheel
cd /__w/Spherogram/Spherogram
sage -python setup.py pip_install
- name: Test spherogram
run: sage -python -m spherogram.test