Skip to content

Commit 41d3e42

Browse files
author
Gerit Wagner
committed
release 0.16.0
1 parent 9360e48 commit 41d3e42

367 files changed

Lines changed: 464 additions & 168 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/tests.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,10 @@ jobs:
7171
python-version: ${{ matrix.python-version }}
7272
enable-cache: true
7373

74-
- name: Set up Python
75-
uses: actions/setup-python@v5
76-
with:
77-
python-version-file: "pyproject.toml"
78-
79-
- name: List files after clone
80-
run: find . -type f
81-
8274
- name: Install dependencies with uv
8375
run: |
8476
uv sync --all-extras --dev
85-
colrev install --uv ${{ env.COLREV_PACKAGES }}
77+
uv run colrev install --uv ${{ env.COLREV_PACKAGES }}
8678
8779
- name: Setup git
8880
run: |
@@ -110,15 +102,10 @@ jobs:
110102
python-version: ${{ matrix.python-version }}
111103
enable-cache: true
112104

113-
- name: Set up Python
114-
uses: actions/setup-python@v5
115-
with:
116-
python-version-file: "pyproject.toml"
117-
118105
- name: Install dependencies with uv
119106
run: |
120107
uv sync --all-extras --dev
121-
colrev install --uv ${{ env.COLREV_PACKAGES }}
108+
uv run colrev install --uv ${{ env.COLREV_PACKAGES }}
122109
123110
- name: Setup git
124111
run: |
@@ -134,14 +121,14 @@ jobs:
134121
needs: test-minimal-deps
135122
strategy:
136123
matrix:
137-
platform: [ubuntu-latest, macos-latest, windows-latest]
124+
platform: [ubuntu-latest, macos-latest, windows-latest]
138125
python-version: ['3.10', '3.11', '3.12']
139126
runs-on: ${{ matrix.platform }}
140127
steps:
141-
- uses: actions/checkout@v3
128+
- uses: actions/checkout@v4
142129

143130
- name: Set up Python ${{ matrix.python-version }}
144-
uses: actions/setup-python@v4
131+
uses: actions/setup-python@v5
145132
with:
146133
python-version: ${{ matrix.python-version }}
147134

.pre-commit-config.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v5.0.0
15+
rev: v6.0.0
1616
hooks:
1717
- id: trailing-whitespace
1818
exclude: bib$|txt$|ris$|enl$|xml$|extensions_index/
@@ -27,7 +27,7 @@ repos:
2727
- id: name-tests-test
2828
exclude: "tests/data/package_init/"
2929
- repo: https://github.com/psf/black-pre-commit-mirror
30-
rev: 25.1.0
30+
rev: 26.1.0
3131
hooks:
3232
- id: black
3333
language_version: python3
@@ -37,32 +37,26 @@ repos:
3737
hooks:
3838
- id: autoflake
3939
- repo: https://github.com/PyCQA/flake8
40-
rev: 7.2.0
40+
rev: 7.3.0
4141
hooks:
4242
- id: flake8
4343
additional_dependencies: [flake8-typing-imports==1.12.0]
4444
args: ['--max-line-length=110', '--extend-ignore=E203,TYP006']
4545
exclude: "tests/data/package_init/"
46-
- repo: https://github.com/asottile/reorder-python-imports
47-
rev: v3.14.0
48-
hooks:
49-
- id: reorder-python-imports
50-
args: [--py3-plus]
51-
exclude: "tests/data/package_init/search_source.py"
5246
- repo: https://github.com/asottile/pyupgrade
53-
rev: v3.19.1
47+
rev: v3.21.2
5448
hooks:
5549
- id: pyupgrade
5650
args: [--py36-plus, --keep-runtime-typing]
5751
- repo: https://github.com/pre-commit/mirrors-mypy
58-
rev: 'v1.15.0'
52+
rev: 'v1.19.1'
5953
hooks:
6054
- id: mypy
6155
args: [--disallow-untyped-defs, --disallow-incomplete-defs, --disallow-untyped-calls]
6256
additional_dependencies: [types-toml]
6357
exclude: "tests/data/package_init/"
6458
- repo: https://github.com/astral-sh/ruff-pre-commit
65-
rev: v0.11.6
59+
rev: v0.14.14
6660
hooks:
6761
- id: ruff # runs faster than pylint
6862
args: [--fix, --exit-non-zero-on-fix]

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0).
1717
### Fixed
1818
-->
1919

20+
## 0.16.0 - 2026-01-28
21+
22+
### Added
23+
24+
- tei-parser: add iter_paragraphs()
25+
- prescreen-cli (entrypoint1)
26+
27+
### Changed
28+
29+
- loader/bib: allow keys with :/+
30+
- Dependency update: search-query 0.14.1 and bib-dedupe 0.11.0
31+
- dblp: handle timeout gracefully
32+
- package --check: test whether colrev loads the package
33+
- search-api-feed: add ENTRYTYPE if missing
34+
- pdf-prep and unpaywall: handle pymupdf.FileDataError
35+
- package-manager: install packages individually
36+
- crossref: ignore NA/UNKNOWN in url generation
37+
- Dataset: lazy-load git-repo
38+
- github: export more fields
39+
2040
## 0.15.0 - 2025-10-24
2141

2242
### Added

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ authors:
88
given-names: "Julian"
99
orcid: "https://orcid.org/0000-0003-2682-8036"
1010
title: "CoLRev: An open-source environment for collaborative reviews"
11-
version: 0.14.0
11+
version: 0.16.0
1212
identifiers:
1313
- type: doi
1414
value: 10.5281/zenodo.7707481
15-
date-released: 2025-02-21
15+
date-released: 2026-01-28
1616
url: "https://github.com/CoLRev-Environment/colrev"

colrev/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22
"""Constants, including filepaths, fields, entrytypes, colrev_status, etc."""
3+
34
# pylint: disable=too-few-public-methods
45
# pylint: disable=colrev-missed-constant-usage
56
import importlib.util

colrev/dataset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
"""Dataset class providing functionality for data/records.bib and git repository."""
3+
34
from __future__ import annotations
45

56
import os
@@ -31,6 +32,7 @@ def __init__(self, *, review_manager: colrev.review_manager.ReviewManager) -> No
3132

3233
@cached_property
3334
def git_repo(self) -> GitRepo:
35+
"""Get the GitRepo object for the review_manager path"""
3436
return GitRepo(path=self.review_manager.path)
3537

3638
def get_origin_state_dict(self, records_string: str = "") -> dict:

colrev/env/docker_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env python
22
"""Manages Docker"""
3+
34
from __future__ import annotations
45

56
import typing

colrev/env/environment_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env python
22
"""Manages environment registry, services, and stauts"""
3+
34
from __future__ import annotations
45

56
import json

colrev/env/grobid_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env python
22
"""GROBID service to extract and annotate PDF contents."""
3+
34
from __future__ import annotations
45

56
import logging

colrev/env/language_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env python
22
"""Service to detect languages and handle language codes"""
3+
34
from __future__ import annotations
45

56
import re

0 commit comments

Comments
 (0)