Skip to content

Commit f555602

Browse files
Update project configuration
1 parent aff0dc9 commit f555602

File tree

8 files changed

+46
-42
lines changed

8 files changed

+46
-42
lines changed

.github/workflows/_codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: python -m pip install --upgrade pip
4848

4949
- name: Install package
50-
run: python -m pip install ".[dev,test]"
50+
run: python -m pip install . -r requirements-dev.txt
5151

5252
- name: Generate coverage report
5353
run: pytest --retries 1 --cov --cov-report=xml

.github/workflows/_codeql.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
contents: read
3131
security-events: write
3232

33-
# strategy:
34-
# fail-fast: false
35-
# matrix:
36-
# language: ["python"]
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
language: ["python"]
3737
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3838
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3939

.github/workflows/_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: python -m pip install --user --upgrade pip
3939

4040
- name: Install package
41-
run: python -m pip install --user ".[dev,test]"
41+
run: python -m pip install --user . -r requirements-dev.txt
4242

4343
- name: Run unit tests
4444
run: pytest -vv --retries 1 tests

CHANGELOG.md

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

33
## [Unreleased](https://github.com/btschwertfeger/python-cmethods/tree/HEAD)
44

5-
[Full Changelog](https://github.com/btschwertfeger/python-cmethods/compare/v2.3.0...HEAD)
5+
[Full Changelog](https://github.com/btschwertfeger/python-cmethods/compare/v2.3.1...HEAD)
6+
7+
**Merged pull requests:**
8+
9+
- Bump github/codeql-action from 3.29.2 to 3.29.5 in the all group [\#171](https://github.com/btschwertfeger/python-cmethods/pull/171) ([dependabot[bot]](https://github.com/apps/dependabot))
10+
- Bump github/codeql-action from 3.28.18 to 3.29.2 in the all group [\#170](https://github.com/btschwertfeger/python-cmethods/pull/170) ([dependabot[bot]](https://github.com/apps/dependabot))
11+
- Update project settings [\#169](https://github.com/btschwertfeger/python-cmethods/pull/169) ([btschwertfeger](https://github.com/btschwertfeger))
12+
- Bump the all group with 4 updates [\#168](https://github.com/btschwertfeger/python-cmethods/pull/168) ([dependabot[bot]](https://github.com/apps/dependabot))
13+
- Bump the all group with 3 updates [\#167](https://github.com/btschwertfeger/python-cmethods/pull/167) ([dependabot[bot]](https://github.com/apps/dependabot))
14+
15+
## [v2.3.1](https://github.com/btschwertfeger/python-cmethods/tree/v2.3.1) (2025-04-01)
16+
17+
[Full Changelog](https://github.com/btschwertfeger/python-cmethods/compare/v2.3.0...v2.3.1)
618

719
**Fixed bugs:**
820

@@ -11,10 +23,16 @@
1123
**Closed issues:**
1224

1325
- Create Jupyter Notebooks for possible strategies [\#135](https://github.com/btschwertfeger/python-cmethods/issues/135)
26+
- Parts of the pyproject.toml are deprecated [\#164](https://github.com/btschwertfeger/python-cmethods/issues/164)
1427

1528
**Merged pull requests:**
1629

30+
- Bump the all group with 2 updates [\#166](https://github.com/btschwertfeger/python-cmethods/pull/166) ([dependabot[bot]](https://github.com/apps/dependabot))
31+
- Bump the all group with 3 updates [\#162](https://github.com/btschwertfeger/python-cmethods/pull/162) ([dependabot[bot]](https://github.com/apps/dependabot))
32+
- Bump github/codeql-action from 3.28.8 to 3.28.9 in the all group [\#161](https://github.com/btschwertfeger/python-cmethods/pull/161) ([dependabot[bot]](https://github.com/apps/dependabot))
1733
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 [\#159](https://github.com/btschwertfeger/python-cmethods/pull/159) ([dependabot[bot]](https://github.com/apps/dependabot))
34+
- Bump codecov/codecov-action from 5.1.2 to 5.3.1 [\#158](https://github.com/btschwertfeger/python-cmethods/pull/158) ([dependabot[bot]](https://github.com/apps/dependabot))
35+
- Bump github/codeql-action from 3.28.1 to 3.28.8 [\#157](https://github.com/btschwertfeger/python-cmethods/pull/157) ([dependabot[bot]](https://github.com/apps/dependabot))
1836
- Bump actions/setup-python from 5.3.0 to 5.4.0 [\#156](https://github.com/btschwertfeger/python-cmethods/pull/156) ([dependabot[bot]](https://github.com/apps/dependabot))
1937
- Bump github/codeql-action from 3.28.0 to 3.28.1 [\#152](https://github.com/btschwertfeger/python-cmethods/pull/152) ([dependabot[bot]](https://github.com/apps/dependabot))
2038
- Add `release.yaml` [\#151](https://github.com/btschwertfeger/python-cmethods/pull/151) ([btschwertfeger](https://github.com/btschwertfeger))
@@ -23,20 +41,15 @@
2341
- Bump github/codeql-action from 3.27.6 to 3.27.9 [\#148](https://github.com/btschwertfeger/python-cmethods/pull/148) ([dependabot[bot]](https://github.com/apps/dependabot))
2442
- Bump codecov/codecov-action from 4.6.0 to 5.1.1 [\#147](https://github.com/btschwertfeger/python-cmethods/pull/147) ([dependabot[bot]](https://github.com/apps/dependabot))
2543
- Bump github/codeql-action from 3.27.4 to 3.27.6 [\#146](https://github.com/btschwertfeger/python-cmethods/pull/146) ([dependabot[bot]](https://github.com/apps/dependabot))
26-
- Do not rely on trusted publishing for PyPI upload [\#145](https://github.com/btschwertfeger/python-cmethods/pull/145) ([btschwertfeger](https://github.com/btschwertfeger))
2744
- Bump github/codeql-action from 3.27.1 to 3.27.4 [\#141](https://github.com/btschwertfeger/python-cmethods/pull/141) ([dependabot[bot]](https://github.com/apps/dependabot))
2845
- Bump github/codeql-action from 3.27.0 to 3.27.1 [\#140](https://github.com/btschwertfeger/python-cmethods/pull/140) ([dependabot[bot]](https://github.com/apps/dependabot))
2946
- Bump actions/checkout from 4.2.1 to 4.2.2 [\#138](https://github.com/btschwertfeger/python-cmethods/pull/138) ([dependabot[bot]](https://github.com/apps/dependabot))
3047
- Bump actions/setup-python from 5.2.0 to 5.3.0 [\#137](https://github.com/btschwertfeger/python-cmethods/pull/137) ([dependabot[bot]](https://github.com/apps/dependabot))
3148
- Bump github/codeql-action from 3.26.13 to 3.27.0 [\#136](https://github.com/btschwertfeger/python-cmethods/pull/136) ([dependabot[bot]](https://github.com/apps/dependabot))
32-
- Update and apply Pre-Commit hooks [\#134](https://github.com/btschwertfeger/python-cmethods/pull/134) ([btschwertfeger](https://github.com/btschwertfeger))
3349
- Bump actions/checkout from 4.1.7 to 4.2.1 [\#132](https://github.com/btschwertfeger/python-cmethods/pull/132) ([dependabot[bot]](https://github.com/apps/dependabot))
3450
- Bump github/codeql-action from 3.26.11 to 3.26.13 [\#131](https://github.com/btschwertfeger/python-cmethods/pull/131) ([dependabot[bot]](https://github.com/apps/dependabot))
3551
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 [\#130](https://github.com/btschwertfeger/python-cmethods/pull/130) ([dependabot[bot]](https://github.com/apps/dependabot))
3652
- Bump github/codeql-action from 3.26.8 to 3.26.11 [\#129](https://github.com/btschwertfeger/python-cmethods/pull/129) ([dependabot[bot]](https://github.com/apps/dependabot))
37-
- Move CITATION file to top-level [\#126](https://github.com/btschwertfeger/python-cmethods/pull/126) ([btschwertfeger](https://github.com/btschwertfeger))
38-
- Add CITATION file [\#125](https://github.com/btschwertfeger/python-cmethods/pull/125) ([btschwertfeger](https://github.com/btschwertfeger))
39-
- Update project settings [\#124](https://github.com/btschwertfeger/python-cmethods/pull/124) ([btschwertfeger](https://github.com/btschwertfeger))
4053
- Bump github/codeql-action from 3.26.7 to 3.26.8 [\#123](https://github.com/btschwertfeger/python-cmethods/pull/123) ([dependabot[bot]](https://github.com/apps/dependabot))
4154
- Bump github/codeql-action from 3.26.6 to 3.26.7 [\#122](https://github.com/btschwertfeger/python-cmethods/pull/122) ([dependabot[bot]](https://github.com/apps/dependabot))
4255
- Bump actions/setup-python from 5.1.1 to 5.2.0 [\#121](https://github.com/btschwertfeger/python-cmethods/pull/121) ([dependabot[bot]](https://github.com/apps/dependabot))
@@ -49,6 +62,14 @@
4962
- Bump actions/setup-python from 5.1.0 to 5.1.1 [\#114](https://github.com/btschwertfeger/python-cmethods/pull/114) ([dependabot[bot]](https://github.com/apps/dependabot))
5063
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 [\#113](https://github.com/btschwertfeger/python-cmethods/pull/113) ([dependabot[bot]](https://github.com/apps/dependabot))
5164
- Bump actions/checkout from 4.1.6 to 4.1.7 [\#110](https://github.com/btschwertfeger/python-cmethods/pull/110) ([dependabot[bot]](https://github.com/apps/dependabot))
65+
- Resolve "Parts of the pyproject.toml are deprecated" [\#165](https://github.com/btschwertfeger/python-cmethods/pull/165) ([btschwertfeger](https://github.com/btschwertfeger))
66+
- Fix the documentation build [\#163](https://github.com/btschwertfeger/python-cmethods/pull/163) ([btschwertfeger](https://github.com/btschwertfeger))
67+
- Update copyright headers [\#160](https://github.com/btschwertfeger/python-cmethods/pull/160) ([btschwertfeger](https://github.com/btschwertfeger))
68+
- Do not rely on trusted publishing for PyPI upload [\#145](https://github.com/btschwertfeger/python-cmethods/pull/145) ([btschwertfeger](https://github.com/btschwertfeger))
69+
- Update and apply Pre-Commit hooks [\#134](https://github.com/btschwertfeger/python-cmethods/pull/134) ([btschwertfeger](https://github.com/btschwertfeger))
70+
- Move CITATION file to top-level [\#126](https://github.com/btschwertfeger/python-cmethods/pull/126) ([btschwertfeger](https://github.com/btschwertfeger))
71+
- Add CITATION file [\#125](https://github.com/btschwertfeger/python-cmethods/pull/125) ([btschwertfeger](https://github.com/btschwertfeger))
72+
- Update project settings [\#124](https://github.com/btschwertfeger/python-cmethods/pull/124) ([btschwertfeger](https://github.com/btschwertfeger))
5273

5374
## [v2.3.0](https://github.com/btschwertfeger/python-cmethods/tree/v2.3.0) (2024-06-19)
5475

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ install: check-uv
4444
.PHONY: dev
4545
dev:
4646
@git lfs install
47-
$(UV) pip install -e ".[dev,test,jupyter,examples]" -r doc/requirements.txt
47+
$(UV) pip install -e . -r doc/requirements.txt -r requirements-dev.txt
4848

4949
## ======= T E S T I N G =======================================================
5050
## test Run the unit tests
@@ -124,9 +124,9 @@ changelog:
124124
clean:
125125
rm -rf .mypy_cache .pytest_cache .cache \
126126
build/ dist/ python_cmethods.egg-info \
127-
docs/_build \
128127
examples/.ipynb_checkpoints .ipynb_checkpoints \
129-
doc/_build
128+
doc/_build \
129+
.coverage* pytest.xml
130130

131131
rm -f .coverage cmethods/_version.py
132132

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ efficiency, python-cmethods offers a comprehensive suite of functions tailored
2626
for applying bias correction methods to climate model simulations and
2727
observational datasets via command-line interface and API.
2828

29-
Please cite this project as described in
29+
If you use this project, cite it as described in
3030
https://zenodo.org/doi/10.5281/zenodo.7652755.
3131

3232
## Table of Contents

pyproject.toml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ include = ["cmethods*"]
7575
exclude = ["doc*", "tests*", "examples*", ".env", ".venv"]
7676

7777
[tool.setuptools_scm]
78-
write_to = "cmethods/_version.py"
78+
version_file = "cmethods/_version.py"
7979
version_scheme = "guess-next-dev"
8080
local_scheme = "no-local-version"
8181

@@ -100,31 +100,6 @@ concurrency = ["multiprocessing"]
100100
exclude_lines = ["coverage: disable", "if TYPE_CHECKING:"]
101101
skip_empty = true
102102

103-
[project.optional-dependencies]
104-
jupyter = ["venv-kernel"]
105-
dev = [
106-
# building
107-
"setuptools_scm",
108-
"build",
109-
# linting
110-
"pylint",
111-
"flake8",
112-
"ruff",
113-
# typing
114-
"mypy",
115-
]
116-
test = [
117-
# testing
118-
"pytest",
119-
"pytest-cov",
120-
"pytest-retry",
121-
"zarr",
122-
"dask[distributed]",
123-
"scikit-learn",
124-
"scipy",
125-
]
126-
examples = ["matplotlib"]
127-
128103
[tool.codespell]
129104
check-filenames = true
130105

requirements-dev.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dask[distributed]
2+
pytest
3+
pytest-cov
4+
pytest-retry
5+
scikit-learn
6+
scipy
7+
venv-kernel
8+
zarr

0 commit comments

Comments
 (0)