Skip to content
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
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Commits to ignore in git blame (e.g. bulk formatting / lint fixes).
# Use with: git config blame.ignoreRevsFile .git-blame-ignore-revs
# GitHub also picks this up for the blame UI.

# fixed all ruff linter and formatter complaints
2c96c560fa0abb2c84bf9d2d980d66485bdfc7f8
17c946393cec395e825e2fb8fa7498456a9053fa
47b902b85d07bc7472ae72dab3a966e541fd2891

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
28 changes: 16 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,33 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
exclude:
- os: macOS-latest
python-version: "3.9"
- os: macOS-latest
python-version: "3.10"
python-version: "3.10"
- os: macOS-latest
python-version: "3.11"
- os: macOS-latest
python-version: "3.12"
- os: macOS-latest
python-version: "3.13"
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.10"
python-version: "3.10"
- os: windows-latest
python-version: "3.11"
- os: windows-latest
python-version: "3.12"
- os: windows-latest
python-version: "3.13"

steps:
- name: git checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-tags: true

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -55,7 +59,7 @@ jobs:
- name: Install pytest, pytest plugins
run: |
python -m pip install wheel
python -m pip install pytest pytest-cov pytest-pep8
python -m pip install pytest pytest-cov

- name: Install main dependencies
run: |
Expand All @@ -72,9 +76,9 @@ jobs:
pytest -v --cov=numkit --cov-report=xml --color=yes numkit/tests

- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v7
with:
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage.xml
fail_ci_if_error: false
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: testpypi_deploy
uses: MDAnalysis/pypi-deployment@main
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: pypi_deploy
uses: MDAnalysis/pypi-deployment@main
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Ruff

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

concurrency:
group: "ruff-${{ github.ref }}-${{ github.head_ref }}"
cancel-in-progress: true

jobs:
ruff:
name: Lint and format
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v7

- name: Run ruff check
uses: astral-sh/ruff-action@v4.1.0
with:
src: "./numkit"

- name: Run ruff format
uses: astral-sh/ruff-action@v4.1.0
with:
args: "format --check"
src: "./numkit"
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
version: 2

build:
os: "ubuntu-22.04"
os: "ubuntu-26.04"
tools:
python: "mambaforge-22.9"
python: "miniforge3-latest"

sphinx:
configuration: docs/source/conf.py
Expand Down
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
CHANGELOG for numkit
======================

????-??-?? 1.3.2
orbeckst

* added support/testing for Python 3.13 and 3.14
* dropped support for Python 3.9

2024-09-18 1.3.1
hsk17, orbeckst

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ https://github.com/Becksteinlab/numkit ::
Python support
==============

Python 3 support for releases 3.9 - 3.12 is tested on Linux, macOS,
Python 3 support for releases 3.10 - 3.14 is tested on Linux, macOS,
and Windows.

(Python 2.7 and older version of Python 3 were supported up to release 1.2.3.)
Expand Down
Loading
Loading