Skip to content

Commit 26bcdcb

Browse files
authored
Merge pull request #560 from pepkit/dev
Release 2.1.0
2 parents 450ef7d + e09daa5 commit 26bcdcb

146 files changed

Lines changed: 3110 additions & 13339 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/black.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Lint
22

3-
on: [pull_request]
3+
on: [push, pull_request]
44

55
jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-python@v2
11-
- uses: psf/black@stable
9+
- uses: actions/checkout@v6
10+
- uses: actions/setup-python@v5
1211
with:
13-
options: "--check --diff --color --verbose"
14-
jupyter: true
12+
python-version: "3.12"
13+
- run: pip install ruff==0.15.0
14+
- run: ruff check .
15+
- run: ruff format --check .
Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3-
41
name: Upload Python Package
52

63
on:
@@ -12,19 +9,18 @@ jobs:
129
runs-on: ubuntu-latest
1310
name: upload release to PyPI
1411
permissions:
15-
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
12+
contents: read
13+
id-token: write
14+
1615
steps:
17-
- uses: actions/checkout@v4
18-
- name: Set up Python
19-
uses: actions/setup-python@v5
20-
with:
21-
python-version: "3.x"
22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install setuptools wheel twine
26-
- name: Build and publish
27-
run: |
28-
python setup.py sdist bdist_wheel
29-
- name: Publish package distributions to PyPI
30-
uses: pypa/gh-action-pypi-publish@release/v1
16+
- uses: actions/checkout@v6
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.x'
21+
- name: Install build dependencies
22+
run: python -m pip install --upgrade pip build
23+
- name: Build package
24+
run: python -m build
25+
- name: Publish package distributions to PyPI
26+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/run-pytest.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,19 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
python-version: ["3.8", "3.11"]
13-
os: [ubuntu-latest]
12+
python-version: ["3.10", "3.14"]
13+
os: [ubuntu-latest, macos-latest]
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v6
1717

18-
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: ${{ matrix.python-version }}
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
2222

23-
- name: Install test dependencies
24-
run: if [ -f requirements/requirements-test.txt ]; then pip install -r requirements/requirements-test.txt; fi
23+
- name: Install package with test dependencies
24+
run: python -m pip install ".[test]"
2525

26-
- name: Install package
27-
run: python -m pip install .
28-
29-
- name: Run pytest tests
30-
run: pytest tests -x -vv --remote-data
26+
- name: Run pytest tests
27+
run: pytest tests

.pre-commit-config.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.0.1
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: check-yaml
77
- id: end-of-file-fixer
8-
- id: requirements-txt-fixer
9-
- id: trailing-whitespace
10-
11-
- repo: https://github.com/PyCQA/isort
12-
rev: 5.9.1
13-
hooks:
14-
- id: isort
15-
args: ["--profile", "black"]
8+
- id: check-ast
169

17-
- repo: https://github.com/psf/black
18-
rev: 21.6b0
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
rev: v0.15.0
1912
hooks:
20-
- id: black
13+
- id: ruff
14+
args: [--fix]
15+
- id: ruff-format

MANIFEST.in

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <img src="docs/img/looper_logo.svg" alt="looper logo" height="70">
1+
# <img src="looper_logo.svg" alt="looper logo" height="70">
22

33
![Run pytests](https://github.com/pepkit/looper/workflows/Run%20pytests/badge.svg)
44
[![PEP compatible](http://pepkit.github.io/img/PEP-compatible-green.svg)](http://pepkit.github.io)

docs/changelog.md renamed to changelog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.
44

5+
## [2.1.0] -- 2026-02-25
6+
### Changed
7+
- Migrated to new yacman API (`YAMLConfigManager.from_yaml_file()`, `write_lock`/`read_lock` context managers); requires yacman >=0.9.5
8+
- Migrated CLI configuration to pydantic-settings
9+
- Improved CLI startup time by deferring heavy imports to module level
10+
- Made signal handling thread-safe
11+
- Replaced wildcard imports with explicit imports
12+
- Converted docstrings to Google style
13+
- Better shell inference for submission commands (#282)
14+
- Updated pipestat constructor usage to classmethod format
15+
- Separated fast unit tests from slow CLI integration tests
16+
17+
### Added
18+
- HTTP API server (experimental/alpha) with FastAPI: `looper serve`
19+
- Stricter looper-pipestat interface validation
20+
21+
### Removed
22+
- Old documentation files (moved to separate docs site)
23+
524
## [2.0.3] -- 2025-09-23
625
### Fixed
726
- Fixed [#543](https://github.com/pepkit/looper/issues/543)

docs/README.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/advanced.md

Lines changed: 0 additions & 85 deletions
This file was deleted.

docs/autodoc_build/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)