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

Minimum python version updated to 3.10 #40

Merged
merged 5 commits into from
May 28, 2024
Merged
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
32 changes: 21 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,29 @@ on:
- main

jobs:
build:
runs-on: ubuntu-latest
test:
name: test with ${{ matrix.py }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: [3.9]
fail-fast: false
matrix:
py:
- "3.10"
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install Tox
run: pip install tox
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py
python-version: ${{ matrix.py }}
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies = [
"sympy>=1.9",
"scipy>=1.11",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
#keywords = ["one", "two"]
#license = {text = "BSD-3-Clause"}
classifiers = [
Expand All @@ -26,4 +26,4 @@ classifiers = [
dynamic = ["version"]
#version = "0.0.3"

[tool.setuptools_scm]
[tool.setuptools_scm]
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
[tox]
envlist = py{39}
envlist = py{310}
minversion = 4.0
isolated_build = true

[testenv]
deps =
pytest
-r requirements.txt
commands = pytest tests
commands = pytest tests

[gh]
python =
3.10 = py310
Loading